 :root{
  /* Paleta basada en el logo */
  --sand: #efe2c9;
  --sand-2: #f6eada;
  --ink: #25313b;
  --ink-2:#30414f;
  --accent:#0f5873;
  --muted:#6c7a86;
  --white:#ffffff;
  --shadow: 0 12px 32px rgba(0,0,0,.10);
  --radius: 18px;

  /* Imagen hero */
  --hero: url("/img/asesoriaempresarial.png"); /* <- reemplaza por tu imagen */
}

/* Base */
html, body{background: var(--sand); color: var(--ink);}
body{scroll-behavior:smooth;}
.fw-700{font-weight:700}
.fw-800{font-weight:800}

/* NAV overlay */
.vapo-nav{
  --logo-scale: 2.2;
  background: transparent;
  border-bottom: 0;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.vapo-nav .navbar-toggler{
  filter: invert(1) grayscale(1); /* icono claro sobre imagen */
}
.vapo-nav .nav-link{ color:#000000; font-weight:600; position:relative; }
.vapo-nav .nav-link::after{
  content:""; position:absolute; left:0; bottom:.25rem; height:2px; width:0;
  background: rgba(255,255,255,.9); transition: width .25s ease;
}
.vapo-nav .nav-link:hover::after{ width:100% }
.vapo-nav .btn-outline-light{ border-color:#fff; color:#fff }
.vapo-nav .btn-outline-light:hover{ background:#fff; color:var(--ink) }
.vapo-nav .btn-light{ color:var(--ink) }

/* Nav al hacer scroll (glass) */
.vapo-nav.scrolled{
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--sand) 65%, var(--white));
  border-bottom: 1px solid rgba(37,49,59,.12);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.vapo-nav.scrolled .nav-link{ color:var(--ink) }
.vapo-nav.scrolled .nav-link::after{ background: var(--ink) }
.vapo-nav.scrolled .navbar-toggler{ filter: none }

/* Logo grande sin cambiar altura del nav */
.brand-logo{
  height: 40px; width:auto;
  transform: scale(var(--logo-scale));
  transform-origin: left center;
  display:block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
@media (max-width: 576px){
  .vapo-nav{ --logo-scale: 1.35; }
}

/* HERO cover */
/* HERO cover (overlay más claro) */
.hero-cover{
  min-height: 100svh;
  background:
    /* ↓ baja opacidad del degradado oscuro */
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.10)),
    var(--hero) center/cover no-repeat fixed;
  position: relative;
  isolation:isolate;
}

/* Halo superior/inferior más sutil */
.hero-cover::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(1000px 500px at 80% -20%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(800px 400px at -10% 120%, rgba(255,255,255,.12), transparent 60%);
}

/* (Opcional) mejora legibilidad sin oscurecer: sutil sombra de texto */
.hero-cover h1,
.hero-cover .lead,
.hero-cover .eyebrow{
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.hero-cover .container{ z-index:1; }
.eyebrow{ letter-spacing:.22em; color:#e9eef4; text-transform:uppercase; }
.mark{
  background: linear-gradient(120deg, rgba(255,255,255,.24), rgba(255,255,255,.08));
  padding:.1rem .38rem; border-radius:10px;
}
.btn-accent{
  background: var(--accent); color:#fff; border-color: var(--accent);
}
.btn-accent:hover{ background:#0a4257; border-color:#0a4257 }

/* Hero form */
.hero-form .form-control{
  border: 0; box-shadow: var(--shadow); padding:.85rem 1.1rem;
}
.hero-form .form-control:focus{
  outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}

/* Scroll cue */
.scroll-down{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  width:26px; height:42px; border:2px solid #fff; border-radius:20px;
  display:flex; align-items:flex-start; justify-content:center; text-decoration:none; opacity:.85;
}
.scroll-down span{
  display:block; width:4px; height:8px; margin-top:6px; border-radius:3px; background:#fff;
  animation: wheel 1.6s infinite ease-in-out;
}
@keyframes wheel{ 0%{transform:translateY(0); opacity:.9} 100%{transform:translateY(18px); opacity:.2} }

/* Secciones + tarjetas */
section.section{padding: 5rem 0; background: var(--white)}
section.section.alt{background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%)}
.card{border:0; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;}
.card.lift:hover{ transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.icon-badge{
  width:56px; height:56px; display:grid; place-items:center; border-radius:14px;
  background:#fff; box-shadow: var(--shadow); color:var(--ink);
}

/* Stats / CTA / Footer */
.stat{font-size: clamp(2rem, 4vw, 3rem); font-weight:800;}
.cta{background:linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%); color:#fff;}
.footer{background: var(--ink); color:#fff}
.footer a{color:#dfe7ee} .footer a:hover{color:#fff}

/* Animación de aparición */
.reveal{opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease;}
.reveal.in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  .reveal, .card{ transition:none !important; }
}
/* === HERO FORM — SUTIL Y MODERNO === */
.hero-form--subtle .input-wrap{ max-width: 720px; width:100%; }

/* Contenedor: vidrio muy leve + borde fino */
.hero-form--subtle .input-group{
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* Input minimal y legible sobre imagen */
.hero-form--subtle .hero-input{
  border:0; background:transparent; color:#fff;
  padding:.9rem 1.1rem;
}
.hero-form--subtle .hero-input::placeholder{ color:rgba(255,255,255,.72); }
.hero-form--subtle .hero-input:focus{ outline:none; box-shadow:none; }

/* Botón: outline claro, relleno suave al hover */
.hero-form--subtle .hero-cta{
  border-radius:999px;
  border:1.6px solid rgba(255,255,255,.92);
  background: transparent;
  color:#fff;
  padding:.85rem 1.35rem;
  transition: background .18s ease, transform .12s ease, border-color .18s ease;
  white-space: nowrap;
}
.hero-form--subtle .hero-cta:hover{
  background: rgba(255,255,255,.12);
  border-color:#fff;
  transform: translateY(-1px);
}
.hero-form--subtle .hero-cta:active{ transform: translateY(0); }

/* Hint discreto */
.hero-form--subtle .hero-hint{
  display:block; text-align:center; margin-top:.55rem;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

/* Foco accesible sutil (input o botón con focus) */
.hero-form--subtle .input-group:has(.hero-input:focus),
.hero-form--subtle .input-group:has(.hero-cta:focus){
  box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.10);
  border-color: rgba(255,255,255,.48);
}

/* Variante sobre hero claro (por si cambias imagen) */
.hero-light .hero-input{ color: var(--ink) }
.hero-light .hero-input::placeholder{ color: rgba(37,49,59,.55) }
.hero-light .hero-cta{ color: var(--ink); border-color: rgba(37,49,59,.45) }
.hero-light .hero-cta:hover{ background: rgba(37,49,59,.06) }
.hero-light .hero-hint{ color: rgba(37,49,59,.8) }

/* Móvil: más compacto y sin desbordarse */
@media (max-width: 576px){
  .hero-form--subtle .hero-cta{ padding:.8rem 1.1rem; }
}
/* ==========================================
   SERVICIOS — Tarjetas con micro-animaciones
   (glow radial, sheen, tilt de ícono, subrayado animado,
   icon-badge con color de marca al hover)
   ========================================== */

.service-card{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37,49,59,.08);
  background:
    linear-gradient(#fff, #fff) padding-box,
    radial-gradient(140% 140% at -10% -10%, rgba(15,88,115,.18), rgba(37,49,59,.12)) border-box;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
  will-change: transform, box-shadow;
}

/* Glow radial al hover */
.service-card::before{
  content:"";
  position:absolute;
  inset:-30% -30% auto auto;
  height:240px; width:240px;
  background: radial-gradient(120px 120px at 70% 30%, rgba(15,88,115,.20), transparent 60%);
  transform: translate3d(40px,-40px,0) scale(.8);
  opacity:0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events:none;
}

/* Sheen diagonal */
.service-card::after{
  content:"";
  position:absolute;
  inset:-30% -120% -30% auto;
  width:60%;
  background: linear-gradient(75deg,
    transparent 0%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.10) 55%,
    transparent 100%);
  transform: translateX(-120%) rotate(15deg);
  transition: transform .7s cubic-bezier(.25,.8,.25,1);
  pointer-events:none;
}

.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0,0,0,.14);
  border-color: transparent;
}
.service-card:hover::before{ opacity:1; transform: translate3d(0,0,0) scale(1); }
.service-card:hover::after{ transform: translateX(30%) rotate(15deg); }

/* Icon-badge base (neutro) + transición de color */
.service-card .icon-badge{
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(37,49,59,.08);
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
  will-change: transform, box-shadow;
}

/* Ícono: tilt sutil + cambio de color */
.service-card .icon-badge i{
  color: var(--ink);
  transition: transform .22s ease, color .22s ease, filter .22s ease;
}
.service-card:hover .icon-badge{
  color: var(--accent);
  border-color: rgba(15,88,115,.25);
  box-shadow: 0 10px 24px rgba(15,88,115,.18);
  background: radial-gradient(120% 120% at 30% 30%, rgba(15,88,115,.10), #fff 65%);
}
.service-card:hover .icon-badge i{
  color: var(--accent);
  transform: translateY(-2px) rotate(8deg);
  filter: drop-shadow(0 2px 6px rgba(15,88,115,.25));
}

/* Título con subrayado animado + toma color de marca al hover */
.svc-title{
  position: relative; display:inline-block;
  transition: color .22s ease;
}
.svc-title::after{
  content:"";
  position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  transition: width .25s ease;
}
.service-card:hover .svc-title{ color: var(--accent); }
.service-card:hover .svc-title::after{ width:100%; }

/* Link “Ver más →” con slide */
.svc-more{
  font-weight:600; color: var(--accent); text-decoration:none;
  display:inline-flex; align-items:center; gap:.35rem;
  transition: color .18s ease, transform .18s ease;
}
.svc-more span{ display:inline-block; transition: transform .18s ease; }
.svc-more:hover{ color:#0a4257; transform: translateY(-1px); }
.svc-more:hover span{ transform: translateX(3px); }

/* Variantes por servicio (opcional):
   si quieres matices distintos por tarjeta, añade clases y redefine --accent local */
.service-card.finanzas  { --accent: #0f5873; } /* Azul VAPO */
.service-card.fiscal    { --accent: #3f6f5a; } /* Verde profundo */
.service-card.marketing { --accent: #7a5a3a; } /* Ámbar tostado */
.service-card.auditoria { --accent: #5a4b7a; } /* Morado suave */
.service-card.nomina    { --accent: #6c7a86; } /* Gris azulado */

/* Accesibilidad / rendimiento: reducir animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce){
  .service-card,
  .service-card::before,
  .service-card::after,
  .service-card .icon-badge i,
  .svc-title::after,
  .svc-more,
  .svc-more span{
    transition: none !important;
    animation: none !important;
  }
}

/* Quiénes Somos — detalle visual sutil */
#quienes-somos .icon-badge{
  background:#fff; border:1px solid rgba(37,49,59,.08);
  box-shadow: var(--shadow);
}
#quienes-somos h2 + p{ max-width: 720px; }
#quienes-somos blockquote{
  color: var(--ink); 
}
#quienes-somos hr{
  border:0; height:1px; background: rgba(37,49,59,.08);
}
/* QUIÉNES SOMOS – fresco sin métricas */
#quienes-somos .qs-eyebrow{
  letter-spacing:.22em; font-size:.8rem; color:var(--muted); text-transform:uppercase;
}
#quienes-somos .qs-highlight{
  background: linear-gradient(120deg, rgba(37,49,59,.18), rgba(15,88,115,.28));
  padding:.15rem .35rem; border-radius:8px;
}
#quienes-somos .qs-lead{ max-width: 720px; }

/* Manifiesto */
.qs-manifesto li{
  display:flex; gap:12px; align-items:flex-start; padding:.6rem 0;
  border-bottom:1px dashed rgba(37,49,59,.08);
}
.qs-manifesto li:last-child{ border-bottom:0 }
.qs-manifesto i{ color: var(--accent); margin-top:.2rem; width:20px; text-align:center; }
.qs-manifesto strong{ display:block; }
.qs-manifesto span{ color: var(--muted); }

/* Sello compacto */
.qs-seal{
  display:flex; gap:10px; align-items:center;
  background:#fff; border:1px solid rgba(37,49,59,.08);
  box-shadow: var(--shadow); border-radius:14px; padding:.65rem .8rem; margin-top:1rem;
}
.qs-seal i{ color: var(--accent); }
.qs-seal span{ color: var(--muted); font-size:.9rem }

/* Panel derecho */
#quienes-somos .qs-panel hr{ border:0; height:1px; background: rgba(37,49,59,.08); }

/* “Lo que no hacemos” */
.qs-no-list ul{ display:flex; flex-wrap:wrap; gap:10px 18px; }
.qs-no-list li{ color:var(--ink); background:#fff; border:1px solid rgba(37,49,59,.08);
  border-radius:999px; padding:.35rem .75rem; box-shadow: var(--shadow); }
.qs-no-list i{ color:#9b2c2c; margin-right:.4rem; } /* rojo discreto */

.qs-quote{
  border-left:4px solid var(--accent);
  padding-left:.75rem; color: var(--ink);
}



/* Título con barra de acento */
.qs-title{
  position: relative;
  padding-left: 14px;
}
.qs-title::before{
  content:"";
  position:absolute; left:0; top:.2em; bottom:.2em;
  width:4px; border-radius:3px;
  background: linear-gradient(180deg, var(--ink), var(--accent));
  opacity:.9;
}
/* Subrayado elegante */
.qs-title{
  position:relative; display:inline-block;
}
.qs-title::after{
  content:"";
  position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  transition: width .35s ease;
}
.reveal.in .qs-title::after{ width:100%; }

.qs-eyebrow{
  letter-spacing:.22em; font-size:.78rem;
  color: color-mix(in oklab, var(--ink) 60%, var(--muted));
  text-transform: uppercase;
}



/* ===== Misión & Visión — estilo original con animación ===== */

.mv-title{
  position: relative; display:inline-block; padding-left:14px;
}
.mv-title::before{
  content:""; position:absolute; left:0; top:.25em; bottom:.25em;
  width:4px; border-radius:3px;
  background: linear-gradient(180deg, var(--ink), var(--accent));
  opacity:.9;
}

/* Cards */
.mv-card{
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(37,49,59,.08);
  box-shadow: var(--shadow);
  display:flex; flex-direction: column;
}
.mv-header{
  display:flex; align-items:center; gap:.65rem;
  padding: 1rem 1.25rem; border-bottom:1px solid rgba(37,49,59,.08);
  background: linear-gradient(180deg, rgba(239,226,201,.45), rgba(255,255,255,1));
}
.mv-icon{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  background:#fff; color:var(--accent); box-shadow: var(--shadow);
}
.mv-body{ padding: 1.15rem 1.25rem 1.35rem; color: var(--ink); }
.mv-body p{ color: var(--ink); }
.mv-list li{
  display:flex; align-items:center; gap:.55rem; padding:.25rem 0; color: var(--muted);
}
.mv-list i{ color: var(--accent); }

/* Sub-línea animada al entrar */
.mv-underline{
  height: 3px; width:0;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  margin: 0 1.25rem 1.25rem;
  border-radius: 2px;
  transition: width .8s ease;
}
.reveal.in .mv-card .mv-underline{ width: calc(100% - 2.5rem); }

/* Hover micro-interacciones */
.mv-card:hover{ transform: translateY(-3px); box-shadow: 0 18px 48px rgba(0,0,0,.12); transition: all .22s ease; }
.mv-card:hover .mv-icon{ transform: translateY(-1px) rotate(6deg); transition: transform .22s ease; }

/* Cinta inspiracional */
.mv-marquee{
  overflow:hidden; border: 1px solid rgba(37,49,59,.08);
  border-radius: 999px; background: #fff; box-shadow: var(--shadow);
  position: relative;
}
.mv-track{
  display:flex; gap:2rem; white-space:nowrap;
  padding:.65rem 1.25rem; color: var(--muted);
  animation: mv-scroll 18s linear infinite;
}
.mv-track span{ letter-spacing:.16em; font-weight:600; }
@keyframes mv-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .mv-card, .mv-icon, .mv-underline, .mv-track{ transition:none !important; animation:none !important; }
}
/* ===== Acomodo suave del bloque CTA + Contacto ===== */

/* Grid más balanceado y ancho máximo cómodo */
.contact-cta-wrap{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items:center;
  max-width: 1100px; margin-inline:auto;
}
@media (max-width: 992px){
  .contact-cta-wrap{ grid-template-columns: 1fr; gap:1.6rem; }
  .cta-copy{ text-align:center; }
}

/* Espaciados y ritmo tipográfico */
.cta-copy .cta-kicker{ margin-bottom:.25rem; }
.cta-copy .cta-title{ margin:.35rem 0 .55rem; }
.cta-copy .cta-sub{ margin-bottom:1rem; }

/* Acciones más compactas y ordenadas */
.cta-actions{
  display:flex; flex-wrap:wrap; gap:.6rem .8rem; align-items:center;
}
.cta-actions .btn-cta{ order:1; }
.cta-actions .btn-ghost{ order:2; }
.cta-actions .cta-note{
  order:3; display:block; width:100%;
  margin-top:.15rem; font-size:.9rem;
  color: color-mix(in oklab, var(--ink) 70%, var(--muted));
}
.cta-actions .cta-note a{ color: var(--accent); }

/* Datos rápidos en una línea (o grid en mobile) */
.cta-quick{
  display:flex; gap:1rem; margin-top:1.1rem; flex-wrap:wrap;
}
.cta-quick .q-item{
  display:inline-flex; align-items:center; gap:.5rem;
  text-decoration:none; color: var(--ink);
  background:#fff; border:1px solid rgba(37,49,59,.10);
  padding:.45rem .75rem; border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cta-quick .q-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.cta-quick .icon-badge{
  width:32px; height:32px; border-radius:10px;
  display:grid; place-items:center;
  background: color-mix(in oklab, var(--accent) 8%, #fff);
  border:1px solid rgba(37,49,59,.08);
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(15,88,115,.12);
}

/* Tarjeta del formulario (glass claro más suave) */
.cta-hero--soft .contact-card .card{
  border: 1px solid rgba(37,49,59,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  align-items: center;
}
.contact-card h4{ margin-bottom:.75rem; }

/* Inputs cómodos y consistentes */
.contact-card .form-control,
.contact-card .form-select{
  border-radius: 12px;
  border:1px solid rgba(37,49,59,.15);
  padding:.7rem .9rem;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}

/* Botones del form alineados y con buena separación */
.contact-card .btn{ padding:.75rem 1.05rem; }
.contact-card .btn-outline-dark:hover{ background: var(--ink); color:#fff; }

/* Pequeño ajuste de contraste en tema soft */
.cta-hero--soft .cta-title{ color: var(--ink); }
.cta-hero--soft .cta-sub{ color: color-mix(in oklab, var(--ink) 75%, var(--muted)); }



/* ===========================
   CTA SOFT – Animaciones MIX
   =========================== */

/* (A) Fondo con halo que “respira” — suave y pausable al hover */
.cta-hero--soft{
  position: relative; overflow:hidden; isolation:isolate;
}
.cta-hero--soft::after{
  content:""; position:absolute; right:-12%; top:-18%;
  width:min(520px, 55vmin); height:min(520px, 55vmin);
  border-radius:50%;
  background: radial-gradient(40% 40% at 60% 40%,
              color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%);
  filter: blur(12px); opacity:.55; pointer-events:none;
  animation: cta-breathe 9s ease-in-out infinite;
  will-change: transform, opacity;
}
.cta-hero--soft:hover::after{ animation-play-state: paused; }
@keyframes cta-breathe{
  0%,100%{ transform: scale(1);   opacity:.55 }
  50%    { transform: scale(1.06); opacity:.68 }
}

/* (B) Entrada escalonada — copy izquierda y form derecha */
.anim-copy > .cta-kicker,
.anim-copy > .cta-title,
.anim-copy > .cta-sub,
.anim-copy .cta-actions,
.anim-copy .cta-quick{
  opacity:0; transform: translateY(10px);
  animation: rise-in .58s ease forwards;
}
.anim-copy > .cta-kicker{ animation-delay:.05s }
.anim-copy > .cta-title{  animation-delay:.15s }
.anim-copy > .cta-sub{    animation-delay:.25s }
.anim-copy .cta-actions{  animation-delay:.35s }
.anim-copy .cta-quick{    animation-delay:.45s }

.anim-form{
  opacity:0; transform: translateY(10px) scale(.995);
  animation: form-pop .58s cubic-bezier(.2,.8,.2,1) .25s forwards;
  will-change: transform, opacity;
}
@keyframes rise-in { to{ opacity:1; transform:none } }
@keyframes form-pop{ to{ opacity:1; transform: translateY(0) scale(1) } }

/* (C) Botón primario — pulse de entrada + sheen en hover + flecha viva */
.btn-cta{
  position:relative; overflow:hidden;
  animation: soft-pulse .85s ease-out .4s 1;
}
.btn-cta::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(115deg, transparent 0%,
              rgba(255,255,255,.55) 45%, transparent 60%);
  transform: translateX(-140%) skewX(-12deg);
  transition: transform .7s cubic-bezier(.25,.8,.25,1);
  pointer-events:none;
}
.btn-cta:hover::after{ transform: translateX(140%) skewX(-12deg); }
.btn-cta .cta-arrow{ display:inline-block; transition: transform .18s ease; }
.btn-cta:hover .cta-arrow{ transform: translateX(4px); }
@keyframes soft-pulse{
  0%  { transform: scale(.985); box-shadow: 0 0 0 0 rgba(15,88,115,.00) }
  60% { transform: scale(1.01); box-shadow: 0 14px 36px rgba(15,88,115,.28) }
  100%{ transform: scale(1); }
}

/* (D) Chips de contacto — micro-lift + glow sutil */
.cta-quick .q-item{
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cta-quick .q-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  border-color: rgba(37,49,59,.16);
}

/* (E) Inputs — focus ring animado (desde 0 hasta 4px) */
.contact-card .form-control:focus,
.contact-card .form-select:focus{
  animation: ring .22s ease-out;
}
@keyframes ring{
  from{ box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent) }
  to  { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent) }
}

/* (F) Botón “Enviar” — ripple CSS (en mousedown) */
.contact-card .btn-primary{
  position:relative; overflow:hidden;
}
.contact-card .btn-primary:after{
  content:""; position:absolute; left:50%; top:50%;
  width:0; height:0; border-radius:50%;
  background: rgba(255,255,255,.55);
  transform: translate(-50%,-50%);
  transition: width .45s ease, height .45s ease, opacity .45s ease;
  opacity:0;
}
.contact-card .btn-primary:active:after{
  width:220%; height:220%; opacity:.0;
}

/* (G) Ajustes responsivos: ritmos más rápidos en móvil */
@media (max-width: 576px){
  .anim-copy > .cta-kicker{ animation-delay: .00s }
  .anim-copy > .cta-title { animation-delay: .08s }
  .anim-copy > .cta-sub   { animation-delay: .16s }
  .anim-copy .cta-actions { animation-delay: .24s }
  .anim-copy .cta-quick   { animation-delay: .32s }
}

/* (H) Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .cta-hero--soft::after,
  .anim-copy > * ,
  .anim-form,
  .btn-cta::after,
  .btn-cta,
  .cta-quick .q-item,
  .contact-card .form-control:focus,
  .contact-card .form-select:focus{
    animation:none !important; transition:none !important;
  }
}

/* ===== Soft+ : colores más suaves y bonitos para el CTA unificado ===== */

/* Paleta derivada (suaves a partir de tus tokens) */
:root{
  --soft-ink: color-mix(in oklab, var(--ink) 80%, #fff);
  --soft-ink-2: color-mix(in oklab, var(--ink-2) 75%, #fff);
  --soft-accent: color-mix(in oklab, var(--accent) 85%, #fff);
  --soft-accent-2: color-mix(in oklab, var(--accent) 60%, #fff);
  --soft-sand: color-mix(in oklab, var(--sand) 75%, #fff);
  --soft-sand-2: color-mix(in oklab, var(--sand-2) 70%, #fff);
}

/* Fondo soft con textura muy sutil (líneas diagonales transparentes) */
.cta-hero--soft{
  position: relative;             /* necesario para el ::after */
  overflow: hidden;               /* evita desbordes del halo */
  background:
    /* textura sutil */
    linear-gradient(135deg, rgba(37,49,59,.06) 1px, transparent 1px),
    radial-gradient(900px 420px at 88% -10%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(700px 360px at -10% 120%, color-mix(in oklab, var(--ink) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--soft-sand-2), #fff);
  background-size: 8px 8px, auto, auto, auto; /* patrón fino */
  color: var(--soft-ink);
}

/* Copys más cálidos y legibles */
.cta-hero--soft .cta-title{ color: var(--soft-ink-2); }
.cta-hero--soft .cta-title span{
  background: color-mix(in oklab, var(--soft-accent) 18%, transparent);
  border-radius: 10px; padding:.06rem .38rem;
}
.cta-hero--soft .cta-sub{ color: color-mix(in oklab, var(--soft-ink) 72%, var(--muted)); }

/* Botón primario suave (pastel) */
.cta-hero--soft .btn-cta{
  background: linear-gradient(90deg, var(--soft-accent) 0%, var(--soft-accent-2) 100%);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in oklab, var(--accent) 30%, transparent);
  border: 0;
}
.cta-hero--soft .btn-cta:hover{
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 92%, #fff) 0%, var(--soft-accent) 100%);
  box-shadow: 0 16px 36px color-mix(in oklab, var(--accent) 40%, transparent);
}

/* Botón secundario “ghost” con borde dulce */
.cta-hero--soft .btn-ghost{
  border-color: color-mix(in oklab, var(--soft-ink) 35%, transparent);
  color: var(--soft-ink-2);
}
.cta-hero--soft .btn-ghost:hover{
  background: color-mix(in oklab, var(--soft-ink) 6%, transparent);
  border-color: color-mix(in oklab, var(--soft-ink) 55%, transparent);
  color: var(--ink-2);
}

/* Chips de contacto más bonitos */
.cta-quick .q-item{
  background:#fff;
  border:1px solid rgba(37,49,59,.10);
  color: var(--soft-ink-2);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1.25rem;
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 420px;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  text-align: center;             /* centrado interno */
  justify-content: center;        /* alinea contenido */
}
.cta-quick .q-item:where(a){
  text-decoration: none;          /* si alguna tarjeta es <a> */
  color: inherit;
}

.cta-quick .icon-badge{
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid;
  border-radius: 10px;
  flex: 0 0 40px;
  background: color-mix(in oklab, var(--soft-accent) 12%, #fff);
  border-color: rgba(37,49,59,.08);
  color: var(--soft-accent);
}

/* Texto ocupa el resto, sin cortar */
.cta-quick .q-body{
  flex: 1;
  min-width: 0;
}

/* Enlaces en línea y con wrap si hace falta */
.q-links{
  display: flex;
  align-items: center;
  justify-content: center;        /* centrado de líneas */
  gap: .5rem;
  flex-wrap: wrap;
  min-width: 0;
}

/* IMPORTANTE: emails pueden hacer wrap; teléfonos en nowrap */
.q-links a{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: normal;            /* permite saltos de línea */
  overflow-wrap: anywhere;        /* corta amablemente emails largos */
  word-break: break-word;
}
.q-links a.phone-link{            /* úsalo solo en enlaces tel: */
  white-space: nowrap;
}
.q-links .fa-whatsapp{ position: relative; top: -1px; }
.q-sep{ opacity:.6; }
@media (max-width: 420px){
  .q-sep{ display:none; }
}

/* Más anchos, centrados y con buen respiro */
.cta-quick{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

/* En pantallas grandes intenta mantener todo en una fila */
@media (min-width: 1200px){
  .cta-quick{ flex-wrap: nowrap; }
}

/* Centrar todo el bloque de copy */
.cta-hero--soft .cta-copy{
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  justify-items: center;
}

/* Contenedor 2 columnas: copy izquierda + imagen derecha */
.cta-hero--soft .contact-cta-wrap{
  max-width: 1100px;
  margin-inline: auto;
}

.cta-grid{
  display: grid;
  grid-template-columns: 1fr;     /* móvil: 1 columna */
  gap: 2rem;
  align-items: center;
}

/* Desktop: 2 columnas */
@media (min-width: 992px){
  .cta-grid{
    grid-template-columns: 1.1fr .9fr;
  }
  .cta-illustration{
    justify-self: end;
  }
}

/* Estilo imagen derecha (ilustración de asesoría) */
.cta-illustration{
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.35));
  backdrop-filter: blur(2px);
  border: 1px solid rgba(37,49,59,.08);
  border-radius: 18px;
  padding: 14px;
}
.cta-illustration img{
  width: min(520px, 100%);
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
  object-fit: cover;
}

/* Halo respirando (más suave) – ahora funcional */
.cta-hero--soft::after{
  content: "";
  position: absolute;
  inset: -15% -10% auto -10%;
  height: 320px;
  background:
    radial-gradient(60% 60% at 75% 30%, color-mix(in oklab, var(--soft-accent) 24%, transparent), transparent 70%);
  opacity:.42;
  filter: blur(14px);
  animation: breathe 10s ease-in-out infinite;
  pointer-events: none;
}

/* Animación suave del halo */
@keyframes breathe{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(6px) scale(1.02); }
}

/* Respeto accesibilidad para reducir animaciones */
@media (prefers-reduced-motion: reduce){
  .cta-hero--soft::after{ animation: none; }
}
/* 🔧 FIX ICONOS + CENTRADO (override final) */
.cta-quick .q-item{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:.9rem;
}

.cta-quick .icon-badge{
  flex:0 0 44px;
  width:44px; height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  /* respetamos tus colores/bordes de antes; no cambiamos palette */
}

.cta-quick .icon-badge i{
  display:block;
  line-height:1;
  font-size:20px;           /* tamaño consistente del ícono */
}

.cta-quick .q-body{
  flex:1;
  min-width:0;
  text-align:center;        /* fuerza centrado del texto */
}

.q-item .q-title{
  margin-bottom:.25rem;
  font-weight:600;
}

.q-links{
  display:flex;
  align-items:center;
  justify-content:center;   /* centrado real de los enlaces */
  gap:.5rem;
  flex-wrap:wrap;
  min-width:0;
}

.q-links a,
.q-links span{
  display:inline-flex;
  align-items:center;
  line-height:1.2;
}

.q-links .fa-whatsapp{      /* quitamos el brinco raro */
  position:static;
  top:auto;
}

/* Teléfonos sin cortes feos; emails sí pueden hacer wrap */
.q-links a.phone-link{ white-space:nowrap; }
.q-links a[href^="mailto:"]{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Centrado del bloque de copy (por si algo lo pisa) */
.cta-hero--soft .cta-copy{
  max-width:760px;
  margin-inline:auto;
  text-align:center;
  display:grid;
  justify-items:center;
}

/* Grid y ilustración alineados al centro/derecha */
.cta-grid{ align-items:center; }
@media (min-width:992px){
  .cta-illustration{ justify-self:end; }
}
/* Permitir wrap bonito cuando la tarjeta completa es mailto */
.q-item[href^="mailto:"] { white-space: normal; }
.q-item[href^="mailto:"] .q-links {
  flex-wrap: wrap;
  justify-content: center;
}

 /* ==== Ajustes visuales con tu paleta ==== */
    .cta-hero--soft{
      background:
        linear-gradient(135deg, rgba(37,49,59,.045) 1px, transparent 1px),
        radial-gradient(900px 420px at 88% -10%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
        radial-gradient(700px 360px at -10% 120%, color-mix(in oklab, var(--ink) 10%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in oklab, var(--sand-2) 80%, #fff), #fff);
      background-size: 8px 8px, auto, auto, auto;
      color: var(--ink);
    }
    .contact-cta-wrap{
      display:grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items:center;
      max-width: 1100px; margin-inline:auto;
    }
    @media (max-width: 992px){ .contact-cta-wrap{ grid-template-columns:1fr; gap:1.6rem } .cta-copy{text-align:center} }

    .cta-kicker{ letter-spacing:.12em; text-transform:uppercase; font-weight:700; color: var(--muted); font-size:.8rem }
    .cta-title{ font-weight:800; line-height:1.15; color: var(--ink-2) }
    .cta-sub{ color: color-mix(in oklab, var(--ink) 70%, var(--muted)); }

    .btn-cta{
      background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 92%, #fff), color-mix(in oklab, var(--accent) 70%, #fff));
      color:#fff; border:0; border-radius:999px; padding:.75rem 1.1rem; font-weight:700;
      box-shadow: 0 12px 28px color-mix(in oklab, var(--accent) 28%, transparent);
    }
    .btn-cta:hover{ filter:brightness(1.05) }
    .btn-ghost{ border-radius:999px; border:1px solid rgba(37,49,59,.16); color: var(--ink-2); background:#fff }
    .btn-ghost:hover{ background: color-mix(in oklab, var(--sand) 35%, #fff) }

    .icon-badge{
      display:inline-grid; place-items:center; width:32px; height:32px; border-radius:10px;
      background: color-mix(in oklab, var(--accent) 12%, #fff); border:1px solid rgba(37,49,59,.10); color: var(--accent);
      box-shadow: var(--shadow);
    }

    .cta-quick{
      display:flex; flex-wrap:wrap; justify-content:center; gap:1.2rem; margin-top:1.1rem;
    }
    .cta-quick .q-item{
      display:flex; align-items:center; gap:.75rem; text-decoration:none; color: var(--ink);
      background:#fff; border:1px solid rgba(37,49,59,.10); padding:.6rem .9rem; border-radius:999px; box-shadow: var(--shadow);
    }
    .cta-quick .q-item:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(0,0,0,.10) }

    .benefits{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0}
    .benefit{
      display:inline-flex;align-items:center;gap:.5rem;
      background:#fff;border:1px solid rgba(37,49,59,.12);color:var(--ink);
      padding:.45rem .7rem;border-radius:999px;font-size:.9rem; box-shadow: var(--shadow);
    }
    .benefit i{ color: var(--accent) }

    .trust-row{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}
    .trust-badge{
      border:1px dashed rgba(37,49,59,.18);border-radius:.75rem;padding:.55rem .75rem;font-size:.9rem;color:var(--muted); background:#fff;
    }

    /* Tarjeta / inputs con tu look */
    .contact-card .card{
      border:1px solid rgba(37,49,59,.10);
      background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
      backdrop-filter: blur(8px);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .contact-card .form-control,.contact-card .form-select{
      border-radius:12px; border:1px solid rgba(37,49,59,.15); padding:.7rem .9rem; color:var(--ink);
      background:#fff;
    }
    .contact-card .form-control::placeholder{ color: color-mix(in oklab, var(--muted) 80%, #fff) }
    .contact-card .form-control:focus,.contact-card .form-select:focus{
      border-color: var(--accent);
      box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
    }

    /* Animaciones sutiles */
    .reveal{opacity:0; transform:translateY(12px); transition:opacity .55s ease, transform .55s ease}
    .reveal.in{opacity:1; transform:none}
    @media (prefers-reduced-motion: reduce){ .reveal{transition:none} }
    /* === Teléfonos sutiles, uno junto al otro === */
.phones-inline{
  display:flex;
  gap:.6rem;
  flex-wrap:nowrap;            /* no se van a otra línea en desktop */
}
@media (max-width: 576px){
  .phones-inline{ flex-wrap:wrap; } /* en móvil sí pueden bajar */
}

.phones-inline .q-item{
  background: transparent;                       /* sin caja blanca */
  border: 1px solid color-mix(in oklab, var(--accent) 28%, #ffffff);
  color: var(--ink);
  padding: .40rem .70rem;                         /* más compacto */
  border-radius: 999px;
  box-shadow: none;                               /* sutil */
}
.phones-inline .q-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.phones-inline .icon-badge{
  width: 26px; height: 26px; border-radius: 8px;
  background: color-mix(in oklab, var(--accent) 10%, #fff);
  border: 1px solid rgba(37,49,59,.10);
  color: var(--accent);
  box-shadow: none;
}

/* === Botones WhatsApp con color (no blancos) === */
.btn-wa{
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  background: color-mix(in oklab, var(--accent) 10%, #fff); /* tinte leve */
  border-radius: 999px;
}
.btn-wa:hover{
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.btn-wa i{ opacity:.95; }

/* opcional: versión sólida si algún día la quieres */
.btn-wa--solid{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff !important;
}
.btn-wa--solid:hover{
  filter: brightness(1.05);
}
/* ===== Sellos de confianza (pro) ===== */
.trust-row--pro{
  display:flex; flex-wrap:wrap; gap:.6rem .6rem; align-items:center;
}

.trust-badge{
  display:inline-flex; align-items:center; gap:.45rem;
  background:#fff;
  border:1px solid rgba(37,49,59,.14);
  color: var(--ink);
  padding:.5rem .8rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size:.95rem;
  line-height:1;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.trust-badge i{ color: var(--accent); }
.trust-badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  border-color: rgba(37,49,59,.22);
}

/* Variante pill compacta */
.trust-badge--pill{ padding:.45rem .75rem; }

/* Sello estadístico con número destacado */
.trust-stat{
  padding:.5rem .85rem;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.86));
}
.trust-stat .num{
  font-weight:800;
  color: var(--accent);
  margin: 0 .15rem 0 .15rem;
}

/* Variantes de color sutiles */
.trust-badge.is-accent{
  border-color: color-mix(in oklab, var(--accent) 35%, #fff);
  background: color-mix(in oklab, var(--accent) 10%, #fff);
}
.trust-badge.is-accent i{ color:#0b4459; } /* tono más profundo del accent */

.trust-badge.is-ink{
  border-color: color-mix(in oklab, var(--ink) 35%, #fff);
  background: color-mix(in oklab, var(--ink) 7%, #fff);
}
.trust-badge.is-ink i{ color: var(--ink-2); }

@media (max-width:576px){
  .trust-row--pro{ gap:.5rem; }
  .trust-badge{ font-size:.92rem; }
}
.q-item.phone-link {
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .q-item.phone-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 .25rem .75rem rgba(0, 233, 250, 0.445);
    background: var(--bs-light-bg-subtle, #f8f9fa);
  }
  .icon-badge {
    width: 28px; height: 28px; display: inline-grid; place-items: center;
    border-radius: 999px; background: var(--bs-success-bg-subtle, #e9f7ef);
    color: var(--bs-success, #198754); font-size: .9rem;
  }
  .btn-wa {
    border: 1px solid rgba(25, 135, 84, .35);
    background: linear-gradient(180deg, #25d366 0%, #1ebe57 100%);
    color: #fff;
    box-shadow: 0 .25rem .5rem rgba(37, 211, 102, .25);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  }
  .btn-wa:hover { transform: translateY(-1px); filter: brightness(.98); }
  .btn-wa i { font-size: 1rem; }
  /* Soporte dark mode */
  @media (prefers-color-scheme: dark) {
    .q-item.phone-link { background: #ffffff; border-color: #2a2a2a; }
    .q-item.phone-link:hover { background: #242424; }
    .icon-badge { background: rgba(25,135,84,.15); color:#3ddc84; }
  }