/* SmartFlow Dynamics, site stylesheet (2026-11 redesign).
   One file for every page. Colors and fonts come from the brand kit; do not add new brand colors.
   Sections: tokens, base, shared components, loader, header, hero, services, steps, bento,
   person, tools, faq, contact, footer, dialogs, motion preferences. */

/* ---------- tokens ---------- */
@font-face { font-family: "Montserrat Fallback"; src: local("Arial"); size-adjust: 112.83%; ascent-override: 85.79%; descent-override: 22.25%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  --navy: #0E2A52;
  --navy-700: #0B2244;
  --navy-900: #061628;
  --blue: #1A53A1;
  --blue-600: #164688;
  --cyan: #00AEEF;
  --cyan-400: #33C0F3;
  --cyan-text: #0076A8;
  --cyan-tint: #E8F7FD;
  --slate: #3A5570;
  --slate-2: #446078;
  --line: #D6DDE3;
  --sky: #E7EBEE;
  --sky-100: #F4F6F8;
  --mist: #FAFBFC;
  --white: #FFFFFF;
  --error: #C0392B;
  --success: #0B7A53;

  --font-display: "Montserrat", "Montserrat Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(14, 42, 82, .04), 0 12px 32px -8px rgba(14, 42, 82, .10);
  --shadow-hover: 0 8px 16px -2px rgba(14, 42, 82, .10), 0 24px 48px -8px rgba(0, 174, 239, .16);
  --shadow-float: 0 2px 6px rgba(14, 42, 82, .06), 0 28px 60px -12px rgba(14, 42, 82, .22);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 40px);
  --max: 1120px;
  --section: clamp(72px, 10vw, 136px);
  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan-tint); color: var(--navy); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 120; padding: 12px 18px; border-radius: var(--radius-s); background: var(--navy); color: var(--white); font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shared components ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tint { background: var(--sky-100); }

.eyebrow { font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-text); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p:not(.eyebrow) { margin-top: 18px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--slate); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease-spring); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 20px -6px rgba(26, 83, 161, .55); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(0, 174, 239, .5); }
.btn-ghost { color: var(--blue); background: rgba(26, 83, 161, .07); }
.btn-ghost:hover { background: rgba(26, 83, 161, .13); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(0, 174, 239, .55); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--blue); }
.link-arrow .icon { transition: transform .35s var(--ease-spring); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon { transform: translateX(4px); }

.card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card p { margin-top: 10px; font-size: 1rem; }
/* Pointer spotlight: site.js writes --mx and --my on cards marked data-spot. */
.card[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 174, 239, .14), transparent 60%);
  transition: opacity .4s var(--ease);
}
@media (hover: hover) {
  .card[data-spot]:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .card[data-spot]:hover::before { opacity: 1; }
}
.icon-badge { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--cyan-tint); color: var(--blue); }
.icon-badge .icon { width: 24px; height: 24px; }

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 1rem; color: var(--navy); }
.checks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--cyan-text); stroke-width: 2.25; }

/* Scroll reveal. Hidden only when JavaScript is running, so the page reads without it. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--white);
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
  animation: loader-failsafe 0s linear 4s forwards;
}
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mark { width: 72px; height: 72px; animation: loader-breathe 1.6s ease-in-out infinite; }
.loader-track { width: 132px; height: 3px; border-radius: 3px; background: var(--sky); overflow: hidden; }
.loader-bar { display: block; width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--load, .08)); transition: transform .5s var(--ease); }
.is-loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.is-loaded .loader-mark { animation: none; }
.no-loader .loader { display: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
@keyframes loader-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.94); opacity: .75; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled::before { border-bottom-color: rgba(14, 42, 82, .10); background: rgba(255, 255, 255, .9); }
.site-header.is-open::before { border-bottom-color: rgba(14, 42, 82, .10); background: var(--white); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--scroll, 0)); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.brand { flex: none; display: block; border-radius: 8px; }
.brand img { width: 170px; }
.nav-links { display: none; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { position: relative; padding: 8px 0; font-size: .9375rem; font-weight: 500; color: var(--navy); opacity: .78; transition: opacity .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.cta-long { display: none; }
/* Language switch. On narrow phones the bar shows only the other language, to leave room for the call to action. */
.lang { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: .75rem; font-weight: 700; }
.lang a { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 10px; border-radius: var(--radius-pill); color: var(--blue); transition: color .2s var(--ease), background-color .2s var(--ease); }
.lang a:hover { color: var(--navy); }
.site-header .lang a[aria-current] { display: none; }
.lang-footer { gap: 6px; margin-top: 20px; font-size: .8125rem; }
.lang-footer a { background: var(--white); box-shadow: inset 0 0 0 1px var(--sky); padding: 0 14px; }
.lang-footer a[aria-current] { background: var(--navy); color: var(--white); box-shadow: none; }
@media (min-width: 560px) {
  .site-header .lang { padding: 3px; border-radius: var(--radius-pill); background: rgba(14, 42, 82, .06); }
  .site-header .lang a { color: var(--slate-2); }
  .site-header .lang a[aria-current] { display: grid; background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(14, 42, 82, .16); }
}
.nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 28px;
  background: var(--white); border-bottom: 1px solid rgba(14, 42, 82, .10); box-shadow: 0 24px 40px -24px rgba(14, 42, 82, .25);
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.site-header.is-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sky); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mobile-menu-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 16px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--blue); font-size: 1rem; color: var(--white); }
/* With enlarged text on a narrow phone the bar keeps the logo, language and menu; the call to action moves into the menu. */
@media (max-width: 480px) { .a11y-size-1 .nav-cta, .a11y-size-2 .nav-cta { display: none; } }
@media (min-width: 560px) { .cta-long { display: inline; } .cta-short { display: none; } }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .brand img { width: 190px; }
}
@media (max-width: 419px) { .brand img { width: 122px; } .nav-bar { gap: 6px; } .nav-actions { gap: 2px; } .nav-actions .btn-sm { padding: 0 13px; font-size: .8125rem; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: max(100svh, 720px); padding-top: calc(var(--nav-h) + clamp(32px, 5.5vh, 64px)); padding-bottom: var(--hero-flow); text-align: center; background: radial-gradient(70% 46% at 50% 100%, rgba(0, 174, 239, .13), transparent 70%), var(--white); --hero-flow: clamp(220px, 27vh, 340px); }
.hero-inner { position: relative; z-index: 1; }
.hero-title { margin: 18px auto 0; max-width: 15ch; font-size: clamp(2.5rem, min(9.4vw, 10.4vh), 5.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.hero-title span { display: block; }
:lang(es) .hero-title { max-width: 18ch; font-size: clamp(2.125rem, min(8vw, 8.4vh), 4.5rem); }
.hero-title .grad { padding-bottom: .08em; background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 620px; margin: 22px auto 0; font-size: clamp(1.0625rem, 1.9vw, 1.3125rem); line-height: 1.5; color: var(--slate); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: var(--slate-2); }
.hero-canvas-wrap {
  position: absolute; inset: auto 0 0 0; height: calc(var(--hero-flow) + 90px); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 30%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 30%); mask-composite: intersect;
}
.hero-canvas { width: 100%; height: 100%; }
.hero-services { position: absolute; inset: auto 0 clamp(18px, 3vh, 30px) 0; z-index: 1; display: none; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-services a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(14, 42, 82, .10), 0 8px 24px -12px rgba(14, 42, 82, .30); font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--navy); transition: transform .35s var(--ease-spring), background-color .25s var(--ease), color .25s var(--ease); }
.hero-services a:hover { transform: translateY(-3px); background: var(--navy); color: var(--white); }
.hero-services .icon { width: 18px; height: 18px; color: var(--cyan-text); }
.hero-services a:hover .icon { color: var(--cyan-400); }
@media (min-width: 640px) { .hero-services { display: flex; } }

/* ---------- services (product switcher) ---------- */
.tabs { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto clamp(24px, 3.4vw, 40px); padding: 5px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(14, 42, 82, .08), var(--shadow-card); }
html:not(.js) .tabs { display: none; }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0px); border-radius: var(--radius-pill); background: var(--navy); transform: translateX(var(--x, 0px)); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabs.is-instant .tab-pill { transition: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 clamp(12px, 2.2vw, 24px); border-radius: var(--radius-pill); font-family: var(--font-display); font-size: clamp(.8125rem, 1.5vw, .9375rem); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: var(--slate); transition: color .35s var(--ease); }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { color: var(--white); }
.tab .icon { width: 18px; height: 18px; display: none; }
.tab-long { display: none; }
@media (min-width: 640px) { .tab-long, .tab .icon { display: inline-block; } .tab-short { display: none; } }
@media (max-width: 400px) { .tab { padding: 0 10px; font-size: .78rem; } }

.panel { display: grid; overflow: hidden; background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-card); }
.panel + .panel { margin-top: 24px; }
.js .panel { margin-top: 0; }
.js .panel:not(.is-active) { display: none; }
.js .panel.is-active .panel-copy > * { animation: rise .7s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
.js .panel.is-active .panel-visual { animation: fade .8s var(--ease) both; }
.panel-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4.4vw, 56px); }
.panel-copy h3 { margin-top: 12px; font-size: clamp(1.625rem, 3vw, 2.25rem); letter-spacing: -.03em; line-height: 1.12; }
.panel-copy > p { margin-top: 16px; }
.panel-copy .checks { margin-top: 24px; }
.panel-copy .link-arrow { margin-top: 28px; }
.panel-fine { margin-top: 18px; font-size: .875rem; color: var(--slate-2); }
.panel-visual { position: relative; display: grid; place-items: center; align-content: center; gap: 18px; min-height: 420px; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px); background: radial-gradient(90% 80% at 80% 10%, #DDF2FC 0%, var(--sky-100) 70%); perspective: 1200px; }
.mock-caption { font-size: .8125rem; color: var(--slate-2); }
.mock { width: 100%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
@media (min-width: 900px) {
  .panel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 560px; }
  .panel-copy { justify-content: center; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Illustration 1: a website, on desktop and phone */
.mock-site { position: relative; max-width: 460px; padding: 0 22px 34px 0; }
.browser { overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-float); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--sky-100); border-bottom: 1px solid var(--sky); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-url { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--white); font-size: .6875rem; color: var(--slate-2); text-align: left; }
.site-body { padding: 16px 18px 20px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav b { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.site-nav i { width: 30px; height: 5px; border-radius: 3px; background: var(--sky); }
.site-nav i:first-of-type { margin-left: auto; }
.site-nav em { width: 52px; height: 20px; border-radius: var(--radius-pill); background: var(--navy); }
.site-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; margin-top: 20px; }
.site-hero b { display: block; height: 13px; border-radius: 4px; background: var(--navy); }
.site-hero b + b { width: 72%; margin-top: 7px; }
.site-hero i { display: block; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--sky); }
.site-hero i + i { width: 80%; margin-top: 6px; }
.site-hero em { display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--blue); font-family: var(--font-display); font-size: .6875rem; font-style: normal; font-weight: 700; color: var(--white); }
.site-photo { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--blue) url("../images/home-site-photo.webp") center / cover; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.site-cards i { height: 44px; border-radius: 10px; background: var(--sky-100); border: 1px solid var(--sky); }
.site-phone { position: absolute; right: 0; bottom: 0; width: 96px; padding: 9px 8px 12px; border-radius: 20px; background: var(--white); border: 3px solid var(--navy); box-shadow: var(--shadow-float); transform: translateZ(40px); }
.site-phone b { display: block; height: 8px; border-radius: 3px; background: var(--navy); }
.site-phone b + b { width: 66%; margin-top: 5px; }
.site-phone .site-photo { margin-top: 9px; border-radius: 8px; }
.site-phone em { display: block; height: 16px; margin-top: 9px; border-radius: var(--radius-pill); background: var(--blue); }
.toast { position: absolute; left: -6px; bottom: 6px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-float); text-align: left; transform: translateZ(60px); }
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cyan-tint); color: var(--cyan-text); }
.toast-icon .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.toast strong { display: block; font-family: var(--font-display); font-size: .8125rem; color: var(--navy); line-height: 1.2; }
.toast span { display: block; font-size: .75rem; color: var(--slate-2); line-height: 1.3; }
.js .is-active .toast { animation: pop .7s var(--ease-spring) .5s both; }
@keyframes pop { from { opacity: 0; transform: translateZ(60px) translateY(14px) scale(.92); } to { opacity: 1; transform: translateZ(60px); } }

/* Illustration 2: an after-hours call, answered and booked */
.mock-call { max-width: 380px; padding: 18px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-float); text-align: left; }
.call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--sky); }
.call-avatar { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); }
.call-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: ring 2s var(--ease) infinite; }
.call-avatar .icon { width: 20px; height: 20px; }
.call-head strong { display: block; font-family: var(--font-display); font-size: .9375rem; color: var(--navy); line-height: 1.2; }
.call-head span { font-size: .75rem; color: var(--slate-2); }
.call-wave { display: flex; align-items: center; gap: 3px; height: 24px; margin-left: auto; }
.call-wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--cyan); transform-origin: center; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--d) * -1s); }
.call-thread { display: grid; gap: 8px; padding: 16px 0; }
.bubble { max-width: 86%; padding: 9px 14px; border-radius: 16px; font-size: .875rem; line-height: 1.4; }
.bubble-in { justify-self: start; background: var(--sky-100); color: var(--navy); border-bottom-left-radius: 5px; }
.bubble-out { justify-self: end; background: var(--blue); color: var(--white); border-bottom-right-radius: 5px; }
.js .is-active .bubble, .js .is-active .call-result { animation: rise .6s var(--ease) both; animation-delay: calc(.35s + var(--n, 0) * .55s); }
.call-result { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--cyan-tint); }
.call-result .toast-icon { background: var(--white); }
.call-result strong { display: block; font-family: var(--font-display); font-size: .8125rem; color: var(--navy); line-height: 1.2; }
.call-result span { display: block; font-size: .75rem; color: var(--slate); }
.call-lang { margin-left: auto; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--white); font-family: var(--font-display); font-size: .6875rem; font-weight: 700; color: var(--cyan-text); white-space: nowrap; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* Illustration 3: six tools, one system */
.mock-hub { position: relative; max-width: 470px; aspect-ratio: 5 / 4; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; vector-effect: non-scaling-stroke; }
.hub-base { stroke: var(--line); stroke-width: 1.5; }
.hub-flow { stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 16; animation: flow 1.2s linear infinite; }
.hub-tile-1, .hub-tile-2, .hub-tile-3 { --x: 15%; }
.hub-tile-4, .hub-tile-5, .hub-tile-6 { --x: 85%; }
.hub-tile-1, .hub-tile-4 { --y: 17%; }
.hub-tile-2, .hub-tile-5 { --y: 50%; }
.hub-tile-3, .hub-tile-6 { --y: 83%; }
.hub-tile { position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: 5px; width: 84px; padding: 11px 6px 9px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-card); font-family: var(--font-display); font-size: .6875rem; font-weight: 700; color: var(--navy); transform: translate(-50%, -50%); }
.hub-tile .icon { width: 22px; height: 22px; color: var(--blue); }
.hub-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 31%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 10px rgba(0, 174, 239, .10), 0 0 0 22px rgba(0, 174, 239, .06), var(--shadow-float); transform: translate(-50%, -50%) translateZ(50px); }
.hub-core img { width: 62%; }
.hub-core span { position: absolute; top: calc(100% + 30px); font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-text); white-space: nowrap; }
@keyframes flow { to { stroke-dashoffset: -18; } }
@media (max-width: 420px) { .hub-tile { width: 72px; font-size: .625rem; } }

/* ---------- story band ---------- */
.story { padding-top: var(--section); }
/* Phones: photograph on top, words underneath. Wider screens: words laid over the photograph. */
.story-card { position: relative; overflow: hidden; margin: 0; border-radius: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--navy), var(--navy-900)); }
.story-photo { overflow: hidden; aspect-ratio: 4 / 3; }
.story-card img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; transform: scale(1.08) translateY(calc(var(--shift, 0) * -3%)); will-change: transform; }
.story-card figcaption { position: relative; z-index: 1; padding: clamp(24px, 5vw, 64px); }
.story-card h2 { color: var(--white); }
.story-card p { margin-top: 16px; max-width: 40ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .86); }
@media (min-width: 800px) {
  .story-card { aspect-ratio: 16 / 8; }
  .story-photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .story-card img { object-position: center; }
  .story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 40, .93) 0%, rgba(6, 22, 40, .76) 30%, rgba(6, 22, 40, 0) 62%); }
  .story-card figcaption { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; justify-content: center; width: min(50%, 560px); }
}

/* ---------- how it works ---------- */
.steps { position: relative; display: grid; gap: 28px; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--sky); }
.steps::after { background: linear-gradient(180deg, var(--blue), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; counter-increment: step; }
.step::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--sky); font-family: var(--font-display); font-weight: 800; color: var(--slate-2); transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease-spring); }
.step.is-on::before { background: var(--blue); color: var(--white); box-shadow: 0 8px 18px -6px rgba(26, 83, 161, .6); transform: scale(1.08); }
.step h3 { align-self: center; font-size: 1.125rem; }
.step p { grid-column: 2; margin-top: 6px; font-size: 1rem; }
.steps-note { margin-top: clamp(32px, 5vw, 56px); text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--navy); }
html:not(.js) .steps::after { transform: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 24px; }
  .steps::before, .steps::after { left: 22px; right: calc(100% / var(--steps, 5) - 26px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps::after { background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { display: block; }
  .step h3 { margin-top: 22px; }
  .step p { margin-top: 8px; font-size: .9375rem; }
}

/* ---------- why (bento) ---------- */
.bento { display: grid; gap: 20px; }
.bento .card h3 { font-size: 1.3125rem; }
.figure { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-navy { background: radial-gradient(120% 90% at 85% 10%, var(--blue) 0%, var(--navy) 55%, var(--navy-900) 100%); }
.card-navy h3 { color: var(--white); }
.card-navy p { color: rgba(255, 255, 255, .82); }
.card-navy .figure { background: linear-gradient(100deg, var(--white), var(--cyan-400)); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-full { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > * { grid-column: span 2; }
  .bento-half { grid-column: span 3; }
  .bento-full { grid-column: span 2; }
}

/* ---------- who you will talk to ---------- */
.person { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.person-photo { position: relative; width: min(280px, 70%); margin-inline: auto; }
.person-photo img { width: 100%; border-radius: 50%; box-shadow: var(--shadow-float); }
.person-photo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(0, 174, 239, .45); animation: spin 40s linear infinite; }
.person-copy h2 { margin-top: 12px; }
.person-meta { margin-top: 12px; font-family: var(--font-display); font-weight: 700; color: var(--blue); }
.person-copy p + p { margin-top: 16px; }
.person-copy .link-arrow { margin-top: 24px; }
@media (min-width: 800px) { .person { grid-template-columns: 320px 1fr; } .person-photo { width: 280px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- free tools ---------- */
.tools { display: grid; gap: 20px; }
.tool { display: flex; flex-direction: column; align-items: flex-start; }
.tool-tag { margin-bottom: 14px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--cyan-tint); font-family: var(--font-display); font-size: .75rem; font-weight: 700; color: var(--cyan-text); }
.tool p { flex: 1; }
.tool .link-arrow { margin-top: 22px; }
.tool a::after { content: ""; position: absolute; inset: 0; }
.tools-more { margin-top: 32px; text-align: center; }
@media (min-width: 800px) { .tools { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq ---------- */
.faq-layout { display: grid; gap: clamp(28px, 5vw, 64px); }
.faq-intro h2 { margin-top: 14px; }
.faq-intro p:not(.eyebrow) { margin-top: 16px; }
.faq-intro .link-arrow { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 16px 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.0625rem, 1.8vw, 1.1875rem); font-weight: 700; letter-spacing: -.015em; color: var(--navy); transition: color .2s var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-100) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230E2A52' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .45s var(--ease-spring), background-color .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--cyan-tint); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-a { max-width: 64ch; padding: 0 44px 24px 0; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 4fr 7fr; } .faq-intro { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* ---------- contact ---------- */
.cta-card { display: grid; gap: clamp(28px, 4vw, 48px); padding: clamp(24px, 5vw, 64px); border-radius: clamp(24px, 4vw, 40px); background: radial-gradient(120% 80% at 80% 20%, var(--blue) 0%, var(--navy) 55%, var(--navy-900) 100%); color: rgba(255, 255, 255, .84); }
.cta-copy .eyebrow { color: var(--cyan-400); }
.cta-copy h2 { margin-top: 14px; color: var(--white); }
.cta-copy > p:not(.eyebrow) { margin-top: 18px; max-width: 46ch; }
.cta-copy .btn { margin-top: 28px; }
.contact-list { display: grid; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: clamp(.8125rem, 3.8vw, 1.0625rem); color: var(--white); overflow-wrap: anywhere; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--cyan-400); }
.contact-list a { transition: color .2s var(--ease); }
.contact-list a:hover { color: var(--cyan-400); }
.form-card { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--radius-l); background: var(--white); color: var(--slate); box-shadow: var(--shadow-float); }
.form-card h3 { font-size: 1.375rem; }
.form-card > p { margin-top: 8px; font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend, .field label { display: block; margin-bottom: 8px; padding: 0; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; color: var(--navy); }
.chips legend span, .field label span { font-weight: 500; color: var(--slate-2); }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-size: .875rem; font-weight: 500; color: var(--navy); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .3s var(--ease-spring); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--blue); }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
.field input, .field textarea { display: block; width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); font: inherit; font-size: 1rem; color: var(--navy); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7F93A6; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 239, .16); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(192, 57, 43, .10); }
.field-error { min-height: 0; margin-top: 6px; font-size: .8125rem; color: var(--error); }
.field-error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 14px; font-size: .9375rem; font-weight: 500; color: var(--success); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
@media (min-width: 560px) { .form-grid .field-half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid > :not(.field-half) { grid-column: 1 / -1; } }
@media (min-width: 960px) { .cta-card { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 8vw, 88px) 0 32px; background: var(--sky-100); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--sky); transition: transform .35s var(--ease-spring), color .2s var(--ease), background-color .2s var(--ease); }
.social a:hover { transform: translateY(-3px); background: var(--navy); color: var(--white); }
.social .icon { width: 18px; height: 18px; }
.site-footer h3 { margin-bottom: 16px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.site-footer li + li { margin-top: 10px; }
.site-footer nav a, .site-footer nav button, .footer-fine address a { color: var(--navy); text-align: left; transition: color .2s var(--ease); overflow-wrap: anywhere; }
.site-footer nav a:hover, .site-footer nav button:hover, .footer-fine address a:hover { color: var(--cyan-text); }
.footer-fine { display: grid; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--slate-2); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-fine { grid-template-columns: 1fr auto; }
  .footer-fine > p:first-child { grid-column: 1 / -1; max-width: 90ch; }
}

/* ---------- legal dialogs ---------- */
.legal { width: min(720px, calc(100vw - 32px)); max-height: min(84vh, 860px); padding: 0; border: 0; border-radius: var(--radius-l); background: var(--white); color: var(--slate); box-shadow: var(--shadow-float); overflow: hidden; }
.legal[open] { display: flex; flex-direction: column; animation: rise .45s var(--ease) both; }
.legal::backdrop { background: rgba(6, 22, 40, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal-head { position: relative; padding: 28px clamp(20px, 4vw, 36px) 20px; border-bottom: 1px solid var(--sky); }
.legal-head h2 { padding-right: 48px; font-size: 1.375rem; letter-spacing: -.02em; }
.legal-head p { margin-top: 4px; font-size: .8125rem; color: var(--slate-2); }
.legal-close { position: absolute; right: 20px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky-100); color: var(--navy); transition: background-color .2s var(--ease), transform .3s var(--ease-spring); }
.legal-close:hover { background: var(--sky); transform: rotate(90deg); }
.legal-body { overflow-y: auto; padding: 8px clamp(20px, 4vw, 36px) 32px; font-size: .9375rem; }
.legal-body h3 { margin-top: 24px; font-size: 1rem; }
.legal-body p, .legal-body ul { margin-top: 10px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body hr { margin: 24px 0 0; border: 0; border-top: 1px solid var(--sky); }
.legal-body strong { color: var(--navy); }

.legal-note { display: none; margin-top: 16px; padding: 10px 14px; border-radius: var(--radius-s); background: var(--cyan-tint); color: var(--navy); font-size: .875rem; }
:lang(es) .legal-note { display: block; }

/* ---------- inner pages: shared building blocks ----------
   Every inner page is assembled from these. A page may add a small <style> of its own for
   something truly one-off, using the tokens above; anything used twice belongs here. */
[hidden] { display: none !important; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }
.stack > * + * { margin-top: var(--gap, 16px); }
.lead { font-size: clamp(1.0625rem, 1.9vw, 1.3125rem); line-height: 1.5; color: var(--slate); }
.fine { font-size: .875rem; color: var(--slate-2); }
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }

/* Page hero: centered by default; add .is-split for words on the left and a picture on the right. */
.page-hero { padding: calc(var(--nav-h) + clamp(44px, 7vw, 88px)) 0 clamp(48px, 7vw, 88px); text-align: center; background: radial-gradient(70% 60% at 50% 0%, rgba(0, 174, 239, .10), transparent 70%), var(--white); }
.page-hero h1 { margin: 16px auto 0; max-width: 20ch; font-size: clamp(2.125rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
.page-hero .lead { max-width: 660px; margin: 22px auto 0; }
.page-hero.is-split .lead, .page-hero.is-split h1 { margin-inline: 0; }
.page-hero.is-split { text-align: left; }
.page-hero.is-split .hero-cta { justify-content: flex-start; }
.page-hero.is-split .container { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .page-hero.is-split .container { grid-template-columns: 1.05fr 1fr; } }

/* Layout */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.is-reverse > :first-child { order: 2; } }
.split h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.split .eyebrow + h2 { margin-top: 14px; }
.split h2 + p, .split p + p { margin-top: 16px; }
.split .checks, .split .btn, .split .link-arrow { margin-top: 24px; }

/* Media: photographs and video in a rounded frame */
.media { overflow: hidden; margin: 0; border-radius: var(--radius-l); background: var(--sky-100); box-shadow: var(--shadow-float); }
.media img, .media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media figcaption { padding: 12px 20px; font-size: .8125rem; color: var(--slate-2); background: var(--white); }

/* Cards and small parts */
.section:not(.section-tint) .card.is-flat { background: var(--sky-100); box-shadow: none; }
.card.is-outline { box-shadow: inset 0 0 0 1px var(--line); }
.card > .eyebrow + h3, .card > .tag + h3 { margin-top: 0; }
.card .checks { margin-top: 18px; }
.card .link-arrow, .card .btn { margin-top: 22px; }
.card-link a::after { content: ""; position: absolute; inset: 0; }
.tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--cyan-tint); font-family: var(--font-display); font-size: .75rem; font-weight: 700; color: var(--cyan-text); }
.card-navy .tag { background: rgba(255, 255, 255, .12); color: var(--cyan-400); }
.card-navy .checks li { color: var(--white); }
.card-navy .checks .icon { color: var(--cyan-400); }
.card-navy .fine { color: rgba(255, 255, 255, .7); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; font-weight: 500; color: var(--navy); }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 24px; border-radius: var(--radius-m); background: var(--cyan-tint); color: var(--navy); }
.callout .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--cyan-text); }
.callout strong { font-family: var(--font-display); }
.callout.is-plain { background: var(--sky-100); }
.checks.is-cross .icon { color: var(--slate-2); }
.numbered { display: grid; gap: 20px; counter-reset: item; }
.numbered > li { position: relative; padding-left: 60px; counter-increment: item; }
.numbered > li::before { content: counter(item); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cyan-tint); font-family: var(--font-display); font-weight: 800; color: var(--blue); }
.numbered h3 { font-size: 1.125rem; }
.numbered p { margin-top: 6px; font-size: 1rem; }

/* Long-form text */
.prose > * + * { margin-top: 16px; }
.prose h3 { margin-top: 32px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose ol { padding-left: 22px; list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a, .text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover, .text-link:hover { color: var(--navy); }
.faq-a a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Tables: wrap in .table-wrap so a wide table scrolls inside its own box */
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); background: var(--white); box-shadow: var(--shadow-card); }
.table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; text-align: left; }
.table th { padding: 16px 20px; background: var(--navy); font-family: var(--font-display); font-size: .8125rem; font-weight: 700; color: var(--white); }
.table td { padding: 14px 20px; border-top: 1px solid var(--sky); color: var(--slate); vertical-align: top; }
.table td:first-child { font-weight: 600; color: var(--navy); }

/* FAQ in one centered column, and a centered closing call to action */
.faq-single { max-width: 800px; margin-inline: auto; }
.cta-card.is-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cta-card.is-center .cta-copy > p:not(.eyebrow) { margin-inline: auto; }
.cta-card.is-center .hero-cta { margin-top: 28px; }
.cta-card.is-center .hero-cta .btn { margin-top: 0; }
.cta-card .fine { margin-top: 18px; color: rgba(255, 255, 255, .7); }
.btn-outline-light { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

/* Forms beyond the contact form */
.field select { display: block; width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); font: inherit; font-size: 1rem; color: var(--navy); }
.field select:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 239, .16); }
.field-hint { margin-top: 6px; font-size: .8125rem; color: var(--slate-2); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--slate-2); pointer-events: none; }
.input-prefix input { padding-left: 34px; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .9375rem; }
.check-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.range-head label { margin: 0; }
.range-head output { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: var(--blue); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--sky) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--sky); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; border: 3px solid var(--white); background: var(--blue); box-shadow: 0 2px 8px rgba(14, 42, 82, .35); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--white); background: var(--blue); box-shadow: 0 2px 8px rgba(14, 42, 82, .35); }
input[type="range"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }

/* Calculators: inputs on the left, a result panel that stays in view on the right */
.calc { display: grid; gap: 24px; align-items: start; }
.calc-inputs { display: grid; gap: 26px; }
.calc-result { color: rgba(255, 255, 255, .84); }
.calc-result h2, .calc-result h3 { color: var(--white); }
.calc-result .figure { margin: 10px 0 6px; font-size: clamp(2.75rem, 7vw, 4.25rem); overflow-wrap: anywhere; }
@media (min-width: 960px) { .calc { grid-template-columns: 1.1fr .9fr; } .calc-result { position: sticky; top: calc(var(--nav-h) + 24px); } }
.breakdown { display: grid; }
.breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sky); }
.breakdown > div:last-child { border-bottom: 0; }
.breakdown dt { color: var(--slate); }
.breakdown dt { flex: none; }
.breakdown dd { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy); text-align: right; }
.calc .breakdown dt { flex: initial; }
.calc .breakdown dd { white-space: nowrap; }
.card-navy .breakdown > div { border-bottom-color: rgba(255, 255, 255, .14); }
.card-navy .breakdown dt { color: rgba(255, 255, 255, .78); }
.card-navy .breakdown dd { color: var(--white); }

/* Result states used by the tools: pass, attention, neutral */
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--sky); }
.verdict:last-child { border-bottom: 0; }
.verdict-dot { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: var(--sky-100); color: var(--slate-2); }
.verdict-dot .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.verdict.is-good .verdict-dot { background: #E3F5EE; color: var(--success); }
.verdict.is-warn .verdict-dot { background: #FDF1DC; color: #8A5A00; }
.verdict strong { display: block; font-family: var(--font-display); color: var(--navy); }
.verdict p { margin-top: 4px; font-size: .9375rem; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }

/* ---------- access gate (gate.js) ---------- */
.smf-gate { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; background: rgba(6, 22, 40, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.smf-gate__panel { width: 100%; max-width: 480px; margin: auto; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow-float); animation: rise .45s var(--ease) both; }
.smf-gate__eyebrow { margin: 0 0 12px; font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-text); }
.smf-gate__title { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.2; }
.smf-gate__lede { margin: 10px 0 22px; font-size: .9375rem; }
.smf-gate__field { margin-bottom: 14px; }
.smf-gate__label { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; color: var(--navy); }
.smf-gate__input { display: block; width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white); font: inherit; font-size: 1rem; color: var(--navy); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.smf-gate__input::placeholder { color: #7F93A6; }
.smf-gate__input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 239, .16); }
.smf-gate__input[aria-invalid="true"] { border-color: var(--error); }
.smf-gate__err { display: none; margin-top: 6px; font-size: .8125rem; font-weight: 500; color: var(--error); }
.smf-gate__err.is-shown { display: block; }
.smf-gate__consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; margin: 18px 0 14px; padding: 14px; border-radius: var(--radius-s); background: var(--sky-100); font-size: .8125rem; line-height: 1.5; color: var(--navy); }
.smf-gate__consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.smf-gate__disclosure { margin-bottom: 18px; font-size: .75rem; line-height: 1.6; color: var(--slate-2); }
.smf-gate__disclosure a { color: var(--blue); text-decoration: underline; }
.smf-gate__submit { width: 100%; min-height: 52px; border-radius: var(--radius-pill); background: var(--blue); font-family: var(--font-display); font-weight: 700; color: var(--white); box-shadow: 0 6px 20px -6px rgba(26, 83, 161, .55); transition: background-color .25s var(--ease), transform .35s var(--ease-spring); }
.smf-gate__submit:hover { background: var(--navy); transform: translateY(-2px); }
.smf-gate__submit:disabled { opacity: .65; cursor: progress; transform: none; }
.smf-gate__back { display: block; margin-top: 16px; text-align: center; font-size: .8125rem; color: var(--slate-2); }
.smf-gate__back:hover { color: var(--blue); text-decoration: underline; }

/* Reflow: nothing may force sideways scrolling, even with enlarged text (WCAG 1.4.4, 1.4.10). */
.grid > *, .split > *, .calc > *, .cta-card > *, .panel > *, .person > *, .faq-layout > *, .bento > *, .tools > * { min-width: 0; }
.btn:not(.btn-sm) { white-space: normal; text-align: center; padding-block: 10px; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; }

/* ---------- accessibility options panel ---------- */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 60; }
.a11y-toggle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 0 0 3px var(--white), var(--shadow-float); transition: transform .35s var(--ease-spring), background-color .25s var(--ease); }
.a11y-toggle:hover { background: var(--blue); transform: scale(1.06); }
.a11y-toggle .icon { width: 28px; height: 28px; stroke-width: 1.9; }
.a11y-panel { position: absolute; left: 0; bottom: 64px; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow-y: auto; padding: 20px; border-radius: var(--radius-m); background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px rgba(14, 42, 82, .12), var(--shadow-float); animation: rise .35s var(--ease) both; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a11y-head h2 { font-size: 1.125rem; letter-spacing: -.02em; }
.a11y-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky-100); color: var(--navy); }
.a11y-label { margin-bottom: 8px; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; }
.a11y-size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.a11y-size button { min-height: 44px; border-radius: var(--radius-s); box-shadow: inset 0 0 0 1.5px var(--line); font-size: .875rem; font-weight: 600; color: var(--navy); }
.a11y-size button:nth-child(2) { font-size: 1rem; }
.a11y-size button:nth-child(3) { font-size: 1.125rem; }
.a11y-size button[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.a11y-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 0 4px; border-top: 1px solid var(--sky); font-size: .9375rem; font-weight: 500; color: var(--navy); text-align: left; }
.a11y-switch i { position: relative; flex: none; width: 44px; height: 26px; border-radius: 26px; background: #6B7F92; transition: background-color .2s var(--ease); }
.a11y-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); }
.a11y-switch[aria-checked="true"] i { background: var(--blue); }
.a11y-switch[aria-checked="true"] i::after { transform: translateX(18px); }
.a11y-reset { width: 100%; min-height: 44px; margin-top: 12px; border-radius: var(--radius-pill); background: var(--sky-100); font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--navy); }
.a11y-reset:hover { background: var(--sky); }
.a11y-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .8125rem; }
.a11y-foot .text-link { min-height: 32px; }

/* What each option changes */
.a11y-size-1 { font-size: 112.5%; }
.a11y-size-2 { font-size: 125%; }
.a11y-contrast { --slate: #14273D; --slate-2: #1D3350; --cyan-text: #00527A; --blue: #123F80; --line: #5B6B7A; --sky: #B9C4CE; }
.a11y-contrast body { color: var(--slate); }
.a11y-contrast .site-header::before { background: var(--white); border-bottom-color: var(--navy); }
.a11y-contrast .card, .a11y-contrast .panel, .a11y-contrast .form-card, .a11y-contrast .hero-services a, .a11y-contrast .tabs { box-shadow: inset 0 0 0 2px var(--navy); }
.a11y-contrast .card-navy, .a11y-contrast .cta-card, .a11y-contrast .story-card { background: var(--navy-900); }
.a11y-contrast .card-navy p, .a11y-contrast .cta-card, .a11y-contrast .story-card p, .a11y-contrast .calc-result { color: var(--white); }
.a11y-contrast .hero-title .grad, .a11y-contrast .figure { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); }
.a11y-contrast .card-navy .figure { color: var(--white); }
.a11y-contrast .cta-copy .eyebrow, .a11y-contrast .card-navy .tag { color: var(--white); }
.a11y-contrast .field input, .a11y-contrast .field textarea, .a11y-contrast .field select, .a11y-contrast .chip { border-color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.a11y-contrast .field input::placeholder, .a11y-contrast .field textarea::placeholder { color: #44566A; }
.a11y-contrast .hero-canvas-wrap { opacity: .45; }
.a11y-contrast :focus-visible { outline: 4px solid #B34700; outline-offset: 3px; }
.a11y-links main a:not(.btn), .a11y-links .site-footer a, .a11y-links .nav-links a, .a11y-links .mobile-menu a, .a11y-links .site-footer button { text-decoration: underline; text-underline-offset: 3px; }
.a11y-spacing p, .a11y-spacing li, .a11y-spacing dd, .a11y-spacing dt, .a11y-spacing summary, .a11y-spacing label, .a11y-spacing input, .a11y-spacing textarea { line-height: 1.8; letter-spacing: .06em; word-spacing: .16em; }
.a11y-spacing p + p, .a11y-spacing li + li { margin-top: 1.4em; }
.a11y-spacing h1, .a11y-spacing h2, .a11y-spacing h3 { letter-spacing: 0; line-height: 1.3; }
.a11y-motion { scroll-behavior: auto; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.a11y-motion.js .reveal { opacity: 1; transform: none; }
.a11y-motion .hub-flow { animation: none; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hub-flow { animation: none; }
}
