/* =========================================================
   Carla Velez · Despacho Contable
   Sistema de diseño — editorial refinado / firma financiera
   ========================================================= */

:root {
  /* Marca */
  --wine:        #7D0808;
  --wine-700:    #5E0606;
  --wine-50:     #F6ECEC;
  --blue:        #1685C5;
  --blue-deep:   #075A96;
  --blue-50:     #EAF4FB;
  --beige:       #B7774A;
  --beige-50:    #F6EEE6;

  /* Neutros */
  --bg:          #FAFAF8;
  --surface:     #FFFFFF;
  --soft:        #F4F2EC;
  --ink:         #1D1D1D;
  --ink-70:      #494746;
  --gray:        #8C8C8C;
  --line:        #E7E3DA;
  --line-strong: #D8D2C6;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radios y sombras */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(29,29,29,.04), 0 2px 8px rgba(29,29,29,.04);
  --shadow-md: 0 4px 14px rgba(29,29,29,.06), 0 12px 32px rgba(29,29,29,.06);
  --shadow-lg: 0 18px 50px rgba(7,90,150,.10), 0 6px 18px rgba(29,29,29,.06);
  --shadow-wine: 0 12px 30px rgba(125,8,8,.22);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--wine); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section--soft { background: var(--soft); }

/* ---------- Tipografía ---------- */
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--wine); font-weight: 500; }
.section--ink .section-title em, .cta-card h2 em { color: #F0B7B7; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead {
  margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-70); max-width: 60ch;
}
.section-head--center .section-lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 18px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--beige); box-shadow: 0 0 0 4px var(--beige-50); }
.eyebrow--light { color: #F0B7B7; }
.eyebrow--light .eyebrow-dot { background: #F0B7B7; box-shadow: 0 0 0 4px rgba(240,183,183,.15); }

/* ---------- Botones ---------- */
.btn {
  --bx: 26px; --by: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: var(--by) var(--bx); border-radius: 100px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background-color .25s ease, color .25s ease;
  will-change: transform; white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --bx: 20px; --by: 11px; font-size: .9rem; }
.btn-lg { --bx: 30px; --by: 17px; font-size: 1.02rem; }
.btn-xl { --bx: 38px; --by: 21px; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--wine); color: #fff; box-shadow: var(--shadow-wine); }
.btn-primary:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(125,8,8,.30); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }

.btn-light { background: var(--bg); color: var(--wine); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.ico-wa { flex: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.78);
  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, background-color .3s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(29,29,29,.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; flex: none; }
.brand-mark img { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.24rem; letter-spacing: -.01em; color: var(--ink); }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.btn) {
  padding: 10px 14px; font-weight: 500; font-size: .96rem; color: var(--ink-70);
  border-radius: 100px; position: relative; transition: color .2s ease;
}
.nav-links > a:not(.btn):hover { color: var(--wine); }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; border-radius: 2px;
}
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 6vw, 76px); overflow: clip; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(22,133,197,.10), transparent 70%),
    radial-gradient(50% 45% at 8% 30%, rgba(125,8,8,.06), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
/* Evita el desbordamiento por min-width:auto en hijos de grid/flex */
.hero-grid > *, .benefits-grid > *, .trust-grid > *, .contact-grid > * { min-width: 0; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.022em;
  margin-top: 6px; text-wrap: balance; overflow-wrap: break-word;
}
.hero-title em { font-style: italic; color: var(--wine); }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-70); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 38px;
  padding-top: 30px; border-top: 1px solid var(--line);
  max-width: 540px;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-70); }
.ico-check { width: 21px; height: 21px; flex: none; color: var(--blue-deep); background: var(--blue-50); border-radius: 50%; padding: 3px; }

/* Hero visual composición */
.hero-visual { position: relative; min-height: 420px; }
.hv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hv-card--main { padding: 26px 26px 22px; position: relative; z-index: 2; }
.hv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wine); }
.hv-title { font-weight: 700; font-size: 1rem; }
.hv-badge { margin-left: auto; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--blue-deep); background: var(--blue-50); padding: 5px 12px; border-radius: 100px; }
.hv-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; color: var(--gray); margin-bottom: 8px; }
.hv-row strong { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); font-weight: 600; }
.hv-bar { height: 9px; border-radius: 100px; background: var(--soft); overflow: hidden; margin-bottom: 20px; }
.hv-bar i { display: block; height: 100%; width: var(--w); border-radius: 100px; background: linear-gradient(90deg, var(--wine), var(--beige)); transform-origin: left; }
.hv-bar--blue i { background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.hv-chart { width: 100%; height: 90px; margin-top: 6px; }

.hv-card--badge, .hv-card--doc {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px;
  z-index: 3; border-radius: var(--r-md); box-shadow: var(--shadow-md);
}
.hv-card--badge { top: 14px; right: -10px; }
.hv-card--doc { bottom: 8px; left: -14px; }
.hv-card strong { display: block; font-size: .9rem; line-height: 1.2; }
.hv-card--badge span:not(.hv-pill-ico), .hv-card--doc span:not(.hv-doc-ico) { font-size: .76rem; color: var(--gray); }
.hv-pill-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wine-50); }
.hv-doc-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); }

@media (prefers-reduced-motion: no-preference) {
  .hv-card--badge { animation: float 6s ease-in-out infinite; }
  .hv-card--doc { animation: float 6s ease-in-out infinite .8s; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Trust strip */
.trust-strip {
  margin-top: clamp(48px, 7vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; justify-content: center;
  padding: 22px 28px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  font-size: .95rem;
}
.trust-strip > span { color: var(--gray); font-weight: 500; }
.trust-strip strong { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.trust-strip i { color: var(--beige); font-style: normal; }

/* ---------- Servicios ---------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.service-ico {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(150deg, var(--wine-50), #fff);
  color: var(--wine); margin-bottom: 20px; box-shadow: inset 0 0 0 1px rgba(125,8,8,.08);
}
.service-ico svg { width: 30px; height: 30px; }
.service-card:nth-child(2n) .service-ico { background: linear-gradient(150deg, var(--blue-50), #fff); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(7,90,150,.08); }
.service-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.18; letter-spacing: -.01em; }
.service-card p { margin-top: 10px; font-size: .96rem; color: var(--ink-70); flex: 1; }
.card-link {
  margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .92rem; color: var(--wine);
}
.card-link span { transition: transform .25s ease; }
.card-link:hover span { transform: translateX(4px); }
.service-card:nth-child(2n) .card-link { color: var(--blue-deep); }

/* ---------- ¿A quién ayudamos? ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.audience-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--wine), var(--beige)); transform: scaleY(0); transform-origin: top;
  transition: transform .4s ease;
}
.audience-card:nth-child(3n+2)::before { background: linear-gradient(var(--blue-deep), var(--blue)); }
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.audience-card:hover::before { transform: scaleY(1); }
.audience-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--beige); font-weight: 500; }
.audience-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; margin-top: 8px; letter-spacing: -.01em; }
.audience-card p { margin-top: 10px; color: var(--ink-70); font-size: .97rem; }

/* ---------- Beneficios ---------- */
.benefits-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.benefits-copy { position: sticky; top: calc(var(--nav-h) + 30px); }
.benefits-copy .btn { margin-top: 30px; }
.benefits-list { display: grid; gap: 14px; }
.benefits-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefits-list li:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.benefit-check {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--wine); color: #fff; box-shadow: var(--shadow-wine);
}
.benefit-check svg { width: 20px; height: 20px; }
.benefits-list strong { display: block; font-size: 1.04rem; font-weight: 700; }
.benefits-list div span { display: block; margin-top: 3px; color: var(--ink-70); font-size: .94rem; }

/* ---------- Cómo funciona (oscuro) ---------- */
.section--ink {
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(22,133,197,.22), transparent 55%),
    linear-gradient(160deg, #2A0808, #160404 60%, #0B0303);
  color: #F1ECE6;
}
.section--ink .section-title { color: #FBF6F0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; padding: 34px 28px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg); backdrop-filter: blur(2px);
  transition: transform .35s ease, background-color .35s ease, border-color .35s ease;
}
.step:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(240,183,183,.35); }
.step-num {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff;
  background: linear-gradient(150deg, var(--wine), var(--blue-deep));
  box-shadow: 0 8px 22px rgba(0,0,0,.35); margin-bottom: 22px;
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: #FBF6F0; }
.step p { margin-top: 10px; color: rgba(241,236,230,.78); font-size: .98rem; }
.step::after {
  content: ""; position: absolute; top: 56px; right: -24px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(240,183,183,.5) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.steps-cta { text-align: center; margin-top: 48px; }

/* ---------- Nosotros / Confianza ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.trust-copy .btn { margin-top: 30px; }
.trust-copy .section-lead strong { color: var(--ink); font-weight: 700; }
.trust-values { display: grid; gap: 12px; }
.trust-values li {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.trust-values li:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.tv-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--beige-50); color: var(--beige); }
.tv-ico svg { width: 24px; height: 24px; }
.trust-values strong { display: block; font-size: 1.02rem; font-weight: 700; }
.trust-values div span { display: block; color: var(--ink-70); font-size: .92rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.contact-direct { display: grid; gap: 12px; margin-top: 32px; max-width: 420px; }
.contact-chip {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.contact-chip span:not(.chip-ico) { display: flex; flex-direction: column; font-weight: 700; font-size: 1.02rem; word-break: break-word; }
.contact-chip small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.chip-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #1FAE5A1A; color: #1FAE5A; }
.chip-ico--blue { background: var(--blue-50); color: var(--blue-deep); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #ADA89E; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(22,133,197,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(125,8,8,.10); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; font-size: .9rem; }
.field-error { display: block; min-height: 0; font-size: .82rem; color: var(--wine); margin-top: 5px; font-weight: 600; }
.form-note { margin-top: 14px; font-size: .85rem; color: var(--gray); text-align: center; }
.contact-form .btn-block { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  color: var(--ink); cursor: pointer; list-style: none; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; position: relative; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--wine); border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.faq-icon::before { top: 10px; left: 2px; right: 2px; height: 2.4px; }
.faq-icon::after { left: 10px; top: 2px; bottom: 2px; width: 2.4px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 24px 24px; color: var(--ink-70); font-size: 1rem; max-width: 64ch; }
/* animación de apertura controlada por JS via grid-rows */
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-answer > p { min-height: 0; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }

/* ---------- CTA final ---------- */
.cta-final { padding-block: clamp(48px, 6vw, 84px); }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 56px);
  border-radius: var(--r-xl); color: #FBF6F0;
  background:
    radial-gradient(70% 130% at 80% 10%, rgba(22,133,197,.30), transparent 55%),
    linear-gradient(150deg, var(--wine), var(--wine-700) 55%, #3A0606);
  box-shadow: 0 30px 70px rgba(125,8,8,.32);
}
.cta-glow {
  position: absolute; width: 60%; height: 200%; left: -10%; top: -50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}
.cta-card .eyebrow { justify-content: center; }
.cta-card h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.08; letter-spacing: -.018em; max-width: 16ch; margin-inline: auto;
}
.cta-card h2 em { font-style: italic; color: #F6C9C9; }
.cta-card p { margin-top: 18px; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: rgba(251,246,240,.82); max-width: 46ch; margin-inline: auto; }
.cta-card .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { background: #160404; color: rgba(250,250,248,.72); padding-top: clamp(48px, 6vw, 72px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo {
  display: inline-block; background: #FFFFFF; padding: 16px 22px; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .3s ease, box-shadow .3s ease;
}
.footer-logo:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,.36); }
.footer-logo img { height: 92px; width: auto; display: block; }
.footer-tag { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: rgba(250,250,248,.8); max-width: 30ch; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,250,248,.5); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(250,250,248,.78); font-size: .96rem; transition: color .2s ease; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-cta { margin-top: 14px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  border-top: 1px solid rgba(250,250,248,.12); padding-block: 24px;
  font-size: .85rem; color: rgba(250,250,248,.5);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0; color: #fff; background: #1FAE5A;
  border-radius: 100px; padding: 15px; box-shadow: 0 12px 30px rgba(31,174,90,.45);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, padding .3s ease;
  overflow: hidden;
}
.wa-float svg { flex: none; }
.wa-float-label { max-width: 0; opacity: 0; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: max-width .35s ease, opacity .25s ease, margin .35s ease; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(31,174,90,.55); }
.wa-float:hover .wa-float-label { max-width: 220px; opacity: 1; margin-left: 10px; margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: waPulse 3.4s ease-in-out infinite; }
  @keyframes waPulse { 0%,100% { box-shadow: 0 12px 30px rgba(31,174,90,.45); } 50% { box-shadow: 0 12px 30px rgba(31,174,90,.45), 0 0 0 14px rgba(31,174,90,.0); } }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,4,4,.55); backdrop-filter: blur(4px); animation: fade .3s ease; }
.modal-card {
  position: relative; width: min(440px, 100%); background: var(--surface);
  border-radius: var(--r-xl); padding: 40px 34px 30px; text-align: center;
  box-shadow: var(--shadow-lg); animation: pop .4s cubic-bezier(.2,.8,.3,1);
}
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 1.6rem; color: var(--gray); line-height: 1; width: 36px; height: 36px; border-radius: 50%; transition: background-color .2s ease; }
.modal-close:hover { background: var(--soft); }
.modal-check { display: inline-grid; place-items: center; color: #1FAE5A; margin-bottom: 14px; }
.modal-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
.modal-card p { margin-top: 10px; color: var(--ink-70); }
.modal-card .btn { margin-top: 22px; }
.modal-card .btn-ghost { margin-top: 10px; box-shadow: none; color: var(--gray); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- Animaciones de aparición ---------- */
/* Solo se ocultan si JS está disponible (clase .js en <html>), para que
   el contenido siga visible si el script no carga. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hv-card--badge, .hv-card--doc, .wa-float, .about-orbit { animation: none !important; }
}

/* =========================================================
   AMPLIACIÓN VISUAL — imágenes, gráficos y detalles finos
   ========================================================= */

/* ---------- Decoración reutilizable ---------- */
.deco-section { position: relative; overflow: clip; }
.deco-section > .container { position: relative; z-index: 1; }

/* Orbe de color suave (sin blur: barato y nítido) */
.deco-orb {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: clamp(280px, 38vw, 540px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--orb, rgba(22,133,197,.14)), transparent 68%);
}
.deco-orb--ayudamos { top: -120px; right: -140px; --orb: rgba(22,133,197,.13); }
.deco-orb--about    { bottom: -160px; left: -160px; --orb: rgba(125,8,8,.08); }
.deco-orb--stats    { top: 50%; right: -120px; transform: translateY(-50%); width: clamp(220px, 26vw, 360px); --orb: rgba(183,119,74,.12); }

/* Marca de agua (logo) en superficies oscuras */
.deco-mark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  width: clamp(220px, 30vw, 380px); height: auto; opacity: .06;
}
.deco-mark--ink { top: -30px; right: -36px; opacity: .07; }
.deco-mark--cta { right: -40px; bottom: -50px; width: clamp(180px, 24vw, 300px); opacity: .10; z-index: 0; }
.deco-mark--footer { right: -30px; top: 10px; width: clamp(180px, 22vw, 280px); opacity: .05; }
.section--ink > .container { position: relative; z-index: 1; }
.cta-card > *:not(.cta-glow):not(.deco-mark) { position: relative; z-index: 1; }
.footer-inner, .footer-bottom { position: relative; z-index: 1; }

/* ---------- Banda de pilares / métricas ---------- */
.stats-band {
  position: relative; overflow: clip;
  padding-block: clamp(38px, 5vw, 60px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stats-grid .stat:not(:first-child) { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-ico {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(150deg, var(--wine-50), #fff);
  color: var(--wine); box-shadow: inset 0 0 0 1px rgba(125,8,8,.08);
}
.stat:nth-child(2n) .stat-ico { background: linear-gradient(150deg, var(--blue-50), #fff); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(7,90,150,.08); }
.stat-ico svg { width: 27px; height: 27px; }
.stat-body { min-width: 0; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.stat-num small { font-size: .62em; color: var(--beige); font-weight: 600; }
.stat-label { display: block; margin-top: 5px; font-size: .9rem; color: var(--ink-70); line-height: 1.3; }

/* ---------- Iconos en tarjetas de audiencia ---------- */
.audience-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.audience-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(150deg, var(--wine-50), #fff);
  color: var(--wine); box-shadow: inset 0 0 0 1px rgba(125,8,8,.08);
}
.audience-ico svg { width: 25px; height: 25px; }
.audience-card:nth-child(3n+2) .audience-ico { background: linear-gradient(150deg, var(--blue-50), #fff); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(7,90,150,.08); }
.audience-head .audience-num { margin: 0; }

/* ---------- Nosotros: visual de marca ---------- */
.about-top { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-top > * { min-width: 0; }
.about-visual { position: relative; }
.about-card {
  position: relative; overflow: hidden; text-align: center; margin: 0;
  padding: clamp(34px, 4.5vw, 52px) clamp(24px, 4vw, 44px) clamp(28px, 3.5vw, 40px);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(22,133,197,.08), transparent 60%),
    linear-gradient(160deg, #fff, var(--soft));
  box-shadow: var(--shadow-lg);
}
.about-orbit {
  position: absolute; left: 50%; top: clamp(96px, 14vw, 130px); z-index: 0;
  width: 230px; height: 230px; transform: translate(-50%, -50%);
  border: 1.5px solid rgba(7,90,150,.16); border-radius: 50%;
}
.about-orbit--2 { width: 320px; height: 320px; border-color: rgba(125,8,8,.10); border-style: dashed; }
@media (prefers-reduced-motion: no-preference) {
  .about-orbit { animation: aboutSpin 26s linear infinite; }
  .about-orbit--2 { animation: aboutSpin 40s linear infinite reverse; }
}
@keyframes aboutSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.about-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  color: var(--blue-deep); background: var(--blue-50);
  padding: 7px 12px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.about-logo {
  position: relative; z-index: 1; width: clamp(128px, 18vw, 162px); height: auto; margin: 4px auto 20px;
  filter: drop-shadow(0 16px 26px rgba(7,90,150,.20));
}
.about-caption { position: relative; z-index: 1; }
.about-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.85rem); letter-spacing: -.01em; color: var(--ink); display: block; }
.about-role { display: block; margin-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.about-note { margin: 14px auto 0; max-width: 34ch; color: var(--ink-70); font-size: .96rem; }
.about-creds { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.about-cred {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--ink-70);
  padding: 7px 13px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.about-cred svg { width: 14px; height: 14px; flex: none; color: var(--blue-deep); }

/* ---------- Nosotros: tarjeta con FOTO ---------- */
.about-card--photo { padding: clamp(16px, 2vw, 20px); text-align: left; }
.about-photo {
  position: relative; z-index: 1; border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 16px 38px rgba(7,90,150,.18);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(125,8,8,.05) 0%, transparent 26%, rgba(22,4,4,.34) 100%);
}
.about-card--photo .about-badge { position: absolute; top: 16px; right: 16px; z-index: 2; }
.about-float {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 11px; max-width: calc(100% - 32px);
  padding: 11px 15px 11px 11px; border-radius: 15px;
  background: rgba(255,255,255,.94); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.about-float-ico {
  flex: none; display: flex; align-items: center; justify-content: center; line-height: 0;
  width: 36px; height: 36px; border-radius: 10px; background: var(--wine); color: #fff;
  box-shadow: var(--shadow-wine);
}
.about-float-ico svg { width: 19px; height: 19px; display: block; }
.about-float-tx { display: flex; flex-direction: column; line-height: 1.2; }
.about-float-tx strong { font-size: .92rem; font-weight: 700; color: var(--ink); }
.about-float-tx small { font-size: .74rem; color: var(--gray); }
.about-card--photo .about-creds { margin-top: 16px; justify-content: center; }

/* ---------- Imagen dentro de columnas de texto (Beneficios / Contacto) ---------- */
.copy-figure {
  position: relative; margin-top: clamp(26px, 3vw, 34px);
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.copy-figure--wide { aspect-ratio: 16 / 9; }
.copy-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.copy-figure:hover img { transform: scale(1.04); }
.copy-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(7,90,150,.10) 0%, transparent 45%, rgba(125,8,8,.30) 100%);
}
.copy-figure-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 11px; border-radius: 100px;
  background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 700; color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cf-ico { flex: none; display: flex; align-items: center; justify-content: center; line-height: 0;
  width: 26px; height: 26px; border-radius: 8px; background: var(--wine-50); color: var(--wine); }
.cf-ico svg { width: 16px; height: 16px; display: block; }

/* Valores en fila (tarjetas verticales) */
.trust-values--row {
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(40px, 5vw, 60px);
}
.trust-values--row li {
  flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 22px 22px 24px;
}
.trust-values--row li:hover { transform: translateY(-5px); }
.trust-values--row .tv-ico { width: 48px; height: 48px; }

/* ---------- Anillos decorativos del hero ---------- */
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 300px; height: 300px; right: -34px; top: -26px;
  border: 1.5px solid rgba(22,133,197,.16); border-radius: 50%;
}
.hero-visual::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 170px; height: 170px; left: -28px; bottom: 6px;
  border: 1.5px dashed rgba(125,8,8,.14); border-radius: 50%;
}

/* ---------- Servicios: textura sutil de fondo de icono ---------- */
.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(125,8,8,.05), transparent 70%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.service-card:nth-child(2n)::after { background: radial-gradient(circle, rgba(7,90,150,.06), transparent 70%); }
.service-card:hover::after { opacity: 1; }

/* ---------- Centrado universal y robusto de iconos ----------
   Se usa flexbox (en vez del atajo place-items) + line-height:0 para
   garantizar que cada icono quede perfectamente centrado en su caja
   en todos los navegadores, sin desplazamientos verticales. */
.service-ico, .audience-ico, .stat-ico, .tv-ico, .chip-ico,
.benefit-check, .step-num, .hv-pill-ico, .hv-doc-ico {
  display: flex; align-items: center; justify-content: center; line-height: 0;
}
.brand-mark, .modal-check {
  display: inline-flex; align-items: center; justify-content: center; line-height: 0;
}
.modal { display: flex; align-items: center; justify-content: center; }
/* El svg se trata como bloque sin baseline ni encogimiento */
.service-ico > svg, .audience-ico > svg, .stat-ico > svg, .tv-ico > svg,
.chip-ico > svg, .benefit-check > svg, .hv-pill-ico > svg, .hv-doc-ico > svg {
  display: block; flex: none;
}

/* ---------- Responsive de las mejoras ---------- */
@media (max-width: 1024px) {
  .about-top { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .trust-values--row { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .stats-grid .stat:nth-child(odd) { padding-left: 0; border-left: none; }
}
@media (max-width: 860px) {
  .hero-visual::before { width: 230px; height: 230px; }
}
@media (max-width: 640px) {
  .trust-values--row { grid-template-columns: 1fr; }
  .trust-values--row li { flex-direction: row; align-items: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .stats-grid .stat:not(:first-child) { padding-left: 0; border-left: none; padding-top: 18px; border-top: 1px solid var(--line); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; min-height: 380px; }
}

@media (max-width: 860px) {
  .benefits-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .benefits-copy, .contact-intro { position: static; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Nav móvil */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 18px var(--gutter) 28px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(29,29,29,.10);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 14px 8px; font-size: 1.06rem; border-bottom: 1px solid var(--line); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-grid, .audience-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: clamp(1.85rem, 7.6vw, 2.4rem); letter-spacing: -.015em; line-height: 1.1; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-trust { grid-template-columns: 1fr; }
  .hv-card--doc { left: 0; }
  .hv-card--badge { right: 0; }
  .trust-strip { font-size: .88rem; }
}
