:root {
    --bg: #f4efe4;
    --surface: #fff9ef;
    --surface-strong: #122c1d;
    --text: #14281d;
    --muted: #526252;
    --line: rgba(20, 40, 29, 0.14);
    --accent: #dd5f2d;
    --accent-soft: #ffc76e;
    --shadow: 0 18px 45px rgba(20, 40, 29, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 199, 110, 0.5), transparent 30%),
        linear-gradient(180deg, #f9f4e9 0%, #f2ebdc 100%);
    min-height: 100vh;
}

body.popup-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
.site-footer,
main {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #184c33, #dd5f2d);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-nav a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(18, 44, 29, 0.08);
    color: var(--text);
}

.whatsapp-top-right {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-top-right-icon {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: contain;
}

.hero,
.page-hero,
.feature-band,
.section,
.site-footer {
    margin-bottom: 1.5rem;
}

.hero,
.page-hero,
.feature-band,
.info-card,
.story-card,
.nav-card,
.team-card,
.venue-card,
.contact-form {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.5rem;
    background: rgba(255, 249, 239, 0.88);
    border-radius: calc(var(--radius-lg) + 8px);
}

.hero-copy,
.page-hero > div {
    padding: 1rem;
}

.hero-visual img,
.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    min-height: 320px;
}

.eyebrow {
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 0.02em;
    line-height: 0.95;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.9rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.lead {
    font-size: 1.08rem;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.6rem 0;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
}

.button.primary {
    background: var(--surface-strong);
    color: #fff;
}

.button.secondary {
    background: rgba(221, 95, 45, 0.1);
    color: var(--text);
}

.stat-strip {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.stat-strip li,
.mini-metric {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
}

.stat-strip strong,
.mini-metric strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text);
}

.stat-strip span,
.mini-metric span {
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 1.4rem 0;
}

.section-heading {
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.story-card,
.nav-card,
.team-card,
.venue-card,
.contact-form {
    background: rgba(255, 249, 239, 0.92);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
}

.nav-card {
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    background: #fff;
}

.feature-band {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    padding: 1.4rem;
    background: linear-gradient(135deg, rgba(18, 44, 29, 0.96), rgba(22, 72, 48, 0.92));
    color: #fff;
    border-radius: calc(var(--radius-lg) + 8px);
}

.feature-band p,
.feature-band h2,
.feature-band .text-link {
    color: #fff;
}

.feature-panel {
    display: grid;
    gap: 0.8rem;
}

.mini-metric {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.text-link {
    font-weight: 700;
}

.page-shell {
    padding-bottom: 1rem;
}

.page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.3rem;
    background: rgba(255, 249, 239, 0.88);
    border-radius: calc(var(--radius-lg) + 8px);
}

.article-stack {
    display: grid;
    gap: 1rem;
}

.story-card {
    background: linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(248, 240, 225, 0.96));
}

.tag {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(221, 95, 45, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
}

.two-column,
.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.emphasis {
    background: linear-gradient(135deg, rgba(255, 199, 110, 0.25), rgba(255, 249, 239, 0.95));
}

.clean-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.team-card span {
    display: inline-block;
    margin-top: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.venue-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-points p {
    margin: 0.3rem 0;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    font: inherit;
    background: #fffdf7;
}

.site-footer {
    padding: 1rem 0 2rem;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(10, 18, 13, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
}

.popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-close {
    position: fixed;
    top: 0.9rem;
    left: 0.9rem;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 40, 29, 0.82);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.popup-link {
    display: block;
    width: 100%;
}

.popup-image {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    object-fit: contain;
    object-position: top center;
}

@media (max-width: 900px) {
    .hero,
    .page-hero,
    .feature-band,
    .two-column,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .card-grid.three-up,
    .venue-layout,
    .stat-strip {
        grid-template-columns: 1fr;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-top-right {
        top: 0.85rem;
        right: 0.85rem;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.97rem;
    }

    .site-header,
    .site-footer,
    main {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .hero,
    .page-hero,
    .feature-band,
    .info-card,
    .story-card,
    .nav-card,
    .team-card,
    .venue-card,
    .contact-form {
        border-radius: 22px;
    }

    .site-nav {
        gap: 0.25rem;
    }

    .site-nav a {
        padding: 0.6rem 0.85rem;
    }
}
