/* Kwamua marketing site (kwamua.com root) - Adcoar Ltd brand palette
   (navy #071d49 / gold #c59b27, from BrandColors.php) composed
   differently than adcoar.com / adcoar-tours.com: amber-forward hero
   instead of navy-dominant, and a distinct type pairing (see below) so
   it reads as family, not a re-skin. Plain static CSS like pwa.css, not
   run through Tailwind/Vite - kept simple since this page doesn't share
   components with the PWA or the admin panel. */

:root {
    --navy-950: #050f26;
    --navy-900: #071d49;
    --navy-800: #0b1c42;
    --navy-700: #0f2555;
    --navy-500: #1f428a;
    --navy-300: #8a9fcb;
    --navy-100: #dbe1ef;

    --gold-900: #5c4713;
    --gold-700: #8a6b1a;
    --gold-600: #ad8721;
    --gold-500: #c59b27;
    --gold-400: #d3ac51;
    --gold-300: #dec278;
    --gold-200: #eadba8;
    --gold-100: #f5eed3;
    --gold-50: #fbf7ec;

    --paper: #fffdf7;
    --ink: var(--navy-900);
    --ink-soft: #4a5064;
    --muted: #8b8370;
    --rule: #ecdfb9;

    /* Production intent: Archivo (display) + Public Sans (body) via
       Google Fonts, distinct from the Outfit/DM Sans pairing adcoar.com
       and adcoar-tours.com share - system fallbacks cover most of the
       character until those are wired in via a <link> in layout.blade.php. */
    --font-display: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Public Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 253, 247, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark .mark { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy-900); }
.wordmark .mark span { color: var(--gold-500); }
/* Text-only wordmark, no icon at all, was the one place left inconsistent
   with the rest of the product - the PWA topbar, admin panel and native
   Android app all pair this same wordmark with the navy-square/gold-"K"
   mark (public/images/icon-512.png). Added the same way as the admin
   panel's version: a CSS-drawn badge, not the actual PNG, so there's
   nothing to fetch and it stays crisp at any size - this rule applies to
   *every* .wordmark on the page (nav and footer both share the class),
   navy-on-white in the nav and identically navy-on-navy in the dark
   footer, since the badge carries its own contained fill either way. */
.wordmark::before {
    content: "K";
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--navy-900);
    color: var(--gold-500);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy-900); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.locale { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-decoration: none; }
.locale b { color: var(--navy-900); }
.btn {
    font-family: var(--font-body); font-weight: 700; font-size: 14.5px; text-decoration: none;
    padding: 11px 22px; border-radius: 8px; display: inline-block; border: 1.5px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--navy-900); color: var(--gold-100); }
.btn-primary:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
    background: radial-gradient(120% 100% at 12% 0%, var(--gold-200) 0%, var(--gold-50) 46%, var(--paper) 78%);
    padding: 64px 0 40px;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-700);
    background: rgba(255,255,255,0.6); border: 1px solid var(--gold-300); border-radius: 999px; padding: 6px 14px;
    margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.05; margin: 0 0 20px; color: var(--navy-900); }
.hero h1 .hl { background: var(--navy-900); color: var(--gold-200); padding: 0 10px; border-radius: 6px; display: inline-block; }

/* One-time entrance on page load, not a loop - the first line fades/
   lifts in, then the highlight box "wipes" open left-to-right like a
   highlighter stroke, timed to land just as the first line settles.
   Both target real text that's already fully present in the markup
   (see home.blade.php's own comment on this) - CSS animations don't
   remove anything from the DOM a crawler reads, only from what's
   visible on screen for the ~1s this plays. */
.hero h1 .hero-line-1 { display: inline-block; animation: hero-line-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero h1 .hl { animation: hero-hl-wipe 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }

@keyframes hero-line-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-hl-wipe {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero h1 .hero-line-1, .hero h1 .hl { animation: none; }
}
.hero-typewriter { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--ink-soft); margin: 0 0 16px; }
/* No reserved width here on purpose - the previous version min-widthed
   just the cycling word to stop the trailing ", verified and nearby."
   text from shifting, which instead left a dead gap floating in front
   of that trailing text during the delete phase (that gap IS the bug -
   see marketing.js's own comment on why the whole phrase types/deletes
   as one unit now). Nothing trails #tw-word any more, so there's
   nothing left stranded when it shrinks - the line is simply allowed to
   grow and shrink as it types, same as adcoar.com's own hero typewriter. */
.tw-word { font-weight: 800; color: var(--navy-900); }
/* Real character, not a CSS-drawn bar - same choice adcoar.com's hero
   typewriter already made (resources/css/app.css there). aria-hidden
   in the markup either way; the sr-only line right after it is what a
   screen reader actually gets. */
.tw-cursor { display: inline-block; margin-left: 1px; color: var(--gold-500); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
    .tw-cursor { animation: tw-blink 1s step-end infinite; }
}
@media (prefers-reduced-motion: reduce) {
    /* marketing.js checks this same query and never starts the typing
       animation at all under it - the first phrase just stays put,
       permanently. A blinking cursor with nothing left to type after it
       would be motion for its own sake, so it's hidden outright rather
       than just frozen mid-blink. */
    .tw-cursor { display: none; }
}
@keyframes tw-blink { 50% { opacity: 0; } }

/* Visually hidden but present for screen readers / crawlers - standard
   clip-based sr-only pattern, not display:none (which assistive tech
   also skips). Used here for the typewriter's full-phrase-list fallback
   (home.blade.php's aria-hidden comment explains why the animated line
   itself is hidden from assistive tech instead). */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero p.lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); flex: none; display: inline-block; }

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-frame {
    width: 300px; border-radius: 38px; background: var(--navy-950);
    padding: 12px; box-shadow: 0 40px 70px -25px rgba(7, 29, 73, 0.45), 0 0 0 1px rgba(7,29,73,0.06);
    transform: rotate(2deg);
}
.phone-screen { border-radius: 27px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.phone-screen img { width: 100%; display: block; }
.float-chip {
    position: absolute; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px;
    padding: 10px 14px; box-shadow: 0 14px 30px -12px rgba(7,29,73,0.25); font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
}
.float-chip.top { top: 6%; left: -4%; }
.float-chip.bottom { bottom: 10%; right: -8%; }
.float-chip .ico { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-100); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .phone-stage { margin-top: 20px; }
    .float-chip { display: none; }
}

/* ---------- Category strip ---------- */
.categories { padding: 56px 0 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.cat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.cat-card {
    background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 22px 20px;
    transition: border-color 0.15s;
}
.cat-card:hover { border-color: var(--gold-400); }
.cat-card .ico {
    width: 44px; height: 44px; border-radius: 11px; background: var(--navy-900); color: var(--gold-300);
    display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.cat-photo {
    width: 100%; height: 140px; border-radius: 11px; overflow: hidden; margin-bottom: 14px;
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 17px; margin: 0 0 6px; color: var(--navy-900); }
.cat-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

@media (max-width: 700px) { .cat-row { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { padding: 72px 0; }
.section-head { max-width: 56ch; margin: 0 0 44px; }
.section-head .eyebrow { background: var(--gold-100); }
.section-head h2 { font-size: 34px; color: var(--navy-900); margin: 0 0 12px; }
.section-head p { font-size: 16px; color: var(--ink-soft); margin: 0; }

.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; padding: 0; margin: 0; }
.step {
    position: relative; padding: 28px 24px 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px;
}
.step .step-num {
    font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--gold-700);
    background: var(--gold-100); width: 30px; height: 30px; border-radius: 8px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { font-size: 18px; color: var(--navy-900); margin: 0 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

@media (max-width: 800px) { .step-row { grid-template-columns: 1fr; } }

/* ---------- Trust / night section ---------- */
.trust {
    background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
    color: var(--navy-100); padding: 76px 0; position: relative; overflow: hidden;
}
.trust::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(213,175,90,0.5) 0, transparent 60%),
      radial-gradient(1px 1px at 70% 60%, rgba(213,175,90,0.35) 0, transparent 60%),
      radial-gradient(1.5px 1.5px at 45% 80%, rgba(213,175,90,0.4) 0, transparent 60%),
      radial-gradient(1px 1px at 85% 15%, rgba(213,175,90,0.3) 0, transparent 60%);
    pointer-events: none;
}
.trust .wrap { position: relative; }
.trust .eyebrow { background: rgba(197,155,39,0.12); border-color: rgba(197,155,39,0.35); color: var(--gold-300); }
.trust h2 { font-size: 32px; color: #fff; max-width: 20ch; margin: 0 0 44px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; list-style: none; padding: 0; margin: 0; }
.trust-item .t-num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--gold-400); margin: 0 0 8px; }
.trust-item h4 { font-size: 15.5px; color: #fff; margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; }
.trust-item p { font-size: 14px; color: var(--navy-300); line-height: 1.6; margin: 0; }

@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Provider CTA ---------- */
.provider { padding: 76px 0; }
.provider-card {
    background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: 22px;
    padding: 48px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.provider-card h2 { font-size: 28px; color: var(--navy-900); margin: 0 0 14px; }
.provider-card p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 22px; max-width: 44ch; }
.provider-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.provider-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); font-weight: 600; align-items: flex-start; }
.provider-list .check { color: var(--gold-600); flex: none; }

@media (max-width: 800px) { .provider-card { grid-template-columns: 1fr; padding: 32px; } }

/* ---------- Testimonials ---------- */
.testimonials { padding: 72px 0; border-top: 1px solid var(--rule); }
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.testimonial-card {
    background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 26px 24px;
    display: flex; flex-direction: column; gap: 18px;
}
.testimonial-card .quote { font-size: 15px; color: var(--ink); line-height: 1.6; margin: 0; }
.testimonial-card .attribution { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.testimonial-card .attribution strong { font-size: 13.5px; color: var(--navy-900); }
.testimonial-card .attribution span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 800px) { .testimonial-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 72px 0; border-top: 1px solid var(--rule); }
.faq-list { max-width: 68ch; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq-item summary {
    font-size: 15.5px; font-weight: 700; color: var(--navy-900); cursor: pointer;
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-family: var(--font-mono); font-size: 18px; font-weight: 400; color: var(--gold-600);
    flex: none; transition: transform 0.15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 12px 0 0; }

@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* ---------- Floating Call/WhatsApp (components/floating-contact.blade.php) ---------- */
.float-contact { position: fixed; bottom: 20px; right: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-btn {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(7,29,73,0.28); color: #fff; transition: transform 0.15s, box-shadow 0.15s;
}
.float-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 26px rgba(7,29,73,0.34); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn-whatsapp { background: #25d366; }
.float-btn-call { background: var(--navy-900); }
@media (prefers-reduced-motion: no-preference) {
    .float-btn-whatsapp { animation: float-pulse 2.6s ease-in-out infinite; }
    .float-btn-whatsapp:hover { animation: none; }
}
@keyframes float-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 6px 20px rgba(37,211,102,0.35), 0 0 0 8px rgba(37,211,102,0.14); }
}
@media (max-width: 480px) {
    /* Clear of the phone's own bottom-edge gesture bar / nav chrome. */
    .float-contact { bottom: 16px; right: 16px; }
    .float-btn { width: 48px; height: 48px; }
    .float-btn svg { width: 21px; height: 21px; }
}

/* ---------- Footer ---------- */
footer { background: var(--navy-950); color: var(--navy-300); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .wordmark .mark { color: #fff; }
.foot-brand p { font-size: 13.5px; line-height: 1.6; color: var(--navy-300); max-width: 30ch; margin: 14px 0 0; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--navy-300); font-size: 13.5px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--navy-300); font-family: var(--font-mono);
}

@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { padding: 56px 0 96px; }
.legal .lead-note {
    background: var(--gold-50); border: 1px solid var(--gold-300); border-radius: 8px;
    padding: 16px 20px; font-size: 14px; color: var(--ink-soft); margin: 28px 0 0;
}
.legal h1 { font-size: 34px; color: var(--navy-900); margin: 0 0 8px; }
.legal .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.legal-body { max-width: 68ch; margin-top: 36px; }
.legal-body h2 { font-size: 20px; color: var(--navy-900); margin: 36px 0 12px; font-family: var(--font-body); font-weight: 700; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.legal-body ul { padding-left: 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.legal-body strong { color: var(--ink); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 -8px 24px rgba(7,29,73,0.25);
}
.cookie-banner-row {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
    padding: 18px 0;
}
.cookie-banner p { font-size: 13.5px; line-height: 1.5; color: var(--navy-200); margin: 0; max-width: 60ch; }
.cookie-banner p a { color: var(--gold-300); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* Both variants need their own treatment against the banner's navy
   background - .btn-outline's default navy-on-transparent (correct
   against the light page elsewhere) would be invisible here. */
.cookie-banner .btn-primary { background: var(--gold-500); color: var(--navy-900); }
.cookie-banner .btn-primary:hover { background: var(--gold-400); }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.cookie-banner .btn-outline:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 640px) { .cookie-banner-row { flex-direction: column; align-items: stretch; text-align: center; } }
