/* ============================================================
   Self-hosted fonts (files copied into /assets/fonts/ by scripts/build.ts
   from the @fontsource-variable npm packages; subset to latin, latin-ext,
   and vietnamese, since site content is only English/Spanish/Portuguese).
   ============================================================ */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* ============================================================
   Design tokens + base elements (formerly src/styles/global.css)
   ============================================================ */
:root {
  --color-navy-950: #222222;
  --color-navy-900: #2c2f35;
  --color-navy-800: #3b3f47;

  --color-blue-700: #164a7c;
  --color-blue-600: #1c5d99;
  --color-blue-500: #3573ad;

  --color-teal-700: #3f6f80;
  --color-teal-600: #639fab;
  --color-teal-500: #7fb0ba;
  --color-teal-100: #bbcde5;

  --color-white: #ffffff;
  --color-bg: #f7f8fa;
  --color-bg-alt: #eef0f3;
  --color-surface: #ffffff;
  --color-border: #dcdfe3;
  --color-hairline: #3b3f47;
  --color-text: #222222;
  --color-text-muted: #55585e;
  --color-text-faint: #86898e;
  --color-focus: #1c5d99;

  --color-on-dark: #d8dade;
  --color-on-dark-muted: #a8abb2;
  --color-on-dark-faint: #84878e;
  --color-on-dark-link: #8fb8d8;

  --font-body: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 25, 48, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 25, 48, 0.1);

  --container-max: 1180px;
  --header-height: 72px;
  --sticky-bar-height: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.has-sticky-bar {
  padding-bottom: calc(var(--sticky-bar-height) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy-950);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2.1rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.numeral { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

p { margin: 0 0 1em; color: var(--color-text); }

a { color: var(--color-blue-600); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--color-blue-700); }

img, svg { max-width: 100%; display: block; }

ul, ol { padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--color-navy-950);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.section-alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-700);
  margin-bottom: 0.75rem;
}
.section-dark .eyebrow { color: var(--color-teal-500); }

.lede { font-size: 1.15rem; color: var(--color-text-muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--color-blue-600); color: var(--color-white); border-color: var(--color-blue-600); }
.btn-primary:hover { background: var(--color-blue-700); border-color: var(--color-blue-700); color: var(--color-white); }

.btn-secondary { background: transparent; color: var(--color-navy-900); border-color: var(--color-navy-900); }
.btn-secondary:hover { background: var(--color-navy-900); color: var(--color-white); }

.btn-teal { background: var(--color-teal-600); color: var(--color-white); border-color: var(--color-teal-600); }
.btn-teal:hover { background: var(--color-teal-500); border-color: var(--color-teal-500); }

.btn-whatsapp { background: #25d366; color: #ffffff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1fb959; border-color: #1fb959; color: #ffffff; }

.btn-block { width: 100%; }

.block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.faq-item { border-bottom: 1px solid var(--color-border); padding-block: 1.1rem; }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy-950);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--color-teal-600); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 0.75rem; color: var(--color-text-muted); }

.disclosure {
  background: var(--color-teal-100);
  border: 1px solid var(--color-teal-500);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--color-navy-900);
}
.disclosure strong { color: var(--color-navy-950); }

.breadcrumbs { font-size: 0.85rem; color: var(--color-text-faint); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--color-text-faint); }
.breadcrumbs a:hover { color: var(--color-blue-600); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-list a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-navy-900);
  font-size: 0.88rem;
  text-decoration: none;
}
.tag-list a:hover { border-color: var(--color-blue-600); color: var(--color-blue-600); }

.section-dark { background: var(--color-navy-950); color: var(--color-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.section-dark .lede { color: var(--color-on-dark); }

.stat-band { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, 1fr); padding-block: 0.5rem; }
@media (min-width: 720px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--color-navy-950);
}
.stat-band dd { margin: 0.35rem 0 0; font-size: 0.86rem; color: var(--color-text-muted); max-width: 22ch; }
.section-dark .stat-band dt { color: var(--color-white); }
.section-dark .stat-band dd { color: var(--color-on-dark-muted); }

.editorial-list { display: flex; flex-direction: column; }
.editorial-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.editorial-list .editorial-row:last-child { padding-bottom: 0; }
.section-dark .editorial-row { border-top-color: var(--color-hairline); }
.editorial-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-teal-100);
  color: var(--color-teal-600);
  flex-shrink: 0;
}
.section-dark .editorial-row-icon { background: rgba(127, 176, 186, 0.18); color: var(--color-teal-500); }
.editorial-row h3 { margin-bottom: 0.3rem; }
.editorial-row p { margin: 0; color: var(--color-text-muted); max-width: 60ch; }
.section-dark .editorial-row p { color: var(--color-on-dark-muted); }

.hero-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.55fr 1fr; gap: 3rem; }
  .hero-grid-form { position: sticky; top: calc(var(--header-height) + 2rem); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Header (formerly Header.astro <style>)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding-block: 0.5rem;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) max-content;
  align-items: center;
  gap: 0.5rem 0.75rem;
  width: 100%;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-navy-950);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
.wordmark span { color: var(--color-blue-600); }
.desktop-nav {
  display: none;
  align-items: center;
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.desktop-nav > a { color: var(--color-navy-900); text-decoration: none; white-space: nowrap; }
.desktop-nav > a:hover { color: var(--color-blue-600); }
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--color-navy-900);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown[open] summary { color: var(--color-blue-600); }
.chev { transition: transform 0.15s ease; }
.nav-dropdown[open] .chev { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}
.dropdown-panel a { padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.dropdown-panel a:hover { background: var(--color-bg-alt); color: var(--color-blue-600); }
.dropdown-see-all { border-top: 1px solid var(--color-border); margin-top: 0.25rem; padding-top: 0.75rem !important; color: var(--color-blue-600) !important; }
.header-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.header-call { padding: 0.6rem 0.7rem; font-size: 0.85rem; min-height: 44px; }
.header-call span { display: none; }
.btn-icon { width: 18px; height: 18px; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-navy-900);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav { position: relative; }
.mobile-panel {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-height);
  bottom: 0;
  background: var(--color-white);
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.mobile-group { display: flex; flex-direction: column; gap: 0.6rem; }
.mobile-group-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  margin: 0;
}
.mobile-group a { font-family: var(--font-display); font-weight: 600; color: var(--color-navy-900); text-decoration: none; padding-block: 0.35rem; }
@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
  .wordmark { font-size: 1.05rem; flex-shrink: 0; min-width: max-content; }
}
@media (min-width: 1240px) {
  .desktop-nav { gap: 1.1rem; font-size: 0.9rem; }
  .header-actions { gap: 0.5rem; }
  .header-call { padding: 0.6rem 0.75rem; font-size: 0.9rem; }
  .header-call span { display: inline; }
}

/* Language switcher (formerly LanguageSwitcher.astro <style>) */
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding-inline: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-navy-900);
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  z-index: 10;
}
.lang-panel a { padding: 0.55rem 0.7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--color-text); font-size: 0.9rem; font-weight: 500; }
.lang-panel a:hover { background: var(--color-bg-alt); }
.lang-panel a[aria-current='true'] { color: var(--color-blue-600); font-weight: 700; }

/* ============================================================
   Footer (formerly Footer.astro <style>)
   ============================================================ */
.site-footer { background: var(--color-navy-950); color: var(--color-on-dark); padding-block: 3rem 1.75rem; }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--color-white); text-decoration: none; }
.footer-wordmark span { color: var(--color-on-dark-link); }
.footer-brand p { color: var(--color-on-dark-muted); margin-block: 0.9rem 1.2rem; max-width: 32ch; }
.footer-brand-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-brand-ctas .btn { font-size: 0.9rem; padding: 0.7rem 1.1rem; }
.footer-talus-line { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; opacity: 0.85; }
.footer-talus-line img { display: block; height: 20px; width: auto; }
.footer-col h4 { color: var(--color-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--color-on-dark-muted); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-white); }
.footer-disclaimer { padding-block: 1.75rem; }
.footer-disclaimer h4 { color: var(--color-white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.footer-disclaimer p { color: var(--color-on-dark-muted); font-size: 0.82rem; max-width: 80ch; margin-bottom: 0.5rem; }
.footer-rights { color: var(--color-on-dark-faint); font-size: 0.82rem; margin: 0; }

/* ============================================================
   Mobile sticky action bar (formerly MobileStickyBar.astro <style>)
   ============================================================ */
.mobile-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex;
  height: var(--sticky-bar-height);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(10, 25, 48, 0.08);
}
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  text-align: center;
  padding-inline: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-call { background: var(--color-blue-600); color: var(--color-white); }
.sticky-whatsapp { background: #25d366; color: var(--color-white); }
.sticky-consult { background: var(--color-navy-950); color: var(--color-white); }
.sticky-icon { width: 16px; height: 16px; flex-shrink: 0; }
@media (min-width: 400px) {
  .sticky-btn { font-size: 0.85rem; gap: 0.4rem; }
  .sticky-icon { width: 18px; height: 18px; }
}
@media (min-width: 960px) { .mobile-sticky-bar { display: none; } }

/* ============================================================
   Consultation form (formerly ConsultationForm.astro <style>)
   ============================================================ */
.consult-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-pair { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 520px) { .form-row-pair { grid-template-columns: 1fr 1fr; } }
.form-row label, .radio-group-label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--color-navy-900); }
.form-row input[type='text'], .form-row input[type='tel'], .form-row input[type='email'], .form-row select, .form-row textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-text);
  appearance: auto;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--color-blue-600); }
.radio-group { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.radio-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}
.radio-pill:has(input:checked) { border-color: var(--color-blue-600); color: var(--color-blue-600); background: var(--color-bg-alt); }
.radio-pill input { width: 16px; height: 16px; flex-shrink: 0; }
.form-row-inline { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.form-row-inline label { font-weight: 500; font-size: 0.88rem; color: var(--color-text-muted); }
.form-row-inline input { margin-top: 0.2rem; width: 18px; height: 18px; flex-shrink: 0; }
.required-note { font-size: 0.8rem; color: var(--color-text-faint); margin: -0.5rem 0 0; }
.cf-status { border-radius: var(--radius-md); padding: 1rem 1.1rem; font-size: 0.92rem; }
.cf-status[data-state='success'] { background: var(--color-teal-100); color: var(--color-navy-900); border: 1px solid var(--color-teal-500); }
.cf-status[data-state='error'] { background: #fdecec; color: #7a1f1f; border: 1px solid #e0a3a3; }
.cf-status[data-state='validation'] { background: #fff6e5; color: #6b4b00; border: 1px solid #f0c968; }
.cf-status h3 { font-size: 1rem; margin: 0 0 0.35rem; color: inherit; }
.cf-status p { margin: 0; color: inherit; }

/* Hero quick contact card (formerly HeroQuickContact.astro <style>) */
.hero-quick-contact { background: var(--color-white); color: var(--color-text); }
.hero-quick-contact h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.hero-quick-contact p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

/* Workflow example row (formerly WorkflowExample.astro <style>) */
.workflow-item { display: flex; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--color-border); }
.workflow-item:first-child { padding-top: 0; }
.workflow-item:last-child { border-bottom: none; }
.workflow-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--color-teal-100);
  color: var(--color-teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.workflow-item p { color: var(--color-text-muted); margin: 0; }

/* Related links (formerly RelatedLinks.astro <style>) */
.related-grid { display: grid; gap: 1.75rem; }
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-links h3 { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }

/* ============================================================
   Homepage (formerly src/pages/[lang]/index.astro <style>)
   ============================================================ */
.hero { padding-block: clamp(3rem, 2.5rem + 2vw, 5.5rem) clamp(2rem, 1.6rem + 1.5vw, 3rem); background: var(--color-navy-950); color: var(--color-white); overflow: hidden; }
.hero-inner { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { color: var(--color-white); max-width: 20ch; }
.hero .lede { color: var(--color-on-dark); max-width: 60ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-block: 1.75rem; }
.hero-copy .hero-quick-contact { max-width: 440px; margin-top: 0.5rem; }
/* ============================================================
   Merchant Service Banner
   ============================================================ */
.merchant-service-banner {
  position: relative;
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-blue-700) 50%, var(--color-teal-600) 100%);
  overflow: hidden;
}

.merchant-service-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') center/cover;
  opacity: 0.5;
}

.merchant-banner-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

@media (min-width: 960px) {
  .merchant-banner-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.merchant-banner-content {
  color: var(--color-white);
}

.merchant-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-500);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.merchant-service-banner h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.merchant-lede {
  color: var(--color-on-dark);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 2rem;
}

.merchant-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.merchant-btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.merchant-btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy-950);
  border-color: var(--color-white);
}

.merchant-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.merchant-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.feature-icon {
  width: 18px;
  height: 18px;
  color: var(--color-teal-500);
  flex-shrink: 0;
}

.merchant-banner-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.merchant-banner-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.merchant-floating-badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 200px;
}

@media (min-width: 640px) {
  .merchant-floating-badge {
    right: -1.5rem;
    bottom: -1.5rem;
  }
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.badge-icon {
  width: 28px;
  height: 28px;
  color: var(--color-teal-600);
  flex-shrink: 0;
}

.badge-content > div {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy-950);
}

@media (max-width: 767px) {
  .merchant-service-banner {
    padding: 2.5rem 0;
  }
  
  .merchant-banner-visual {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .merchant-banner-image {
    max-width: 100%;
  }
  
  .merchant-floating-badge {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}

.image-form-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 3rem 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 29, 0.18) 0%, rgba(20, 24, 29, 0.08) 45%, rgba(20, 24, 29, 0.5) 100%),
    var(--page-hero-image, url('../images/hero-business-team.webp')) center 42% / cover no-repeat;
}
.image-form-hero-inner { display: flex; justify-content: flex-end; }
.hero-industry-beauty { --page-hero-image: url('../images/industry-salons.webp'); }
.hero-industry-restaurants { --page-hero-image: url('../images/industry-restaurants.webp'); }
.hero-industry-contractors { --page-hero-image: url('../images/industry-contractors.webp'); }
.hero-industry-towing { --page-hero-image: url('../images/industry-towing.webp'); }
.hero-industry-auto { --page-hero-image: url('../images/industry-auto-shops.webp'); }
.hero-industry-retail { --page-hero-image: url('../images/industry-retail.webp'); }
.image-form-hero .hero-quick-contact {
  width: min(100%, 440px);
  margin: 0;
  box-shadow: 0 24px 60px rgba(16, 22, 28, 0.24);
}
.hero-grid-form:empty { display: none; }
.hero-grid:has(.hero-grid-form:empty) { grid-template-columns: minmax(0, 1fr); }
.home-intro .hero-inner { padding-top: 1rem; padding-bottom: 1rem; }
.home-video-section h2 { text-align: center; margin-bottom: 1.5rem; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-navy-950);
  box-shadow: var(--shadow-md);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.universal-footer-form { border-top: 1px solid var(--color-border); }

@media (max-width: 767px) {
  .image-form-hero {
    min-height: 700px;
    align-items: end;
    padding: 8rem 0 1.25rem;
    background-position: 38% center;
  }
  .image-form-hero .hero-quick-contact { width: 100%; }
}
.hero-ctas .btn-secondary { color: var(--color-white); border-color: rgba(255, 255, 255, 0.6); }
.hero-ctas .btn-secondary:hover { background: var(--color-white); color: var(--color-navy-950); border-color: var(--color-white); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .hero-photo {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 640 / 643;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.45);
}
.hero-floating-card {
  position: absolute;
  left: -0.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
@media (min-width: 640px) { .hero-floating-card { left: -1.5rem; } }
.hero-floating-card img { border-radius: 8px; flex-shrink: 0; }
.hero-floating-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--color-teal-100);
  color: var(--color-teal-600);
  margin-bottom: 0.3rem;
}
.hero-floating-check svg { width: 11px; height: 11px; }
.hero-floating-card p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--color-navy-950); line-height: 1.25; }
.container.narrow { max-width: 760px; }
.how-it-helps-layout { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .how-it-helps-layout { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; }
  .how-it-helps-heading { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; }
}
.how-it-helps-heading h2 { max-width: 16ch; }
.statement-text { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.4; color: var(--color-white); letter-spacing: -0.01em; }
.areas-columns { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-block: 1.5rem; }
@media (min-width: 720px) { .areas-columns { grid-template-columns: repeat(3, 1fr); } }
.areas-columns h3 { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.text-link { display: inline-block; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.industries-tags { margin-top: 1.5rem; }
.contact-split { margin-bottom: 1.5rem; }

/* ============================================================
   Core pages: about/contact/faq/privacy/terms/solution
   (formerly src/pages/[lang]/[slug].astro <style>)
   ============================================================ */
.narrow-page { max-width: 800px; }
.solution-image { width: 100%; height: auto; border-radius: var(--radius-lg); margin-block: 1.5rem; box-shadow: var(--shadow-md); }
.content-section { margin-block: 2rem; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.contact-call-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
.final-contact { margin-top: 2.5rem; max-width: 560px; }

/* ============================================================
   Areas index (formerly src/pages/[lang]/fl/index.astro <style>)
   ============================================================ */
.county-section { margin-block: 2.5rem; }
.city-card { text-decoration: none; padding: 1.1rem 1.4rem; }
.city-card h3 { margin: 0; font-size: 1.02rem; color: var(--color-navy-950); }
.city-card:hover { border-color: var(--color-blue-600); }

/* ============================================================
   City hub / city-industry local-context block
   (formerly fl/[city]/index.astro and fl/[city]/[industry].astro <style>)
   ============================================================ */
.local-context { background: var(--color-bg-alt); border-color: var(--color-border); }
.local-context h2 { font-size: 1.1rem; }

/* ============================================================
   Industries index (formerly [industriesSegment]/index.astro <style>)
   ============================================================ */
.industry-cards { margin-block: 2rem; }
.industry-card { text-decoration: none; color: var(--color-text); transition: border-color 0.15s ease; }
.industry-card:hover { border-color: var(--color-blue-600); }
.industry-card h2 { font-size: 1.15rem; }
.industry-card p { color: var(--color-text-muted); margin: 0; }

/* ============================================================
   Industry hub (formerly [industriesSegment]/[industry].astro <style>)
   ============================================================ */
.industry-hero-image { width: 100%; height: auto; border-radius: var(--radius-lg); margin-block: 1.5rem; box-shadow: var(--shadow-md); }

/* ============================================================
   Thank-you / 404 (formerly thank-you.astro and 404.astro <style>)
   ============================================================ */
.thank-you, .not-found { text-align: center; padding-block: 5rem; }
.thank-you .lede, .not-found .lede { margin-inline: auto; }
.actions, .not-found-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
