/* sitekit base styles. Colours, fonts and sizes come from theme.css (generated from THEME in content.py).
   Per-site look and bespoke sections go in build/static/assets/css/site.css (loaded after this file). */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; --header-h: 76px; }
body { margin: 0; font-family: var(--font); font-size: var(--body-size); line-height: 1.7; color: var(--ink); background: var(--bg); overflow-x: hidden; }
html { overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: var(--head-weight); font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-weight: var(--head-weight); font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.eyebrow { text-transform: var(--eyebrow-case); letter-spacing: .18em; font-size: .78rem; font-weight: 800; color: var(--accent); margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 620px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--btn-radius); cursor: pointer; font: 800 .85rem/1.2 var(--font);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .78rem; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-dark); color: var(--brand-ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(127,127,127,.12); }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
@media (max-width: 420px) { .row-actions .btn { flex: 1 1 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.header-light { background: color-mix(in srgb, var(--bg) 95%, transparent); }
.header-dark { background: color-mix(in srgb, var(--dark) 96%, transparent); border-color: rgba(255,255,255,.1); }
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .96rem; }
.site-nav > ul > li > a { color: inherit; padding: 6px 0; border-bottom: 2px solid transparent; }
.header-light .site-nav > ul > li > a { color: var(--ink); }
.header-dark .site-nav > ul > li > a, .header-dark .nav-toggle { color: var(--dark-ink); }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -14px; min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 10px; color: var(--ink); border-radius: 6px; }
.sub a:hover { background: var(--tint); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 48px; height: 48px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; margin: auto; }
@media (max-width: 900px) {
  html { --header-h: 66px; }
  .brand img { height: 42px; }
  .nav-toggle { display: grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 14px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .header-dark .site-nav { background: var(--dark); }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
  .header-dark .sub a { color: var(--dark-ink); }
}

/* Bands */
.band { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.band-light { background: var(--bg); }
.band-tint { background: var(--tint); }
.band-dark { background: var(--dark); color: var(--dark-ink); }
.band-brand { background: var(--brand); color: var(--brand-ink); }
.band-dark a:not(.btn), .band-brand a:not(.btn) { color: inherit; }
.band-dark .eyebrow, .band-brand .eyebrow { color: color-mix(in srgb, currentColor 75%, var(--accent)); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .intro { color: var(--muted); font-size: 1.08rem; }
.band-dark .section-head .intro, .band-brand .section-head .intro { color: inherit; opacity: .85; }
.narrow .prose { max-width: 780px; }
.prose > :last-child { margin-bottom: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-center .hero-inner, .hero-cover .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-center .lead, .hero-cover .lead { margin-inline: auto; }
.hero-center .row-actions, .hero-cover .row-actions { justify-content: center; }
.hero-sub { font-size: 1.15rem; font-weight: 700; opacity: .9; }
.hero-media img { width: 100%; border-radius: var(--radius); }
.hero-bg, .page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.25)); }
.hero.has-bg, .page-hero.has-bg { color: #fff; }
.hero-cover { min-height: min(86vh, 760px); display: flex; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.page-hero { position: relative; padding: clamp(48px, 7vw, 92px) 0; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 900px; }
.crumbs { font-size: .85rem; opacity: .75; margin-bottom: 1.2rem; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Media + text */
.media-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.media img { width: 100%; border-radius: var(--radius); }
.media figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
figure { margin: 0; }
@media (max-width: 860px) { .media-text { grid-template-columns: 1fr; } .media-left .media { order: -1; } }

/* Cards */
.cards { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cols-4, .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cards-boxed .card { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.cards-plain .card { background: transparent; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(0,0,0,.45); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: block; padding: 22px 24px 26px; }
.cards-plain .card-body { padding: 16px 0 0; }
.card-body p { color: var(--muted); margin-bottom: .6em; }
.band-dark .cards-plain .card-body p, .band-brand .cards-plain .card-body p { color: inherit; opacity: .85; }
.card-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--accent) !important; }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 24px 24px 0; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.cards-plain .card-icon { margin: 0; }
.card-icon svg { width: 28px; height: 28px; }

/* Gallery + lightbox */
.gallery { display: grid; gap: 12px; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: 10px; background: var(--line); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(8,10,16,.96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8,10,16,.9); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-close svg { width: 26px; height: 26px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .9rem; opacity: .75; margin: 0; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-count { bottom: 24px; } }

/* Logos, testimonials, stats, bars */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logos li { display: grid; place-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.logos li.dark { background: #000; }
.logos img { max-height: 70px; width: auto; object-fit: contain; }
.quotes { display: grid; gap: 22px; }
.quote { margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: color-mix(in srgb, currentColor 5%, transparent); border: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.quote > svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 10px; }
.quote blockquote { margin: 0; font-size: 1.06rem; }
.quote figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.quote figcaption span { opacity: .7; font-size: .9rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.stars { color: #f5b301; margin: 0 0 8px; display: flex; gap: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: var(--head-weight); line-height: 1.1; }
.stat-label { display: block; margin-top: 4px; opacity: .8; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.bars { display: grid; gap: 16px; max-width: 640px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.bar-name { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.bar-pct { font-weight: 700; color: var(--brand); }
.bar { grid-column: 1 / -1; height: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: inherit; }
.w5{width:5%}.w10{width:10%}.w15{width:15%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w35{width:35%}.w40{width:40%}.w45{width:45%}.w50{width:50%}
.w55{width:55%}.w60{width:60%}.w65{width:65%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w85{width:85%}.w90{width:90%}.w95{width:95%}.w100{width:100%}

/* CTA, FAQ, steps, video */
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.cta .section-head { margin-bottom: .6rem; }
.cta .row-actions { margin-top: 0; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { transition: transform .2s; color: var(--brand); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 0 18px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; }
.video img { width: 100%; opacity: .85; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,0,0,.9); color: #fff; }
.play svg { width: 34px; height: 34px; }
.video-ph { display: grid; place-items: center; aspect-ratio: 16 / 9; color: #fff; font-weight: 700; }

.video-link { display: inline-flex; align-items: center; gap: .5em; padding: 12px 18px; border-radius: 10px; background: #ff0000; color: #fff !important; font-weight: 700; text-decoration: none; margin: .5em 0 1em; }
.video-link svg { width: 1.4em; height: 1.4em; }

/* Marquee (pure CSS) */
.marquee { overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; padding-left: 48px; }
.marquee-track span { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.2rem, 2.6vw, 2rem); text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-copy > p { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: flex-start; gap: .6em; font-weight: 700; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-list svg { width: 1.3em; height: 1.3em; margin-top: .15em; color: var(--brand); }
.contact-form { background: var(--tint); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.field em { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.field [aria-invalid="true"] { border-color: #c62828; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #1b7a3a; }
.form-status.err { color: #b42318; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--dark); color: color-mix(in srgb, var(--dark-ink) 78%, transparent); font-size: .95rem; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-grid h2 { color: var(--dark-ink); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid li { margin-bottom: .45rem; }
.footer-logo { height: 56px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 14px; }
.site-footer a { display: inline-flex; align-items: flex-start; gap: .6em; color: var(--dark-ink); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent); }
.site-footer .contact-list svg { color: inherit; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: .85rem; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.footer-bar a { text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .footer-bar .wrap { padding-right: 70px; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

/* Entrance animations: [data-reveal] on a section animates its direct wrap children; [data-reveal-self] animates the element itself.
   Hidden only once JS is running (html.reveal), so content stays visible without JS. */
.reveal [data-reveal] > .wrap > *, .reveal [data-reveal-self] { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal [data-reveal="fade-up"] > .wrap > *, .reveal [data-reveal-self="fade-up"] { transform: translateY(28px); }
.reveal [data-reveal="fade-down"] > .wrap > *, .reveal [data-reveal-self="fade-down"] { transform: translateY(-28px); }
.reveal [data-reveal="slide-left"] > .wrap > *, .reveal [data-reveal-self="slide-left"] { transform: translateX(40px); }
.reveal [data-reveal="slide-right"] > .wrap > *, .reveal [data-reveal-self="slide-right"] { transform: translateX(-40px); }
.reveal [data-reveal="zoom"] > .wrap > *, .reveal [data-reveal-self="zoom"] { transform: scale(.92); }
.reveal [data-reveal].in > .wrap > *, .reveal [data-reveal-self].in { opacity: 1; transform: none; }
.reveal [data-reveal].in > .wrap > :nth-child(2) { transition-delay: .12s; }
.reveal [data-reveal].in > .wrap > :nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal [data-reveal] > .wrap > *, .reveal [data-reveal-self] { opacity: 1; transform: none; }
}
