/* =========================================================
   Afriroam Safaris — main stylesheet
   Aesthetic: warm savanna, earth tones, generous typography
   ========================================================= */

/* ---------- 1. Reset & base --------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #2a2723;
    background: #faf7f1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: #c97b3c; text-decoration: none; transition: color .2s; }
a:hover { color: #9c5a26; }
button { font: inherit; cursor: pointer; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.15;
    color: #1d1b18;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}
.h1, h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2, h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.h3, h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
p { margin: 0 0 1em; }
.eyebrow {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 600;
    color: #c97b3c;
    margin: 0 0 .65rem;
}
.lede { font-size: 1.15rem; color: #4a463f; }
.accent { color: #c97b3c; font-style: italic; }
.centered { text-align: center; }

/* Layout helpers */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.section--cream { background: #f3ede1; }
.section--sand   { background: #e9d8a6; color: #2a2723; }
.section--green  { background: #2E4A3B; color: #f3ede1; }
.section--green .h2,
.section--green h3 { color: #fff; }
.section--green .eyebrow { color: #e9d8a6; }

.skip-link {
    position: absolute; left: -1000px; top: 0;
    background: #2E4A3B; color: #fff; padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 2. Top utility bar & header --------------- */
.topbar {
    background: #1d1b18; color: #d8d2c6;
    font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .55rem; padding-bottom: .55rem; gap: 1rem; flex-wrap: wrap;
}
.topbar__left { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__link { color: inherit; }
.topbar__link:hover { color: #fff; }
.topbar__right { display: flex; gap: .4rem; flex-wrap: wrap; }
@media (max-width: 640px) {
    .topbar__link--hide-mobile { display: none; }
    .topbar__right { display: none; }
}

.badge {
    display: inline-block;
    background: #c97b3c; color: #fff;
    padding: .15rem .55rem; border-radius: 3px;
    font-size: .68rem; letter-spacing: .08em; font-weight: 600;
    text-transform: uppercase;
}
.badge--ghost { background: transparent; color: #d8d2c6; border: 1px solid rgba(255,255,255,.18); }

.site-header {
    background: rgba(255,255,255,.97);
    backdrop-filter: saturate(140%) blur(6px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 78px; padding-top: .75rem; padding-bottom: .75rem;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; }

.primary-nav {
    display: flex; align-items: center; gap: 1.5rem;
}
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a {
    color: #1d1b18; font-weight: 500; font-size: .95rem;
    padding: .6rem 0; position: relative;
}
.nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: #c97b3c; transition: width .25s ease;
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav__cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    background: none; border: 0; padding: 8px; gap: 4px;
    flex-direction: column; justify-content: center;
}
.nav-toggle span { width: 24px; height: 2px; background: #1d1b18; transition: .3s; }
@media (max-width: 920px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed; inset: 78px 0 0;
        background: #fff; flex-direction: column;
        align-items: stretch; padding: 2rem 1.5rem; gap: 1.25rem;
        transform: translateX(100%); transition: transform .3s ease;
        overflow-y: auto;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .nav { flex-direction: column; gap: 0; }
    .nav a { padding: .9rem 0; border-bottom: 1px solid #f0eadd; font-size: 1.05rem; }
    .nav__cta { margin-top: 1rem; text-align: center; }
}

/* ---------- 3. Buttons & links ------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .85rem 1.6rem;
    font-weight: 600; font-size: .95rem;
    border-radius: 36px;
    border: 2px solid transparent;
    transition: all .2s ease;
    cursor: pointer; text-align: center; line-height: 1;
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--primary { background: #c97b3c; color: #fff !important; box-shadow: 0 4px 14px rgba(201,123,60,.32); }
.btn--primary:hover { background: #b16a30; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,123,60,.4); }
.btn--ghost { background: transparent; color: #1d1b18 !important; border-color: #1d1b18; }
.btn--ghost:hover { background: #1d1b18; color: #fff !important; }
.section--green .btn--ghost { color: #fff !important; border-color: #fff; }
.section--green .btn--ghost:hover { background: #fff; color: #2E4A3B !important; }
.btn--whatsapp { background: #25D366; color: #fff !important; }
.btn--whatsapp:hover { background: #1da851; }

.link-arrow { font-weight: 600; }
.link-arrow:hover { letter-spacing: .03em; }

/* ---------- 4. Hero ------------------------------------ */
.hero { position: relative; min-height: 88vh; color: #fff; display: flex; align-items: center; }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.hero__inner { position: relative; z-index: 2; padding: 6rem 1.25rem; }
.hero .eyebrow { color: #e9d8a6; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .8rem; }
.hero__lede {
    color: rgba(255,255,255,.92);
    max-width: 640px; font-size: 1.18rem; line-height: 1.55;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__pills {
    list-style: none; padding: 0; margin: 3rem 0 0;
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    color: rgba(255,255,255,.85); font-size: .9rem;
}
.hero__pills li { display: flex; align-items: center; gap: .5rem; }
.hero__pills span {
    background: rgba(255,255,255,.12); padding: .35rem .7rem;
    border-radius: 16px; font-weight: 600; color: #fff;
}
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 1.4rem; opacity: .7;
    animation: bounce 2.4s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- 5. Intro & stats -------------------------- */
.intro {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 3rem; align-items: center;
}
@media (max-width: 820px) {
    .intro { grid-template-columns: 1fr; }
}
.stats {
    list-style: none; padding: 2rem; margin: 0;
    background: #fff; border-radius: 14px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
    border: 1px solid #f0e8d6;
}
.stats li { display: flex; flex-direction: column; }
.stats strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; color: #c97b3c; line-height: 1;
}
.stats span { color: #6c665c; font-size: .9rem; margin-top: .25rem; }

/* ---------- 6. Section heads --------------------------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head__lede { color: #4a463f; font-size: 1.1rem; margin-top: .5rem; }
.section-head--light .h2, .section-head--light h2 { color: #fff; }

/* ---------- 7. Tour cards ----------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
}
.tour-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.05);
    border: 1px solid #f0e8d6;
    transition: transform .25s, box-shadow .25s;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.tour-card__link { color: inherit; display: block; }
.tour-card__link:hover { color: inherit; }
.tour-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.tour-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__badge {
    position: absolute; top: 14px; left: 14px;
    background: #c97b3c; color: #fff;
    padding: .25rem .7rem; border-radius: 16px;
    font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
}
.tour-card__duration {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0,0,0,.6); color: #fff;
    padding: .3rem .7rem; border-radius: 4px;
    font-size: .78rem; font-weight: 600;
}
.tour-card__body { padding: 1.5rem; }
.tour-card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #c97b3c; font-weight: 600; margin: 0 0 .35rem; }
.tour-card__title { font-size: 1.45rem; margin: 0 0 .5rem; }
.tour-card__summary { font-size: .92rem; color: #6c665c; margin: 0 0 1rem; }
.tour-card__meta {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: .5rem; padding-top: 1rem; border-top: 1px solid #f0e8d6;
}
.tour-card__price { font-weight: 700; color: #1d1b18; font-size: 1.05rem; }
.tour-card__basis { font-size: .75rem; color: #8a8478; }

/* ---------- 8. Destinations grid --------------------- */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.dest-tile {
    position: relative; aspect-ratio: 4/5;
    border-radius: 12px; overflow: hidden; display: block;
    color: #fff; background: #333;
}
.dest-tile img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease; opacity: .82;
}
.dest-tile:hover img { transform: scale(1.05); opacity: 1; }
.dest-tile__overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%);
    color: #fff;
}
.dest-tile__overlay h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.5rem; }
.dest-tile__overlay p { margin: 0; font-size: .85rem; opacity: .85; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- 9. Steps ---------------------------------- */
.steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.steps li { padding: 1rem 0; }
.steps__num {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; color: #e9d8a6;
    margin-bottom: .8rem; opacity: .8;
}
.steps h3 { color: #fff; margin-bottom: .35rem; font-size: 1.3rem; }
.steps p { color: rgba(243,237,225,.85); margin: 0; font-size: .95rem; }

/* ---------- 10. Testimonials -------------------------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    border: 1px solid #e9d8a6;
}
.testimonial__rating { color: #c97b3c; font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial blockquote {
    margin: 0 0 1rem; font-family: 'Cormorant Garamond', serif;
    font-size: 1.18rem; line-height: 1.45; color: #2a2723; font-style: italic;
}
.testimonial figcaption { font-size: .9rem; color: #6c665c; }
.testimonial figcaption strong { color: #1d1b18; }

/* ---------- 11. Trust strip --------------------------- */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem; text-align: center;
    border-top: 1px solid #f0e8d6;
    border-bottom: 1px solid #f0e8d6;
    padding: 2rem 0;
}
.trust-strip__item span {
    display: inline-block; font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem; color: #2E4A3B; font-weight: 600;
}
.trust-strip__item small { color: #8a8478; font-size: .82rem; }

/* ---------- 12. Blog cards ---------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
}
.post-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    border: 1px solid #f0e8d6; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.post-card a { color: inherit; display: block; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.4rem; }
.post-card__date { color: #c97b3c; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .5rem; }
.post-card h3 { font-size: 1.3rem; margin: 0 0 .5rem; }

/* ---------- 13. CTA strip ----------------------------- */
.cta-strip {
    background: #1d1b18 url('/assets/images/cta-elephant.jpg') center/cover;
    background-blend-mode: overlay;
    color: #fff;
    padding: 4rem 0;
    position: relative;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(29,27,24,.92), rgba(46,74,59,.85));
}
.cta-strip__inner {
    position: relative;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem;
    align-items: center;
}
@media (max-width: 760px) { .cta-strip__inner { grid-template-columns: 1fr; text-align: center; } }
.cta-strip h2 { color: #fff; margin: 0 0 .5rem; }
.cta-strip p { color: rgba(255,255,255,.85); margin: 0; }
.cta-strip__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .cta-strip__actions { justify-content: center; } }

/* ---------- 14. Footer -------------------------------- */
.site-footer {
    background: #1d1b18; color: #d8d2c6;
    padding: 4rem 0 1.5rem;
}
.site-footer h4 {
    color: #e9d8a6; font-family: 'Inter', sans-serif;
    font-size: .82rem; text-transform: uppercase; letter-spacing: .12em;
    margin: 0 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}
@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer__logo { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__tagline { color: #a8a094; font-size: .92rem; max-width: 380px; }
.footer__socials { display: flex; gap: .5rem; margin-top: 1rem; }
.footer__socials a {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #3a352d; color: #d8d2c6; font-size: .75rem; font-weight: 600;
}
.footer__socials a:hover { background: #c97b3c; border-color: #c97b3c; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer a { color: #d8d2c6; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: #d8d2c6; font-size: .92rem; }
.footer__badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }

.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem;
    border-top: 1px solid #2c2823;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    color: #a8a094; font-size: .85rem;
}
.footer-bottom a { color: #a8a094; }
.footer-bottom__links { margin: 0; }
.footer-bottom p { margin: 0; }

/* ---------- 15. WhatsApp float ------------------------ */
.wa-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(37,211,102,.4);
    z-index: 90; transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 24px rgba(37,211,102,.55); }

/* ---------- 16. Generic content (page hero, articles) ------ */
.page-hero {
    background: #2E4A3B linear-gradient(135deg, rgba(29,27,24,.7), rgba(46,74,59,.6));
    color: #fff; padding: 4rem 0 3rem; text-align: center;
    background-size: cover; background-position: center;
    background-blend-mode: overlay;
}
.page-hero h1 { color: #fff; margin: 0 0 .5rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }
.breadcrumbs {
    color: #c97b3c; font-size: .82rem; letter-spacing: .04em;
    margin-bottom: 1rem; text-transform: uppercase;
}
.breadcrumbs a { color: inherit; }

.prose {
    max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.7;
}
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose img { border-radius: 8px; margin: 1.5rem 0; }
.prose blockquote {
    border-left: 4px solid #c97b3c;
    padding-left: 1.4rem; margin: 1.5rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; line-height: 1.4; color: #2E4A3B;
}

/* ---------- 17. Tour detail --------------------------- */
.tour-hero {
    height: 60vh; min-height: 420px;
    background-size: cover; background-position: center;
    color: #fff; display: flex; align-items: flex-end;
}
.tour-hero__inner {
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%);
    padding: 3rem 0 2rem;
}
.tour-hero h1 { color: #fff; max-width: 800px; margin: 0; }
.tour-hero__meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem;
    color: rgba(255,255,255,.9); font-size: .95rem;
}
.tour-hero__meta strong { color: #fff; }

.tour-layout {
    display: grid; grid-template-columns: 1.7fr 1fr;
    gap: 3rem; align-items: start;
    padding: 3rem 0;
}
@media (max-width: 920px) { .tour-layout { grid-template-columns: 1fr; } }

.tour-section { margin-bottom: 2.5rem; }
.tour-section h2 {
    font-size: 1.6rem;
    border-bottom: 2px solid #e9d8a6;
    padding-bottom: .5rem; margin-bottom: 1.5rem;
}
.itinerary { list-style: none; padding: 0; margin: 0; }
.itinerary > li {
    border-left: 3px solid #c97b3c;
    padding: 0 0 1.5rem 1.5rem; margin-left: 1rem; position: relative;
}
.itinerary > li::before {
    content: ''; position: absolute; left: -8px; top: 4px;
    width: 14px; height: 14px; border-radius: 50%;
    background: #c97b3c; border: 3px solid #fff; box-shadow: 0 0 0 1px #c97b3c;
}
.itinerary__day { font-size: .82rem; color: #c97b3c; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.itinerary__title { margin: .25rem 0 .5rem; font-size: 1.2rem; }
.itinerary__lodge { color: #6c665c; font-size: .88rem; }

.included-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
@media (max-width: 580px) { .included-grid { grid-template-columns: 1fr; } }
.included-grid h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.included-grid ul { padding: 0; list-style: none; }
.included-grid li { padding: .35rem 0 .35rem 1.5rem; position: relative; font-size: .95rem; }
.included-grid li::before {
    content: ''; position: absolute; left: 0; top: .65rem;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232E4A3B' d='M9 16.2 5.5 12.7l-1.4 1.4L9 19l11-11-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.included-grid .excl li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a52828' d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tour-aside {
    position: sticky; top: 100px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0e8d6;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.tour-aside__price { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: #c97b3c; line-height: 1; }
.tour-aside__basis { color: #6c665c; font-size: .9rem; margin: .25rem 0 1.25rem; }
.tour-aside__btn { width: 100%; margin-bottom: .6rem; }

/* ---------- 18. Forms --------------------------------- */
.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-weight: 600; font-size: .88rem; color: #2a2723;
    margin-bottom: .35rem; letter-spacing: .02em;
}
.form-group .req { color: #c97b3c; }
.form-control {
    width: 100%; padding: .75rem .9rem;
    border: 1.5px solid #e0d8c5; border-radius: 8px;
    font: inherit; font-size: .95rem;
    background: #fff; color: #2a2723; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
    outline: none; border-color: #c97b3c;
    box-shadow: 0 0 0 3px rgba(201,123,60,.15);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-help { font-size: .82rem; color: #8a8478; margin-top: .35rem; }
.honeypot { position: absolute; left: -9999px; }

.alert {
    padding: 1rem 1.25rem; border-radius: 8px; margin: 1rem 0;
    border: 1px solid transparent;
}
.alert--error { background: #fdecec; color: #82181f; border-color: #f5c6cb; }
.alert--success { background: #e9f5ec; color: #1f5d2c; border-color: #c3e6cb; }
.alert ul { margin: .5rem 0 0; padding-left: 1.25rem; }

/* ---------- 19. Pagination ---------------------------- */
.pagination {
    display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap;
    margin-top: 3rem;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 .8rem;
    border: 1px solid #e0d8c5; border-radius: 6px;
    color: #2a2723; font-size: .92rem;
}
.pagination a:hover { border-color: #c97b3c; color: #c97b3c; }
.pagination .active { background: #c97b3c; color: #fff; border-color: #c97b3c; }

/* ---------- 20. Misc ---------------------------------- */
.gallery-tabs {
    display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
    margin: 0 0 2rem;
}
.gallery-tabs a {
    padding: .5rem 1.1rem; border: 1px solid #e0d8c5;
    border-radius: 30px; color: #2a2723; font-size: .88rem;
}
.gallery-tabs a.active, .gallery-tabs a:hover { background: #c97b3c; border-color: #c97b3c; color: #fff; }

.gallery-grid {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gallery-grid figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: #ddd; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.gallery-grid img:hover { transform: scale(1.04); }

.empty-state { text-align: center; padding: 3rem; color: #6c665c; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    display: none; align-items: center; justify-content: center;
    z-index: 200; padding: 2rem; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; }

/* Print */
@media print {
    .topbar, .site-header, .site-footer, .wa-float, .cta-strip, .nav-toggle { display: none !important; }
}
