/* ═══════════════════════════════════════════
   Estudio Vega & Asociados — hoja de estilos
   ═══════════════════════════════════════════ */

:root {
  /* Marca */
  --green-900: #082622;
  --green-800: #0E3B34;
  --green-700: #145046;
  --green-600: #1B6B5C;
  --green-500: #2C8A76;
  --gold: #C9A227;
  --gold-soft: #D9BC6A;

  /* Neutros */
  --ink: #0C1A17;
  --body: #445350;
  --muted: #6B7B77;
  --line: #E1E4DF;
  --cream: #F6F5F0;
  --cream-2: #EFEEE7;
  --white: #FFFFFF;

  /* Sistema */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 38, 34, .06), 0 4px 12px rgba(8, 38, 34, .05);
  --shadow-md: 0 2px 6px rgba(8, 38, 34, .07), 0 18px 40px rgba(8, 38, 34, .09);
  --shadow-lg: 0 30px 70px rgba(8, 38, 34, .18);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --wrap: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.24rem; }
p  { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.6rem, 820px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green-800); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

/* ── Tipografía auxiliar ───────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--green-600); margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.lead { font-size: 1.13rem; color: var(--body); max-width: 56ch; }

/* ── Botones ───────────────────────────────── */
.btn {
  --btn-bg: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm  { padding: .68rem 1.15rem; font-size: .9rem; }
.btn-lg  { padding: 1.08rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-700); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(12, 26, 23, .22); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-800); background: rgba(27, 107, 92, .06); }

.btn-gold { background: var(--gold-soft); color: var(--green-900); }
.btn-gold:hover { background: #E6CE86; }

.btn-whatsapp { background: #1FA855; color: #fff; }
.btn-whatsapp:hover { background: #17924a; }

/* ── Header ────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(8, 38, 34, .06); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-800); }
.brand-mark { display: grid; place-items: center; line-height: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav > a { font-size: .95rem; font-weight: 500; color: var(--body); text-decoration: none; transition: color .18s ease; }
.nav > a:hover { color: var(--green-700); }
.nav .nav-cta { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; cursor: pointer; padding: 0; place-items: center; gap: 5px; flex-direction: column;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.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); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(44, 138, 118, .22), transparent 62%),
    linear-gradient(165deg, var(--green-900) 0%, var(--green-800) 58%, #0A322C 100%);
  color: rgba(255, 255, 255, .82);
  padding: clamp(3.4rem, 7vw, 5.6rem) 0 0;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(70% 60% at 20% 30%, #000, transparent 75%);
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero h1 { color: #fff; text-wrap: balance; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.9rem; }
.hero .btn-primary { background: var(--gold-soft); color: var(--green-900); }
.hero .btn-primary:hover { background: #E6CE86; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }

.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hero-points li { position: relative; padding-left: 1.75rem; font-size: .97rem; color: rgba(255, 255, 255, .75); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 9px;
  border-left: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft);
  transform: rotate(-45deg);
}

.hero-media { position: relative; }
.hero-photo {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12);
  aspect-ratio: 4 / 3.2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: -26px;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .85rem;
  box-shadow: var(--shadow-md); border-left: 4px solid var(--gold);
  max-width: 260px;
}
.hero-badge-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--green-800); }
.hero-badge-txt { font-size: .82rem; line-height: 1.35; color: var(--muted); }

.trustbar { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .16); }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem 0; gap: 1rem; text-align: center;
}
.trustbar-inner > div { display: flex; flex-direction: column; gap: .15rem; }
.trustbar-inner strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); font-weight: 700; }
.trustbar-inner span { font-size: .82rem; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }

/* ── Secciones ─────────────────────────────── */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--green-900); }

.section-head { max-width: 700px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { text-wrap: balance; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: var(--gold-soft); }

/* ── Cards de servicios ────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #CFD8D4; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; color: var(--body); }
.card-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: rgba(27, 107, 92, .09); color: var(--green-700); margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card-list { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.card-list li { position: relative; padding-left: 1.4rem; font-size: .89rem; color: var(--muted); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
.card-feature {
  background: linear-gradient(170deg, var(--green-800), #0B332D);
  border-color: transparent; color: rgba(255, 255, 255, .8); position: relative;
}
.card-feature h3 { color: #fff; }
.card-feature p { color: rgba(255, 255, 255, .78); }
.card-feature .card-icon { background: rgba(217, 188, 106, .16); color: var(--gold-soft); }
.card-feature .card-list { border-top-color: rgba(255, 255, 255, .16); }
.card-feature .card-list li { color: rgba(255, 255, 255, .7); }
.card-feature .card-list li::before { background: var(--gold-soft); }
.card-flag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(217, 188, 106, .4);
  padding: .3rem .6rem; border-radius: 999px;
}

/* ── Split (Nosotros) ──────────────────────── */
.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
/* Variante sin foto: una sola columna centrada. Sacar esta clase al reponer la imagen. */
.split-solo { grid-template-columns: minmax(0, 780px); justify-content: center; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.split-media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 58%;
  border: 2px solid var(--gold-soft); border-radius: var(--radius-lg); z-index: -1;
}
.split-copy p { color: var(--body); }

.matriculas {
  font-size: .84rem; color: var(--muted); margin: 1.1rem 0 0;
  padding: .75rem 1rem; border-left: 3px solid var(--gold-soft);
  background: rgba(27, 107, 92, .05); border-radius: 0 10px 10px 0;
}
.matriculas strong { color: var(--green-800); font-weight: 600; }

.checklist { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-size: .97rem; }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(27, 107, 92, .1);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: .52em; width: 9px; height: 5px;
  border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

/* ── Pasos ─────────────────────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem;
}
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line); }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.step-num {
  display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--gold); margin-bottom: .6rem; letter-spacing: .05em;
}
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 42px; height: 2px; background: var(--green-700);
}

/* ── Testimonios ───────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; }
.quote {
  margin: 0; padding: 2rem 1.75rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.quote blockquote {
  margin: 0 0 1.4rem; font-family: var(--serif); font-size: 1.06rem; line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}
.quote blockquote::before { content: "“"; color: var(--gold-soft); font-size: 1.6em; line-height: 0; vertical-align: -.28em; margin-right: .06em; }
.quote figcaption { display: flex; align-items: center; gap: .85rem; }
.quote figcaption span:last-child { display: flex; flex-direction: column; }
.quote strong { color: #fff; font-size: .93rem; font-weight: 600; }
.quote small { color: rgba(255, 255, 255, .55); font-size: .82rem; }
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(217, 188, 106, .18); color: var(--gold-soft);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; flex-shrink: 0;
}

/* ── Compromiso ────────────────────────────── */
.pledge {
  padding: 2rem 1.75rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .25s ease, background-color .25s ease;
}
.pledge:hover { border-color: rgba(217, 188, 106, .35); background: rgba(255, 255, 255, .07); }
.pledge h3 { color: #fff; font-size: 1.14rem; margin-bottom: .5rem; }
.pledge p { margin: 0; font-size: .94rem; color: rgba(255, 255, 255, .7); }
.pledge-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(217, 188, 106, .16); color: var(--gold-soft); margin-bottom: 1.15rem;
}
.pledge-icon svg { width: 24px; height: 24px; }

/* ── Formulario / contacto ─────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.8rem; align-items: start; }

.form { padding: clamp(1.6rem, 3vw, 2.4rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.15rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; padding: 0;
}
.field label small, .field legend small { font-weight: 400; color: var(--muted); }
.field label span[aria-hidden] { color: var(--gold); }

.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .96rem; color: var(--ink);
  padding: .82rem .95rem; border: 1.5px solid var(--line); border-radius: 11px;
  background: #FCFCFA; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #A6B0AD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 107, 92, .12);
}
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236B7B77' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
  padding-right: 2.5rem;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #C0492F; background: #FEF7F5;
}
.error { font-size: .81rem; color: #C0492F; margin: .35rem 0 0; min-height: 0; }
.error:empty { display: none; }

.radios { display: flex; gap: .7rem; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 11px; padding: .72rem 1.1rem;
  font-size: .93rem; font-weight: 500; color: var(--body);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
  margin-bottom: 0;
}
.radio input { width: auto; accent-color: var(--green-700); margin: 0; }
.radio:has(input:checked) { border-color: var(--green-600); background: rgba(27, 107, 92, .07); color: var(--green-800); }

.form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.form-status { margin: .8rem 0 0; font-size: .9rem; text-align: center; font-weight: 500; }
.form-status.ok { color: var(--green-600); }
.form-status.err { color: #C0492F; }

.contact-side { display: grid; gap: 1.2rem; }
.info-block { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; }
.info-block h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.info-list li { display: flex; gap: .85rem; font-size: .94rem; color: var(--body); line-height: 1.45; }
.info-list small { display: inline-block; color: var(--muted); font-size: .82rem; }
.info-list a { color: var(--green-700); text-decoration: none; font-weight: 500; }
.info-list a:hover { text-decoration: underline; }
.info-ico {
  display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px; background: rgba(27, 107, 92, .1); color: var(--green-700);
}
.info-ico svg { width: 19px; height: 19px; }
.info-cta { background: var(--green-800); border-color: transparent; color: rgba(255, 255, 255, .78); }
.info-cta h3 { color: #fff; margin-bottom: .5rem; }
.info-cta p { font-size: .92rem; margin-bottom: 1.2rem; }

/* ── FAQ ───────────────────────────────────── */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.4rem; transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #CFD8D4; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; position: relative;
  font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 1.45rem;
  width: 11px; height: 11px; border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.65rem; }
.faq details p { margin: 0; padding: 0 0 1.3rem; font-size: .95rem; color: var(--body); }

/* ── CTA final ─────────────────────────────── */
.cta-final {
  background: linear-gradient(150deg, var(--green-800), var(--green-700));
  color: rgba(255, 255, 255, .82);
  padding: clamp(3rem, 6vw, 4.4rem) 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .35rem; }
.cta-inner p { margin: 0; max-width: 52ch; }

/* ── Footer ────────────────────────────────── */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .62); padding: clamp(3rem, 5vw, 4rem) 0 1.6rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-grid nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-grid a { color: rgba(255, 255, 255, .62); text-decoration: none; transition: color .18s ease; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-grid > div > a[href^="tel"], .footer-grid > div > a[href^="mailto"] { display: block; margin-bottom: .55rem; }
.footer-desc { margin: 1rem 0 0; font-size: .89rem; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.footer-social {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  padding: .5rem .9rem; border-radius: 999px; font-size: .86rem; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .68);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.footer-social:hover { border-color: var(--gold-soft); color: var(--gold-soft); background: rgba(255, 255, 255, .04); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; color: rgba(255, 255, 255, .42);
}
.footer-bottom p { margin: 0; }

/* ── WhatsApp flotante ─────────────────────── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #1FA855;
  box-shadow: 0 10px 26px rgba(31, 168, 85, .38);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .2s ease;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: #17924a; }

/* ── Animación de entrada ──────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; }
  .hero-badge { left: auto; right: 12px; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 440px; }
  .split-media img { aspect-ratio: 4 / 3.4; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 1.3rem 1.4rem; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .nav-cta { margin-top: 1rem; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-badge { position: static; margin: 1.2rem auto 0; max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .hero-actions, .cta-final { display: none; }
  body { color: #000; }
}
