/* ══════════════════════════════════════
   RESET & VARIABLES
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0b1d35;
  --blue:    #1b4f8a;
  --blue2:   #1e6abf;
  --accent:  #1976d2;
  --green:   #22c55e;
  --white:   #ffffff;
  --light:   #f0f4f9;
  --gray:    #e8eef5;
  --muted:   #5a7a9a;
  --font:    "Plus Jakarta Sans", sans-serif;
}

html  { scroll-behavior: smooth; scroll-padding-top: 80px; }
body  { font-family: var(--font); color: var(--navy); background: var(--white); overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }

.container      { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide{ max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 2rem;
}
.section-title--sm {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 0.8rem;
}
.text-green { color: var(--green); }
.mobile-only { display: none !important; }

/* Legacy fade-up (kept for .step elements) */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Reveal system (bidirectional scroll animation) ───────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="fade-up"]   { transform: translateY(36px); }
[data-reveal="fade-down"] { transform: translateY(-36px); }
[data-reveal="fade-left"] { transform: translateX(-36px); }
[data-reveal="fade-right"]{ transform: translateX(36px); }
[data-reveal="zoom-in"]   { transform: scale(0.92); }

[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }
[data-reveal-delay="500"] { transition-delay: 0.50s; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.08);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; height: 64px;
}
.navbar__logo img { height: 42px; width: auto; object-fit: contain; }
.navbar__links { display: flex; align-items: center; gap: 1.5rem; }
.navbar__links a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--navy); transition: color .2s; }
.navbar__links a:hover { color: var(--accent); }
.navbar__btn {
  padding: 0.45rem 1rem !important; border-radius: 50px !important;
  background: var(--navy) !important; color: #fff !important;
  font-size: 0.68rem !important; white-space: nowrap; transition: background .2s !important;
}
.navbar__btn:hover { background: var(--blue) !important; }
.navbar__hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 22px; height: 16px; background: none; border: none; cursor: pointer; padding: 0;
  position: relative; z-index: 310;
}
.navbar__hamburger span {
  display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  display: flex; align-items: stretch;
  min-height: 460px; background: #f0f4f8;
  overflow: hidden; position: relative;
}

/* Franja azul izquierda */
.hero__side--left {
  flex: 0 0 80px; width: 80px;
  background: linear-gradient(180deg, #0d2a5e 0%, #1565c0 100%);
  border-radius: 0 50px 50px 0;
  position: relative; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.hero__side--left::before {
  content: ""; position: absolute;
  width: 55px; height: 55px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25); top: 18%;
}
.hero__side--left::after {
  content: ""; position: absolute;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18); bottom: 20%;
}

/* Centro */
.hero__center {
  flex: 1 1 auto; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 2.5rem 2rem 2.5rem 2.5rem; gap: .85rem;
  background: #f0f4f8; position: relative; z-index: 1;
}
.hero__title { font-size: clamp(1.2rem, 2vw, 1.85rem); font-weight: 800; line-height: 1.2; color: var(--navy); }
.hero__title em { font-style: normal; color: var(--blue2); }
.hero__sub1 { font-size: clamp(0.78rem, 1vw, .9rem); font-weight: 700; color: var(--blue2); }
.hero__sub2 { font-size: clamp(0.72rem, .88vw, .82rem); color: var(--navy); line-height: 1.7; max-width: 340px; }
.hero__actions 
{ margin-top: .4rem; 
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-block; background: var(--blue2); color: #fff;
  font-weight: 700; font-size: .84rem; padding: .8rem 1.6rem;
  border-radius: 10px; line-height: 1.45; text-align: center;
  box-shadow: 0 4px 16px rgba(30,106,191,.4);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,106,191,.5); }

/* Columna derecha */
.hero__right {
  flex: 0 0 60%; position: relative;
  overflow: hidden; min-height: 640px;
  border-radius: 100px 0 0 100px; margin-left: -1.2rem;
}
.hero__side--right {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.hero__ejecutiva {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: auto; height: 100%; object-fit: contain;
  object-position: center bottom; z-index: 2; pointer-events: none;
}
.hero__right::after {
  content: ""; position: absolute; right: -25px; top: 50%;
  transform: translateY(-50%); width: 80px; height: 80px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.18);
  z-index: 3; pointer-events: none;
}

/* ══════════════════════════════════════
   DIAGNÓSTICO DEL MERCADO
══════════════════════════════════════ */
.diagnosis {
  padding: 5rem 0; background: var(--white);
  position: relative; overflow: hidden;
}
.diagnosis__deco--tl,
.diagnosis__deco--br {
  position: absolute; border-radius: 50%;
  pointer-events: none; border: 26px solid var(--gray);
  z-index: 1;
}
.diagnosis__deco--tl { width: 200px; height: 200px; top: -3rem; left: -5rem; }
.diagnosis__deco--br { width: 140px; height: 140px; bottom: -2rem; right: -3rem; }
.diagnosis .container { position: relative; z-index: 2; }
.diagnosis .section-title { text-align: left; margin-bottom: 3.5rem; color: var(--blue); }

.diagnosis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Modern Borderless Cards (No borders, background or shadows) */
.diag-card {
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
.diag-card:hover {
  transform: none;
  box-shadow: none;
}

.diag-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.diag-card__body img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.diag-card__body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.4;
  margin-top: 0.5rem;
  margin-bottom: 0.7rem;
  text-align: center;
}

.diag-card__body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}


/* ══════════════════════════════════════
   CÓMO FUNCIONA - ESTILO PREMIUM PASOS
══════════════════════════════════════ */
.how-it-works {
  padding: 6rem 0;
  background: #fafbfc;
  position: relative;
  overflow: hidden;
}
.how-it-works__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.how-it-works__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  border: 1px solid #dde3ea;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: #fff;
}
.how-it-works__header h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.how-it-works__sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.how-card {
  background: #fff;
  border-radius: 28px;
  padding: 2.2rem 2rem;
  border: 1px solid #eaeef2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 480px;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(11, 29, 53, 0.06);
}

.how-card__top {
  width: 100%;
}

.how-card__step-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.how-card__step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1d35;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}
.how-card__step-line {
  position: absolute;
  left: 36px;
  right: 0;
  height: 1px;
  border-top: 1px dashed #e2e8f0;
  z-index: 1;
}

.how-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.6rem;
  text-align: left;
}
.how-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.8rem;
  text-align: left;
}

/* Simulated UIs (Mockups) */
.how-card__mockup {
  background: #f8fafc;
  border-radius: 18px;
  border: 1px solid #edf2f7;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mockup 1 styles: Form validation */
.mock-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.mock-form__label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-form__box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1e293b;
}
.mock-form__pills {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.mock-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  background: #f1f5f9;
  color: #64748b;
}
.mock-pill--active {
  background: #1e293b;
  color: #fff;
}

/* Mockup 2 styles: Scoring bar */
.mock-scoring {
  text-align: left;
}
.mock-scoring__title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.mock-scoring__bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.mock-scoring__bar-fg {
  width: 92%;
  height: 100%;
  background: #22c55e;
}
.mock-scoring__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
}
.mock-scoring__badge {
  background: #dcfce7;
  color: #15803d;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  font-size: 0.6rem;
}

/* Mockup 3 styles: Signature */
.mock-signature {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-signature__doc {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  border-left: 2px solid #22c55e;
  padding-left: 0.5rem;
  margin-bottom: 0.3rem;
}
.mock-signature__sign {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #1e6abf;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.25rem;
  margin-bottom: 0.3rem;
}
.mock-signature__meta {
  font-size: 0.58rem;
  color: #64748b;
  line-height: 1.3;
}

/* Card footer */
.how-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  width: 100%;
}
.how-card__footer-icon {
  width: 14px;
  height: 14px;
  color: #22c55e;
  flex-shrink: 0;
}
.how-card__footer-text {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 550;
}


/* ══════════════════════════════════════
   SEMÁFORO INTELIGENTE
══════════════════════════════════════ */
.tools {
  padding: 2.5rem 0 3rem; background: #fff;
  position: relative; overflow: hidden;
}
.tools::before {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid #c8d8e8; pointer-events: none;
  width: 52px; height: 52px; bottom: 2.5rem; left: 5%;
}
.tools::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1.5px solid #c8d8e8; pointer-events: none;
  width: 68px; height: 68px; top: 50%; right: 2.5%;
  transform: translateY(-50%);
}
.tools__deco { position: absolute; border-radius: 50%; border: 2px solid #dde8f0; pointer-events: none; z-index: 0; }
.tools__deco--bl { width: 70px; height: 70px; bottom: 1.5rem; left: 8%; }
.tools__deco--tr { width: 50px; height: 50px; top: 1.5rem; right: 7%; }

.tools__row {
  display: grid; grid-template-columns: 190px 1fr 190px;
  align-items: center; gap: 1.5rem;
}
.tools__col--img { display: flex; justify-content: center; align-items: flex-start; padding-top: .5rem; }
.tools__col--img img { width: 155px; height: auto; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.13)); }
.tools__col--text { display: flex; flex-direction: column; gap: .65rem; align-items: center; text-align: center; }
.tools__col--text .section-title--sm { text-align: center; }
.tools__col--text p { font-size: .85rem; color: var(--muted); line-height: 1.8; max-width: 340px; text-align: justify; }
.tools__col--warn { display: flex; justify-content: center; align-items: center; }
.tools__col--warn img { width: 115px; height: auto; object-fit: contain; }

.tools__data-row {
  display: grid; grid-template-columns: 190px 1fr 190px;
  gap: 1.5rem; padding-top: 1.8rem;
}
.tools__data-spacer {}
.tools__data-text { display: flex; flex-direction: column; gap: .55rem; }
.tools__data-title { font-size: .95rem; font-weight: 800; text-align: center; color: var(--blue2); line-height: 1.3; margin-bottom: .3rem; }
.tools__data-text p { font-size: .82rem; color: var(--muted); line-height: 1.75; text-align: justify; }

/* ══════════════════════════════════════
   FULL-IMAGE SECTIONS
══════════════════════════════════════ */
.fullimg-section { padding: 1rem 0; background: var(--white); }
.fullimg-section .container--wide { display: flex; justify-content: center; }
.fullimg { width: 100%; max-width: 1100px; height: auto; display: block; }

/* ══════════════════════════════════════
   IMPULSA TU NEGOCIO
══════════════════════════════════════ */
.impulsa { padding: 1rem 0 0; background: var(--white); }
.impulsa .container--wide { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.impulsa__title { font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 800; color: var(--blue); text-align: center; line-height: 1.35; }

/* ══════════════════════════════════════
   ¿LISTO PARA SANAR? — CTA
══════════════════════════════════════ */
.cta-section { padding: 2.5rem 0 4rem; background: var(--white); }
.cta-section .container { display: flex; flex-direction: column; align-items: center; }
.cta-section__title {
  font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800;
  text-align: center; line-height: 1.2; margin-bottom: 2rem; color: var(--blue);
}
.steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0; margin-bottom: 3rem; flex-wrap: nowrap; width: 100%; max-width: 860px;
}
.step { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 130px; flex-shrink: 0; }
.step__circle-outer {
  width: 90px; height: 90px; border-radius: 50%; background: #e8f5e9;
  display: flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 0 0 6px rgba(46,125,50,.08), 0 6px 20px rgba(46,125,50,.18);
}
.step__circle-inner {
  width: 74px; height: 74px; border-radius: 50%; border: 3.5px solid #2e7d32;
  display: flex; align-items: center; justify-content: center; background: #fff;
  box-shadow: 0 0 10px rgba(46,125,50,.4), 0 0 20px rgba(46,125,50,.2);
}
.step__circle-inner img { height: 34px; width: auto; object-fit: contain; }
.step__num {
  position: absolute; bottom: -8px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; color: #2e7d32; font-weight: 800;
  font-size: .85rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(46,125,50,.25);
}
.step__label { margin-top: 14px; font-size: .8rem; font-weight: 500; color: var(--blue); text-align: center; }
.step__connector {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, #2e7d32, #4caf50, #2e7d32);
  margin-top: 45px; min-width: 40px; border-radius: 2px;
  box-shadow: 0 2px 8px rgba(46,125,50,.3);
}

/* CTA Banner */
.cta-banner { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: 1.5rem 1rem 2rem; }
.cta-banner__line1 { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 800; color: var(--green); transform: rotate(-4deg); display: inline-block; }
.cta-banner__line2 { font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--navy); font-style: italic; transform: rotate(-4deg); display: inline-block; margin-bottom: .3rem; }
.cta-banner__sub { font-size: .85rem; color: var(--navy); font-weight: 500; margin-bottom: .5rem; }
.btn-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(90deg, #1b4f8a, #1976d2); color: #fff;
  font-weight: 700; font-size: .86rem; padding: .85rem 2rem;
  border-radius: 50px; box-shadow: 0 6px 24px rgba(27,79,138,.38);
  transition: transform .15s, box-shadow .2s; letter-spacing: .02em;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(27,79,138,.48); }
.btn-cta__icon { width: 20px; height: 20px; object-fit: contain; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: #0a1628; padding: 2rem 0 1.5rem; }
.footer .container { display: flex; justify-content: center; }
.footer__logo { max-height: 55px; width: auto; object-fit: contain; }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 900px
══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Navbar */
  .navbar__links { gap: 1rem; }
  .navbar__links a { font-size: .65rem; }

  /* Hero: apila verticalmente */
  .hero { flex-direction: column; min-height: auto; }
  .hero__side--left { flex: none; width: 100%; height: 60px; border-radius: 0 0 40px 40px; flex-direction: row; }
  .hero__side--left::before { top: 50%; left: 15%; transform: translateY(-50%); width: 40px; height: 40px; }
  .hero__side--left::after  { top: 50%; right: 15%; transform: translateY(-50%); bottom: auto; width: 28px; height: 28px; }
  .hero__center { padding: 2rem 1.5rem; align-items: center; text-align: center; }
  .hero__sub2 { text-align: center; }
  .hero__right { flex: none; width: 100%; min-height: 300px; border-radius: 40px 40px 0 0; margin-left: 0; }
  .hero__right::after { display: none; }

  /* Diagnosis: 1 col */
  .diagnosis__grid { grid-template-columns: 1fr; gap: 3rem; }

  /* How it works: 2 cols */
  .how-it-works__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .how-card { min-height: auto; }

  /* Tools: 2 cols, oculta triángulo */
  .tools__row { grid-template-columns: 150px 1fr; gap: 1.2rem; }
  .tools__col--warn { display: none; }
  .tools__data-row { grid-template-columns: 150px 1fr; }
  .tools__data-spacer:first-child { display: none; }
  .tools__data-spacer:last-child  { display: none; }

  /* Steps */
  .steps { max-width: 600px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 600px
══════════════════════════════════════ */
@media (max-width: 600px) {
  /* Navbar hamburger */
  .navbar__logo {
    position: relative;
    z-index: 310;
  }
  .navbar__links {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #ffffff; padding: 6rem 2rem 2rem; gap: 1.6rem; z-index: 300;
    opacity: 0; transform: translateY(-100%); pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .navbar__links--open {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .navbar__links a {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
  }
  .navbar__links .navbar__btn {
    background: var(--blue2) !important;
    color: #fff !important;
    text-align: center;
    padding: 0.8rem 2rem !important;
    border-radius: 50px !important;
    margin-top: 0.8rem;
    align-self: center;
    box-shadow: 0 4px 16px rgba(30, 106, 191, 0.25);
    font-size: 0.85rem !important;
  }
  .navbar__divider {
    width: 60px;
    height: 1px;
    background: #eaeef2;
    margin: 1rem 0 0.5rem;
  }
  .navbar__socials {
    display: flex !important;
    gap: 1.5rem;
    color: var(--muted);
    justify-content: center;
  }
  .navbar__socials a {
    color: var(--muted) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
  }
  .navbar__socials a:hover {
    color: var(--blue2) !important;
  }
  .navbar__hamburger {
    display: flex;
    position: relative;
    z-index: 310;
  }
  .navbar__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--navy);
  }
  .navbar__hamburger--open span:nth-child(2) {
    opacity: 0;
  }
  .navbar__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--navy);
  }

  /* Hero */
  .hero__center { padding: 1.5rem 1rem; gap: .7rem; }
  .hero__title  { font-size: 1.2rem; }
  .hero__right  { min-height: 240px; }
  .btn-primary  { font-size: .8rem; padding: .75rem 1.4rem; }

  /* Diagnosis: 1 col */
  .diagnosis__grid { grid-template-columns: 1fr; }
  .diagnosis { padding: 2.5rem 0; }

  /* How it works: 1 col */
  .how-it-works__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-it-works { padding: 3.5rem 0; }
  .how-card { padding: 1.8rem 1.4rem; min-height: auto; }

  /* Tools: 1 col */
  .tools__row { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .tools__col--img { justify-content: center; align-items: center; padding-top: 0; }
  .tools__col--img img { width: 110px; }
  .tools__col--text { align-items: center; }
  .tools__col--warn { display: none; }
  .tools__data-row { grid-template-columns: 1fr; }
  .tools__data-text { align-items: center; text-align: center; }
  .tools__data-text p { text-align: center; }

  /* Steps: columna */
  .steps { flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2rem; }
  .step__connector { flex: none; width: 2px; min-width: 0; height: 28px; margin-top: 0; background: #2e7d32; box-shadow: none; }
  .step { width: 120px; }

  /* CTA */
  .cta-section { padding: 2.5rem 0 3rem; }
  .cta-section__title { font-size: 1.3rem; }
  .btn-cta { font-size: .78rem; padding: .78rem 1.4rem; }
  .cta-banner { padding: 1rem .5rem 1.5rem; }

  /* Imgs */
  .fullimg { padding: 0 .5rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤ 380px
══════════════════════════════════════ */
@media (max-width: 380px) {
  .hero__title { font-size: 1.05rem; }
  .cta-section__title { font-size: 1.1rem; }
  .step { width: 100px; }
  .step__circle-outer { width: 76px; height: 76px; }
  .step__circle-inner { width: 62px; height: 62px; }
  .step__circle-inner img { height: 28px; }
  .step__num { width: 20px; height: 20px; font-size: .75rem; }
}

/* ══════════════════════════════════════
   FORMULARIO DE CONTACTO
══════════════════════════════════════ */
.form-section {
  position: relative;
  padding: 5rem 0 6rem;
  background: linear-gradient(160deg, #f0f6ff 0%, #e8f0fb 50%, #f4f9ff 100%);
  overflow: hidden;
}

/* Decoraciones de fondo */
.form-section__bg-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.form-section__bg-deco--tl {
  width: 420px; height: 420px;
  top: -160px; left: -160px;
  background: radial-gradient(circle, rgba(27,79,138,.12) 0%, transparent 70%);
}
.form-section__bg-deco--br {
  width: 380px; height: 380px;
  bottom: -140px; right: -140px;
  background: radial-gradient(circle, rgba(34,197,94,.1) 0%, transparent 70%);
}

/* Header del formulario */
.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.form-header__badge {
  display: inline-block;
  background: linear-gradient(90deg, #1b4f8a, #1976d2);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .32rem .9rem;
  border-radius: 50px;
  margin-bottom: .9rem;
  box-shadow: 0 4px 16px rgba(25,118,210,.3);
}
.form-header__title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.form-header__sub {
  font-size: clamp(.8rem, 1.5vw, .95rem);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Tarjeta del formulario */
.form-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 2.8rem 2.5rem;
  max-width: 640px;
  margin: 0 auto;
  box-shadow:
    0 4px 6px rgba(0,0,0,.04),
    0 20px 60px rgba(27,79,138,.12),
    0 0 0 1px rgba(27,79,138,.07);
  overflow: hidden;
}

/* Efecto glow animado en la tarjeta */
.form-card__glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,118,210,.08) 0%, transparent 70%);
  top: -100px; right: -80px;
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .5; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.2); }
}

/* Fila de campos (2 columnas) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Grupo de campo */
.form-group {
  position: relative;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-row .form-group { margin-bottom: 0; }

/* Label */
.form-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.form-required { color: #ef4444; }

/* Input base */
.form-input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.7rem;
  border: 1.5px solid #dde6f0;
  border-radius: 12px;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--navy);
  background: #fafcff;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.form-input::placeholder { color: #aab8cc; }
.form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(25,118,210,.12);
}
.form-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-input.is-valid {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

/* Wrapper relativo del input — ancla el ícono solo al campo */
.form-input-wrap {
  position: relative;
}
.form-input-wrap--phone {
  flex: 1;
  min-width: 0;
}

/* Íconos dentro del input — centrado perfecto con top:50% */
.form-input__icon {
  position: absolute;
  left: .82rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
  color: #aab8cc;
  transition: color .2s;
  z-index: 1;
}
.form-input-wrap:focus-within .form-input__icon { color: var(--accent); }
.form-input__icon svg { width: 16px; height: 16px; }

/* Fila de teléfono */
.form-phone-row {
  display: flex;
  gap: 0;
  border: 1.5px solid #dde6f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fafcff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group:focus-within .form-phone-row {
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(25,118,210,.12);
  background: #fff;
}
.form-group.is-invalid .form-phone-row {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-group.is-valid .form-phone-row {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

/* Selector de prefijo */
.form-phone-prefix {
  flex-shrink: 0;
  border-right: 1.5px solid #dde6f0;
  background: #f0f5fb;
}
.form-select-prefix {
  height: 100%;
  padding: .75rem .65rem .75rem .85rem;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a7a9a'%3E%3Cpath fill-rule='evenodd' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
  background-size: 16px;
}

/* Input de teléfono (la fila form-phone-row maneja el borde) */
.form-input--phone {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 2.7rem;
  width: 100%;
}
.form-input--phone:focus { box-shadow: none !important; }

/* Mensaje de error inline */
.form-error-msg {
  font-size: .73rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 1rem;
  transition: all .2s;
}

/* Alertas de resultado */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  animation: slideDown .35s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .1rem; }
.form-alert div strong { font-size: .88rem; font-weight: 700; }
.form-alert div p { font-size: .78rem; margin-top: .15rem; line-height: 1.5; opacity: .85; }

.form-alert--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.form-alert[hidden] { display: none; }

/* Botón submit */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 2rem;
  background: linear-gradient(135deg, #0d2a5e 0%, #1976d2 100%);
  color: #fff;
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(25,118,210,.4);
  transition: transform .18s, box-shadow .2s, opacity .2s;
  position: relative;
  overflow: hidden;
  margin-top: .4rem;
  letter-spacing: .01em;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(25,118,210,.5);
}
.btn-submit:active:not(:disabled) { transform: translateY(0); }
.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.btn-submit__arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.btn-submit:hover:not(:disabled) .btn-submit__arrow { transform: translateX(4px); }

/* Spinner de carga */
.spinner {
  width: 18px; height: 18px;
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Texto de privacidad */
.form-privacy {
  display: flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .9rem;
  text-align: center;
}
.form-privacy svg { color: var(--green); flex-shrink: 0; }

/* ══════════════════════════════════════
   RESPONSIVE — FORMULARIO MOBILE
══════════════════════════════════════ */
@media (max-width: 600px) {
  .form-section { padding: 3.5rem 0 4rem; }
  .form-card { padding: 2rem 1.3rem; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 1.2rem; }
  .form-header__title { font-size: 1.4rem; }
}
@media (max-width: 380px) {
  .form-card { padding: 1.6rem 1rem; }
  .form-header__title { font-size: 1.2rem; }
}