/* =============================================================
   RHIZICON — styles.css
   Archetype: 04 Glassmorphism Modern (adaptado a paleta corporativa
   azul petróleo / negro grafito / dorado metálico + acento burdeos —
   inspiración firma internacional de consultoría / élite / estrategia).
   Un solo archivo, organizado por secciones. Sin build step, sin frameworks.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand palette (cliente) — azul petróleo, negro grafito, dorado
     metálico, acento burdeos. Nombres de variable heredados del
     sistema original (--navy/--blue/--green) para no romper cientos
     de referencias; los VALORES son los de la nueva identidad. */
  --navy:        #0D3B40;   /* azul petróleo — primario */
  --navy-2:      #0A2C30;   /* azul petróleo, sombra/gradiente */
  --blue:        #B8944F;   /* dorado metálico — acento principal */
  --blue-light:  #D8BD82;   /* dorado claro — hover/highlight */
  --blue-dark:   #8C6B32;   /* dorado oscuro — pressed/depth */
  --green:       #B8944F;   /* alias de dorado (antes verde) */
  --green-light: #D8BD82;
  --green-text:  #8A6A2E;   /* dorado AA-safe para texto sobre blanco */
  --graphite:      #1C1C1E; /* negro grafito — secundario */
  --graphite-soft: #46464A; /* grafito medio — texto atenuado */
  --burgundy:      #6E1F2A; /* acento burdeos — determinación, uso mínimo */
  --white:       #FFFFFF;
  --bg:          #F8F7F4;
  --ink:         #1C1C1E;
  --ink-mute:    #6B6B6E;
  --ink-soft:    #46464A;
  --line:        rgba(26, 26, 28, 0.10);
  --line-soft:   rgba(26, 26, 28, 0.06);

  --glass:        rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-dark:        rgba(255, 255, 255, 0.08);
  --glass-dark-border: rgba(255, 255, 255, 0.16);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(13, 59, 64, 0.08);
  --shadow-md: 0 12px 28px rgba(13, 59, 64, 0.12), 0 2px 6px rgba(13, 59, 64, 0.07);
  --shadow-lg: 0 26px 60px rgba(13, 59, 64, 0.18), 0 8px 20px rgba(184, 148, 79, 0.12);

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem); }
h3 { font-size: 1.2rem; }
::selection { background: var(--blue); color: var(--white); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--navy); color: var(--white);
  border-radius: 10px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .75rem;
}
.eyebrow--light { color: var(--green-light); }

.text-accent { color: var(--blue); }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-sub { color: var(--ink-mute); font-size: 1.06rem; margin-top: .85rem; max-width: 60ch; }

section { padding-block: clamp(4rem, 4vw + 2rem, 7rem); position: relative; }

/* =============================================================
   4. Glassmorphism components
   ============================================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
  }
}
.glass-card--dark {
  background: rgba(26, 26, 28, 0.55);
  border: 1px solid var(--glass-dark-border);
  color: var(--white);
}
@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
  .glass-card--dark {
    background: var(--glass-dark);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-align: center; position: relative;
  /* No white-space: nowrap here on purpose — long CTA labels (e.g. hero button)
     must be able to wrap on narrow screens. A nowrap button combined with a CSS
     Grid parent's default min-width:auto forces the whole grid track wider than
     the viewport, clipping content (see hero-grid / diagnostic-grid). */
  box-shadow: 0 4px 14px rgba(26, 26, 28, 0.08), 0 1px 3px rgba(26, 26, 28, 0.06);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(26, 26, 28, 0.16), 0 8px 18px rgba(184, 148, 79, 0.12); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn svg { width: 19px; height: 19px; flex: none; }

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

.btn-accent { background: var(--white); color: var(--navy); }
.btn-accent:hover { background: var(--white); color: var(--blue-dark); }

.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid rgba(184,148,79,0.35); box-shadow: none; }
.btn-outline:hover { background: rgba(184,148,79,0.08); border-color: var(--blue); box-shadow: var(--shadow-sm); }

.btn-ghost { background: rgba(26,26,28,0.04); color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: rgba(26,26,28,0.08); }

.btn-sm { padding: .62rem 1.2rem; font-size: .88rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* Magnetic wrapper (see gotcha: never on form submit) */
.has-magnetic { isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; justify-content: center; gap: inherit; will-change: transform; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
@supports (backdrop-filter: blur(16px)) {
  .nav.is-scrolled { backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 55%, var(--blue-dark) 130%);
  box-shadow: inset 0 0 0 1px rgba(216, 189, 130, 0.25);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-word { font-family: var(--sans); }

.nav-links { display: none; align-items: center; gap: 1.9rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding: .3rem 0; font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-actions .btn-primary { display: none; }
@media (min-width: 720px) { .nav-actions .btn-primary { display: inline-flex; } }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger-box { position: relative; width: 20px; height: 14px; display: block; }
.hamburger-box span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .35s var(--ease-soft), opacity .25s var(--ease-out), top .35s var(--ease-soft);
}
.hamburger-box span:nth-child(1) { top: 0; }
.hamburger-box span:nth-child(2) { top: 6px; }
.hamburger-box span:nth-child(3) { top: 12px; }
.hamburger[aria-expanded="true"] .hamburger-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-box span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open] { clip-path: inset(0); }
.nav-mobile nav { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.nav-mobile nav a { font-size: 1.55rem; font-weight: 600; }
.nav-mobile nav a:hover { color: var(--green-light); }
.nav-mobile .btn { background: var(--white); color: var(--navy); }

/* While the dark fullscreen mobile menu is open, the fixed nav bar above it
   has no background of its own — its navy wordmark/icon would otherwise sit
   invisible against the nav-mobile's navy backdrop. Force light color. */
html.menu-open .nav .brand-word { color: var(--white); }
html.menu-open .hamburger-box span { background: var(--white); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 5vw, 5rem));
  padding-bottom: clamp(3rem, 5vw, 5rem);
  overflow: clip;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(at 82% 8%, rgba(184, 148, 79, 0.16) 0%, transparent 55%),
    radial-gradient(at 8% 42%, rgba(216, 189, 130, 0.14) 0%, transparent 50%),
    radial-gradient(at 60% 92%, rgba(184, 148, 79, 0.10) 0%, transparent 50%),
    var(--bg);
  filter: blur(10px) saturate(140%);
  background-size: 200% 200%;
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 60%; }
}

.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; } }
/* Grid items default to min-width:auto, which lets a wide descendant (e.g. a
   long button label) force the whole track past the viewport. min-width:0
   lets the track shrink to the actual available space. */
.hero-copy, .hero-visual { min-width: 0; }

.hero-title {
  font-size: clamp(2.4rem, 1.9rem + 2.6vw, 3.7rem);
  max-width: 15ch;
  margin-block: 0 1.4rem;
}
.hero-body { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual { position: relative; margin-inline: auto; max-width: 480px; }
.hero-illustration { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(26,26,28,0.14)); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.stat-card {
  position: absolute; display: flex; flex-direction: column; gap: .1rem;
  padding: .85rem 1.1rem; border-radius: var(--radius);
  font-size: .82rem; color: var(--ink-mute); line-height: 1.25;
  box-shadow: var(--shadow-md);
}
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--navy); display: inline; }
.stat-suffix { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.stat-label { display: block; margin-top: .1rem; }
.stat-icon { width: 20px; height: 20px; color: var(--green-text); margin-bottom: .2rem; }
.stat-card--1 { top: -6%; left: -8%; }
.stat-card--2 { top: 36%; right: -12%; }
.stat-card--3 { bottom: -8%; left: 2%; max-width: 190px; }

@media (max-width: 719px) {
  .hero-visual { max-width: 320px; }
  .stat-card { position: static; margin-top: .9rem; width: 100%; max-width: none; }
  .stat-card--1, .stat-card--2, .stat-card--3 { position: static; }
}

/* =============================================================
   8. About / Nosotros
   ============================================================= */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-grid > * { min-width: 0; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }

.about-portrait { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.portrait-frame {
  width: 200px; height: 200px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(184,148,79,0.16), transparent 60%), var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.portrait-monogram {
  width: 156px; height: 156px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue) 65%, var(--green) 130%);
  color: var(--white); font-size: 2.6rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.14);
}
.portrait-quote {
  max-width: 320px; font-size: 1.02rem; font-style: italic; color: var(--ink-soft);
  border-left: 3px solid var(--burgundy); padding-left: 1rem; text-align: left;
}

.about-role { color: var(--blue); font-weight: 600; margin-bottom: 1.3rem; }
.about-copy p { margin-bottom: 1.15rem; color: var(--ink-soft); }
.about-copy h2 { margin-bottom: .3rem; }
.value-prop { color: var(--navy) !important; }
.value-prop strong { color: var(--navy); }

.indicator-row { display: grid; grid-template-columns: 1fr; gap: .9rem; margin-top: 1.8rem; }
@media (min-width: 560px) { .indicator-row { grid-template-columns: 1fr 1fr; } }
.indicator-row li {
  display: flex; align-items: center; gap: .7rem; padding: .8rem .95rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--ink-soft);
}
.indicator-row svg { width: 22px; height: 22px; color: var(--green-text); flex: none; }
.indicator-row strong { color: var(--navy); }

/* =============================================================
   9. Mission / Vision
   ============================================================= */
.mission-vision { background: linear-gradient(180deg, transparent, rgba(184,148,79,0.035) 40%, transparent); }
.mv-grid { display: grid; gap: 1.6rem; }
.mv-grid > * { min-width: 0; }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { padding: 2.4rem 2.2rem; }
.mv-tag {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: rgba(184,148,79,0.1); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.mv-tag--accent { color: var(--green-text); background: rgba(216,189,130,0.12); }
.mv-card p { color: var(--ink-soft); font-size: 1.04rem; }

/* =============================================================
   10. Values
   ============================================================= */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 620px)  { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  padding: 2rem 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .4s;
  transform-style: preserve-3d; will-change: transform;
}
.value-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(184,148,79,0.18); }
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(184,148,79,0.12), rgba(216,189,130,0.14));
  color: var(--blue);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: .5rem; }
.value-card p { color: var(--ink-mute); font-size: .96rem; }

/* =============================================================
   11. Services
   ============================================================= */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; padding: 2.1rem 1.9rem;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.1rem; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: .4rem; }
.service-hook { font-weight: 600; color: var(--blue); font-size: .98rem; margin-bottom: .6rem; }
.service-desc { color: var(--ink-mute); font-size: .95rem; margin-bottom: 1.1rem; }
.service-benefits { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.service-benefits li {
  position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--ink-soft);
}
.service-benefits li::before {
  content: ""; position: absolute; left: 0; top: .45rem; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}
.service-card .btn { align-self: flex-start; }

/* =============================================================
   12. Why choose us
   ============================================================= */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 620px)  { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid li {
  display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 500; color: var(--ink-soft); font-size: .95rem;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.why-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-grid svg { width: 24px; height: 24px; color: var(--blue); flex: none; }

/* =============================================================
   13. Process
   ============================================================= */
.process { background: var(--bg); }
.process-list { position: relative; max-width: 760px; margin-inline: auto; }
.process-list::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--blue), var(--green));
  opacity: .3;
}
@media (min-width: 720px) { .process-list::before { left: 33px; } }
.process-step {
  position: relative; display: flex; align-items: flex-start; gap: 1.3rem;
  padding-block: 1.3rem;
}
.process-num {
  position: absolute; left: 0; top: 1.3rem; font-size: .72rem; font-weight: 800; color: var(--ink-mute);
  transform: translateX(-1px);
}
.process-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  margin-left: 2px;
}
@media (min-width: 720px) { .process-icon { width: 66px; height: 66px; } }
.process-icon svg { width: 26px; height: 26px; }
.process-step h3 { margin-bottom: .3rem; }
.process-step p { color: var(--ink-mute); font-size: .96rem; }
.process-step:hover .process-icon { border-color: var(--blue); color: var(--blue-dark); transform: scale(1.06); }
.process-icon { transition: transform .4s var(--ease-soft), border-color .3s, color .3s; }

/* =============================================================
   14. Diagnostic (highlighted)
   ============================================================= */
.diagnostic {
  background: linear-gradient(135deg, var(--navy) 0%, #132242 55%, #0c1830 100%);
  color: var(--white); overflow: clip;
}
.diagnostic-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(at 85% 15%, rgba(184,148,79,0.35) 0%, transparent 55%),
    radial-gradient(at 10% 85%, rgba(216,189,130,0.28) 0%, transparent 50%);
  filter: blur(20px);
  animation: meshDrift 24s ease-in-out infinite;
}
.diagnostic-grid { position: relative; z-index: 1; display: grid; gap: 2.6rem; align-items: center; }
@media (min-width: 900px) { .diagnostic-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.diagnostic-grid > * { min-width: 0; }
.diagnostic h2 { color: var(--white); margin-bottom: 1.1rem; }
.diagnostic-lead { color: rgba(255,255,255,0.82); font-size: 1.06rem; max-width: 54ch; margin-bottom: 1.1rem; }
.diagnostic-note { font-weight: 700; color: var(--green-light); margin-bottom: 1.6rem; }
.diagnostic-checklist { padding: 2.1rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.diagnostic-checklist li { display: flex; align-items: flex-start; gap: .8rem; font-size: 1rem; color: rgba(255,255,255,0.92); }
.diagnostic-checklist svg { width: 22px; height: 22px; color: var(--green-light); flex: none; margin-top: .1rem; }

/* =============================================================
   15. Expect / promise quotes
   ============================================================= */
.expect-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 620px)  { .expect-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .expect-grid { grid-template-columns: repeat(4, 1fr); } }
.expect-card { padding: 1.9rem 1.6rem; position: relative; }
.quote-mark { font-size: 2.6rem; line-height: 1; color: var(--burgundy); opacity: .45; font-family: Georgia, serif; display: block; margin-bottom: .3rem; }
.expect-card p { font-size: 1.02rem; font-weight: 600; color: var(--navy); }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq-container { max-width: 840px; }
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .3rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(184,148,79,0.2); }
.faq-q {
  list-style: none; cursor: pointer; padding-block: 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-chevron { display: inline-flex; flex: none; color: var(--blue); transition: transform .4s var(--ease-soft); }
.faq-chevron svg { width: 20px; height: 20px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding-bottom: 1.3rem; color: var(--ink-soft); font-size: .98rem; max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-a { animation: faqIn .35s var(--ease-out); }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =============================================================
   17. Contact
   ============================================================= */
.contact { background: var(--bg); }
.contact-grid { display: grid; gap: 3rem; }
.contact-grid > * { min-width: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }

.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.8rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .9rem; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: .15rem; }
.contact-list strong { display: block; color: var(--navy); font-size: .92rem; }
.contact-list span { display: block; color: var(--ink-mute); font-size: .95rem; }
.contact-list em { font-style: italic; opacity: .75; }

.social-disclaimer { font-size: .78rem; color: var(--ink-mute); margin-top: .5rem; }

.social-row { display: flex; gap: .8rem; margin-top: 1.3rem; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  transition: transform .35s var(--ease-soft), color .3s, border-color .3s;
}
.social-row a:hover { transform: translateY(-3px); color: var(--blue); border-color: rgba(184,148,79,0.3); }
.social-row a svg { width: 20px; height: 20px; }
.social-row--footer a { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: var(--white); }

.contact-form-wrap { padding: clamp(1.8rem, 3vw, 2.6rem); position: relative; }
.cta-form { display: grid; grid-template-columns: 1fr; gap: 1.15rem; transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
@media (min-width: 560px) { .cta-form { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; position: absolute; inset: 0; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.35rem 1rem .55rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: inherit; font-size: .98rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(184,148,79,0.12); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1rem; pointer-events: none;
  color: var(--ink-mute); font-size: .98rem; transition: all .25s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .5rem; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); font-weight: 600;
}

.cta-submit { grid-column: 1 / -1; position: relative; margin-top: .3rem; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.35); border-top-color: var(--white);
  border-radius: 50%; animation: spin .85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-check { width: 20px; height: 20px; margin-inline: auto; }
.cta-form-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease-out); }

.cta-success {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .6rem; padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .7s var(--ease-out) .2s, transform .8s var(--ease-soft) .2s;
  transform: translateY(10px);
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cta-success svg { width: 52px; height: 52px; color: var(--green-text); margin-bottom: .3rem; }
.cta-success h3 { font-size: 1.3rem; }
.cta-success p { color: var(--ink-mute); max-width: 40ch; }

/* =============================================================
   18. Closing CTA
   ============================================================= */
.closing { text-align: center; }
.closing .container { max-width: 760px; }
.closing h2 { margin-bottom: 1rem; }
.closing p { color: var(--ink-mute); font-size: 1.06rem; margin-bottom: 2.2rem; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =============================================================
   19. Footer
   ============================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,0.82); padding-top: 4.5rem; }
.footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid > * { min-width: 0; }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-tagline { margin-top: 1rem; font-weight: 600; color: var(--white); }
.footer-desc { margin-top: .6rem; font-size: .92rem; max-width: 32ch; color: rgba(255,255,255,0.62); }
.footer-col h4 { color: var(--white); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col { display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.68); transition: color .3s; }
.footer-col a:hover { color: var(--green-light); }
.footer-col em { opacity: .7; font-style: italic; }
.footer-bottom { padding-block: 1.6rem; font-size: .82rem; color: rgba(255,255,255,0.5); text-align: center; }

/* =============================================================
   20. Floating buttons
   ============================================================= */
.float-whatsapp {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FAE58; color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 174, 88, 0.4);
  transition: transform .4s var(--ease-bounce);
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 28px; height: 28px; }

.float-top {
  position: fixed; right: 1.3rem; bottom: 5.4rem; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-soft);
}
.float-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.float-top svg { width: 20px; height: 20px; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250; background: transparent; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: 0 0; transform: scaleX(0);
}

/* =============================================================
   21. Reveal on scroll (universal, safe default = visible)
   ============================================================= */
[data-reveal] {
  opacity: 1; transform: none;
}
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
html.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   22. Responsive type scale for hero eyebrow / small screens polish
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .closing-actions .btn { justify-content: center; }
}

/* =============================================================
   23. Reduced motion — ONLY intrusive effects (see gotcha A.2)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-illustration { animation: none; }
  /* Mesh gradients keep a very slow breathing motion — considered functional, not intrusive */
}
