/* ==========================================================================
   Maria Danila Casas Rodriguez · Abogada
   Hoja de estilos principal — mobile first, sin dependencias externas.

   Índice
   01. Tipografías (autoalojadas)
   02. Variables de diseño
   03. Base y accesibilidad
   04. Utilidades
   05. Botones
   06. Encabezado y navegación
   07. Hero
   08. Secciones comunes
   09. Sobre mí
   10. Servicios
   11. Cómo trabajamos
   12. Experiencia
   13. Diferencial
   14. Preguntas frecuentes
   15. Contacto y formulario
   16. Pie de página
   17. Elementos flotantes (WhatsApp y panel de revisión)
   18. Páginas legales y 404
   19. Marcadores [POR CONFIRMAR] (solo borrador)
   20. Animaciones, movimiento reducido e impresión
   ========================================================================== */

/* 01. Tipografías ---------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 02. Variables ------------------------------------------------------------ */
:root {
  /* Azul marino (color principal) */
  --navy-950: #081221;
  --navy-900: #0C1A2E;
  --navy-800: #13243D;
  --navy-700: #1C3150;
  --navy-600: #2A4368;
  /* Dorado / champagne (acento) */
  --gold-700: #7A5C28;   /* texto dorado sobre fondos claros (contraste AA) */
  --gold-600: #96753F;   /* números decorativos (contraste 3:1 sobre crema) */
  --gold-500: #B08D57;   /* líneas y detalles */
  --gold-400: #C9A96E;   /* acentos sobre azul */
  --champagne: #E6D5B5;
  /* Neutros cálidos */
  --cream-50: #FCFAF6;
  --cream-100: #F7F2EA;
  --cream-200: #EFE6D8;
  --line: #E6DCCB;
  --line-strong: #8C8373; /* bordes de campos (contraste 3:1) */
  --white: #FFFFFF;
  /* Texto */
  --ink: #0F1D33;
  --text: #3B4658;
  --muted: #5E6878;
  --on-navy: #D5DCE6;
  --on-navy-muted: #A9B4C4;
  /* Estados */
  --wa: #1F9D55;
  --wa-hover: #17864A;
  --error: #B42318;
  --tbc-bg: #FFF4DB;
  --tbc-text: #6B4F00;
  --tbc-border: #D9A21B;

  --font-serif: "Cormorant Garamond", Garamond, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 46, .06), 0 2px 8px rgba(12, 26, 46, .05);
  --shadow: 0 18px 40px -22px rgba(12, 26, 46, .35), 0 4px 12px -6px rgba(12, 26, 46, .08);
  --shadow-lg: 0 40px 80px -40px rgba(12, 26, 46, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; --header-h: 84px; }
}

/* 03. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--champagne); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--navy :focus-visible,
.contact__panel .contact__info :focus-visible,
.site-footer :focus-visible,
.service-card--featured :focus-visible {
  outline-color: var(--gold-400);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 04. Utilidades ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--gold-400); }

.link-out {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--navy-700);
  font-weight: 600;
}
.link-out .icon { width: 1rem; height: 1rem; }

/* 05. Botones --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-bd: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: .85rem 1.5rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: 0 12px 24px -14px rgba(12, 26, 46, .7); }
.btn--primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(15, 29, 51, .28); }
.btn--ghost:hover { --btn-bg: rgba(15, 29, 51, .04); --btn-bd: var(--ink); }

.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--navy-950); --btn-bd: var(--gold-400); }
.btn--gold:hover { --btn-bg: var(--champagne); --btn-bd: var(--champagne); }

.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding-inline: 1.75rem; font-size: 1.0625rem; }
.btn--xl { min-height: 64px; padding-inline: 2rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

/* 06. Encabezado y navegación ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* El fondo translúcido va en un pseudo-elemento para no romper el menú móvil (position: fixed) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(252, 250, 246, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(12, 26, 46, .45);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 42px; height: 42px; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__role {
  margin-top: .34rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-700);
}
/* El nombre completo acompaña al logo cuando hay espacio; en celular y en laptops pequeñas solo "Abogada" */
@media (max-width: 559px), (min-width: 1200px) and (max-width: 1359px) {
  .site-header .brand__person { display: none; }
  .site-header .brand__role { letter-spacing: .26em; }
}
.brand--light { color: #fff; --mono-ring: var(--gold-400); }
.brand--light .brand__mark { color: var(--champagne); }
.brand--light .brand__role { color: var(--gold-400); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle .icon { width: 1.25rem; height: 1.25rem; }

/* Menú móvil (pantalla completa) */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--cream-50);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.site-nav__list { list-style: none; display: flex; flex-direction: column; }
.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.site-nav__cta { width: 100%; }
.site-nav__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .9375rem;
  color: var(--muted);
}
.site-nav__meta .icon { color: var(--gold-700); }
html.nav-open { overflow: hidden; }

@media (max-width: 359px) {
  .brand__name { font-size: 1.0625rem; }
  .brand__mark { width: 36px; height: 36px; }
  .nav-toggle { padding-inline: .7rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    overflow: visible;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav__list { flex-direction: row; gap: 1.6rem; flex-shrink: 0; }
  .site-nav__list a, .site-nav__cta { white-space: nowrap; }
  .brand { flex-shrink: 0; }
  .site-nav__list a {
    position: relative;
    min-height: 44px;
    padding: 0;
    border: 0;
    font-family: var(--font-sans);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text);
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 1.5px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .site-nav__list a:hover,
  .site-nav__list a[aria-current="true"] { color: var(--ink); }
  .site-nav__list a:hover::after,
  .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .site-nav__cta { width: auto; }
  .site-nav__meta { display: none; }
}

/* 07. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(4rem, 2.5rem + 5vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(201, 169, 110, .20), transparent 62%),
    radial-gradient(700px 500px at -10% 110%, rgba(28, 49, 80, .06), transparent 60%),
    var(--cream-50);
}
.hero__grid { display: grid; gap: 3.5rem; align-items: center; }

.hero__brand {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.hero__title { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.6rem; }
.hero__name {
  font-size: clamp(2.75rem, 1.5rem + 5.4vw, 5.4rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.018em;
  color: var(--ink);
}
.hero__role {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gold-700);
}
.hero__role::before {
  content: "";
  width: 40px;
  height: 1.5px;
  background: var(--gold-500);
}
.hero__lead {
  max-width: 32rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--navy-700);
}
.hero__lead em { color: var(--gold-700); }
.hero__text { max-width: 34rem; margin-bottom: 2rem; }

.hero__actions { display: flex; flex-direction: column; gap: .75rem; }
.hero__actions .btn { width: 100%; }
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.75rem;
  font-size: .9375rem;
  color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-700); }

.hero__media { display: flex; justify-content: center; }

.portrait {
  position: relative;
  width: min(100%, 400px);
  margin: 0 auto 1.5rem;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(176, 141, 87, .55);
  border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px;
  pointer-events: none;
}
.portrait__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tbc--photo {
  position: absolute;
  left: 50%;
  bottom: 26%;
  transform: translateX(-50%);
}
.portrait__card {
  position: absolute;
  left: -10px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: calc(100% + 20px);
  padding: .85rem 1.15rem .85rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  line-height: 1.35;
}
.portrait__mono { width: 42px; height: 42px; flex: none; color: var(--ink); }
.portrait__card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.portrait__meta { display: block; font-size: .8125rem; color: var(--muted); }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 4rem; }
  .portrait { width: min(100%, 440px); margin: 1rem 0 0 auto; }
  .portrait__card { left: -44px; bottom: 44px; }
}

/* 08. Secciones comunes ----------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream-100); }
.section--cream-light { background: var(--cream-50); }
.section--navy { background: var(--navy-900); color: var(--on-navy); }

.section-title { font-size: clamp(2.25rem, 1.55rem + 2.7vw, 3.6rem); line-height: 1.04; }
.section-title--light { color: #fff; }
.section-lead { max-width: 40rem; font-size: 1.125rem; color: var(--muted); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head .section-title { margin-bottom: 1rem; }
.section-head--center { max-width: 44rem; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head--center .section-lead { margin-inline: auto; }
@media (min-width: 960px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
  .section-head--split .section-title { margin-bottom: 0; }
}

/* 09. Sobre mí -------------------------------------------------------------- */
.about__grid { display: grid; gap: 2.5rem; }
.about__intro .section-title { margin-bottom: 0; }
.about__principle {
  margin: 2rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy-700);
}
.about__principle em { color: var(--gold-700); }
.about__lead { font-size: 1.1875rem; color: var(--ink); }

.facts { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.facts__item { display: grid; gap: .3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts dt {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
}
.facts dt .icon { width: 1.2rem; height: 1.2rem; color: var(--gold-700); }
.facts dd { line-height: 1.6; }
@media (min-width: 560px) {
  .facts__item { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5rem; align-items: start; }
  .about__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* 10. Servicios ------------------------------------------------------------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.service-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--gold-700);
}
.service-card__icon .icon { width: 25px; height: 25px; }
.service-card__title { font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.service-card__desc { margin: 0; }
.service-card__problem {
  padding: .95rem 1.1rem;
  border-left: 2px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cream-50);
  font-size: .9375rem;
  line-height: 1.55;
}
.service-card__label { margin-bottom: .2rem; font-weight: 700; color: var(--ink); }

/* Lista editorial de áreas */
.areas {
  display: grid;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}
.area {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.area__num {
  margin: 0;
  padding-top: .25rem;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-600);
}
.area__tag {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .2rem .65rem;
  border: 1px solid rgba(176, 141, 87, .45);
  border-radius: var(--radius-pill);
  background: var(--cream-50);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-700);
}
.area__title { margin-bottom: .5rem; font-size: 1.75rem; font-weight: 600; line-height: 1.12; }
.area__desc { margin-bottom: .8rem; }
.area__problem {
  margin-bottom: .9rem;
  padding-left: .95rem;
  border-left: 2px solid var(--gold-500);
  font-size: .9375rem;
  line-height: 1.55;
}
.area__problem span { display: block; font-weight: 700; color: var(--ink); }
.area__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -1.5px 0 var(--gold-500);
}
.area__link .icon { width: 1.1rem; height: 1.1rem; transition: transform .2s var(--ease); }
.area__link:hover .icon { transform: translateX(3px); }
.area:hover .area__title { color: var(--navy-700); }
@media (min-width: 960px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
  .area { padding: 2.1rem 0; }
}

/* Tarjeta destacada: Consultoría jurídica */
.service-card--featured {
  border-color: var(--navy-900);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(201, 169, 110, .16), transparent 60%),
    var(--navy-900);
  color: var(--on-navy);
}
.service-card--featured:hover { border-color: var(--navy-900); }
.service-card--featured .service-card__icon { border-color: rgba(201, 169, 110, .4); background: transparent; color: var(--gold-400); }
.service-card--featured .service-card__title { color: #fff; font-size: 2rem; margin-bottom: .6rem; }
.service-card__kicker {
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.service-card--featured .service-card__problem { background: rgba(255, 255, 255, .05); border-left-color: var(--gold-400); }
.service-card--featured .service-card__label { color: #fff; }
.service-card__cta { align-self: stretch; margin-top: .25rem; }
@media (min-width: 560px) { .service-card__cta { align-self: flex-start; } }

@media (min-width: 1080px) {
  .service-card--featured {
    display: grid;
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "head main problem" "head main cta";
    column-gap: 2.5rem;
    row-gap: 1.25rem;
    align-items: start;
    padding: 2.5rem;
  }
  .service-card--featured .service-card__head { grid-area: head; }
  .service-card--featured .service-card__main { grid-area: main; }
  .service-card--featured .service-card__problem { grid-area: problem; }
  .service-card--featured .service-card__cta { grid-area: cta; }
}

.services__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
}
.services__cta p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
}
.services__cta em { color: var(--gold-700); }
@media (min-width: 768px) {
  .services__cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.5rem; }
  .services__cta .btn { flex: none; }
}

/* 11. Cómo trabajamos ------------------------------------------------------- */
.steps {
  list-style: none;
  display: grid;
  gap: 2.5rem;
  max-width: 36rem;
  margin-inline: auto;
}
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.25rem; align-content: start; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31.5px;
  top: 76px;
  bottom: -2rem;
  width: 1px;
  background: linear-gradient(var(--gold-500), rgba(176, 141, 87, .15));
}
.step__marker {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(176, 141, 87, .6);
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--gold-700);
}
.step__marker .icon { width: 26px; height: 26px; }
.step__num {
  margin: 0 0 .35rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-600);
}
.step__title { margin-bottom: .5rem; font-size: 1.625rem; font-weight: 600; }
.step__text { margin: 0; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; max-width: none; }
  .step { grid-template-columns: 1fr; gap: 1.5rem; }
  .step:not(:last-child)::after {
    left: 84px;
    right: -1.25rem;
    top: 32px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-500), rgba(176, 141, 87, .15));
  }
}

.process__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  text-align: center;
}
.process__cta p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* 12. Experiencia ----------------------------------------------------------- */
.experience__grid { display: grid; gap: 2.5rem; }
.experience__intro .section-title { margin-bottom: 1rem; }
.experience__quote {
  margin: 1.75rem 0 0;
  padding: 1.4rem 1.5rem;
  border-left: 2px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--navy-700);
}
.timeline { list-style: none; display: grid; gap: 1.25rem; }
.timeline__item {
  position: relative;
  padding: 1.6rem 1.5rem 1.6rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold-500);
}
.timeline__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .5rem; }
.timeline__period {
  margin: 0;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.timeline__period .tbc-hint { letter-spacing: 0; text-transform: none; font-weight: 500; }
.timeline__role { margin-bottom: .2rem; font-size: 1.625rem; font-weight: 600; }
.timeline__org { margin-bottom: .9rem; font-weight: 700; color: var(--ink); }
.timeline__list { list-style: none; display: grid; gap: .5rem; font-size: .9375rem; }
.timeline__list li { position: relative; padding-left: 1.2rem; }
.timeline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
@media (min-width: 960px) {
  .experience__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5rem; align-items: start; }
  .experience__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* 13. Diferencial ----------------------------------------------------------- */
.why .container { position: relative; }
.why__head .section-lead { color: var(--on-navy); }
.why__grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, .22);
  border-radius: var(--radius-lg);
  background: rgba(201, 169, 110, .22);
}
.pillar { padding: 2rem 1.6rem; background: var(--navy-900); }
.pillar > .icon { width: 30px; height: 30px; margin-bottom: 1.4rem; color: var(--gold-400); }
.pillar h3 { margin-bottom: .6rem; font-size: 1.625rem; font-weight: 600; color: #fff; }
.pillar p { color: var(--on-navy-muted); }
.why__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(420px 260px at 100% 100%, rgba(201, 169, 110, .22), transparent 65%),
    var(--navy-800);
}
.why__cta .why__cta-title {
  margin-bottom: .4rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}
.why__cta p { margin-bottom: 1.4rem; }
.why__cta p.why__cta-title { margin-bottom: .4rem; }
@media (min-width: 720px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { padding: 2.5rem 2.25rem; }
}
@media (min-width: 1080px) {
  .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { padding: 2.75rem 2.5rem; }
}

/* 14. Preguntas frecuentes -------------------------------------------------- */
.faq__grid { display: grid; gap: 2.5rem; }
.faq__intro .section-title { margin-bottom: 1rem; }
.faq__help {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
}
.faq__help p { margin-bottom: 1rem; color: var(--text); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
  padding: 1.15rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-700);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.faq__item summary:hover .icon { background: var(--cream-100); }
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--cream-100); }
.faq__answer { padding: 0 0 1.5rem; max-width: 42rem; }
@media (min-width: 768px) { .faq__answer { padding-right: 3.5rem; } }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* 15. Contacto y formulario ------------------------------------------------- */
.contact__panel {
  display: grid;
  gap: 2.25rem;
  padding: clamp(1.5rem, .75rem + 3.5vw, 3.75rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(201, 169, 110, .16), transparent 60%),
    var(--navy-900);
  color: var(--on-navy);
  box-shadow: var(--shadow-lg);
}
.contact__info .section-title { margin-bottom: 1rem; }
.contact__lead { margin-bottom: 2rem; font-size: 1.125rem; }
.contact__wa { width: 100%; }
@media (min-width: 560px) { .contact__wa { width: auto; } }

.contact__list { list-style: none; margin-top: 2.25rem; border-top: 1px solid rgba(201, 169, 110, .22); }
.contact__list li { display: flex; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(201, 169, 110, .22); }
.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 169, 110, .38);
  border-radius: 50%;
  color: var(--gold-400);
}
.contact__icon .icon { width: 1.2rem; height: 1.2rem; }
.contact__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}
.contact__value { display: block; font-weight: 600; color: #fff; }
a.contact__value { text-decoration: none; }
a.contact__value:hover { color: var(--champagne); text-decoration: underline; }
.contact-form__notice { margin: 1rem 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.contact-form__notice a { color: var(--navy-700); font-weight: 700; }

.contact-form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}
.contact-form__title { margin-bottom: .4rem; font-size: 2rem; font-weight: 600; }
.contact-form__intro { margin-bottom: 1.5rem; font-size: .9375rem; color: var(--muted); }
.req { color: var(--error); }

.field { display: grid; gap: .45rem; margin: 0 0 1.15rem; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: .45rem; padding: 0; }
.field input[type="text"], .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream-50);
  font-size: 1rem; /* 16px: evita el zoom automático en iPhone */
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5C28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input[type="text"]:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--white); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); background: #FFF8F7; }
.field__hint { margin: 0; font-size: .875rem; color: var(--muted); }
.field__error { margin: 0; font-size: .875rem; font-weight: 700; color: var(--error); }

.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .55rem 1.1rem .55rem .9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--cream-50);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy-900); }
.choice:has(input:checked) { border-color: var(--navy-900); background: var(--white); box-shadow: inset 0 0 0 1px var(--navy-900); }

.field--check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--navy-900); }
.field--check label { font-size: .875rem; font-weight: 500; line-height: 1.5; color: var(--text); }
.field--check label a { color: var(--navy-700); font-weight: 700; }
.field--check .field__error { grid-column: 2; }

.form-status {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #EAF6EF;
  color: #14532D;
  font-size: .9375rem;
}
.form-status[hidden] { display: none; }
.form-status .icon { margin-top: .15rem; color: var(--wa-hover); }
.form-status a { color: #14532D; font-weight: 700; }

@media (max-width: 559px) {
  .contact { padding-bottom: 0; }
  .contact > .container { padding-inline: 0; }
  .contact__panel { padding: 2.75rem var(--gutter) 3rem; border-radius: 0; box-shadow: none; }
  .contact-form { padding: 1.6rem 1.25rem; }
}
@media (min-width: 1080px) {
  .contact__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 3.5rem; align-items: start; }
}

/* 16. Pie de página --------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  background: var(--navy-950);
  color: var(--on-navy-muted);
  font-size: .9375rem;
}
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand__name { font-size: 1.5rem; }
.site-footer .brand__role { white-space: normal; line-height: 1.5; }
.site-footer__tagline {
  max-width: 22rem;
  margin: 1.25rem 0 .75rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--on-navy);
}
.site-footer__city { display: flex; align-items: center; gap: .5rem; margin: 0; }
.site-footer__city .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-400); }
.site-footer__title {
  margin-bottom: .9rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.site-footer__list { list-style: none; display: grid; gap: .15rem; }
.site-footer__list a, .site-footer__item {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  min-height: 40px;
  color: var(--on-navy);
  text-decoration: none;
}
.site-footer__list a:hover { color: #fff; text-decoration: underline; }
.site-footer__list .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-400); }
.site-footer__bottom {
  display: grid;
  gap: .4rem;
  padding-block: 1.5rem calc(1.5rem + 76px);
  border-top: 1px solid rgba(201, 169, 110, .18);
  font-size: .8125rem;
}
.site-footer__bottom p { margin: 0; }
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1.1fr 1fr 1fr; gap: 3rem; }
  .site-footer__bottom { grid-template-columns: auto auto; justify-content: space-between; padding-bottom: 1.75rem; }
}

/* 17. Elementos flotantes --------------------------------------------------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(16, 94, 50, .6), 0 2px 6px rgba(0, 0, 0, .12);
  text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease);
}
.wa-float > svg { width: 31px; height: 31px; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }
.wa-float__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--navy-900);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
@media (hover: hover) {
  .wa-float:hover .wa-float__label { opacity: 1; transform: translate(0, -50%); }
}
.wa-float:focus-visible .wa-float__label { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 768px) {
  .wa-float { right: 28px; bottom: 28px; width: 64px; height: 64px; }
}
html.nav-open .wa-float, html.nav-open .review-bar { opacity: 0; pointer-events: none; }

/* Panel de revisión del borrador (lo crea main.js cuando "borrador: true") */
.review-bar {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .35rem;
  max-width: calc(100vw - 100px);
  padding: .35rem .35rem .35rem .95rem;
  border: 1px solid rgba(217, 162, 27, .6);
  border-radius: var(--radius-pill);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: .8125rem;
  line-height: 1.2;
}
.review-bar__text { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; white-space: nowrap; }
.review-bar__text::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tbc-border); }
.review-bar button {
  min-height: 40px;
  padding: .45rem .9rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: .8125rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.review-bar .review-bar__close { display: grid; place-items: center; width: 40px; padding: 0; background: transparent; color: #fff; }
.review-bar .review-bar__close .icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 400px) {
  .review-bar__label { display: none; }
}
@media (min-width: 768px) {
  .review-bar { left: 24px; bottom: 28px; padding-left: 1.1rem; font-size: .875rem; }
}

/* 18. Páginas legales y 404 ------------------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(201, 169, 110, .18), transparent 60%),
    var(--cream-100);
}
.page-hero h1 { max-width: 20ch; font-size: clamp(2.35rem, 1.6rem + 3vw, 3.75rem); margin-bottom: 1rem; }
.page-hero p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.breadcrumb { margin-bottom: 1.5rem; font-size: .875rem; }
.breadcrumb a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--navy-700); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .icon { width: 1.1rem; height: 1.1rem; }

.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--section-y); background: var(--white); }
.prose { max-width: 46rem; margin-inline: auto; }
.prose > .review-note { margin: 0 0 2rem; }
.legal-toc {
  margin: 0 0 2.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
  font-size: .9375rem;
}
.legal-toc p { margin-bottom: .5rem; }
.prose .legal-toc ol { margin: 0; }
.prose .legal-toc li { margin-bottom: .2em; }
.prose h2 { margin: 2.75rem 0 .85rem; font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); font-weight: 600; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 .5rem; font-size: 1.375rem; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3rem; }
.prose li { margin-bottom: .45em; padding-left: .2rem; }
.prose li::marker { color: var(--gold-700); }
.prose a { color: var(--navy-700); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .meta-date { font-size: .9375rem; color: var(--muted); }
.data-card {
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
}
.data-card dl { display: grid; gap: .6rem; }
.data-card div { display: grid; gap: .1rem; }
.data-card dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.data-card dd { color: var(--ink); }
@media (min-width: 560px) {
  .data-card div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
}

.notfound { padding-block: clamp(4rem, 3rem + 6vw, 8rem); text-align: center; }
.notfound__code { margin-bottom: .5rem; font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--gold-500); }
.notfound h1 { margin-bottom: 1rem; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.notfound p { max-width: 32rem; margin-inline: auto; margin-bottom: 2rem; color: var(--muted); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* 19. Marcadores [POR CONFIRMAR] (solo borrador) ----------------------------- */
.tbc {
  display: inline-flex;
  align-items: center;
  padding: .1em .5em;
  border: 1px dashed var(--tbc-border);
  border-radius: 6px;
  background: var(--tbc-bg);
  color: var(--tbc-text);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.45;
  text-transform: none;
  white-space: nowrap;
  vertical-align: .08em;
  scroll-margin: calc(var(--header-h) + 80px);
}
.tbc.is-flash { animation: tbc-flash 1.1s var(--ease) 2; }
@keyframes tbc-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 162, 27, 0); }
  50% { box-shadow: 0 0 0 7px rgba(217, 162, 27, .5); }
}
.tbc-hint { font-size: .92em; font-style: italic; color: var(--muted); }
.section--navy .tbc-hint, .contact__info .tbc-hint { color: var(--on-navy-muted); }

.review-note {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--tbc-border);
  border-radius: var(--radius-sm);
  background: var(--tbc-bg);
  color: #4D3900;
  font-size: .9375rem;
  line-height: 1.55;
}
.review-note .icon { margin-top: .15rem; color: var(--tbc-text); }
.review-note p { margin: 0; }
.review-note strong { color: #3D2D00; }

/* Cuando config.js tiene "borrador: false", se ocultan las notas de revisión */
html.is-final [data-draft], html.is-final .review-bar { display: none !important; }

/* 20. Animaciones, movimiento reducido e impresión --------------------------- */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

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

@media print {
  .site-header, .wa-float, .review-bar, .hero__actions, .contact__form-wrap, .skip-link { display: none !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding-block: 1.5rem; }
  .section--navy, .contact__panel, .service-card--featured { background: #fff !important; color: #000 !important; }
}
