/* =========================================================
   Ngalo Mobile Cycling Services — stylesheet
   Brand palette: deep navy blue, teal green, white
   ========================================================= */

:root {
    --navy-900: #0b1f38;
    --navy-800: #12294c;
    --navy-700: #1a3763;
    --navy-600: #234a82;
    --teal-700: #0b6b5c;
    --teal-600: #0f8b76;
    --teal-500: #14a893;
    --teal-100: #e3f6f2;
    --white: #ffffff;
    --off-white: #f6f9fb;
    --ink: #16212e;
    --muted: #5c6b7a;
    --border: #e4eaf0;
    --danger: #c0392b;

    --font-head: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 10px rgba(15, 35, 65, .06);
    --shadow-md: 0 10px 30px rgba(15, 35, 65, .10);
    --shadow-lg: 0 20px 50px rgba(15, 35, 65, .16);
    --radius: 14px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utilities ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: .6em;
}
.section { padding: 96px 0; }
.section.alt-bg { background: var(--off-white); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-lead { font-size: 1.05rem; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; margin-bottom: 44px; }
.section-head.split h2 { margin-bottom: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--teal-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy-800); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebc59; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Reveal-on-scroll ---------- */
/* Scoped under .js-reveal-ready (added by main.js) so content stays visible
   by default if JavaScript fails to load or run. */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.85); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; gap: 12px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a, .topbar-social a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.topbar-contact .icon, .topbar-social .icon { width: 14px; height: 14px; }
.topbar-contact a:hover, .topbar-social a:hover { color: var(--teal-500); }
.topbar-social { display: flex; gap: 14px; }
.topbar-email { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy-800); }
.brand-sub { font-size: .68rem; letter-spacing: .04em; color: var(--teal-600); font-weight: 600; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy-800); position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--teal-600); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { margin-left: 6px; }
.nav-toggle {
    display: none; position: relative; z-index: 101;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 50%; background: none; border: none; cursor: pointer; margin-left: 4px;
    transition: background .2s ease, opacity .2s ease;
}
.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--off-white); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

.main-nav-head, .nav-close, .nav-drawer-cta { display: none; }

.nav-backdrop {
    position: fixed; inset: 0; z-index: 95;
    background: rgba(11,31,56,.55);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Hide the floating WhatsApp bubble and back-to-top while the drawer (which
   has its own WhatsApp CTA) is open, so they don't overlap it. */
body.nav-is-open .whatsapp-float,
body.nav-is-open #back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,56,.55) 0%, rgba(11,31,56,.72) 55%, rgba(11,31,56,.92) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 60px; max-width: 760px; }
.hero .eyebrow { color: var(--teal-500); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); margin-bottom: .4em; }
.hero h1 span { color: var(--teal-500); }
.hero-lead { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--white); }
.hero-stats span { font-size: .82rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .05em; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--white); opacity: .8; animation: bob 2s ease-in-out infinite; z-index: 1; }
.scroll-cue .icon { width: 26px; height: 26px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-media-badge { position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.about-media-badge .icon { width: 26px; height: 26px; color: var(--teal-600); }
.about-media-badge strong { display: block; font-family: var(--font-head); color: var(--navy-800); font-size: .95rem; }
.about-media-badge span { font-size: .78rem; color: var(--muted); }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-features { display: grid; gap: 12px; margin: 22px 0 28px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-800); font-family: var(--font-head); font-size: .95rem; }
.about-features .icon { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 190px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-body { padding: 26px; position: relative; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); margin-top: -52px; margin-bottom: 14px; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.service-icon .icon { width: 22px; height: 22px; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: .5em; }
.service-card-body p { font-size: .93rem; margin-bottom: 1.1em; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--teal-600); }
.service-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.service-link:hover .icon { transform: translateX(4px); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.gallery-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid > :nth-child(6) { grid-column: span 2; }
.gallery-item { position: relative; padding: 0; border: none; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--navy-900); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.06); opacity: .85; }
.gallery-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); opacity: 0; transition: opacity .25s ease; background: rgba(11,31,56,.25); }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-zoom .icon { width: 30px; height: 30px; }

.lightbox { position: fixed; inset: 0; background: rgba(8,18,32,.92); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .25s ease; padding: 40px 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 80vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 14px; font-size: .9rem; }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: rgba(255,255,255,.12); border: none; color: var(--white); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-close .icon { width: 20px; height: 20px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev .icon { transform: rotate(180deg); }

/* ---------- Cards: blog + events ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.post-card, .event-card, .event-card-full { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover, .event-card-full:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-img { display: block; height: 190px; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.08); }
.post-card-body, .event-card-body { padding: 24px; }
.post-date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--teal-600); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .7em; }
.post-date .icon, .event-meta .icon { width: 15px; height: 15px; }
.post-card-body h3 { font-size: 1.08rem; margin-bottom: .5em; }
.post-card-body h3 a:hover { color: var(--teal-600); }
.post-card-body p { font-size: .93rem; }

.event-card { display: flex; gap: 18px; padding: 22px; }
.event-date { flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; background: var(--navy-800); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); }
.event-day { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-month { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-500); }
.event-card .event-card-body { padding: 0; }
.event-card h3 { font-size: 1.02rem; margin-bottom: .4em; }
.event-meta { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: .3em; }
.event-card p:last-of-type { font-size: .9rem; margin-top: .5em; }

.event-card-full-img { position: relative; height: 200px; overflow: hidden; }
.event-card-full-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-full .event-date { position: absolute; top: 14px; left: 14px; box-shadow: var(--shadow-md); }
.event-badge { position: absolute; top: 14px; right: 14px; background: rgba(11,31,56,.85); color: var(--white); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.event-card-full.is-past { opacity: .82; }
.event-card-full.is-past .event-card-full-img img { filter: grayscale(35%); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--navy-900), var(--teal-700)); color: var(--white); padding: 64px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: .3em; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-info-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.contact-info-card .icon { width: 22px; height: 22px; color: var(--teal-600); flex-shrink: 0; }
.contact-info-card h4 { font-size: .95rem; margin-bottom: .2em; }
.contact-info-card p { margin: 0; font-size: .9rem; }
.contact-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy-800); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--off-white);
    transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal-500); background: var(--white); }
.form-group textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.form-alert .icon { width: 18px; height: 18px; }
.form-alert-success { background: var(--teal-100); color: var(--teal-700); }
.form-alert-error { background: #fdecea; color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--teal-500); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--teal-600); transform: translateY(-3px); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-col h4 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.68); }
.footer-links a:hover { color: var(--teal-500); }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; font-size: .88rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--teal-500); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; font-size: .82rem; flex-wrap: wrap; gap: 8px; }
.footer-tagline { font-style: italic; color: var(--teal-500); margin: 0; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); }

/* ---------- Floating WhatsApp + back-to-top ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 200;
    width: 62px; height: 62px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 26px rgba(37, 211, 102, .5);
    transition: transform .2s ease, opacity .25s ease, visibility .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon-lg { width: 30px; height: 30px; }
.whatsapp-float-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }

#back-to-top {
    position: fixed; bottom: 26px; right: 100px; z-index: 199;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--white); color: var(--navy-800); display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
#back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
#back-to-top .icon { width: 18px; height: 18px; transform: rotate(180deg); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; color: var(--white); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,56,.9), rgba(15,139,118,.75)); }
.page-hero-content { position: relative; z-index: 1; max-width: 620px; }
.page-hero-content .eyebrow { color: var(--teal-500); }
.page-hero-content h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero-content p { color: rgba(255,255,255,.85); margin: 0; }
.crumb-link { color: var(--teal-500); text-decoration: underline; }

/* ---------- Blog single ---------- */
.post-single-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 48px; align-items: start; }
.post-single { font-size: 1.02rem; }
.post-meta-line { display: flex; align-items: center; gap: 6px; }
.post-meta-line .icon { width: 15px; height: 15px; }
.post-single h3 { margin-top: 1.6em; font-size: 1.25rem; }
.post-single p { color: var(--ink); }
.post-share { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; color: var(--navy-800); flex-wrap: wrap; }
.post-sidebar { display: grid; gap: 22px; }
.sidebar-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.sidebar-card h4 { font-size: 1rem; margin-bottom: .5em; }
.sidebar-card p { font-size: .9rem; }
.sidebar-list { display: grid; gap: 14px; }
.sidebar-list a { display: flex; align-items: center; gap: 12px; }
.sidebar-list img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sidebar-list span { font-size: .88rem; font-weight: 600; color: var(--navy-800); font-family: var(--font-head); }
.sidebar-list a:hover span { color: var(--teal-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid, .contact-grid, .post-single-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 420px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-grid > :nth-child(6) { grid-column: span 1; }
}

@media (max-width: 860px) {
    .topbar-contact a:nth-child(2) { display: none; }

    .main-nav {
        position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 85vw);
        display: flex; flex-direction: column;
        background: var(--white); box-shadow: var(--shadow-lg);
        transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
        padding: 18px 26px 28px; z-index: 99; overflow-y: auto;
    }
    .main-nav.is-open { transform: translateX(0); }

    .main-nav-head {
        display: flex; align-items: center; justify-content: space-between;
        padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
    }
    .main-nav-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy-800); }
    .nav-close {
        display: flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; border-radius: 50%; background: var(--off-white); border: none; cursor: pointer; color: var(--navy-800);
        transition: background .2s ease, color .2s ease;
    }
    .nav-close .icon { width: 18px; height: 18px; }
    .nav-close:hover { background: var(--teal-100); color: var(--teal-700); }

    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a {
        display: block; padding: 13px 14px; border-radius: 10px;
        font-size: 1rem;
    }
    .main-nav a::after { display: none; }
    .main-nav a:hover { background: var(--off-white); }
    .main-nav a.active { background: var(--teal-100); color: var(--teal-700); }

    .nav-drawer-cta { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); }
    .nav-drawer-phone {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy-800);
    }
    .nav-drawer-phone .icon { width: 17px; height: 17px; color: var(--teal-600); }

    .header-cta { display: none; }
    .nav-toggle { display: flex; }
    /* The drawer has its own close (X) button in the same corner once open,
       so step the hamburger out of the way rather than stacking two controls. */
    .main-nav.is-open ~ .nav-toggle { opacity: 0; pointer-events: none; }

    .section { padding: 70px 0; }
    .form-row { grid-template-columns: 1fr; }
    .cta-banner-inner { text-align: center; justify-content: center; }
}

@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .gallery-grid > :nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 26px; }
    .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
    #back-to-top { right: 84px; bottom: 20px; width: 40px; height: 40px; }
    .event-card { flex-direction: column; }
    .topbar-social { display: none; }
}
