/*
 * ============================================================
 * GLOBAL JURÍDICO — MASTER LANDING PAGE STYLESHEET
 * ============================================================
 * Versión:  1.0  |  Agosto 2026
 *
 * INSTRUCCIONES:
 * Este es el archivo MAESTRO. Es idéntico en todas las
 * carpetas de áreas (familia / laboral / deudas / cobranza).
 * NO modificar el contenido — solo la identidad visual global.
 * Para una nueva área: copiar esta carpeta completa y cambiar
 * únicamente el HTML (index.html y gracias.html).
 * ============================================================
 */

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
/* scroll-behavior: smooth eliminado — el smooth scroll JS calcula el offset del header sticky */
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   2. CSS CUSTOM PROPERTIES — Brand Tokens
   ============================================================ */
:root {
  /* Colores corporativos */
  --navy:        #111111;
  --navy-mid:    #1A1A1A;
  --navy-light:  #272727;
  --gold:        #C9A84C;
  --gold-hover:  #B8963C;
  --gold-light:  #E2CC96;
  --gold-pale:   #F7F0DC;
  --white:       #FFFFFF;
  --off-white:   #FAFAF7;
  --gray-100:    #F2F1EE;
  --gray-200:    #E0DDD8;
  --gray-400:    #9A9790;
  --gray-600:    #5C5A56;
  --gray-800:    #2A2826;
  --whatsapp:    #25D366;
  --whatsapp-dk: #1EAD53;
  --red:         #C0392B;

  /* Tipografía */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Raleway', system-ui, sans-serif;

  /* Espaciados */
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container: 1140px;
  --pad-x:     1.25rem;

  /* Bordes */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 24px;

  /* Sombras */
  --sh-sm:   0 1px 4px rgba(0,0,0,.10);
  --sh-md:   0 4px 16px rgba(0,0,0,.12);
  --sh-lg:   0 8px 32px rgba(0,0,0,.16);
  --sh-gold: 0 4px 20px rgba(201,168,76,.30);

  /* Transiciones */
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .3s var(--ease);
}

/* ============================================================
   3. TIPOGRAFÍA BASE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; line-height: 1.75; }
small { font-size: .8rem; }

.gj-gold     { color: var(--gold); }
.gj-serif    { font-family: var(--serif); }
.text-center { text-align: center; }

/* ============================================================
   4. LAYOUT / CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   5. COMPONENTES — Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--r-xl);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: var(--t);
  cursor: pointer;
  white-space: nowrap;
}

/* Primario: fondo dorado */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--sh-gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,.40);
}
.btn-primary:active { transform: translateY(0); }

/* Secundario: borde blanco sobre fondo oscuro */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* Borde oscuro sobre fondo claro */
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* WhatsApp */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dk);
  transform: translateY(-2px);
}

/* Grande */
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Full width en mobile */
.btn-block { width: 100%; }

/* ============================================================
   6. COMPONENTES — Badges / Etiquetas
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  border-radius: var(--r-xl);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-gold   { background: rgba(201,168,76,.15); color: var(--gold); border: 1px solid rgba(201,168,76,.3); }
.badge-white  { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.badge-dark   { background: var(--navy-light); color: var(--gold); border: 1px solid rgba(201,168,76,.2); }

/* ============================================================
   7. COMPONENTES — Sección / Title block
   ============================================================ */
.sec-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}
.sec-title   { margin-bottom: 1rem; }
.sec-sub     { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; }
.sec-header  { margin-bottom: var(--sp-12); }
.sec-header.centered { text-align: center; }
.sec-header.centered .sec-sub { margin-inline: auto; }

/* Línea decorativa dorada bajo título */
.sec-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: .75rem;
  border-radius: 2px;
}
.sec-header.centered .sec-title::after { margin-inline: auto; }

/* ============================================================
   8. TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar__items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.topbar__item svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar__cta {
  background: var(--red);
  color: var(--white);
  padding: .35rem .9rem;
  border-radius: var(--r-xl);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.topbar__cta:hover { background: #a93226; }

/* ============================================================
   9. HEADER / NAVBAR
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--sh-sm);
  padding: .9rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo__mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo__mark span {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -.01em;
}
.logo__text strong {
  display: block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}
.logo__text small {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Nav CTA */
.header__cta { display: flex; align-items: center; gap: .75rem; }
.header__phone {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.header__phone svg { color: var(--gold); }

/* ============================================================
   10. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: var(--sp-16) var(--pad-x) var(--sp-16);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 85% at 85% 50%, rgba(201,168,76,.07) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 85%, rgba(201,168,76,.04) 0%, transparent 55%),
    linear-gradient(165deg, #1C1C1C 0%, #111111 45%, #0A0A0A 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__badge { margin-bottom: var(--sp-6); }
.hero__title {
  color: var(--white);
  margin-bottom: var(--sp-6);
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: var(--sp-10);
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: var(--sp-12);
}
.hero__trust {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.hero__trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   11. SECCIÓN PROBLEMA
   ============================================================ */
.sec-problema {
  background: var(--gold-pale);
  padding: var(--sp-20) var(--pad-x);
}
.problema-intro {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin-bottom: var(--sp-12);
  max-width: 680px;
}
.problema-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.problema-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  box-shadow: var(--sh-sm);
  border-left: 4px solid var(--gold);
  transition: var(--t);
}
.problema-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sh-md);
}
.problema-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}
.problema-card__text strong {
  display: block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.problema-card__text p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ============================================================
   12. SECCIÓN CONSECUENCIAS
   ============================================================ */
.sec-consecuencias {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-20) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.sec-consecuencias::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
  pointer-events: none;
}
.sec-consecuencias .sec-sub { color: rgba(255,255,255,.70); }
.sec-consecuencias .sec-title { color: var(--white); }
.sec-consecuencias .sec-title::after { background: var(--gold); }
.cons-list { display: flex; flex-direction: column; gap: 1rem; }
.cons-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: var(--sp-6);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  transition: var(--t);
}
.cons-item:hover { background: rgba(255,255,255,.07); }
.cons-item__num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.cons-item__text strong {
  display: block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .2rem;
}
.cons-item__text p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ============================================================
   13. SECCIÓN SOLUCIÓN
   ============================================================ */
.sec-solucion {
  background: var(--off-white);
  padding: var(--sp-20) var(--pad-x);
}
.solucion-layout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.solucion-imagen {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy, #111111);
}
.solucion-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* SVG ilustración decorativa */
.solucion-imagen > svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Placeholder desactivado — se usa SVG decorativo en su lugar */
.solucion-imagen::after { content: ''; }
.solucion-imagen img + * { display: none; }
.solucion-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-xl);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}
.solucion-lista { margin: var(--sp-6) 0; display: flex; flex-direction: column; gap: .6rem; }
.solucion-lista li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--gray-800);
}
.solucion-lista li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23111' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.solucion-stat {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--gray-200);
}
.stat__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat__num em { color: var(--gold); font-style: normal; }
.stat__label { font-size: .8rem; color: var(--gray-600); margin-top: .2rem; font-weight: 500; }

/* ============================================================
   14. SECCIÓN SERVICIOS / ÁREAS
   ============================================================ */
.sec-servicios {
  background: var(--white);
  padding: var(--sp-20) var(--pad-x);
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.servicio-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}
.servicio-card:hover::before { transform: scaleX(1); }
.servicio-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.servicio-card__icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.servicio-card__title {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.servicio-card__desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ============================================================
   15. SECCIÓN PROCESO
   ============================================================ */
.sec-proceso {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-20) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.sec-proceso .sec-title  { color: var(--white); }
.sec-proceso .sec-sub    { color: rgba(255,255,255,.70); }
.sec-proceso .sec-title::after { background: var(--gold); }
.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: relative;
}

/* Línea conectora vertical */
.proceso-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,.2));
}
.proceso-step {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
  position: relative;
}
.proceso-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(201,168,76,.15);
}
.proceso-step__content { padding-top: .5rem; }
.proceso-step__title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.proceso-step__desc { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* CTA inferior del proceso */
.proceso-cta {
  text-align: center;
  margin-top: var(--sp-12);
  padding-top: var(--sp-12);
  border-top: 1px solid rgba(255,255,255,.1);
}
.proceso-cta p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-bottom: var(--sp-6);
}

/* ============================================================
   16. SECCIÓN CASOS DE ÉXITO
   ============================================================ */
.sec-casos {
  background: var(--gold-pale);
  padding: var(--sp-20) var(--pad-x);
}
.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.caso-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  border-top: 4px solid var(--gold);
  transition: var(--t);
}
.caso-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.caso-card__area {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.caso-card__area::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.caso-card__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.caso-card__desc { font-size: .875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: var(--sp-4); }
.caso-card__result {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  padding: .5rem .75rem;
  background: var(--gold-pale);
  border-radius: var(--r-md);
}
.caso-card__result::before { content: '✓'; color: var(--gold); font-size: 1rem; }

/* ============================================================
   17. SECCIÓN TESTIMONIOS
   ============================================================ */
.sec-testimonios {
  background: var(--white);
  padding: var(--sp-20) var(--pad-x);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.testimonio-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  transition: var(--t);
}
.testimonio-card:hover { box-shadow: var(--sh-md); }
.testimonio-card::before {
  content: '"';
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: .2;
  position: absolute;
  top: .5rem;
  left: 1rem;
  line-height: 1;
}
.estrellas {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.testimonio-card__texto {
  font-size: .9rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}
.testimonio-card__autor {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-200);
}
.autor-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.autor-nombre {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
}
.autor-detalle { font-size: .75rem; color: var(--gray-400); }

/* ============================================================
   18. SECCIÓN FAQ
   ============================================================ */
.sec-faq {
  background: var(--gray-100);
  padding: var(--sp-20) var(--pad-x);
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--t);
}
.faq-item.active { box-shadow: var(--sh-md); border-color: var(--gold-light); }
.faq-pregunta {
  width: 100%;
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  text-align: left;
  cursor: pointer;
  background: none;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--t);
}
.faq-pregunta:hover { color: var(--gold); }
.faq-item.active .faq-pregunta { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
}
.faq-item.active .faq-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}
.faq-respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-respuesta-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.active .faq-respuesta { max-height: 600px; } /* 600px evita corte en respuestas largas */

/* ============================================================
   19. SECCIÓN FORMULARIO
   ============================================================ */
.sec-formulario {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-20) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.sec-formulario::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}
.sec-formulario .sec-title  { color: var(--white); }
.sec-formulario .sec-sub    { color: rgba(255,255,255,.70); }
.sec-formulario .sec-title::after { background: var(--gold); }

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 600px;
  margin-top: var(--sp-8);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: .95rem;
  transition: var(--t);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { appearance: none; }
.form-group select option { background: var(--navy-mid); }
.form-submit {
  margin-top: var(--sp-4);
  width: 100%;
  padding: 1rem;
  border-radius: var(--r-xl);
  background: var(--gold);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--t);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.form-submit:hover:not(:disabled) {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-nota {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-top: var(--sp-4);
}
.form-nota a { color: rgba(255,255,255,.6); text-decoration: underline; }

/* Mensaje de resultado */
.form-result {
  display: none;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  margin-top: var(--sp-4);
  font-size: .9rem;
  text-align: center;
}
.form-result.success {
  display: block;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.3);
  color: #7AE69B;
}
.form-result.error {
  display: block;
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  color: #F1948A;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.footer {
  background: var(--navy-mid);
  color: rgba(255,255,255,.6);
  padding: var(--sp-16) var(--pad-x) var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
.footer-brand p {
  font-size: .875rem;
  line-height: 1.65;
  max-width: 300px;
  margin-top: var(--sp-4);
}
.footer-col__title {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.footer-col__links { display: flex; flex-direction: column; gap: .5rem; }
.footer-col__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: var(--t);
}
.footer-col__links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
}
.footer-contact__item svg { color: var(--gold); margin-top: .1rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
  font-size: .75rem;
}
.footer-bottom a { color: var(--gold); transition: var(--t); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   21. BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.40);
  transition: var(--t);
  animation: pulse-green 2.5s ease infinite;
}
.whatsapp-float:hover {
  background: var(--whatsapp-dk);
  transform: scale(1.1);
}
.whatsapp-float svg { color: var(--white); width: 28px; height: 28px; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.40); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.70); }
}

/* Tooltip WhatsApp */
.whatsapp-float::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  padding: .4rem .8rem;
  border-radius: var(--r-md);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--sans);
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
  box-shadow: var(--sh-md);
}
.whatsapp-float:hover::before { opacity: 1; }

/* ============================================================
   22. ANIMACIONES — Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   23. GRACIAS.HTML — Página de agradecimiento
   ============================================================ */
.gracias-page {
  min-height: 100svh;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) var(--pad-x);
}
.gracias-icon {
  font-size: 3.5rem;
  margin-bottom: var(--sp-6);
  animation: bounce-in .6s var(--ease);
}
@keyframes bounce-in {
  0%   { transform: scale(0.5); opacity: 0; }
  80%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.gracias-title {
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.gracias-title em { color: var(--gold); font-style: normal; }
.gracias-sub {
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto var(--sp-10);
  font-size: 1.05rem;
}
.gracias-pasos {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 460px;
  width: 100%;
  margin: 0 auto var(--sp-10);
  text-align: left;
}
.gracias-paso {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.gracias-paso:last-child { margin-bottom: 0; }
.gracias-paso__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gracias-paso p { font-size: .875rem; color: rgba(255,255,255,.8); }
.gracias-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1.1rem 2.25rem;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: var(--r-xl);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--sans);
  transition: var(--t);
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  margin-bottom: var(--sp-4);
}
.gracias-cta-wa:hover { background: var(--whatsapp-dk); transform: translateY(-2px); }
.gracias-cta-wa svg { width: 24px; height: 24px; }
.gracias-nota { font-size: .8rem; color: rgba(255,255,255,.45); }
.gracias-back  { margin-top: var(--sp-8); }
.gracias-back a { color: rgba(255,255,255,.5); font-size: .85rem; transition: var(--t); }
.gracias-back a:hover { color: var(--gold); }

/* ============================================================
   24. RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --pad-x: 2rem;
  }

  /* Hero */
  .hero { min-height: 80vh; padding-block: var(--sp-24); }
  .hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero__trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Grids 2 columnas */
  .problema-grid         { grid-template-columns: repeat(2, 1fr); }
  .servicios-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid      { grid-template-columns: repeat(2, 1fr); }
  .casos-grid            { grid-template-columns: repeat(2, 1fr); }

  /* Solución: lado a lado */
  .solucion-layout       { flex-direction: row; align-items: center; gap: var(--sp-12); }
  .solucion-imagen       { flex: 1; aspect-ratio: 3/4; min-width: 280px; }
  .solucion-content      { flex: 1.2; }

  /* Proceso */
  .proceso-steps::before { left: 28px; }

  /* Formulario */
  .form-grid             { grid-template-columns: repeat(2, 1fr); }
  .form-grid .form-group--full { grid-column: 1 / -1; }

  /* Footer */
  .footer-grid           { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom         { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============================================================
   25. RESPONSIVE — Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --pad-x: 2.5rem;
  }

  .hero                  { min-height: 90vh; }

  /* Topbar: visible completo */
  .topbar__items         { gap: 2rem; }

  /* Grid 3 columnas */
  .servicios-grid        { grid-template-columns: repeat(3, 1fr); }
  .testimonios-grid      { grid-template-columns: repeat(3, 1fr); }
  .casos-grid            { grid-template-columns: repeat(3, 1fr); }
  .problema-grid         { grid-template-columns: repeat(2, 1fr); }

  /* Proceso horizontal */
  .proceso-steps {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }
  .proceso-steps::before {
    top: 24px;
    left: 50px;
    right: 50px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, var(--gold), rgba(201,168,76,.2));
  }
  .proceso-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--sp-4);
  }
  .proceso-step__content { padding-top: var(--sp-4); }

  /* Formulario */
  .form-card             { padding: var(--sp-12); }

  /* Sección problema */
  .problema-grid         { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

/* ============================================================
   26. RESPONSIVE — Wide (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .hero__sub             { font-size: 1.15rem; }
  .servicios-grid        { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   27. UTILIDADES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.hidden { display: none !important; }
.mt-4  { margin-top: var(--sp-4); }
.mt-8  { margin-top: var(--sp-8); }
.gap-4 { gap: var(--sp-4); }

/* ============================================================
   28. DIAGNÓSTICO JURÍDICO INTELIGENTE
   ============================================================ */

/* ── Contenedor y pasos ── */
.diag-step {
  display: none;
}
.diag-step.diag-active {
  display: block;
  animation: diagIn .38s var(--ease) both;
}
@keyframes diagIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Barra de progreso (preguntas) ── */
.diag-q__wrap {
  max-width: 660px;
  margin: 0 auto;
}
.diag-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.diag-progress__track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.diag-progress__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width .5s var(--ease);
  width: 0%;
}
.diag-progress__label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ── Texto de pregunta ── */
.diag-q__text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.75rem;
  line-height: 1.35;
  text-wrap: balance;
}

/* ── Opciones ── */
.diag-options {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.diag-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  text-align: left;
  padding: .85rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.diag-option:hover:not(:disabled) {
  background: rgba(201,168,76,.12);
  border-color: rgba(201,168,76,.5);
  color: var(--white);
  transform: translateX(4px);
}
.diag-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.diag-option.diag-selected {
  background: rgba(201,168,76,.18);
  border-color: var(--gold);
  color: var(--white);
  font-weight: 700;
  transform: translateX(4px);
}
.diag-option:disabled { cursor: default; opacity: .65; }

/* ── Procesando ── */
.diag-proc {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 480px;
  margin: 0 auto;
}
.diag-proc__icon {
  font-size: 3.5rem;
  display: inline-block;
  animation: diagRock 2.4s ease-in-out infinite;
  margin-bottom: 1.5rem;
}
@keyframes diagRock {
  0%,100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.08); }
}
.diag-proc__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.diag-proc__track {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .75rem;
}
.diag-proc__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
  width: 0%;
  transition: width .9s var(--ease);
}
.diag-proc__sub {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
  transition: opacity .4s;
  min-height: 1.2em;
}

/* ── Resultado / diagnóstico ── */
.diag-res {
  max-width: 660px;
  margin: 0 auto;
}
.diag-res__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .3rem .9rem;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.diag-res__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .9rem;
  line-height: 1.3;
  text-wrap: balance;
}
.diag-res__text {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.diag-res__findings {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(201,168,76,.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.diag-finding {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  line-height: 1.4;
}
.diag-finding svg {
  flex-shrink: 0;
  margin-top: .1em;
  color: var(--gold);
}
.diag-res__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--r-lg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.diag-res__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--sh-gold);
}
.diag-res__note {
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: .85rem;
}

/* ── Formulario mínimo ── */
.diag-form__wrap {
  max-width: 480px;
  margin: 0 auto;
}
.diag-form__header {
  margin-bottom: 1.75rem;
}
.diag-form__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.diag-form__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
.field-optional {
  font-size: .75rem;
  font-weight: 400;
  color: rgba(255,255,255,.35);
}
.diag-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .73rem;
  color: rgba(255,255,255,.3);
  margin-top: .85rem;
}

/* ============================================================
   29. HERO — Nueva arquitectura sin fotografía
   ============================================================ */
.hero__area-name {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.hero__eval-label {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--sp-6);
  text-wrap: balance;
}
.hero__eval-label em {
  font-style: italic;
  color: var(--gold);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.75rem;
  margin-bottom: var(--sp-10);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.hero__meta-item svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   30. FORM ERROR — Fallback WhatsApp
   ============================================================ */
.form-result.error-wa {
  background: rgba(17,17,17,.9);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: rgba(255,255,255,.88);
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   31. GRACIAS — Página de confirmación
   ============================================================ */
.gracias-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 560px;
  margin: 0 auto;
}
.gracias-check {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(201,168,76,.18) 0%, rgba(201,168,76,.08) 100%);
  border: 2px solid rgba(201,168,76,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-8);
  animation: graciasIn .5s cubic-bezier(.22,.61,.36,1) both;
}
.gracias-check svg { color: var(--gold); }
@keyframes graciasIn {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}
.gracias-eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.gracias-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}
.gracias-sub {
  font-size: .97rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}
.gracias-time {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 8px;
  padding: .65rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--sp-8);
}
.gracias-wa-prompt {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-5);
}
.gracias-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .2s, box-shadow .2s;
  margin-bottom: var(--sp-6);
}
.gracias-cta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.gracias-cta-wa svg { flex-shrink: 0; }
.gracias-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 0 auto var(--sp-5);
}
.gracias-nombre {
  color: var(--gold);
}
.gracias-tel {
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-8);
}
.gracias-tel a { color: rgba(255,255,255,.5); }
.gracias-back {
  font-size: .8rem;
}
.gracias-back a {
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.gracias-back a:hover { color: rgba(255,255,255,.6); }

