/* ═══════════════════════════════════════════════════════
   BRUNA ABOGADOS — Negligencias médicas · Valencia
   Paleta: azul marino profundo + dorado + blancos cálidos
   Tipos:  Cormorant Garamond (display) + Inter (texto)
   ═══════════════════════════════════════════════════════ */

:root {
  --navy-950: #070f1d;
  --navy-900: #0b1729;
  --navy-800: #102036;
  --navy-700: #1a2c47;
  --navy-600: #27395a;

  --gold: #c9a44c;
  --gold-light: #e3c87e;
  --gold-dark: #a8843a;

  --cream: #f5f1e8;
  --paper: #fdfcf9;
  --ink: #1c2533;
  --gray-700: #475063;
  --gray-500: #5b6678;
  --line: #e6e0d2;
  --line-dark: rgba(227, 200, 126, 0.16);

  --wa: #25d366;
  --wa-dark: #128c4b;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 10px 40px rgba(7, 15, 29, 0.10);
  --shadow-card: 0 4px 24px rgba(7, 15, 29, 0.07);

  --topbar-h: 38px;
  --header-h: 72px;
}

/* ── Reset básico ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--navy-950); }

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

/* Anclas: deja sitio para la cabecera fija */
section[id] { scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 12px); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 860px); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Animación de aparición (solo con JS activo) ────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Red de seguridad: el texto partido nunca puede quedar oculto */
.reveal[data-split] { opacity: 1; transform: none; }

/* Escalonado dentro de cuadrículas */
html.js [data-stagger] > .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js [data-stagger] > .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js [data-stagger] > .reveal:nth-child(4) { transition-delay: 0.24s; }
html.js [data-stagger] > .reveal:nth-child(5) { transition-delay: 0.10s; }
html.js [data-stagger] > .reveal:nth-child(6) { transition-delay: 0.18s; }
html.js [data-stagger] > .reveal:nth-child(7) { transition-delay: 0.26s; }
html.js [data-stagger] > .reveal:nth-child(8) { transition-delay: 0.12s; }
html.js [data-stagger] > .reveal:nth-child(9) { transition-delay: 0.20s; }
html.js [data-stagger] > .reveal:nth-child(10) { transition-delay: 0.28s; }

/* ── Botones ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy-950);
  box-shadow: 0 6px 22px rgba(201, 164, 76, 0.38);
}
.btn--gold:hover { box-shadow: 0 10px 28px rgba(201, 164, 76, 0.5); }

.btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.92rem; }

/* ── Barra superior ─────────────────────────────────── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--topbar-h);
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.topbar__urgency {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__urgency span { margin-right: 0.35rem; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__phone:hover { color: var(--gold-light); }

/* ── Cabecera ───────────────────────────────────────── */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(11, 23, 41, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(7, 15, 29, 0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.brand__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.3rem;
}

.nav__list { display: flex; gap: 1.6rem; }
.nav__list a {
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__list a:hover { color: var(--gold-light); border-color: var(--gold); }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: 0;
}
.header__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navegación de escritorio */
@media (min-width: 921px) {
  .nav { display: flex; align-items: center; gap: 1.8rem; }
}

/* Navegación móvil */
@media (max-width: 920px) {
  .header__toggle { display: flex; }
  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem 1.25rem 2rem;
    background: var(--navy-900);
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 30px 40px rgba(7, 15, 29, 0.45);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0.2rem; }
  .nav__list a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav__cta { align-self: flex-start; }
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--topbar-h) + var(--header-h) + 3rem) 0 5rem;
  background:
    radial-gradient(ellipse 90% 60% at 75% 15%, rgba(201, 164, 76, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 55% at 15% 90%, rgba(39, 57, 90, 0.55), transparent 65%),
    linear-gradient(168deg, var(--navy-900) 0%, var(--navy-950) 58%, #050b16 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* textura de líneas finas */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.025) 0 1px,
    transparent 1px 90px
  );
  pointer-events: none;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__scales {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 520px);
  color: var(--gold);
  opacity: 0.07;
}

.hero__content { position: relative; z-index: 1; max-width: 760px; }

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201, 164, 76, 0.07);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.1rem;
}
.hero__sub strong { color: var(--gold-light); }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
}
.hero__badges li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.hero__badges li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0.2; }
}

/* ── Cifras ─────────────────────────────────────────── */
.stats {
  background: var(--navy-800);
  color: #fff;
  padding: 3.4rem 0 3rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 3px solid var(--gold);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 1.5rem;
  margin: 0;
}
.stats__item { text-align: center; }
.stats__item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  order: -1;
}
.stats__plus { font-size: 0.6em; vertical-align: 0.3em; margin-left: 0.08em; }
.stats__item dt {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.stats__item { display: flex; flex-direction: column; }
.stats__caption {
  margin: 2.4rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Secciones genéricas ────────────────────────────── */
.section { padding: 5.5rem 0; }
.section--dark {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 164, 76, 0.07), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.section--cream { background: var(--cream); }

.section__head { max-width: 720px; margin-bottom: 3.2rem; }
.section__eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.section--dark .section__eyebrow { color: var(--gold-light); }
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}
.section__head h2 em { font-style: italic; color: var(--gold-dark); }
.section--dark .section__head h2 em { color: var(--gold-light); }
.section__intro {
  margin-top: 0.9rem;
  font-size: 1.06rem;
  color: var(--gray-700);
}
.section--dark .section__intro { color: rgba(255, 255, 255, 0.75); }

/* ── Áreas ──────────────────────────────────────────── */
.areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 640px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .areas__grid { grid-template-columns: repeat(3, 1fr); } }

.area-card {
  position: relative;
  padding: 1.9rem 1.7rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--gold-light), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.25s;
}
.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 164, 76, 0.45);
}
.area-card:hover::before { opacity: 1; }

.area-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  color: var(--gold-dark);
  background: linear-gradient(145deg, rgba(201, 164, 76, 0.14), rgba(201, 164, 76, 0.05));
  border: 1px solid rgba(201, 164, 76, 0.3);
}
.area-card__icon svg { width: 30px; height: 30px; }

.area-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.area-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--gray-500);
}

/* ── Banda CTA ──────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(ellipse 70% 100% at 85% 50%, rgba(201, 164, 76, 0.16), transparent 65%),
    linear-gradient(120deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: 3.6rem 0;
  border-block: 1px solid var(--line-dark);
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.8); max-width: 56ch; }
.cta-band p strong { color: var(--gold-light); }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
@media (min-width: 880px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__actions { flex-shrink: 0; }
}

/* ── Casos ganados ──────────────────────────────────── */
.casos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 860px) { .casos__grid { grid-template-columns: repeat(3, 1fr); } }

.caso-card {
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.8rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.caso-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 76, 0.5);
  background: rgba(255, 255, 255, 0.055);
}
.caso-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.caso-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1rem;
  flex-grow: 1;
}
.caso-card__vs {
  margin: 0 0 0.3rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}
.caso-card__via {
  margin: 0;
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 164, 76, 0.4);
  border-radius: 999px;
}

.casos__note {
  margin: 2.2rem 0 1.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.casos__cta { text-align: center; }

/* ── Metodología ────────────────────────────────────── */
.metodo__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  counter-reset: paso;
}
@media (min-width: 700px) { .metodo__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .metodo__steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.step p { margin: 0; font-size: 0.93rem; color: var(--gray-500); }
.step p strong { color: var(--gold-dark); }

/* ── Equipo ─────────────────────────────────────────── */
.equipo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 860px) { .equipo__grid { grid-template-columns: repeat(2, 1fr); } }

.persona {
  padding: 2.4rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.persona__avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.persona h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.15rem;
}
.persona__rol {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.persona p:last-child { margin: 0; font-size: 0.95rem; color: var(--gray-700); }

/* ── FAQ ────────────────────────────────────────────── */
.faq__list { display: flex; flex-direction: column; gap: 0.8rem; }

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq__item.is-open { border-color: rgba(201, 164, 76, 0.55); }
.faq__item h3 { margin: 0; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq__q:hover { color: var(--gold-dark); }

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px;
  height: 2px;
  background: var(--gold-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__a > div { padding: 0 1.5rem 1.4rem; }
.faq__a p { margin: 0; font-size: 0.97rem; color: var(--gray-700); }
.faq__a p strong { color: var(--ink); }

/* ── Testimonios (carrusel) ─────────────────────────── */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonio {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  text-align: center;
}
.testimonio__stars {
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.testimonio blockquote { margin: 0 auto 1.4rem; max-width: 56ch; }
.testimonio blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.testimonio__autor {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s;
}
.carousel__btn:hover { background: rgba(201, 164, 76, 0.16); border-color: var(--gold); }
.carousel__dots { display: flex; gap: 0.55rem; }
.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s, transform 0.2s;
}
.carousel__dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ── Blog ───────────────────────────────────────────── */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 860px) { .blog__grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 164, 76, 0.45);
}
.post-card__meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}
.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { font-size: 0.93rem; color: var(--gray-500); flex-grow: 1; }
.post-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ── Cobertura ──────────────────────────────────────── */
.cobertura { padding-block: 4.5rem; }
.cobertura__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.cobertura__chips li {
  padding: 0.55rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
}
.cobertura__chips-all {
  background: var(--navy-900) !important;
  border-color: var(--navy-900) !important;
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}

/* ── Contacto ───────────────────────────────────────── */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 920px) {
  .contacto__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}

.form__row { margin-bottom: 1.2rem; }
.form__row--2col {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 560px) { .form__row--2col { grid-template-columns: 1fr 1fr; } }

.form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.form input.is-invalid, .form textarea.is-invalid { border-color: #e0654f; }
.form textarea { resize: vertical; min-height: 120px; }

.form__row--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}
.form__row--check input {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.form__row--check label {
  font-weight: 400;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.form__row--check a { color: var(--gold-light); }
.form__legal {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
}

.form__submit { width: 100%; }
@media (min-width: 560px) { .form__submit { width: auto; } }

.form__status {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--gold-light);
  min-height: 1.4em;
}
.form__status.is-error { color: #e89c8c; }

.contacto__subtitle {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}
.contacto__info address p { color: rgba(255, 255, 255, 0.8); margin-bottom: 0.8rem; }
.contacto__tel {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
}
.contacto__tel:hover { color: var(--gold); }
.contacto__wa {
  font-weight: 600;
  color: var(--wa);
  text-decoration: none;
}
.contacto__wa:hover { text-decoration: underline; }

.social {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0 1.8rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 164, 76, 0.1);
}

.mapa {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.mapa__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 220px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s;
}
.mapa__placeholder:hover { background: rgba(201, 164, 76, 0.1); }
.mapa__placeholder svg { color: var(--gold-light); }
.mapa__placeholder span { font-weight: 600; }
.mapa__placeholder small { font-size: 0.76rem; color: rgba(255, 255, 255, 0.5); }
.mapa iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
  border-top: 3px solid var(--gold);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}
.footer__logo span { color: var(--gold-light); }
.footer__brand p { font-size: 0.92rem; max-width: 36ch; }
.footer__brand address { font-size: 0.92rem; line-height: 1.8; }
.footer__brand a { color: var(--gold-light); text-decoration: none; }
.footer__brand a:hover { text-decoration: underline; }

.footer__nav h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer__nav a:hover { color: var(--gold-light); }

.footer__bottom {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__bottom p { margin: 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.45); }

/* ── WhatsApp flotante ──────────────────────────────── */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 26px rgba(18, 140, 75, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(18, 140, 75, 0.55);
}

/* ── Barra de acción móvil ──────────────────────────── */
.action-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.action-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-950);
}
.action-bar__btn--call { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.action-bar__btn--wa { background: var(--wa); color: #fff; }

@media (max-width: 760px) {
  .action-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 58px; }
  .topbar__urgency { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ── Páginas interiores (legal + blog) ──────────────── */
.page-main {
  padding: calc(var(--topbar-h) + var(--header-h) + 3rem) 0 4.5rem;
  background: var(--paper);
}
.page-main .container { max-width: 800px; }
.page-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin-bottom: 0.4em;
}
.page-main h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-top: 2em;
}
.page-main h2, .page-main h1 { color: var(--navy-900); }
.page-main p, .page-main li { color: var(--gray-700); font-size: 1rem; }
.page-main ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.page-main li { margin-bottom: 0.4em; }
.page-main a { color: var(--gold-dark); }
.page-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.page-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--navy-900);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}
.page-cta h2 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: var(--font-display);
}
.page-cta p { color: rgba(255, 255, 255, 0.8); }

/* Cabecera fija siempre sólida en páginas interiores */
.header--solid { background: rgba(11, 23, 41, 0.97); }
