/* ==========================================================================
   AI Digi World: design system
   1. Tokens        2. Base          3. Layout        4. Buttons & links
   5. Header & nav  6. Hero          7. Sections      8. Cards & lists
   9. Service page  10. Forms        11. Prose        12. Footer
   13. Utilities    14. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0F1B3D;
  --ink-2: #1B2A57;
  --text: #283350;
  --muted: #5A6480;
  --line: #E1E6F0;
  --line-strong: #CBD3E3;
  --mist: #F4F6FB;
  --paper: #FFFFFF;
  --brand: #1B92B2;          /* exact logo teal: logo, icons, decorative accents */
  --brand-light: #6CC7E0;
  --signal: #167894;         /* deeper logo teal: buttons and links (AA contrast) */
  --signal-dark: #11627A;
  --signal-soft: #E3F3F8;
  --whatsapp: #1DA851;
  --gold: #F4B400;
  --gold-soft: #FFF4D1;
  --green: #13854F;

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;

  --shadow-1: 0 1px 2px rgba(15, 27, 61, .06), 0 8px 24px -12px rgba(15, 27, 61, .18);
  --shadow-2: 0 2px 4px rgba(15, 27, 61, .05), 0 24px 48px -20px rgba(15, 27, 61, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --accent: var(--brand);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--signal-dark); text-underline-offset: .2em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section-ink h2, .section-ink h3 { color: #FFFFFF; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; max-width: 64ch; }
.section-ink .section-head p { color: rgba(255, 255, 255, .72); }
.section-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-split > div { max-width: 720px; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--signal); color: #FFFFFF; }
.btn-primary:hover { background: var(--signal-dark); box-shadow: 0 10px 24px -12px rgba(22, 120, 148, .8); }
.btn-accent { background: var(--gold); color: var(--ink); }
.btn-accent:hover { background: #FFC21F; box-shadow: 0 10px 24px -12px rgba(244, 180, 0, .9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--signal-dark); text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }
.section-ink .text-link { color: var(--brand-light); }

/* 5. Header & nav ---------------------------------------------------------- */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 27, 61, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand { line-height: 0; }
.brand-logo { height: 46px; width: auto; }
.site-footer .brand-logo { height: 52px; }
@media (max-width: 379px) { .brand-logo { height: 40px; } }

.primary-nav { margin-left: auto; display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; height: 44px; padding: 0 12px;
  color: var(--text); font-weight: 500; font-size: .98rem; text-decoration: none; border-radius: 8px;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.has-dropdown { display: flex; align-items: center; }
.has-dropdown .nav-link { padding-right: 2px; }
.dropdown-toggle {
  display: inline-grid; place-items: center; width: 30px; height: 36px;
  background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: 100%; left: 50%;
  width: min(780px, calc(100vw - 48px));
  transform: translate(-42%, 8px);
  padding: 14px; margin-top: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.has-dropdown.is-open .mega-menu,
.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-42%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.has-dropdown.is-closed .mega-menu { opacity: 0; visibility: hidden; pointer-events: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--text); }
.mega-link:hover, .mega-link:focus-visible { background: var(--mist); }
.mega-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  color: var(--accent); background: var(--mist); background: color-mix(in srgb, var(--accent) 11%, #FFFFFF);
}
.mega-icon .icon { width: 20px; height: 20px; }
.mega-title { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; font-size: .97rem; }
.mega-desc { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 14px 14px 6px; border-top: 1px solid var(--line); font-size: .92rem; }
.mega-foot p { margin: 0; color: var(--muted); }

.header-cta { display: none; margin-left: auto; min-height: 44px; padding: .6em 1.2em; font-size: .95rem; }
.menu-toggle {
  margin-left: auto; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  animation: menu-in .22s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-nav > ul { margin-bottom: 24px; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 8px 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none;
  cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform .2s var(--ease); }
.mobile-services[open] summary .icon { transform: rotate(180deg); }
.mobile-services ul { padding: 0 0 12px 12px; }
.mobile-services li { border: 0; }
.mobile-services a { min-height: 44px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--text); }
.mobile-nav a[aria-current="page"] { color: var(--signal-dark); }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .menu-toggle { margin-left: 0; }
}
@media (min-width: 1140px) {
  .primary-nav { display: block; }
  .header-cta { margin-left: 8px; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 28px; font-size: .9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); position: relative; }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 18ch; margin-bottom: .45em; font-size: clamp(2.35rem, 4.8vw, 3.85rem); }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hero-capabilities li { display: inline-flex; align-items: center; gap: 8px; }
.hero-capabilities .icon { width: 18px; height: 18px; color: var(--brand); }

.hero-visual {
  position: relative; border-radius: var(--r-xl); padding: clamp(14px, 2.4vw, 28px);
  background-color: var(--ink);
  background-image: radial-gradient(rgba(108, 199, 224, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  box-shadow: var(--shadow-2);
}
.signal { width: 100%; height: auto; overflow: visible; }
.signal text { font-family: var(--font-body); }
.signal-lines path { fill: none; stroke: var(--brand-light); stroke-opacity: .5; stroke-width: 1.6; stroke-dasharray: 3 6; }
.core-disc { fill: var(--brand); }
.core-pulse { fill: var(--brand); opacity: .16; transform-box: fill-box; transform-origin: center; }
.signal-card > rect:first-child { fill: #FFFFFF; }
.sc-label { font-family: var(--font-display) !important; font-weight: 600; font-size: 14px; fill: var(--ink); }
.sc-url { font-size: 11.5px; fill: var(--green); font-weight: 600; }
.sc-blue { fill: var(--brand); }
.sc-grey { fill: #E4E9F2; }
.sc-grey-dark { fill: #9AA6C0; }
.sc-gold { fill: var(--gold); }
.sc-dark { fill: var(--ink); }
.sc-chip { fill: var(--signal-soft); }
.sc-chip-gold { fill: var(--gold-soft); }
.sc-glyph { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-pill { fill: var(--signal-soft); stroke: var(--signal); stroke-width: 1.2; }
.sc-pill-text { font-size: 10.5px; font-weight: 600; fill: var(--signal-dark); }
.sc-green { fill: var(--green); }
.sc-green-soft { fill: #E5F4EC; }
.sc-green-text { font-size: 12px; font-weight: 600; fill: #0D6A3D; }
.sc-5 .sc-glyph { stroke: #FFFFFF; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; }
}

/* Inner page hero */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 7. Sections -------------------------------------------------------------- */

/* Trust / commitments */
.trust { padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .icon { flex-shrink: 0; width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.trust-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.trust-item p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.stats-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.75rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* AI + human */
.handoff { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.handoff-copy p { color: rgba(255, 255, 255, .74); max-width: 52ch; }
.handoff-panel { display: grid; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); overflow: hidden; }
.handoff-col { padding: clamp(24px, 3vw, 36px); }
.handoff-col + .handoff-col { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.handoff-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 18px; }
.handoff-col h3 .icon { width: 22px; height: 22px; color: var(--gold); }
.handoff-col + .handoff-col h3 .icon { color: var(--brand-light); }
.handoff-col li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .86); line-height: 1.45; }
.handoff-col li:first-child { border-top: 0; }
.handoff-col li .icon { flex-shrink: 0; width: 20px; height: 20px; color: rgba(255, 255, 255, .55); margin-top: 1px; }
@media (min-width: 720px) {
  .handoff-panel { grid-template-columns: 1fr 1fr; }
  .handoff-col + .handoff-col { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
}
@media (min-width: 1040px) { .handoff { grid-template-columns: .85fr 1.15fr; } }

/* Why: pillars */
.pillars { display: grid; gap: 40px; }
.pillars-head { align-self: start; }
.pillars-head p { color: var(--muted); }
.pillar-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.pillar-list li:last-child { border-bottom: 1px solid var(--line); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--signal-soft); color: var(--signal-dark); }
.pillar-list h3 { margin-bottom: 6px; }
.pillar-list p { margin: 0; color: var(--muted); }
@media (min-width: 980px) {
  .pillars { grid-template-columns: 5fr 7fr; gap: 72px; }
  .pillars-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Process */
.process { display: grid; gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 0 36px 64px; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font: 600 .95rem/1 var(--font-display); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong);
}
.process-step::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 1.5px; background: var(--line-strong); }
.process-step:last-child::after { display: none; }
.process-step:last-child::before { background: var(--gold); border-color: var(--gold); }
.process-step h3 { margin-bottom: 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .process-step { padding: 72px 0 0; }
  .process-step::before { top: 0; }
  .process-step::after { left: 52px; right: -24px; top: 21px; bottom: auto; width: auto; height: 1.5px; }
}
@media (min-width: 900px) { .process-4 { grid-template-columns: repeat(4, 1fr); } }

/* 8. Cards & lists --------------------------------------------------------- */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 26px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.service-card:focus-within { border-color: var(--accent); }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 22px;
  color: var(--accent); background: var(--mist); background: color-mix(in srgb, var(--accent) 11%, #FFFFFF);
}
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card > p { font-size: .98rem; color: var(--muted); line-height: 1.55; }
.cap-list { margin: 4px 0 24px; display: grid; gap: 8px; }
.cap-list li { display: flex; gap: 10px; align-items: baseline; font-size: .93rem; color: var(--text); line-height: 1.4; }
.cap-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); transform: translateY(-2px); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.card-link .icon { width: 17px; height: 17px; color: var(--accent); transition: transform .2s var(--ease); }
.service-card:hover .card-link .icon { transform: translateX(4px); }
.service-grid-compact { grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .service-grid-compact { grid-template-columns: repeat(4, 1fr); } }
.service-grid-compact .service-card { padding: 22px; }
.service-grid-compact .service-icon { width: 44px; height: 44px; margin-bottom: 16px; }

/* Industry tiles */
.industry-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.industry-grid li { display: flex; }
.industry-tile {
  flex: 1;
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.3;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.industry-tile:hover { border-color: var(--brand); }
.industry-tile .icon { flex-shrink: 0; color: var(--brand); }

.industry-list { display: grid; gap: 20px; }
@media (min-width: 760px) { .industry-list { grid-template-columns: repeat(2, 1fr); } }
.industry-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.industry-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.industry-card-head .pillar-icon { flex-shrink: 0; }
.industry-card h2 { font-size: 1.3rem; margin: 0; }
.industry-card p { color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none;
  background: var(--mist); border: 1px solid var(--line);
}
a.chip:hover { border-color: var(--signal); color: var(--signal-dark); }

/* Insight cards */
.insight-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.insight-band { height: 8px; background: var(--accent); }
.insight-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.insight-cat { align-self: flex-start; font-size: .82rem; font-weight: 600; color: var(--ink); padding: 3px 12px; border-radius: 999px; background: var(--mist); margin-bottom: 18px; }
.insight-card h3 { font-size: 1.2rem; }
.insight-card h3 a { color: var(--ink); text-decoration: none; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card p { color: var(--muted); font-size: .97rem; }
.insight-meta { display: flex; gap: 16px; margin-top: auto; padding-top: 12px; font-size: .86rem; color: var(--muted); }

/* Testimonials */
.testimonial-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { margin: 0; padding: 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.06rem; color: var(--ink); line-height: 1.6; }
.testimonial figcaption { margin-top: auto; font-size: .93rem; color: var(--muted); }
.testimonial figcaption strong { display: block; color: var(--ink); }

/* Case studies */
.case-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); display: flex; flex-direction: column; }
.case-card h3 a { color: var(--ink); text-decoration: none; }
.case-card h3 a::after { content: ""; position: absolute; inset: 0; }
.case-meta { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.case-structure { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .case-structure { grid-template-columns: repeat(3, 1fr); } }
.case-structure li { padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.case-structure h3 { font-size: 1.05rem; margin-bottom: 6px; }
.case-structure p { margin: 0; color: var(--muted); font-size: .95rem; }
.case-detail { display: grid; gap: 16px; }
.case-detail dt { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.case-detail dd { margin: 0 0 12px; color: var(--text); }

.empty-state { padding: clamp(28px, 4vw, 48px); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--paper); }
.empty-state h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.empty-state p { color: var(--muted); max-width: 64ch; }

/* Final CTA */
.final-cta { background: var(--ink); color: rgba(255, 255, 255, .78); padding-block: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1.5px solid rgba(108, 199, 224, .25); box-shadow: 0 0 0 70px rgba(108, 199, 224, .05), 0 0 0 140px rgba(108, 199, 224, .03);
}
.final-cta-inner { position: relative; display: grid; gap: 32px; align-items: center; }
.final-cta h2 { color: #FFFFFF; max-width: 22ch; }
.final-cta p { font-size: 1.15rem; max-width: 52ch; margin: 0; }
.final-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-contact { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.cta-contact:hover { color: #FFFFFF; text-decoration: underline; }
@media (min-width: 900px) {
  .final-cta-inner { grid-template-columns: 1.4fr 1fr; }
  .final-cta-actions { align-items: flex-end; }
}

/* 9. Service page ---------------------------------------------------------- */
.service-hero {
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px);
  background: var(--mist);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, #FFFFFF) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.service-hero-grid { display: grid; gap: 40px; align-items: center; }
.service-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 18ch; }
.service-tag { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 22px; font: 600 1rem/1.3 var(--font-body); letter-spacing: 0; color: var(--ink); }
.service-tag .service-icon { width: 40px; height: 40px; margin: 0; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); }
.service-tag .icon { width: 20px; height: 20px; }
.service-visual-wrap { max-width: 520px; width: 100%; justify-self: center; }
.svc-visual { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(15, 27, 61, .12)); }
@media (min-width: 980px) { .service-hero-grid { grid-template-columns: 1.1fr .9fr; } }

.v-card { fill: #FFFFFF; stroke: var(--line); stroke-width: 1.5; }
.v-lift { filter: drop-shadow(0 12px 18px rgba(15, 27, 61, .14)); }
.v-accent { fill: var(--accent); }
.v-accent-soft { fill: #E8ECF6; fill: color-mix(in srgb, var(--accent) 15%, #FFFFFF); }
.v-stroke-accent { stroke: var(--accent); fill: none; }
.v-stroke-ink { stroke: var(--ink); }
.v-muted { fill: #DCE2EE; }
.v-muted-soft { fill: #EEF1F7; }
.v-ink { fill: var(--ink); }
.v-ink-soft { fill: #3A4566; }
.v-white { fill: #FFFFFF; }
.v-green { fill: var(--green); }
.v-line { stroke: #DCE2EE; stroke-width: 1.5; fill: none; }
.v-pill-text { fill: #FFFFFF; font: 600 12px var(--font-body); }
.v-type { fill: var(--ink); font: 700 64px var(--font-display); letter-spacing: -2px; }
.v-code { fill: var(--accent); font: 700 30px var(--font-display); }

.overview { display: grid; gap: 40px; }
.overview-copy p { font-size: 1.1rem; }
.glance { padding: 30px; border-radius: var(--r-lg); background: var(--mist); align-self: start; }
.glance h2 { font-size: 1.15rem; margin-bottom: 16px; }
.glance .cap-list { margin-bottom: 24px; }
.glance .cap-list li { font-size: 1rem; }
@media (min-width: 980px) { .overview { grid-template-columns: 7fr 4fr; gap: 72px; } .glance { position: sticky; top: calc(var(--header-h) + 32px); } }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 22px 24px; border-top: 1px solid var(--line); }
.compare-table thead th { border-top: 0; background: var(--mist); font: 600 .9rem/1.3 var(--font-body); color: var(--muted); }
.compare-table tbody th { width: 26%; }
.compare-abbr { display: inline-grid; place-items: center; min-width: 58px; height: 34px; padding: 0 12px; margin-bottom: 8px; border-radius: 10px; background: var(--accent); color: #FFFFFF; font: 700 .95rem/1 var(--font-display); }
.compare-name { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
@media (max-width: 760px) {
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { border-top: 1px solid var(--line); }
  .compare-table tbody tr:first-child { border-top: 0; }
  .compare-table tbody th, .compare-table td { border: 0; padding: 6px 22px; }
  .compare-table tbody th { padding-top: 22px; width: 100%; }
  .compare-table td:last-child { padding-bottom: 22px; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: .82rem; font-weight: 600; color: var(--muted); }
}

.group-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .group-grid { grid-template-columns: repeat(4, 1fr); } }
.group { padding: 28px 26px; background: var(--paper); border-radius: var(--r-lg); border-top: 3px solid var(--accent); box-shadow: var(--shadow-1); }
.group h3 { font-size: 1.1rem; margin-bottom: 16px; }
.group li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.group li:first-child { border-top: 0; padding-top: 0; }
.group li .icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.service-page .process-step:last-child::before { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.expect { display: grid; gap: 32px; align-items: start; }
.expect-list li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.expect-list li:last-child { border-bottom: 1px solid var(--line); }
.expect-list .icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
@media (min-width: 980px) { .expect { grid-template-columns: 4fr 7fr; gap: 72px; } }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; transition: transform .25s var(--ease); color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin: 0 0 24px; max-width: 70ch; color: var(--muted); }

.link-list li { border-top: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.link-list a:hover { color: var(--signal-dark); }
.link-list span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }

/* 10. Forms ---------------------------------------------------------------- */
.contact-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 7fr 4fr; gap: 64px; } }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6480' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(27, 146, 178, .18); }
.field [aria-invalid="true"] { border-color: #C2362F; }
.field-error { display: block; margin-top: 6px; font-size: .88rem; color: #B02A24; }
.form-note { font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { background: #E5F4EC; color: #0D5F37; border: 1px solid #B9E0CA; }
.form-status.is-error { background: #FCEBEA; color: #8F221D; border: 1px solid #F2C3C0; }
.contact-aside h2 { font-size: 1.3rem; }
.contact-points li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.contact-points .icon { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.contact-points .fa { flex-shrink: 0; width: 24px; font-size: 24px; text-align: center; color: var(--whatsapp); margin-top: 1px; }
.contact-points strong { display: block; }
.contact-points a { color: var(--ink); }
.next-steps { counter-reset: n; margin-top: 12px; }
.next-steps li { position: relative; padding: 0 0 18px 40px; color: var(--muted); }
.next-steps li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--signal-soft); color: var(--signal-dark); font: 600 .85rem/1 var(--font-display); }

/* 11. Prose (articles, legal) ---------------------------------------------- */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--signal-dark); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); background: var(--mist); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.callout { padding: 22px 24px; border-radius: var(--r-md); background: var(--mist); border-left: 4px solid var(--accent); }
.callout p { margin: 0; }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; } }
.article-aside { align-self: start; padding: 26px; border-radius: var(--r-lg); background: var(--mist); }
@media (min-width: 1040px) { .article-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.article-aside h2 { font-size: 1.05rem; margin-bottom: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .95rem; color: var(--muted); }
.legal-note { font-size: .95rem; color: var(--muted); }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .08); background: var(--ink); color: rgba(255, 255, 255, .68); padding-top: 64px; font-size: .97rem; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 32px; margin-bottom: 64px; border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
}
.footer-cta-text { margin: 0; color: #FFFFFF; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; max-width: 40ch; line-height: 1.4; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1.3fr 1fr 1.1fr; gap: 48px; } }
.footer-brand p { margin: 18px 0 0; max-width: 36ch; }
.footer-title { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: #FFFFFF; letter-spacing: 0; margin-bottom: 16px; }
.footer-title-gap { margin-top: 28px; }
.footer-col li + li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer .brand:hover { text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { flex-shrink: 0; margin-top: 4px; color: var(--brand-light); }
.footer-contact .fa { flex-shrink: 0; width: 18px; margin-top: 3px; font-size: 18px; text-align: center; color: var(--brand-light); }
.social-list { display: flex; gap: 10px; margin-top: 24px; }
.social-list a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); }
.social-list a:hover { border-color: #FFFFFF; }
.social-list .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* 404 */
.not-found { text-align: left; padding-block: clamp(64px, 10vw, 140px); }
.not-found .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--signal-soft); -webkit-text-stroke: 2px var(--signal); letter-spacing: -0.04em; margin-bottom: 16px; }

/* 13. Utilities ------------------------------------------------------------ */
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--muted); }

/* 14. Motion --------------------------------------------------------------- */
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(.92); opacity: .22; } 50% { transform: scale(1.08); opacity: .08; } }

.signal-lines { animation: fade 1s .2s both; }
.signal-core { animation: fade .6s both; }
.core-pulse { animation: pulse 4.5s ease-in-out 1.6s infinite; }
.signal-card { animation: rise .7s var(--ease) both; }
.sc-1 { animation-delay: .35s; } .sc-2 { animation-delay: .5s; } .sc-3 { animation-delay: .65s; }
.sc-4 { animation-delay: .8s; } .sc-5 { animation-delay: .95s; } .sc-6 { animation-delay: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .final-cta, .hero-visual { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* Services hub: goal finder */
.goal-list li { display: grid; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.goal-list li:last-child { border-bottom: 1px solid var(--line); }
.goal-text { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
@media (min-width: 760px) { .goal-list li { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } .goal-list .chip-list { justify-content: flex-end; } }
.section-divided { border-top: 1px solid var(--line); }
.h3 { font-size: 1.25rem; }

/* Small-screen safety */
.article-layout > *, .overview > *, .contact-layout > * { min-width: 0; }
@media (max-width: 479px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
.form-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

/* WhatsApp (Font Awesome 4.7 icon, loaded only when a number is configured) */
.btn-whatsapp { margin-top: 12px; background: var(--whatsapp); color: #FFFFFF; }
.btn-whatsapp:hover { background: #169C47; }
.btn-whatsapp .fa { font-size: 1.3em; }
.cta-contact .fa { font-size: 1.2em; width: 18px; text-align: center; }
.whatsapp-float {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #FFFFFF; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(15, 27, 61, .45);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.whatsapp-float .fa { font-size: 32px; line-height: 1; }
.whatsapp-float:hover { transform: scale(1.06); background: #169C47; }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
body.menu-open .whatsapp-float { display: none; }
@media print { .whatsapp-float { display: none !important; } }
.mobile-nav .btn { justify-content: center; min-height: 52px; padding: .75em 1.4em; font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.mobile-nav .btn-primary { color: #FFFFFF; }
.mobile-nav .btn-whatsapp { color: #FFFFFF; }

/* 15. Answer-first blocks (AEO / GEO) -------------------------------------- */
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-flush-top { padding-top: 0; }
.mt-md { margin-top: 32px; }

.quick-answer {
  max-width: 880px; padding: clamp(22px, 3.2vw, 36px) clamp(20px, 3.4vw, 40px);
  border-radius: var(--r-lg); background: var(--paper);
  border: 1px solid var(--line); border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-1);
}
.quick-answer h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: .55em; }
.quick-answer p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.7; color: var(--text); }

.entity-card {
  display: grid; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl);
  background: var(--mist); border: 1px solid var(--line);
}
.entity-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.entity-copy p { margin: 0; font-size: 1.08rem; max-width: 62ch; }
.entity-facts { display: grid; gap: 0; margin: 0; align-self: start; }
.entity-facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-strong); }
.entity-facts > div:last-child { border-bottom: 1px solid var(--line-strong); }
.entity-facts dt { font-weight: 600; color: var(--ink); font-size: .95rem; }
.entity-facts dd { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.5; min-width: 0; }
@media (min-width: 980px) { .entity-card { grid-template-columns: 1.15fr .85fr; align-items: center; } }

.takeaways { padding: 22px 26px; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line); }
.prose .takeaways h2 { margin-top: 0; font-size: 1.2rem; }
.prose .takeaways ul { margin-top: .6em; }
.prose .takeaways li { font-size: 1.02rem; line-height: 1.6; }
.faq-list-prose { margin-top: .6em; }
.prose .faq-item summary { font-size: 1.05rem; }
.prose .faq-item p { font-size: 1.02rem; }

.glance-mail { margin: 16px 0 0; font-size: .95rem; color: var(--muted); text-align: center; }
.glance-mail a { font-weight: 600; }

/* 16. Mobile fit ----------------------------------------------------------- */
h1, h2, h3, .goal-text, .faq-item summary { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.final-cta-actions, .final-cta-copy, .footer-col, .footer-brand, .entity-copy { min-width: 0; }

@media (max-width: 759px) {
  :root { --section: clamp(56px, 12vw, 72px); --header-h: 68px; }
  .brand-logo { height: 40px; }
  .section-head { margin-bottom: 32px; }
  .section-head p, .lede { font-size: 1.06rem; }
  .hero { padding-block: 28px 56px; }
  .hero .lede { margin-bottom: 28px; }
  .hero-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 32px; padding-top: 22px; font-size: .92rem; }
  .page-hero { padding-block: 24px 44px; }
  .service-hero { padding-block: 24px 48px; }
  .service-tag { margin-bottom: 16px; font-size: .95rem; }
  .service-visual-wrap { max-width: 380px; }
  .service-card, .group, .industry-card, .case-card, .testimonial { padding: 22px 20px; }
  .glance, .article-aside { padding: 22px 20px; }
  .overview-copy p, .prose p, .prose li { font-size: 1.04rem; }
  .pillar-list li { grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; }
  .pillar-icon { width: 40px; height: 40px; border-radius: 12px; }
  .faq-item summary { font-size: 1.02rem; padding: 18px 0; gap: 16px; }
  .final-cta-actions { align-items: stretch; width: 100%; }
  .final-cta-actions .btn { width: 100%; }
  .footer-cta { padding: 22px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .entity-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .takeaways { padding: 18px 18px; }
  .process-step { padding-left: 58px; }
}

@media (max-width: 479px) {
  h1 { font-size: 2rem; letter-spacing: -0.03em; }
  .hero h1 { font-size: 2.15rem; }
  .page-hero h1, .service-hero h1 { font-size: 1.85rem; line-height: 1.12; }
  h2 { font-size: 1.6rem; }
  .hero-actions .btn, .page-hero-actions .btn, .center-actions .btn, .empty-state .btn, .pillars-head .btn, .expect .btn { width: 100%; }
  .btn-lg { min-height: 52px; padding: .8em 1.2em; font-size: 1rem; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .industry-tile { padding: 14px 12px; gap: 10px; font-size: .93rem; }
  .industry-tile .icon { width: 20px; height: 20px; }
  .compare-table tbody th, .compare-table td { padding-left: 18px; padding-right: 18px; }
  .prose th, .prose td { padding: 10px; font-size: .95rem; }
  .form-card { padding: 20px 16px; }
  .form-actions .btn { width: 100%; }
  .quick-answer { border-left-width: 4px; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1, .service-hero h1 { font-size: 1.65rem; }
  .hero-capabilities { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 36px; }
}

/* 17. Premium components (v2) ---------------------------------------------- */
.mb-0 { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .95rem/1.3 var(--font-body); color: var(--signal-dark); letter-spacing: .01em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; }

/* Images */
.media-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #0B1530; }
.hero-figure { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); background: #0B1530; }
.page-hero-media { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.page-hero-media h1 { max-width: 18ch; }
.article-cover { margin: clamp(28px, 4vw, 44px) 0 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); max-width: 1040px; }

/* Dark hero (AI page) */
.page-hero-dark { background: radial-gradient(120% 120% at 80% 10%, #1C2C6B 0%, #0B1530 55%, #070E22 100%); color: rgba(255, 255, 255, .78); border-bottom: 0; }
.page-hero-dark h1 { color: #FFFFFF; }
.page-hero-dark .lede { color: rgba(255, 255, 255, .78); }
.page-hero-dark .kicker { color: #9FE3F5; }
.page-hero-dark .breadcrumb a, .page-hero-dark .breadcrumb ol { color: rgba(255, 255, 255, .6); }
.page-hero-dark .breadcrumb [aria-current] { color: #FFFFFF; }
.btn-ghost-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { border-color: #FFFFFF; }

/* Media cards (services, industries, blog) */
.media-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1120px) { .media-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.media-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.media-card .media-img { transition: transform .6s var(--ease); }
.media-card:hover .media-img { transform: scale(1.03); }
.media-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; background: var(--paper); }
.media-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.media-body h3 a { color: var(--ink); text-decoration: none; }
.media-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.media-card .media-body h3 a::after { top: -1000px; }
.media-body > p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.media-body .cap-list { margin-bottom: 20px; }
.media-body .cap-list li::before { background: var(--accent); }
.media-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -46px 0 14px; border-radius: 14px;
  color: var(--accent); background: #FFFFFF; box-shadow: 0 8px 20px -8px rgba(15, 27, 61, .35); position: relative;
}
.media-icon .icon { width: 22px; height: 22px; }
.media-icon-inline { margin: 0; width: 36px; height: 36px; border-radius: 10px; color: var(--signal-dark); }
.insight-card .insight-cat { margin-bottom: 14px; }
.insight-card .insight-band { display: none; }

/* Statement section */
.statement { text-align: center; }
.statement-title { max-width: 20ch; margin: 0 auto .5em; font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
.statement-lede { max-width: 62ch; margin: 0 auto clamp(40px, 5vw, 64px); font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); }
.pillar-cards { display: grid; gap: 20px; text-align: left; }
@media (min-width: 860px) { .pillar-cards { grid-template-columns: repeat(3, 1fr); } }
.pillar-cards li { padding: 30px 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--mist), #FFFFFF); border: 1px solid var(--line); }
.pillar-cards .media-icon { margin: 0 0 18px; color: var(--signal-dark); }
.pillar-cards h3 { margin-bottom: 8px; }
.pillar-cards p { margin: 0; color: var(--muted); }

/* AI arc timeline */
.arc { display: grid; gap: 18px; counter-reset: arc; }
@media (min-width: 760px) { .arc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .arc { grid-template-columns: repeat(4, 1fr); } }
.arc-step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.arc-step.is-now { background: linear-gradient(160deg, #EEF0FF, #FFFFFF 70%); border-color: #CFD4FA; }
.arc-step:not(.is-now) { background: linear-gradient(160deg, #0F1B3D, #1C2C6B); border-color: transparent; color: rgba(255, 255, 255, .78); }
.arc-step:not(.is-now) h3 { color: #FFFFFF; }
.arc-tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: #5B5BD6; color: #FFFFFF; }
.arc-step:not(.is-now) .arc-tag { background: rgba(255, 255, 255, .14); color: #9FE3F5; }
.arc-step p { margin: 0; font-size: .98rem; }

/* About mission */
.mission { display: grid; gap: 24px; }
@media (min-width: 860px) { .mission { grid-template-columns: 1fr 1fr; } }
.mission > div { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.mission h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.mission p { margin: 0; font-size: 1.1rem; color: var(--muted); }

/* Contact quick links */
.contact-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-quick a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-quick a:hover { border-color: var(--signal); }
.contact-quick .icon { width: 20px; height: 20px; color: var(--signal-dark); }
.contact-quick .fa { font-size: 20px; color: var(--whatsapp); width: 20px; text-align: center; }

/* Floating call + WhatsApp buttons */
.contact-float {
  position: fixed; z-index: 95; display: flex; flex-direction: column; gap: 12px;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
}
.float-btn {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #FFFFFF; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(15, 27, 61, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.float-btn .fa { font-size: 28px; line-height: 1; }
.float-call { background: var(--signal); }
.float-call .fa { font-size: 25px; }
.float-whatsapp { background: var(--whatsapp); }
.float-btn:hover { transform: scale(1.07); }
.float-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); opacity: .5; animation: ping 2.4s var(--ease) 2s 3; z-index: -1; }
.float-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #FFFFFF; font: 600 .85rem/1.2 var(--font-body);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.float-btn:hover .float-label, .float-btn:focus-visible .float-label { opacity: 1; transform: translateY(-50%); }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
body.menu-open .contact-float { display: none; }
@media print { .contact-float { display: none !important; } }
.site-footer { padding-bottom: 72px; }
.btn-call { margin-top: 12px; }
.btn-call .fa { font-size: 1.2em; color: var(--signal-dark); }

@media (max-width: 759px) {
  .contact-float { gap: 10px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .float-btn { width: 52px; height: 52px; }
  .float-label { display: none; }
  .media-body { padding: 20px 18px 18px; }
  .statement { text-align: left; }
  .statement-title, .statement-lede { margin-left: 0; }
  .contact-quick a { flex: 1 1 100%; }
  .arc-step { padding: 22px 20px; }
}
@media (max-width: 479px) {
  .hero h1 { font-size: 2.3rem; }
  .statement-title { font-size: 1.85rem; }
  .media-icon { width: 40px; height: 40px; margin-top: -42px; }
}
.kicker .media-icon-inline { margin: 0; box-shadow: none; background: var(--signal-soft); }
