:root {
    --green: #0b7a3b;
    --red: #c9282d;
    --ink: #17211c;
    --muted: #5d6b64;
    --line: #dfe7e2;
    --paper: #fffdfa;
    --soft: #f4f8f5;
    --gold: #c79a31;
    --shadow: 0 18px 45px rgba(23, 33, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.site-shell {
    min-height: 100vh;
}

.hero {
    min-height: 86vh;
    display: grid;
    align-items: stretch;
    background: #10251a;
    color: white;
}

.flag-band {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 250px;
}

.flag-band span {
    display: grid;
    place-items: center;
}

.flag-band .green {
    background: var(--green);
}

.flag-band .white {
    background: #fff9ef;
}

.flag-band .red {
    background: var(--red);
}

.seal {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 3px solid var(--gold);
    border-radius: 50%;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-content {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 42px 20px 54px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 1.08;
}

h1 {
    max-width: 820px;
    font-size: clamp(3rem, 13vw, 6.7rem);
}

h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
}

.hero-content p:not(.eyebrow) {
    max-width: 660px;
    margin: 18px 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.primary-link,
button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    padding: 13px 18px;
    color: white;
    background: var(--red);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(201, 40, 45, 0.25);
}

.primary-link:focus,
button:focus,
input:focus {
    outline: 3px solid rgba(199, 154, 49, 0.45);
    outline-offset: 2px;
}

.notice {
    padding: 14px 20px;
    color: #6b3b00;
    background: #fff1d0;
    border-top: 1px solid #f3d99c;
    border-bottom: 1px solid #f3d99c;
}

.content-grid,
.live-section,
.photo-section,
.workflow {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 34px 20px 0;
}

.content-grid {
    display: grid;
    gap: 18px;
}

.panel,
.form-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.panel {
    padding: 24px;
}

.panel p {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.check-list li {
    padding-left: 28px;
    position: relative;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--green);
}

.testimonial-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.testimonial {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.testimonial small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--red);
    font-weight: 800;
}

.testimonial small i,
.live-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(201, 40, 45, 0.48);
    animation: pulse 1.6s infinite;
}

.testimonial span {
    display: block;
    color: var(--green);
    font-size: 1.25rem;
    font-weight: 800;
}

.testimonial p {
    margin: 8px 0 0;
}

.section-heading {
    margin-bottom: 18px;
}

.live-section,
.photo-section {
    padding-top: 40px;
}

.live-feed {
    display: grid;
    gap: 12px;
}

.live-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 33, 28, 0.08);
}

.live-item strong {
    display: block;
    line-height: 1.25;
}

.live-item p {
    margin: 5px 0 0;
    color: var(--muted);
}

.live-item em {
    grid-column: 2;
    justify-self: start;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--green);
    background: #e6f6ed;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 800;
}

.photo-grid {
    display: grid;
    gap: 16px;
}

.photo-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.photo-card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    background: var(--soft);
}

.photo-card div {
    padding: 16px;
}

.photo-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.photo-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.workflow {
    padding-bottom: 48px;
}

.form-card {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.field-group {
    display: grid;
    gap: 7px;
}

label {
    font-weight: 800;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c9d5ce;
    border-radius: 8px;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.checkbox {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-weight: 700;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.alert p {
    margin: 0;
}

.alert p + p {
    margin-top: 6px;
}

.success {
    color: #0c5630;
    background: #ddf5e8;
    border: 1px solid #a8dfbf;
}

.error {
    color: #8a181c;
    background: #ffe6e7;
    border: 1px solid #f3b4b7;
}

.final-card p:not(.section-kicker) {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.secondary-button {
    background: var(--green);
    box-shadow: 0 10px 20px rgba(11, 122, 59, 0.2);
}

.whatsapp-button {
    width: fit-content;
    background: #128c7e;
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.2);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(16, 37, 26, 0.78);
}

.loading-overlay[hidden] {
    display: none;
}

.loader-box {
    width: min(100%, 360px);
    padding: 28px;
    text-align: center;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.loader-box h2 {
    margin-top: 16px;
}

.loader-box p {
    color: var(--muted);
}

.spinner {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border: 8px solid #e6efe9;
    border-top-color: var(--red);
    border-right-color: var(--green);
    border-radius: 50%;
    animation: spin 900ms linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(201, 40, 45, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201, 40, 45, 0);
    }
}

@media (min-width: 760px) {
    .hero {
        grid-template-columns: 42% 58%;
        min-height: 78vh;
    }

    .flag-band {
        min-height: auto;
    }

    .hero-content {
        display: grid;
        align-content: center;
        padding: 58px 42px;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
        padding-top: 46px;
    }

    .live-feed {
        grid-template-columns: repeat(3, 1fr);
    }

    .live-item {
        grid-template-columns: 18px 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .workflow {
        padding-top: 24px;
    }

    .form-card {
        max-width: 620px;
        margin: 0 auto;
        padding: 30px;
    }
}
