/* =====================================================================
   Sonora Tax & Bookkeeping — Identity restored (v6)
   Cyan · Blue · Purple gradient identity on clean light backgrounds
   Gold only as a subtle accent. Refined spacing kept from v5.
   ===================================================================== */

:root {
  /* Cyan → Blue → Purple identity */
  --c1: #2EC7E6;
  --c2: #5B7CFA;
  --c3: #7B3FE4;

  /* Supporting cool deep tones */
  --ink:    #151B34;
  --ink-2:  #1B2142;
  --ink-3:  #232850;

  /* Light, slightly cool surfaces */
  --paper:    #FAFBFF;
  --paper-2:  #F4F5FC;
  --paper-3:  #EDEFF8;
  --paper-line: #E0E3F0;

  --text:        #1A1F3A;
  --text-soft:   rgba(26, 31, 58, 0.72);
  --text-muted:  rgba(26, 31, 58, 0.55);

  --on-dark:        #F5F7FF;
  --on-dark-soft:   rgba(245, 247, 255, 0.78);
  --on-dark-muted:  rgba(245, 247, 255, 0.55);

  /* Gold — accent only */
  --gold:      #D4A437;
  --gold-2:    #E0B94F;
  --gold-soft: #F0CE6B;

  /* Gradients */
  --grad-1:    linear-gradient(135deg, #2EC7E6 0%, #5B7CFA 50%, #7B3FE4 100%);
  --grad-2:    linear-gradient(135deg, #35D6E7 0%, #4D8DFF 50%, #6E3FF3 100%);
  --grad-3:    linear-gradient(90deg,  #32C5FF 0%, #5F6BFF 50%, #8A38F5 100%);
  --grad-text: linear-gradient(95deg, #2EC7E6 0%, #5B7CFA 45%, #7B3FE4 100%);
  --grad-soft: linear-gradient(135deg, rgba(46,199,230,0.10) 0%, rgba(91,124,250,0.10) 50%, rgba(123,63,228,0.10) 100%);
  --grad-gold: linear-gradient(180deg, #F0CE6B 0%, #D4A437 55%, #B58724 100%);
  --grad-rule: linear-gradient(90deg, transparent, #5B7CFA 30%, #7B3FE4 70%, transparent);

  /* Shadows — soft */
  --shadow-xs: 0 1px 2px rgba(15, 27, 58, 0.04);
  --shadow-sm: 0 4px 14px rgba(91, 124, 250, 0.08);
  --shadow-md: 0 14px 36px rgba(91, 124, 250, 0.12);
  --shadow-lg: 0 28px 64px rgba(91, 124, 250, 0.16);
  --shadow-grad: 0 18px 44px rgba(91, 124, 250, 0.25);
  --shadow-gold: 0 10px 26px rgba(212, 166, 42, 0.22);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------- Base ----------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ----------------------------- Typography helpers ----------------------------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c2);
  margin-bottom: 20px;
}
.section-eyebrow--center { justify-content: center; }
.section-eyebrow--light  { color: rgba(245, 247, 255, 0.85); }
.section-eyebrow--gold   { color: var(--gold-2); }
.section-eyebrow__rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--grad-3);
  opacity: 0.85;
}
.section-eyebrow--gold .section-eyebrow__rule { background: var(--gold); opacity: 0.7; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  color: var(--text);
}
.section-title span { display: block; }
.section-title--center { text-align: center; }
.section-title--light  { color: var(--on-dark); }
.section-title__divider {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--grad-3);
  opacity: 0.7;
  margin: 18px 0;
}
.section-title--center .section-title__divider { margin: 18px auto; }
.section-title__sub {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--text-soft);
}
.section-title--light .section-title__sub { color: rgba(245, 247, 255, 0.7); }

.section-lead {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.section-lead--right { text-align: left; max-width: 460px; margin: 0; }
.section-lead--light { color: rgba(245, 247, 255, 0.78); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  text-align: left;
  gap: 50px;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease, color .25s, border-color .25s;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn svg { width: 16px; height: 16px; }
.btn--lg { padding: 16px 28px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn--grad {
  background: var(--grad-1);
  color: #fff;
  box-shadow: var(--shadow-grad), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--grad:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(91, 124, 250, 0.32), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn--grad::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: var(--grad-2);
  filter: blur(14px);
  opacity: 0.28;
  z-index: -1;
  transition: opacity .3s;
}
.btn--grad:hover::after { opacity: 0.5; }

.btn--gold {
  background: var(--grad-gold);
  color: #2E2208;
  border-color: rgba(140, 106, 26, 0.45);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(212, 166, 42, 0.32), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn--outline {
  background: #fff;
  color: var(--text);
  border-color: var(--paper-line);
}
.btn--outline:hover {
  border-color: var(--c2);
  color: var(--c2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark);
  border-color: rgba(245, 247, 255, 0.3);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 247, 255, 0.5);
  transform: translateY(-1px);
}
.hero .btn--outline-light {
  background: #fff;
  color: var(--text);
  border-color: var(--paper-line);
}
.hero .btn--outline-light:hover {
  border-color: var(--c2);
  color: var(--c2);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--c2);
  border-color: rgba(91, 124, 250, 0.35);
}
.btn--ghost:hover {
  background: rgba(91, 124, 250, 0.06);
  border-color: var(--c2);
  color: var(--c3);
}

/* Stable width for nav CTA — prevents shift across languages */
.btn--nav-cta {
  min-width: 208px;
}

/* Google review button */
.btn--google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #DADCE0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  font-weight: 600;
}
.btn--google:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  border-color: #c8cad1;
}
.btn--google__g {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn--google__g svg { width: 18px; height: 18px; }
.btn__ext { width: 14px; height: 14px; opacity: 0.55; margin-left: 2px; }

/* ----------------------------- Flags ----------------------------- */
.flag {
  width: 20px; height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.10);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ----------------------------- Top Bar ----------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(245, 247, 255, 0.85);
  font-size: 12.5px;
  position: relative;
  z-index: 60;
}
.topbar__gradline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-3);
  opacity: 0.95;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 11px 32px;
  min-height: 44px;
}
.topbar__left, .topbar__center, .topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__flags { display: inline-flex; gap: 6px; align-items: center; }
.topbar__habla {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.topbar__center {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: rgba(245, 247, 255, 0.7);
}
.topbar__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c1);
  box-shadow: 0 0 10px var(--c1);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.topbar__addr, .topbar__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark);
  font-weight: 500;
  transition: color .2s;
}
.topbar__addr svg, .topbar__phone svg { width: 13px; height: 13px; color: var(--c1); }
.topbar__addr:hover, .topbar__phone:hover { color: var(--c1); }
.topbar__addr { color: rgba(245, 247, 255, 0.75); }

/* ----------------------------- LANGUAGE TOGGLE ----------------------------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-1) border-box;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: transform .25s ease, box-shadow .3s ease;
  /* stable width across EN/ES — "Español" and "English" balance well at 132px */
  min-width: 132px;
  justify-content: center;
}
.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(91, 124, 250, 0.18);
}
.lang-toggle__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-toggle__flag svg {
  width: 20px; height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
  display: block;
}
/* Swap flag based on current document lang — flag shows TARGET language */
[data-lang="en"] .lang-toggle .lang-toggle__flag--us { display: none; }
[data-lang="es"] .lang-toggle .lang-toggle__flag--mx { display: none; }

.lang-toggle__txt {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang-toggle--block { width: 100%; padding: 14px 20px; }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 255, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--paper-line);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled {
  background: rgba(250, 251, 255, 0.98);
  box-shadow: 0 1px 0 rgba(91,124,250,0.05), 0 12px 30px rgba(91,124,250,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 28px;
}

/* Brand mark */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav__logoWrap {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 12px;
  padding: 2px;
  background: var(--grad-1);
  box-shadow: 0 12px 26px rgba(91, 124, 250, 0.22);
  transition: transform .3s ease;
}
.nav__brand:hover .nav__logoWrap { transform: scale(1.03); }
.nav__logoGlow {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: var(--grad-1);
  filter: blur(16px);
  opacity: 0.35;
  z-index: -1;
}
.nav__logo {
  width: 100%; height: 100%;
  border-radius: 10px;
  background: var(--ink);
  padding: 8px;
  object-fit: contain;
}
.nav__brandtxt { display: flex; flex-direction: column; line-height: 1.05; }
.nav__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.nav__tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-top: 4px;
}

.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color .2s;
  /* Stable widths prevent layout shift between EN/ES labels */
  min-width: 88px;
  text-align: center;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  height: 2px;
  width: 0;
  background: var(--grad-3);
  border-radius: 2px;
  transition: width .3s ease, left .3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; left: 0; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__cta .btn { padding: 11px 20px; font-size: 13px; }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 8px;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 22px 32px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 14px 0;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--paper-line);
}
.nav__mobile a:last-of-type { border-bottom: 0; }
.nav__mobile .btn, .nav__mobile .lang-toggle { margin-top: 12px; }

/* ----------------------------- Aurora ----------------------------- */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.aurora--cyan   { width: 520px; height: 520px; background: radial-gradient(circle, rgba(46,199,230,0.5), transparent 70%); }
.aurora--blue   { width: 460px; height: 460px; background: radial-gradient(circle, rgba(91,124,250,0.45), transparent 70%); }
.aurora--purple { width: 540px; height: 540px; background: radial-gradient(circle, rgba(123,63,228,0.45), transparent 70%); }

@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(28px, -28px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-32px, 18px); }
}

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123,63,228,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(46,199,230,0.14), transparent 60%),
    linear-gradient(180deg, #F4F5FC 0%, #FAFBFF 70%);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.hero__aurora .aurora--cyan   { top: -120px; left: -100px; opacity: 0.42; animation: drift 16s ease-in-out infinite; }
.hero__aurora .aurora--blue   { top: 40%; right: -120px;    opacity: 0.32; animation: drift2 18s ease-in-out infinite; }
.hero__aurora .aurora--purple { bottom: -180px; left: 30%; opacity: 0.30; animation: drift 20s ease-in-out infinite; }
.aurora__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91,124,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,124,250,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}
.eyebrow__rule { width: 32px; height: 1px; background: var(--grad-3); display: inline-block; opacity: 0.8; }

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 22px;
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.hero__title-line {
  display: block;
  font-size: clamp(40px, 5.4vw, 68px);
  color: var(--text);
}
.hero__title-line--accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero__sub {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--text-soft);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
/* Stable button widths prevent layout shift on EN ↔ ES switch */
.hero__cta .btn { min-width: 200px; }

.hero__trustline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  margin-bottom: 32px;
  max-width: 560px;
  position: relative;
  backdrop-filter: blur(8px);
}
.hero__trustline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: var(--grad-1);
  border-radius: 4px 0 0 4px;
}
.hero__trustline strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  line-height: 1.35;
}
.hero__trustline span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 560px;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: 20px 0;
}
.stat {
  padding: 0 22px;
  border-right: 1px solid var(--paper-line);
}
.stat:last-child { border-right: none; }
.stat:first-child { padding-left: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.stat__num small { font-size: 17px; font-weight: 500; opacity: 0.85; }
.stat__lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__portraitWrap { position: relative; width: 100%; max-width: 420px; }
.hero__portraitGlow {
  position: absolute;
  inset: -28px;
  background: var(--grad-1);
  filter: blur(60px);
  opacity: 0.28;
  z-index: 0;
  border-radius: 50%;
}
.hero__portrait {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
  background: var(--grad-1);
  box-shadow: var(--shadow-lg);
}
.hero__portrait::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 5px;
  background: var(--paper);
  z-index: 0;
}
.hero__portrait img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
}
.hero__chip strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.hero__chip span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.hero__chip svg { width: 22px; height: 22px; color: var(--gold-2); flex-shrink: 0; }
.hero__chip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad-1);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(91, 124, 250, 0.7);
}
.hero__chip--top    { top: 24px; left: -28px; animation: drift 8s ease-in-out infinite; }
.hero__chip--bottom { bottom: 90px; right: -32px; animation: drift2 10s ease-in-out infinite; }

.hero__namecard {
  margin-top: 26px;
  padding: 16px 22px;
  border-radius: 4px;
  background: var(--ink);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  text-align: left;
  position: relative;
}
.hero__namecard::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: var(--grad-1);
  opacity: 0.16;
  border-radius: 0 4px 4px 0;
  pointer-events: none;
}
.hero__namecard-name {
  position: relative;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--on-dark);
}
.hero__namecard-rule {
  position: relative;
  width: 24px; height: 1px;
  background: var(--gold);
  margin: 6px 0;
}
.hero__namecard-role {
  position: relative;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  line-height: 1.4;
}

/* ----------------------------- Trust Strip ----------------------------- */
.strip {
  background: var(--grad-1);
  color: #fff;
  position: relative;
}
.strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 20% 50%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(ellipse 30% 40% at 80% 50%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 26px 32px;
}
.strip__item { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.strip__item svg { width: 20px; height: 20px; color: var(--gold-soft); flex-shrink: 0; }
.strip__item strong { display: block; font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.strip__item span { display: block; font-family: var(--serif); font-style: italic; font-size: 12.5px; color: rgba(255,255,255,0.8); margin-top: 2px; }
.strip__sep { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.25); }

/* ----------------------------- ABOUT — full-image editorial layout ----------------------------- */
.about {
  background: var(--paper);
  padding: 110px 0;
  position: relative;
}
.about__inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) 1.1fr;
  gap: 72px;
  align-items: center;
}

.about__media {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* .about__media-frame base rules removed — markup uses .feature__media-frame.
   Final About image styles live in the single block at the bottom of this file. */

.about__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 0;
  border-top: 1px solid var(--paper-line);
}
.about__caption-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.about__caption-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__copy {
  display: flex;
  flex-direction: column;
}
.about__copy .section-title { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.about__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 22px;
  line-height: 1.4;
  font-weight: 500;
}
.about__lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 560px;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 16px;
  max-width: 560px;
}
.about__list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
}
.about__list-num {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
  padding: 3px 0;
  border-right: 1px solid var(--paper-line);
  text-align: center;
  padding-right: 10px;
}
.about__list li strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.about__list li span { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }

/* Credentials strip */
.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 26px;
  max-width: 560px;
}
.about__credentials-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__credentials-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cred-chip:hover {
  border-color: var(--c2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.cred-chip__logo {
  width: 22px; height: 22px;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
}
.cred-chip__linkedin {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: #0A66C2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cred-chip__linkedin svg { width: 13px; height: 13px; }

.about__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ----------------------------- Feature ----------------------------- */
.feature {
  position: relative;
  background: linear-gradient(135deg, #151B34 0%, #1B2142 50%, #232850 100%);
  color: var(--on-dark);
  padding: 120px 0;
  overflow: hidden;
}
.feature__bg { position: absolute; inset: 0; pointer-events: none; }
.feature__bg .aurora--cyan   { top: -100px; left: -120px; opacity: 0.32; animation: drift 18s ease-in-out infinite; }
.feature__bg .aurora--purple { bottom: -180px; right: -100px; opacity: 0.36; animation: drift2 20s ease-in-out infinite; }
.feature__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature__copy .section-title { color: var(--on-dark); }
.feature__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin: 0 0 28px;
  max-width: 580px;
}
.feature__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 10px;
  max-width: 580px;
}
.feature__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--on-dark-soft);
  padding: 13px 18px;
  background: rgba(245, 247, 255, 0.04);
  border: 1px solid rgba(245, 247, 255, 0.08);
  border-radius: 4px;
  transition: border-color .3s, background .3s;
}
.feature__list li:hover { border-color: rgba(91,124,250,0.45); background: rgba(91,124,250,0.06); }
.feature__list li strong { color: var(--on-dark); font-weight: 600; margin-right: 4px; }
.feature__list li span { color: var(--on-dark-muted); }
.feature__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-1);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.feature__media { position: relative; }
.feature__media-glow {
  position: absolute;
  inset: -32px;
  background: var(--grad-1);
  filter: blur(70px);
  opacity: 0.35;
  border-radius: 50%;
}
.feature__media-frame {
  position: relative;
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
  background: var(--grad-1);
  box-shadow: var(--shadow-grad);
}
.feature__media-frame img {
  width: 100%;
  border-radius: 5px;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.feature__floater {
  position: absolute;
  z-index: 2;
  bottom: -24px; left: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--ink);
  border: 1px solid rgba(245, 247, 255, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.feature__floater-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.feature__floater-num small { font-size: 13px; opacity: 0.85; }
.feature__floater strong { display: block; font-size: 12.5px; color: var(--on-dark); font-weight: 700; }
.feature__floater span { display: block; font-size: 11.5px; color: var(--on-dark-muted); margin-top: 2px; }

/* ----------------------------- Services ----------------------------- */
.services {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  padding: 110px 0;
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 100%);
  height: 1px;
  background: var(--grad-rule);
  opacity: 0.55;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 30px 26px 26px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--paper-line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-1);
  opacity: 0;
  transition: opacity .35s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 124, 250, 0.3);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: linear-gradient(180deg, #fff 0%, #FAFBFF 100%);
  border-color: rgba(91, 124, 250, 0.35);
}
.service-card--featured::before { opacity: 1; }
.service-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }

.service-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad-1);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(91, 124, 250, 0.25);
}
.service-card__ico {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: var(--grad-1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(91, 124, 250, 0.25);
}
.service-card__ico svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.2;
}
.service-card p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------- Why ----------------------------- */
.why {
  position: relative;
  background: linear-gradient(135deg, #1B2142 0%, #232850 50%, #1B2142 100%);
  color: var(--on-dark);
  padding: 110px 0;
  overflow: hidden;
}
.why__bg { position: absolute; inset: 0; pointer-events: none; }
.why__bg .aurora--cyan   { top: -150px; right: -100px; opacity: 0.28; animation: drift 22s ease-in-out infinite; }
.why__bg .aurora--purple { bottom: -200px; left: -150px; opacity: 0.32; animation: drift2 24s ease-in-out infinite; }
.why .container { position: relative; z-index: 1; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  position: relative;
  padding: 30px 26px;
  background: rgba(245, 247, 255, 0.04);
  border: 1px solid rgba(245, 247, 255, 0.10);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s, background .3s;
}
.why-card:hover {
  transform: translateY(-3px);
  background: rgba(245, 247, 255, 0.07);
  border-color: rgba(91, 124, 250, 0.45);
}
.why-card__ico {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--grad-1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(91, 124, 250, 0.3);
}
.why-card__ico svg { width: 22px; height: 22px; }
.why-card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 0 0 8px; color: var(--on-dark); }
.why-card p { font-size: 13.5px; color: var(--on-dark-muted); margin: 0; line-height: 1.6; }

/* ----------------------------- Leave a Review ----------------------------- */
.review {
  background: var(--paper);
  padding: 110px 0;
  position: relative;
}
.review__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F5FC 100%);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 56px 52px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.review__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-1);
}
.review__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(123,63,228,0.08), transparent 70%),
    radial-gradient(ellipse 30% 40% at 0% 100%, rgba(46,199,230,0.08), transparent 70%);
  pointer-events: none;
}
.review__copy { position: relative; z-index: 1; }
.review__support {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-1);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(91, 124, 250, 0.25);
}
.review__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
}
.review__title span { display: block; }
.review__lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 560px;
}
.review__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.review__hint { font-size: 12.5px; color: var(--text-muted); }

.review__visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}
.review__visualGlow {
  position: absolute;
  inset: 0;
  background: var(--grad-1);
  filter: blur(60px);
  opacity: 0.14;
  border-radius: 50%;
  z-index: -1;
}
.review__stars {
  display: flex;
  gap: 6px;
  font-size: 38px;
  color: #FBBC05;
  margin-bottom: 14px;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(251, 188, 5, 0.35);
}
.review__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 12px;
}
.review__g { width: 22px; height: 22px; }
.review__visualNote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 280px;
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------- CTA Banner ----------------------------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #2EC7E6 0%, #5B7CFA 50%, #7B3FE4 100%);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}
.cta-banner__bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.cta-banner__bg .aurora--cyan   { top: -100px; left: 5%;  opacity: 0.4; animation: drift 16s ease-in-out infinite; }
.cta-banner__bg .aurora--blue   { top: 30%; left: 50%;     opacity: 0.3; }
.cta-banner__bg .aurora--purple { bottom: -150px; right: 5%; opacity: 0.4; animation: drift2 18s ease-in-out infinite; }
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent, rgba(21, 27, 52, 0.16));
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.cta-banner__rule { width: 64px; height: 1px; background: var(--gold); margin: 0 auto 24px; }
.cta-banner__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12;
  margin: 0 0 22px;
  color: #fff;
}
.cta-banner__title span { display: block; }
.cta-banner__sub {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 34px;
  line-height: 1.55;
}
.cta-banner__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------- FAQ ----------------------------- */
.faq { background: var(--paper); padding: 110px 0; }
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--paper-line); }
.faq-item { border-bottom: 1px solid var(--paper-line); transition: background .3s; }
.faq-item[open] { background: linear-gradient(180deg, rgba(46,199,230,0.04), rgba(123,63,228,0.02)); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.faq-item__plus {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-1);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500;
  flex-shrink: 0;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 5px 14px rgba(91, 124, 250, 0.28);
}
.faq-item[open] .faq-item__plus { transform: rotate(45deg); box-shadow: 0 6px 18px rgba(91, 124, 250, 0.4); }
.faq-item__body { padding: 0 4px 24px; max-width: 720px; }
.faq-item__body p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-soft); }

/* ----------------------------- Map Section ----------------------------- */
.map {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding: 110px 0;
  position: relative;
}
.map__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
.map__copy { display: flex; flex-direction: column; justify-content: center; }
.map__copy .section-title { font-size: clamp(32px, 3.4vw, 42px); margin-bottom: 16px; }
.map__lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 480px;
}
.map__details {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
}
.map__detail {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.map__detail:hover {
  border-color: rgba(91, 124, 250, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.map__detail-ico {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c2);
  flex-shrink: 0;
}
.map__detail-ico svg { width: 18px; height: 18px; }
.map__detail strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.map__detail span,
.map__detail a {
  display: block;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 500;
}
.map__detail a { color: var(--c2); transition: color .2s; }
.map__detail a:hover { color: var(--c3); }
.map__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.map__embed { position: relative; min-height: 440px; }
.map__embed-frame {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: 10px;
  overflow: hidden;
  padding: 2px;
  background: var(--grad-1);
  box-shadow: var(--shadow-md);
}
.map__embed-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
  border-radius: 8px;
  background: #fff;
}
.map__pin {
  position: absolute;
  bottom: -20px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.map__pin:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c2);
}
.map__pin-ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.map__pin-ico svg { width: 16px; height: 16px; }
.map__pin strong { display: block; font-size: 13.5px; color: var(--text); font-weight: 700; }
.map__pin em { display: block; font-style: normal; font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* ----------------------------- Footer ----------------------------- */
.footer {
  background: var(--ink);
  color: rgba(245, 247, 255, 0.7);
  padding-top: 72px;
  position: relative;
}
.footer__divider {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-3);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 56px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
  font-weight: 700;
}
.footer__col a, .footer__col span {
  color: rgba(245, 247, 255, 0.62);
  font-size: 13.5px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--c1); }

.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__logoRow { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.footer__logoWrap {
  position: relative;
  width: 66px; height: 66px;
  border-radius: 12px;
  padding: 2px;
  background: var(--grad-1);
  box-shadow: 0 10px 22px rgba(91, 124, 250, 0.22);
  flex-shrink: 0;
}
.footer__logoGlow {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: var(--grad-1);
  filter: blur(14px);
  opacity: 0.32;
  z-index: -1;
}
.footer__logo {
  width: 100%; height: 100%;
  background: var(--ink-2);
  border-radius: 10px;
  padding: 9px;
  object-fit: contain;
}
.footer__name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--on-dark); line-height: 1; }
.footer__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 6px;
  font-weight: 700;
}
.footer__identity {
  color: rgba(245, 247, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-style: italic;
}

.footer__flagchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(91,124,250,0.35);
  background: rgba(91,124,250,0.06);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c1);
  margin: 4px 0 16px;
  width: fit-content;
}

.footer__social { display: flex; gap: 10px; }
.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 255, 0.18);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  transition: all .25s;
}
.footer__linkedin svg { width: 16px; height: 16px; color: #0A66C2; }
.footer__linkedin:hover {
  background: rgba(245, 247, 255, 0.06);
  border-color: var(--c1);
  color: var(--c1) !important;
  transform: translateY(-1px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  font-size: 12px;
  color: rgba(245, 247, 255, 0.5);
  border-top: 1px solid rgba(245, 247, 255, 0.08);
  flex-wrap: wrap;
  gap: 10px;
}
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  letter-spacing: 0.08em;
}

/* ----------------------------- Modal ----------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; animation: modalFade .3s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 27, 52, 0.7);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(91, 124, 250, 0.18);
  padding: 44px 38px 32px;
  animation: modalPop .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-1);
  border-radius: 12px 12px 0 0;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: all .25s;
  z-index: 2;
}
.modal__close:hover { background: var(--grad-1); color: #fff; border-color: transparent; transform: rotate(90deg); }
.modal__close svg { width: 16px; height: 16px; }

.modal__header { text-align: center; margin-bottom: 28px; }
.modal__title { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 12px 0 8px; color: var(--text); line-height: 1.15; }
.modal__sub { color: var(--text-soft); font-size: 14px; margin: 0; line-height: 1.5; }

.modal__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.15);
}
.field textarea { resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap svg {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--c2);
  pointer-events: none;
}
.modal__note { text-align: center; font-size: 12px; color: var(--text-muted); margin: 8px 0 0; }

.modal__success { text-align: center; padding: 12px 6px 0; }
.modal__success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  box-shadow: var(--shadow-grad);
}
.modal__success-ico svg { width: 28px; height: 28px; }
.modal__success h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.modal__success p { color: var(--text-soft); margin: 0 0 22px; line-height: 1.5; }

/* ----------------------------- MULTI-SELECT (Services) ----------------------------- */
.multiselect {
  position: relative;
  width: 100%;
}
.multiselect__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.multiselect__trigger:hover { border-color: rgba(91, 124, 250, 0.45); }
.multiselect.is-open .multiselect__trigger,
.multiselect__trigger:focus {
  outline: none;
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.15);
}
.multiselect__label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
  font-weight: 500;
}
.multiselect.has-selection .multiselect__label { color: var(--text); font-weight: 600; }
.multiselect__chev {
  width: 14px; height: 14px;
  color: var(--c2);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.multiselect.is-open .multiselect__chev { transform: rotate(180deg); }

.multiselect__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.multiselect__panel[hidden] { display: none; }

.multiselect__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  transition: background .2s;
  user-select: none;
}
.multiselect__option:hover { background: var(--paper-2); }
.multiselect__option input[type="checkbox"] {
  /* visually-hidden but accessible */
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.multiselect__check {
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--paper-line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.multiselect__check svg { width: 12px; height: 12px; }
.multiselect__option input:checked + .multiselect__check {
  background: var(--grad-1);
  border-color: transparent;
  color: #fff;
}
.multiselect__option input:focus-visible + .multiselect__check {
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.2);
}

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1180px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 80px; }
  .hero__visual { padding: 0; max-width: 420px; margin: 0 auto; }
  .hero__chip--top { left: 0; }
  .hero__chip--bottom { right: 0; }
  .about__inner { grid-template-columns: 1fr; gap: 60px; max-width: 760px; margin: 0 auto; }
  .about__media { max-width: 520px; margin: 0 auto; align-self: center; width: 100%; }
  .feature__inner { grid-template-columns: 1fr; gap: 70px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; gap: 22px; }
  .section-lead--right { max-width: 640px; }
  .review__card { grid-template-columns: 1fr; gap: 36px; padding: 44px 36px; }
  .map__inner { grid-template-columns: 1fr; gap: 44px; }
  .map__embed-frame, .map__embed-frame iframe { min-height: 380px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .topbar__center { display: none; }
}

@media (max-width: 820px) {
  .container { padding: 0 22px; }
  .topbar__inner { padding: 10px 22px; flex-wrap: wrap; gap: 10px; min-height: 0; }
  .topbar__addr { display: none; }
  .topbar__habla { font-size: 13px; }

  .nav__inner { padding: 14px 22px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__logoWrap { width: 56px; height: 56px; }
  .nav__name { font-size: 24px; }

  .hero { padding: 56px 0 80px; }
  .hero__title-line { font-size: 36px; }
  .hero__stats { grid-template-columns: 1fr; padding: 16px 0; }
  .stat { padding: 12px 0; border-right: none; border-bottom: 1px solid var(--paper-line); }
  .stat:last-child { border-bottom: none; }
  .stat:first-child { padding-top: 0; }

  .strip__inner { flex-direction: column; gap: 18px; padding: 26px 22px; }
  .strip__sep { display: none; }

  .about, .feature, .services, .why, .review, .map, .faq { padding: 72px 0; }
  .feature { padding: 84px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }

  .feature__floater { left: 0; bottom: -20px; }

  .review__card { padding: 36px 22px; }
  .review__visual { padding: 16px 0 0; }
  .review__stars { font-size: 32px; }

  .map__embed-frame, .map__embed-frame iframe { min-height: 320px; }
  .map__pin { left: 12px; right: 12px; }

  .section-title { font-size: 30px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer__logoWrap { width: 60px; height: 60px; }
  .footer__name { font-size: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; padding: 22px; }

  .modal__card { padding: 36px 22px 26px; }
  .modal__title { font-size: 24px; }
  .field-row { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__title-line { font-size: 30px; }
  .hero__chip { padding: 10px 12px; }
  .hero__chip strong { font-size: 12px; }
  .hero__namecard { padding: 14px 18px; }
  .review__card { padding: 30px 18px; }
  .review__title { font-size: 24px; }
  .faq-item summary { padding: 20px 4px; gap: 12px; }
  .faq-item__q { font-size: 17px; }
  .btn { font-size: 13px; padding: 11px 18px; gap: 8px; }
  .btn--lg { font-size: 14px; padding: 14px 22px; }
  .btn--nav-cta { min-width: 0; }
}

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

/* FIX: nav cropping on desktop */
.nav {
  overflow: visible !important;
}

.nav__inner {
  max-width: 1440px;
  overflow: visible !important;
  gap: 18px;
}

.nav__links {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 26px);
  min-width: 0;
}

.nav__cta {
  flex-shrink: 0;
}

.nav__brand {
  flex-shrink: 0;
}

@media (min-width: 821px) and (max-width: 1280px) {
  .nav__brandtxt {
    display: none;
  }

  .btn--nav-cta {
    min-width: 176px;
  }

  .lang-toggle {
    min-width: 118px;
  }
}

/* ============== NEW ST LOGO IN NAV BRAND BOX ============== */
.nav__brand {
  cursor: pointer;
  transition: transform .3s ease;
}
.nav__logoWrap {
  background: #000 !important;
  padding: 10px !important;
  border-radius: 12px;
  position: relative;
  transition: transform .3s ease, box-shadow .35s ease;
  box-shadow: 0 12px 26px rgba(91, 124, 250, 0.22);
}
.nav__logo {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #000;
  border-radius: 6px;
  padding: 0;
}
.nav__logoGlow {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: var(--grad-1);
  filter: blur(16px);
  opacity: 0.4;
  z-index: -1;
  transition: opacity .35s ease, inset .35s ease;
}
/* Hover: subtle scale + glow intensifies */
.nav__brand:hover .nav__logoWrap {
  transform: scale(1.05);
  box-shadow: 0 18px 36px rgba(91, 124, 250, 0.32);
}
.nav__brand:hover .nav__logoGlow {
  inset: -10px;
  opacity: 0.7;
}

/* Same treatment for the footer logo box */
.footer__logo {
  background: #000 !important;
  object-fit: contain !important;
  padding: 8px !important;
}

/* ============== STABLE LANGUAGE TOGGLE WIDTH ============== */
.lang-toggle {
  width: 150px;
  min-width: 150px;
  justify-content: center;
}
.lang-toggle--block {
  width: 100%;
  min-width: 100%;
}

/* ============== REAL FLAG EMOJI (Mexico + US) ============== */
.flag-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  /* Force the system emoji fonts so flag glyphs render reliably */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
               "Twemoji Mozilla", "EmojiOne Color", "Android Emoji", sans-serif;
  letter-spacing: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
}
.topbar__flags .flag-emoji { font-size: 17px; }
.lang-toggle__flag.flag-emoji { font-size: 18px; }
.lang-toggle__flag svg { display: none; } /* hide any leftover SVG flag inside the toggle */

/* ============== NAV STABILITY — keep CTA visible, no shift on EN↔ES ============== */
.nav__inner {
  flex-wrap: nowrap;
  gap: 16px;
  overflow: visible !important;
}
.nav__links {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 22px);
  min-width: 0;
}
.nav__links a {
  min-width: 72px;             /* tighter than 88px so the CTA never gets cropped */
  text-align: center;
  white-space: nowrap;
}
.nav__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  width: 150px;
  min-width: 150px;
  justify-content: center;
}
.btn--nav-cta {
  min-width: 200px;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 821px) and (max-width: 1280px) {
  .nav__brandtxt { display: none; }   /* free up room — keep logo, drop wordmark */
  .nav__links a   { min-width: 64px; }
  .btn--nav-cta   { min-width: 172px; }
}

/* ============== PRECISE IMAGE FIT FIXES ============== */

/* NAV LOGO — fill the gradient-bordered square edge-to-edge */
.nav__logoWrap {
  width: 68px;
  height: 68px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px;
}

.nav__logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  border-radius: 12px;
}

/* ============== SPANISH NAV FORMATTING ============== */
[data-lang="es"] .nav__links {
  gap: 14px;
}

[data-lang="es"] .nav__links a {
  min-width: auto;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 13.5px;
}

[data-lang="es"] .btn--nav-cta {
  min-width: 190px;
}

[data-lang="es"] .lang-toggle {
  min-width: 140px;
}

/* ============== RESPONSIVE NAV SAFETY (1200–1400px range) ============== */
@media (max-width: 1300px) {
  .nav__links {
    gap: 14px;
  }

  .nav__links a {
    min-width: auto;
    font-size: 13.5px;
  }

  .nav__brandtxt {
    max-width: 250px;
  }

  .btn--nav-cta {
    min-width: 185px;
  }
}

/* ============== FOOTER LOGO — match the nav logo exactly ============== */
.footer__logoWrap {
  width: 66px;
  height: 66px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px;
  background: var(--grad-1);
  position: relative;
  flex-shrink: 0;
}
.footer__logoGlow { display: none !important; }
.footer__logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  background: transparent !important;
  border-radius: 12px;
}

/* ============== ABOUT IMAGE — final, single source of truth ============== */
/* All earlier .about__media-frame / .about .feature__media-frame overrides
   have been deleted. This block is the only one. */

.about__inner {
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(48px, 5vw, 84px);
}

.about__media {
  width: 100%;
  max-width: none !important;
  justify-self: stretch;
  margin: 0;
}

.about__media .feature__media-frame {
  width: 100%;
  display: block;
  padding: 2px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #2EC7E6, #5B7CFA, #7B3FE4);
  box-shadow: 0 18px 44px rgba(91, 124, 250, 0.18);
  line-height: 0;
}

.about__media .feature__media-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto !important;
  object-fit: initial !important;
  object-position: initial !important;
  margin: 0;
  padding: 0;
  border-radius: 16px;
}

.about__caption {
  margin-top: 18px;
}

/* ============== MOBILE AUDIT FIXES ============== */

/* 1. ABOUT — stack image above text below 1100px */
@media (max-width: 1100px) {
  .about__inner {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    max-width: 720px;
    margin: 0 auto;
  }
  .about__media {
    max-width: 560px !important;
    margin: 0 auto !important;
    justify-self: center !important;
  }
}

/* 2. NAV — prevent brand tag from pushing the burger off-screen on small phones */
@media (max-width: 540px) {
  .nav__tag { display: none; }
  .nav__name { font-size: 22px; }
  .nav__logoWrap { width: 50px; height: 50px; }
  .nav__inner { padding: 12px 18px; gap: 12px; }
  .nav__brand { gap: 12px; }
  .nav__burger { width: 42px; height: 42px; }
}

/* 3. HERO — stack CTAs full-width on small phones for clean tap targets */
@media (max-width: 540px) {
  .hero { padding: 48px 0 64px; }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__cta .btn {
    min-width: 0;
    width: 100%;
  }
  .hero__title-line { font-size: 28px; }
  .hero__sub { font-size: 15px; }
  .hero__trustline { padding: 12px 14px; }
  .hero__trustline strong { font-size: 14.5px; }
}

/* 4. HERO portrait floating chips — keep inside frame on narrow widths */
@media (max-width: 540px) {
  .hero__portraitWrap { max-width: 320px; }
  .hero__chip {
    padding: 8px 12px;
    font-size: 11.5px;
    max-width: calc(100% - 8px);
  }
  .hero__chip--top    { left: 4px; top: 12px; }
  .hero__chip--bottom { right: 4px; bottom: 60px; }
  .hero__chip svg     { width: 18px; height: 18px; }
  .hero__chip strong  { font-size: 12px; }
  .hero__chip span    { font-size: 10.5px; }
}

/* 5. TOPBAR — keep phone visible, stack flag + habla + phone neatly */
@media (max-width: 540px) {
  .topbar__inner {
    padding: 10px 18px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .topbar__habla { font-size: 12.5px; }
  .topbar__phone { font-size: 12.5px; }
}

/* 6. SERVICES / WHY — keep card text/icons from clipping at narrow widths */
@media (max-width: 540px) {
  .service-card { padding: 26px 22px 22px; }
  .service-card h3 { font-size: 20px; }
  .why-card { padding: 26px 22px; }
  .why-card h3 { font-size: 19px; }
}

/* 7. MODAL — guarantee internal scroll + tappable fields on short screens */
@media (max-width: 540px), (max-height: 760px) {
  .modal { padding: 12px; }
  .modal__card {
    max-height: calc(100vh - 24px);
    padding: 32px 20px 24px;
    border-radius: 10px;
  }
  .modal__title { font-size: 22px; }
  .field input,
  .field textarea,
  .field select,
  .multiselect__trigger {
    font-size: 16px;          /* prevent iOS auto-zoom on focus */
    min-height: 46px;
  }
  .multiselect__option { min-height: 44px; padding: 12px; }
}
.multiselect__panel {
  max-height: min(280px, 50vh);
}

/* 8. FOOTER — single column, larger tap targets at small widths */
@media (max-width: 540px) {
  .footer__inner { gap: 28px; padding-bottom: 32px; }
  .footer__col a,
  .footer__col span { font-size: 14.5px; padding: 2px 0; }
  .footer__bottom { padding: 18px 18px; font-size: 11.5px; }
}

/* 9. GLOBAL — kill any horizontal scroll lurking on small viewports */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* 10. SPANISH labels at small width — let them wrap instead of pushing layout */
@media (max-width: 540px) {
  [data-lang="es"] .stat__lbl,
  [data-lang="es"] .why-card h3,
  [data-lang="es"] .service-card h3 { word-break: normal; overflow-wrap: anywhere; }
}

/* ============== MOBILE NAVBAR — tight one-row layout under 540px ============== */
@media (max-width: 540px) {

  /* Reveal the lang-toggle + CTA cluster on phones, hide the hamburger */
  .nav__cta    { display: flex !important; }
  .nav__burger { display: none !important; }
  .nav__links  { display: none; }

  /* 8. Reduce navbar container padding + keep one row vertically centered */
  .nav__inner {
    padding: 10px 14px !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* 2. Slightly smaller logo */
  .nav__logoWrap {
    width: 48px !important;
    height: 48px !important;
  }

  /* 3. Smaller wordmark / 4. hide tagline */
  .nav__name { font-size: 18px !important; }
  .nav__tag  { display: none !important; }
  .nav__brand {
    gap: 10px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }
  .nav__brandtxt { min-width: 0 !important; }

  /* 5. Compact language toggle */
  .lang-toggle {
    width: auto !important;
    min-width: auto !important;
    padding: 10px 14px !important;
    gap: 8px !important;
    font-size: 15px !important;
    flex-shrink: 0;
  }

  /* 6. Compact CTA button */
  .btn--nav-cta {
    padding: 12px 18px !important;
    font-size: 15px !important;
    min-width: auto !important;
    white-space: nowrap !important;
    flex-shrink: 1;
  }

  /* 7. Allow the actions cluster to shrink as a whole */
  .nav__cta {
    gap: 10px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
}

/* ============== CTA label swap — long on desktop, short on mobile ============== */
.btn--nav-cta .nav-cta__short { display: none; }
.btn--nav-cta .nav-cta__full  { display: inline; }

@media (max-width: 540px) {
  /* Hide the Sonora wordmark on phones — keep just the logo, lang toggle, CTA */
  .nav__brandtxt { display: none !important; }

  /* Shorten the CTA label */
  .btn--nav-cta .nav-cta__full  { display: none !important; }
  .btn--nav-cta .nav-cta__short { display: inline !important; }
}

/* ============== DESKTOP NAV POLISH (>=821px) — tighten without redesign ============== */
@media (min-width: 821px) {
  .nav__inner   { gap: 14px !important; }

  .nav__links   { gap: clamp(8px, 0.9vw, 18px) !important; }
  .nav__links a { padding: 6px 2px !important; min-width: 64px !important; }

  .nav__cta     { gap: 10px !important; }

  .btn--nav-cta {
    min-width: 180px !important;
    padding: 11px 16px !important;
    font-size: 12.5px !important;
  }

  .lang-toggle {
    padding: 9px 14px !important;
  }
}
