/* ==========================================================================
   SEO AGENCY SITE — style.css
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Header · 6 Hero
   7 Sections · 8 Cards · 9 Process · 10 FAQ · 11 Forms · 12 Footer
   13 Inner pages · 14 Motion · 15 Responsive
   ========================================================================== */

/* 1. TOKENS — change colours/fonts here ----------------------------------- */
:root {
  --navy-950: #050816;
  --navy-900: #080d20;
  --navy-800: #0d1530;
  --navy-700: #16214a;
  --line-dark: rgba(255, 255, 255, .09);
  --line-light: #e4e8f2;

  --ink: #0b1226;          /* text on light */
  --ink-soft: #46506b;     /* secondary text on light (AA on white) */
  --on-dark: #f4f6ff;
  --on-dark-soft: #aab3d1; /* secondary text on navy (AA) */

  --bg: #ffffff;
  --bg-alt: #f5f7fc;

  --accent: #2f6bff;       /* electric blue (decor, borders) */
  --accent-ink: #1f4fd8;   /* blue for text/links on light (AA) */
  --mint: #22e6a8;         /* vibrant green: CTAs and charts on dark */
  --mint-ink: #04241a;     /* text on mint */
  --amber: #ffb84d;

  --grad: linear-gradient(120deg, #2f6bff 0%, #22e6a8 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 38, .06), 0 4px 14px rgba(11, 18, 38, .05);
  --shadow-md: 0 10px 30px rgba(11, 18, 38, .10);
  --shadow-lg: 0 30px 70px rgba(5, 8, 22, .35);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. LAYOUT --------------------------------------------------------------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-soft); }
.section--dark a:not(.btn) { color: var(--mint); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }
.lead { font-size: 1.1875rem; color: var(--ink-soft); }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark-soft); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(255, 184, 77, .16); color: #8a5a00; border: 1px solid rgba(255, 184, 77, .55);
}
.section--dark .demo-tag, .hero .demo-tag { color: var(--amber); }
.note { font-size: .875rem; color: var(--ink-soft); }
.section--dark .note { color: var(--on-dark-soft); }

/* 4. BUTTONS -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 8px 26px rgba(34, 230, 168, .28); }
.btn--primary:hover { background: #4cf0bd; color: var(--mint-ink); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 230, 168, .4); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--line-light); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #052e16; }
.btn--wa:hover { background: #3ee07f; color: #052e16; transform: translateY(-2px); }
.btn--wa svg, .btn--outline svg { width: 20px; height: 20px; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. HEADER --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  background: rgba(5, 8, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(5, 8, 22, .94); border-color: var(--line-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.125rem; }
.logo:hover { color: #fff; }
.logo-mark { height: 38px; width: auto; flex: none; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 10px 14px; color: var(--on-dark-soft); text-decoration: none; font-weight: 600; font-size: .9688rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. HERO ----------------------------------------------------------------- */
.hero, .page-hero { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background: radial-gradient(600px 400px at 15% 20%, rgba(47, 107, 255, .35), transparent 60%),
              radial-gradient(520px 380px at 85% 10%, rgba(34, 230, 168, .20), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--on-dark-soft); font-size: .9375rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

/* Hero dashboard illustration */
.dash { background: linear-gradient(160deg, rgba(22, 33, 74, .85), rgba(8, 13, 32, .92)); border: 1px solid var(--line-dark); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: block; }
.dash-title { font-size: .8125rem; color: var(--on-dark-soft); font-weight: 600; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: 14px; padding: 12px 14px; }
.kpi small { display: block; font-size: .72rem; color: var(--on-dark-soft); font-weight: 600; }
.kpi strong { display: block; font-size: 1.35rem; color: #fff; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .75rem; color: var(--mint); font-weight: 700; }
.chart-box { background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px 14px 6px; margin-bottom: 16px; }
.chart-box .chart-label { display: flex; justify-content: space-between; font-size: .75rem; color: var(--on-dark-soft); font-weight: 600; margin-bottom: 4px; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-line { stroke-dasharray: 700; stroke-dashoffset: 0; }
.js .chart-line { stroke-dashoffset: 700; }
.js .is-visible .chart-line, .js .chart-line.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.3, .6, .2, 1) .3s; }
.chart-area { opacity: 1; }
.js .chart-area { opacity: 0; }
.js .is-visible .chart-area, .js .chart-area.is-drawn { opacity: 1; transition: opacity 1.2s ease 1.2s; }
.dash-kpis .kpi strong { font-size: 1.02rem; }
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .875rem; color: var(--on-dark); }
.dash-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.dash-list svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.kw-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.kw-table th { text-align: left; font-weight: 600; color: var(--on-dark-soft); padding: 4px 6px 8px; font-size: .72rem; }
.kw-table td { padding: 8px 6px; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.kw-table td:last-child, .kw-table th:last-child { text-align: right; }
.rank { display: inline-flex; min-width: 30px; justify-content: center; padding: 2px 9px; border-radius: 999px; background: rgba(34, 230, 168, .15); color: var(--mint); font-weight: 700; }
.rank--mid { background: rgba(47, 107, 255, .22); color: #9db9ff; }
.float-chip { position: absolute; right: -14px; top: 42%; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md); font-size: .8125rem; font-weight: 700; display: flex; gap: 10px; align-items: center; animation: floaty 6s ease-in-out infinite; }
.float-chip b { color: #0a8f66; font-size: 1.05rem; }
.float-chip svg { width: 22px; height: 22px; color: var(--accent); }

/* 7. SECTIONS ------------------------------------------------------------- */
.trust { background: var(--navy-900); border-top: 1px solid var(--line-dark); padding: 44px 0 52px; color: var(--on-dark-soft); text-align: center; }
.trust p { font-size: .9375rem; font-weight: 600; margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; padding: 0; margin: 0; }
.logo-row li { flex: 0 1 calc(14.2857% - 12px); min-width: 150px; }
.logo-row a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 68px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .82); font-weight: 800; font-size: .8125rem; line-height: 1.25; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.logo-row a:hover { color: #fff; border-color: rgba(34, 230, 168, .6); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.logo-row img { max-height: 34px; width: auto; max-width: 100%; filter: brightness(0) invert(1); opacity: .82; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: clamp(24px, 3vw, 40px) 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-soft); font-weight: 600; font-size: .9688rem; }

/* 8. CARDS ---------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47, 107, 255, .4); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(47, 107, 255, .14), rgba(34, 230, 168, .18)); color: var(--accent-ink); transition: transform .3s; }
.card:hover .icon-box { transform: scale(1.08) rotate(-4deg); }
.icon-box svg { width: 26px; height: 26px; }
.card .link-arrow { font-size: .9688rem; }
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.service-grid > .card { flex: 1 1 240px; max-width: calc(25% - 18px); min-width: 240px; }
.hero-tagline { font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 18px; max-width: 760px; }
.checklist--sm { gap: 8px; margin: 14px 0 0; font-size: .9375rem; color: var(--ink-soft); }
.checklist--sm svg { width: 18px; height: 18px; margin-top: 4px; }
.grid.narrow { max-width: 760px; margin-inline: auto; }
.card .checklist { margin-bottom: 0; }
.card--stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--stretch a { position: static; }

/* Why choose us: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-item { background: linear-gradient(160deg, rgba(22, 33, 74, .7), rgba(13, 21, 48, .7)); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; transition: transform .3s, border-color .3s; }
.bento-item:hover { transform: translateY(-5px); border-color: rgba(34, 230, 168, .5); }
.bento-item--wide { grid-column: span 2; }
.bento-item .icon-box { background: rgba(34, 230, 168, .13); color: var(--mint); }
.bento-item h3 { color: #fff; font-size: 1.125rem; }
.bento-item p { color: var(--on-dark-soft); margin: 0; font-size: .9875rem; }
.bento-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: #fff; margin-bottom: 4px; }

/* Case studies */
.case { display: flex; flex-direction: column; gap: 14px; }
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.case h3 { font-size: 1.375rem; margin: 0; }
.metrics { display: grid; gap: 10px; margin: 6px 0 10px; }
.metric { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.metric span { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.metric strong { font-size: 1.5rem; letter-spacing: -.03em; color: #0a7d5a; }
.case .link-arrow { margin-top: auto; }

/* Testimonials */
.quote { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote blockquote { margin: 0; font-size: 1.0625rem; color: var(--ink); line-height: 1.6; }
.quote-mark { width: 30px; height: 30px; color: var(--accent); opacity: .6; }
.person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--navy-950); font-weight: 800; flex: none; }
.person strong { display: block; line-height: 1.25; }
.person span { font-size: .875rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--navy-950); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 20% 0%, rgba(47, 107, 255, .45), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(34, 230, 168, .3), transparent 60%); }
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band p { color: var(--on-dark-soft); max-width: 620px; margin: 0 auto 28px; font-size: 1.125rem; }
.cta-band .btn-row { justify-content: center; }

/* 9. PROCESS -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.steps--c3 { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
.steps--c4 { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
.steps--c3::before, .steps--c4::before { display: none; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--mint)); opacity: .35; }
.step { position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg-alt); transition: background-color .3s, color .3s; }
.step:hover .step-num { background: var(--accent); color: #fff; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: #0a8f66; flex: none; margin-top: 3px; }

/* 10. FAQ (native <details>) ---------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(47, 107, 255, .5); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.0625rem; position: relative; min-height: 56px; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* 11. FORMS --------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; }
.req { color: #c2271d; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c9d0e2; border-radius: 12px; padding: 13px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 107, 255, .18); }
.field .error { color: #b3261e; font-size: .875rem; font-weight: 600; min-height: 0; }
.field [aria-invalid="true"] { border-color: #c2271d; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid #c9d0e2; border-radius: 999px; font-size: .9375rem; font-weight: 600; transition: all .2s; }
.chip input:checked + span { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .tick { width: 72px; height: 72px; border-radius: 50%; background: rgba(34, 230, 168, .18); color: #0a8f66; display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .tick svg { width: 36px; height: 36px; }
.form-alert { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff4e0; border: 1px solid #ffd592; color: #5a3a00; font-size: .9375rem; }
.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; }
.info-list svg { width: 24px; height: 24px; color: var(--accent-ink); flex: none; margin-top: 2px; }
.info-list strong { display: block; }

/* 12. FOOTER -------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-soft); padding: 80px 0 32px; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--on-dark-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--mint); }
.footer-about p { max-width: 340px; margin: 18px 0; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-soft); transition: all .2s; }
.social a:hover { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .875rem; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: var(--on-dark-soft); }
.footer-bottom a:hover { color: var(--mint); }

/* 13. INNER PAGES --------------------------------------------------------- */
.page-hero { margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 860px; }
.page-hero .lead { max-width: 700px; margin-bottom: 28px; }
.breadcrumbs { margin-bottom: 22px; font-size: .875rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; color: var(--on-dark-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-soft); }
.breadcrumbs a:hover { color: var(--mint); }
.breadcrumbs [aria-current] { color: #fff; }
.service-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding: 48px 0; border-top: 1px solid var(--line-light); align-items: start; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.tag-list li { padding: 8px 14px; background: var(--bg-alt); border: 1px solid var(--line-light); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.problem-box { background: #fff4f2; border: 1px solid #ffd3cc; border-radius: var(--radius); padding: 28px; }
.solution-box { background: #effcf7; border: 1px solid #b9efd9; border-radius: var(--radius); padding: 28px; }
.problem-box h2, .solution-box h2 { font-size: 1.5rem; }
.problem-box p:last-child, .solution-box p:last-child { margin: 0; }
.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #2b3452; }
.prose-meta { color: var(--on-dark-soft); display: flex; gap: 14px; flex-wrap: wrap; font-size: .9375rem; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-800); }
.blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .8125rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 10px; }
.blog-cat { color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card h3 a:hover { color: var(--accent-ink); }
.blog-card .link-arrow { margin-top: auto; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.team-card { display: flex; gap: 22px; align-items: flex-start; padding: 24px; }
.team-card picture { display: block; flex: none; width: 112px; height: 112px; }
.team-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(47, 107, 255, .35), var(--shadow-sm); background: var(--bg-alt); }
.team-info h3 { margin-bottom: 2px; }
.team-info p { margin: 0 0 12px; font-size: .9688rem; }
.team-info .team-role { color: var(--accent-ink); font-weight: 700; font-size: .9375rem; margin-bottom: 8px; }
.tag-list--sm { gap: 8px; margin: 0; }
.tag-list--sm li { padding: 4px 11px; font-size: .8125rem; }
.hero-art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.callout { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.5em 0; color: var(--ink); }
.legal-placeholder { background: #fff4e0; border: 1px solid #ffd592; padding: 14px 18px; border-radius: 12px; font-size: .9375rem; margin-bottom: 28px; color: #5a3a00; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }

/* Floating WhatsApp + email buttons */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fc { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(5, 8, 22, .35); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; }
.fc svg { width: 28px; height: 28px; }
.fc:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 32px rgba(5, 8, 22, .45); }
.fc--wa { background: #25d366; color: #fff; }
.fc--wa:hover { color: #fff; }
.fc--mail { background: #fff; color: var(--accent-ink); border: 1px solid var(--line-light); }
.fc--mail:hover { color: var(--accent); }
.fc--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.8s ease-out infinite; pointer-events: none; }
.fc--wa { position: relative; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* 14. MOTION -------------------------------------------------------------- */
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart-line { stroke-dashoffset: 0; }
  .js .chart-area { opacity: 1; }
}

/* 15. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .float-chip { right: 6px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #050816; padding: 16px 20px 28px; border-bottom: 1px solid var(--line-dark);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 16px 14px; font-size: 1.0625rem; border-radius: 12px; }
  .hero-grid, .split, .contact-layout, .service-block { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .bento, .steps, .form-grid { grid-template-columns: 1fr; }
  .bento-item--wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-row li { flex-basis: calc(50% - 8px); min-width: 0; }
  .btn-row .btn { width: 100%; }
  .header-actions .btn { padding: 8px 14px; min-height: 44px; font-size: .8125rem; white-space: nowrap; }
  .header-actions { gap: 8px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo span.logo-text { white-space: nowrap; font-size: .9375rem; letter-spacing: -.01em; }
  .hide-sm { display: none; }
  .dash-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi { padding: 10px 8px; }
  .kpi strong { font-size: 1.05rem; }
  .float-chip { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .tag-list--sm { justify-content: center; }
  .float-contact { right: 14px; bottom: 14px; gap: 10px; }
  .fc { width: 52px; height: 52px; }
  .header-inner { gap: 10px; }
  .stat { padding: 22px 12px; }
  .cta-band { border-radius: 20px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: .8125rem; }
  .logo-mark { height: 32px; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .logo-text { display: none; }
  .fc { width: 48px; height: 48px; }
}
@media (min-width: 1600px) {
  :root { --container: 1320px; }
}
@media print { .site-header, .site-footer, .cta-band { display: none; } }
