@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --bg: #f8f5ef;
    --paper: #ffffff;
    --text: #20221f;
    --muted: #696d66;
    --green: #1f5a45;
    --green-dark: #143c2f;
    --lime: #d8ef8c;
    --red: #c93e46;
    --blue: #1877f2;
    --border: #dedfd9;
    --shadow: 0 24px 70px rgba(29, 44, 36, .12);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 245, 239, .9);
    border-bottom: 1px solid rgba(222, 223, 217, .8);
    backdrop-filter: blur(16px);
}
.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -.03em;
}
.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--green);
    color: white;
}
nav { display: flex; gap: 28px; font-weight: 600; color: #51554f; }
nav a:hover { color: var(--green); }

.button {
    border: 0;
    cursor: pointer;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 14px; }
.button-primary { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(31,90,69,.22); }
.button-primary:hover { background: var(--green-dark); }
.button-outline { border: 1px solid var(--green); color: var(--green); background: transparent; }
.button-ghost { background: rgba(255,255,255,.65); border: 1px solid var(--border); }
.button-facebook { background: var(--blue); color: white; }
.button-dark { background: #222824; color: white; }
.button-full { width: 100%; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 75px;
}
.hero-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}
.hero-shape-one {
    width: 500px; height: 500px;
    background: rgba(216,239,140,.35);
    top: -240px; left: -180px;
}
.hero-shape-two {
    width: 360px; height: 360px;
    background: rgba(201,62,70,.08);
    bottom: -220px; right: -60px;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 70px;
    align-items: center;
}
.eyebrow {
    margin-bottom: 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.eyebrow-light { color: var(--lime); }
h1, h2, h3 {
    margin-top: 0;
    font-family: "Manrope", sans-serif;
    line-height: 1.08;
    letter-spacing: -.045em;
}
h1 { font-size: clamp(48px, 7vw, 82px); margin-bottom: 24px; }
h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
h3 { font-size: 21px; letter-spacing: -.025em; }
.hero-lead {
    max-width: 680px;
    margin: 0 0 32px;
    font-size: 19px;
    color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.trust-row strong { display: block; font-size: 20px; }
.trust-row span { display: block; color: var(--muted); font-size: 13px; }

.hero-card {
    position: relative;
    padding: 34px;
    border-radius: 36px;
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}
.dog-illustration { transform: rotate(-2deg); }
.hero-card-note {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.pulse-dot { width: 9px; height: 9px; background: #27a75a; border-radius: 50%; box-shadow: 0 0 0 6px rgba(39,167,90,.12); }

.support-first { padding: 0 0 40px; }
.support-panel {
    padding: 42px 46px;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 50px;
    align-items: center;
    background: var(--green);
    color: white;
    border-radius: 28px;
}
.support-panel h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.support-panel p { color: rgba(255,255,255,.78); margin: 0; }
.support-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.text-link-light { text-align: center; color: rgba(255,255,255,.8); font-size: 14px; text-decoration: underline; }

.section { padding: 105px 0; }
.section-heading { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.section-heading p { color: var(--muted); font-size: 18px; }
.section-heading-left { margin-left: 0; text-align: left; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,.65);
}
.info-card .icon { font-size: 34px; display: block; margin-bottom: 22px; }
.info-card p { margin-bottom: 0; color: var(--muted); }

.petition-section { padding: 110px 0; background: #ece8df; }
.petition-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.petition-copy > p { font-size: 18px; color: var(--muted); }
.counter-card {
    margin: 32px 0;
    padding: 24px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
}
.counter-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.counter-top span { color: var(--muted); font-size: 14px; }
.progress { height: 12px; background: #e5e8e2; border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--red); border-radius: inherit; }
.counter-card small { display: block; margin-top: 12px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; }
.check-list li { position: relative; padding-left: 34px; margin: 14px 0; }
.check-list li::before {
    content: "✓";
    position: absolute; left: 0; top: 1px;
    width: 23px; height: 23px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--green-dark);
    font-weight: 800;
}

.form-card {
    padding: 38px;
    background: white;
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 14px; }
.field label span { color: var(--muted); font-weight: 400; }
input, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    background: #fbfbf9;
    color: var(--text);
    outline: none;
}
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,90,69,.09); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; color: #4f544e; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.privacy-note { text-align: center; color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.char-count { position: absolute; right: 10px; bottom: 7px; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.alert { padding: 13px 15px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e4f5e8; color: #176332; }
.alert-error { background: #fde8e8; color: #9d292f; }

.signatures-section { background: white; }
.signature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.signature-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #fcfcfa;
}
.avatar {
    width: 46px; height: 46px;
    flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 14px;
    background: #f0ece2;
}
.signature-card h3 { margin: 0 0 3px; font-size: 17px; }
.location, .signature-card time { color: var(--muted); font-size: 13px; }
.signature-card blockquote { margin: 12px 0; font-size: 15px; color: #4c504b; }
.empty-state { padding: 40px; text-align: center; border: 1px dashed var(--border); border-radius: 20px; color: var(--muted); }

.share-section { padding: 50px 0 100px; background: white; }
.share-panel {
    padding: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-radius: 28px;
    background: var(--lime);
}
.share-panel h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 46px); }
.share-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

footer { padding: 65px 0 26px; background: #17251f; color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid p { max-width: 500px; color: rgba(255,255,255,.65); }
.footer-brand .brand-mark { background: var(--lime); color: var(--green-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: 13px; }

.legal-page { padding: 80px 0; }
.legal-card { max-width: 860px; background: white; padding: 50px; border-radius: 28px; box-shadow: var(--shadow); }
.legal-card h1 { font-size: 54px; }
.legal-card h2 { margin-top: 38px; font-size: 28px; }
.legal-card p { color: var(--muted); }

.admin-body { min-height: 100vh; padding: 50px 20px; background: #ece8df; }
.admin-login { max-width: 430px; margin: 8vh auto 0; padding: 36px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.admin-login h1 { font-size: 36px; margin: 24px 0; }
.admin-panel { width: min(1400px, 100%); margin: 0 auto; }
.admin-top { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.admin-top h1 { font-size: 54px; margin-bottom: 0; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.table-wrap { overflow: auto; background: white; border-radius: 18px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #f5f5f1; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 900px) {
    nav { display: none; }
    .hero { padding-top: 60px; }
    .hero-grid, .petition-grid, .support-panel { grid-template-columns: 1fr; }
    .hero-grid { gap: 40px; }
    .hero-card { max-width: 560px; margin-inline: auto; }
    .support-actions { max-width: 420px; }
    .cards { grid-template-columns: 1fr; }
    .petition-grid { gap: 45px; }
    .share-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
    .container { width: min(100% - 24px, 1160px); }
    .nav-wrap .button { display: none; }
    .hero { padding: 48px 0 56px; }
    h1 { font-size: 48px; }
    h2 { font-size: 38px; }
    .trust-row { grid-template-columns: 1fr; gap: 12px; }
    .hero-card { padding: 18px; border-radius: 26px; }
    .hero-card-note { left: 16px; right: 16px; bottom: 14px; font-size: 11px; }
    .support-panel, .form-card, .share-panel, .legal-card { padding: 26px 20px; }
    .section, .petition-section { padding: 74px 0; }
    .form-row, .signature-grid { grid-template-columns: 1fr; }
    .counter-top { flex-direction: column; }
    .footer-grid { flex-direction: column; }
    .admin-top { align-items: flex-start; flex-direction: column; }
}
