/* ============================================================
   SB PATRIMONIAL — Hoja de estilos
   Estilo: minimalista, elegante (inspiración Apple / Stripe / Linear)
   Paleta: tomada directamente del logotipo (navy + teal)
   ============================================================ */

/* ---------- 1. Tokens de diseño ---------- */
:root {
  /* Color — navy del logotipo */
  --navy-900: #012446;   /* navy del wordmark del logo */
  --navy-800: #0D2946;
  --navy-700: #182942;
  --ink:      #012446;   /* texto de titulares */
  --text:     #46566B;   /* texto cuerpo */
  --text-soft:#6B7A8D;   /* texto secundario */
  --white:    #FFFFFF;
  --bg-soft:  #F5F8FC;   /* gris muy claro */
  --bg-soft-2:#EEF3F9;
  --line:     #E3EAF2;   /* hairlines / bordes */

  /* Teal — tomado del ícono del logotipo, exclusivo para llamadas a la acción */
  --green:      #0190AB;
  --green-600:  #047C91;
  --green-700:  #036377;
  --green-ring: rgba(1,144,171,.30);
  --teal-light: #3A9CB1; /* tono claro del logo, para detalles sutiles */

  /* Tipografía */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Radios y sombras */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.05), 0 1px 3px rgba(10,37,64,.06);
  --shadow:    0 6px 24px rgba(10,37,64,.08);
  --shadow-lg: 0 18px 50px rgba(10,37,64,.12);

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- 2. Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- 3. Utilidades de layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

.section { padding-block: var(--section-y); }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1rem;
}
.eyebrow.light { color: #7FE3BE; }

.section-head { max-width: 720px; margin: 0 0 clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin-bottom: 0;
}
.fineprint { font-size: .92rem; color: var(--text-soft); }

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease,
              box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px var(--green-ring);
}
.btn-primary:hover { background: var(--green-600); box-shadow: 0 10px 24px var(--green-ring); }

.btn-ghost {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #C8D4E2; background: #fff; }

.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.btn-lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- 5. Header / Navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 44px; width: auto; display: block; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px 6px auto 6px; height: 3px;
  border-radius: 2px; background: var(--green);
}
.brand-name { font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--text-soft); font-weight: 600; }

.nav-links {
  display: flex; gap: 1.6rem; margin-left: auto;
  font-size: .96rem; font-weight: 500; color: var(--text);
}
.nav-links a { position: relative; padding: .25rem 0; }
.nav-links a:hover { color: var(--navy-900); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: .25rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: #fff; border-top: 1px solid var(--line);
}
.mobile-menu a { padding: .85rem .25rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border: 0; margin-top: .75rem; justify-content: center; }

/* ---------- 6. Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead {
  font-size: 1.22rem; color: var(--text-soft);
  max-width: 30ch; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero-actions.center { justify-content: center; }

.hero-trust {
  display: flex; flex-direction: column; gap: .55rem;
  font-size: .98rem; color: var(--text);
}
.hero-trust li { position: relative; padding-left: 1.6rem; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); opacity: .14;
}
.hero-trust li::after {
  content: "✓"; position: absolute; left: 3px; top: -.05em;
  color: var(--green); font-size: .8rem; font-weight: 700;
}

/* Tarjeta visual del hero (curva ascendente) */
.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .4rem; }
.hero-card-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.hero-card-title { font-size: .9rem; font-weight: 600; color: var(--text-soft); }

/* Gráfica de progreso: 4 etapas hacia el retiro */
.hero-chart { display: flex; flex-direction: column; gap: 1rem; margin: .9rem 0 0; }
.hero-chart-row-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.hero-chart-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: none;
  border-radius: 50%; background: #F4F7FA; border: 1px solid var(--line);
  font-size: .7rem; font-weight: 700; color: var(--text-soft);
}
.hero-chart-label { font-size: .86rem; font-weight: 600; color: var(--navy-900); }
.hero-chart-track {
  display: block; position: relative; height: 8px;
  border-radius: 6px; background: var(--line); overflow: hidden;
}
.hero-chart-bar {
  position: absolute; inset: 0 auto 0 0; height: 100%;
  width: var(--w, 0%); border-radius: 6px;
  background: linear-gradient(90deg, var(--green-600), var(--green));
  transform: scaleX(0); transform-origin: left;
  animation: growBar .9s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes growBar { to { transform: scaleX(1); } }
.hero-chart-row--final .hero-chart-step { background: var(--green); border-color: var(--green); color: #fff; }
.hero-chart-row--final .hero-chart-label { color: var(--green); }

.hero-card-tagline {
  margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  text-align: center; font-size: .92rem; color: var(--text-soft); font-style: italic;
}

/* ---------- 7. Franja de confianza ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 1.8rem; padding-block: 1.4rem;
  font-size: .96rem; color: var(--text-soft); text-align: center;
}
.strip-inner strong { color: var(--ink); }
.strip-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }

/* ---------- 8. Tarjetas (3 columnas) ---------- */
.cards-3 {
  display: grid; gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D7E1EC; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-soft); margin: 0; font-size: .98rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-soft-2); display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 9. Secciones tipo "split" ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split-copy .section-lead { margin-bottom: 1.4rem; }

.check-list { display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}

.split-visual { display: flex; justify-content: center; }
.quote-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; border-radius: var(--r-lg);
  padding: 2.6rem 2.2rem; max-width: 440px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.quote-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,144,171,.35), transparent 70%);
}
.quote-mark { font-size: 3.5rem; line-height: .4; color: var(--green); margin: 0; }
.quote-text { font-size: 1.25rem; line-height: 1.5; color: #EAF1F8; margin: 1rem 0 1.2rem; }
.quote-by { font-size: .9rem; color: #9FB3C8; margin: 0; }

/* ---------- 10. Pasos (cómo funciona) ---------- */
.steps {
  display: grid; gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(3, 1fr); counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2rem 1.8rem; position: relative;
}
.step-num {
  font-size: 1.05rem; font-weight: 700; color: var(--green);
  letter-spacing: .05em;
  display: inline-block; margin-bottom: .9rem;
  padding: .25rem .6rem; border: 1px solid var(--green-ring); border-radius: 8px;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---------- 11. Servicios (Mejorado) ---------- */
.grid-services {
  display: grid; 
  gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content; /* cada fila toma solo la altura que necesita */
  align-items: start; /* evita que las tarjetas se estiren entre sí */
}
.service {
  background: #fff; 
  border: 1px solid var(--line); 
  border-radius: var(--r);
  padding: 1.8rem; 
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  height: fit-content; /* refuerzo extra: la tarjeta se ajusta a su contenido */
}
.service::before {
  content: ""; position: absolute; left: 1.8rem; top: 1.8rem;
  width: 30px; height: 3px; border-radius: 2px; background: var(--green); opacity: .8;
}
/* Estilos de Acordeón */
.service details summary {
  list-style: none; 
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service details summary::-webkit-details-marker { display: none; }
.service details summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  font-weight: bold;
}
.service details[open] summary::after {
  content: '−';
}
.service details summary h3 { 
  margin: 1.4rem 0 .4rem; 
  pointer-events: none;
}
.service details ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  list-style-type: disc;
  animation: expandir 0.25s ease-out;
}
@keyframes expandir {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service details li { margin-bottom: 0.5rem; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D7E1EC; }
/* Responsive */
@media (max-width: 768px) {
  .grid-services { grid-template-columns: 1fr; }
}


/* ---------- 12. Beneficios (sección azul marino) ---------- */
.section-navy { background: var(--navy-900); color: #DCE6F1; }
.section-navy h2 { color: #fff; }
.section-navy .section-lead { color: #9FB3C8; }
.benefits {
  display: grid; gap: clamp(20px, 3vw, 30px);
  grid-template-columns: repeat(5, 1fr);
}
.benefit { text-align: left; }
.benefit-ico {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(1,144,171,.16); color: #7FD4E8;
  font-weight: 700; margin-bottom: .9rem;
}
.benefit h3 { color: #fff; margin-bottom: .3rem; }
.benefit p { color: #9FB3C8; font-size: .94rem; margin: 0; }

/* ---------- 13. Autoridad ---------- */
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, var(--bg-soft) 0 12px, var(--bg-soft-2) 12px 24px);
  border: 1px dashed #C8D4E2;
  display: grid; place-content: center; text-align: center;
  color: var(--text-soft); gap: .4rem;
}
.photo-placeholder span { font-weight: 600; color: var(--navy-700); line-height: 1.3; }
.photo-placeholder small { font-size: .8rem; }

.credentials { display: grid; gap: 1rem; margin: 1.4rem 0 1rem; }
.credentials > div {
  display: grid; grid-template-columns: 180px 1fr; gap: 1rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.credentials dt { font-weight: 600; color: var(--navy-900); }
.credentials dd { margin: 0; color: var(--text-soft); }

/* ---------- 14. Testimonios ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.9rem; margin: 0; box-shadow: var(--shadow-sm);
}
.stars { color: #F2B705; letter-spacing: 2px; margin-bottom: .8rem; font-size: .95rem; }
.testimonial blockquote { margin: 0 0 1.3rem; color: var(--ink); font-size: 1.04rem; line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; font-size: .92rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft-2); flex: none; }
.testimonial small { color: var(--text-soft); }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0 1.4rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #CFDBE8; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0;
  font-weight: 600; color: var(--navy-900); font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green);
  transition: transform .25s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-soft); margin: 0; padding: 0 0 1.3rem; max-width: 62ch; }

/* ---------- 16. Formulario ---------- */
.form-split { align-items: start; }
.or-wa { font-size: .98rem; color: var(--text-soft); }
.or-wa a { color: var(--green); font-weight: 600; }

.form-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.lead-form label {
  display: block; font-size: .9rem; font-weight: 600;
  color: var(--navy-900); margin-bottom: .4rem;
}
.lead-form input {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.lead-form input::placeholder { color: #A7B4C4; }
.lead-form input:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 4px var(--green-ring);
}
.lead-form input.invalid { border-color: #D64545; background: #FFF6F6; }
.error { display: block; color: #D64545; font-size: .82rem; margin-top: .35rem; min-height: 1em; }
.form-note { font-size: .82rem; color: var(--text-soft); margin: 1rem 0 0; }
.form-success {
  margin: 1rem 0 0; padding: 1rem; border-radius: var(--r-sm);
  background: rgba(1,144,171,.1); color: var(--green-700); font-weight: 600;
  text-align: center;
}

/* ---------- 17. CTA final ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; padding-block: var(--section-y); position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,144,171,.22), transparent 65%);
}
.final-cta h2 { color: #fff; position: relative; }
.final-cta p { color: #9FB3C8; font-size: 1.12rem; max-width: 52ch; margin: 0 auto 2rem; position: relative; }
.final-cta .hero-actions { position: relative; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-900); color: #9FB3C8; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-name em { color: #7FE3BE; }
.footer-brand p { margin-top: .8rem; max-width: 38ch; font-size: .95rem; }
.footer-nav h4, .footer-contact h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
}
.footer-nav a, .footer-contact a { display: block; padding: .35rem 0; font-size: .95rem; transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.6rem; font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 60ch; color: #74879C; }

/* ---------- 19. WhatsApp flotante e ícono ---------- */
.wa-icon {
  width: 1.15em; height: 1.15em; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa) center / contain no-repeat;
          mask: var(--wa) center / contain no-repeat;
}
:root {
  --wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01a8.2 8.2 0 0 1-4.18-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 0 1-1.26-4.38c0-4.54 3.7-8.23 8.24-8.23 2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.82c0 4.54-3.69 8.23-8.23 8.23zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-2-1.23-.74-.66-1.24-1.48-1.38-1.73-.15-.25-.02-.38.11-.5.11-.11.25-.29.37-.43.13-.15.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.22.25-.86.85-.86 2.07s.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.1-.22-.16-.47-.28z'/%3E%3C/svg%3E");
}
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .wa-icon { width: 30px; height: 30px; }

/* ---------- 20. Accesibilidad ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy-900); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- 21. Animaciones de aparición (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .curve .line { stroke-dashoffset: 0; }
  .curve .area, .curve .pulse { opacity: 1; }
}

/* ============================================================
   22. RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero .lead { max-width: none; }

  .split { grid-template-columns: 1fr; }
  .authority-photo { max-width: 360px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .cards-3,
  .steps,
  .grid-services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .credentials > div { grid-template-columns: 1fr; gap: .25rem; }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn,
  .form-intro { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .strip-sep { display: none; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

