/* =========================================================================
   Dr. Juan L. Prados — Psiquiatra en Córdoba
   Hoja de estilos base (compartida por todas las páginas)
   Color de marca: #004AAD (extraído del logo)
   ========================================================================= */

:root {
  /* Marca y color */
  --brand:        #004AAD;
  --brand-700:    #0a3b87;
  --brand-050:    #eaf1fb;
  --brand-100:    #d7e5f9;
  --navy:         #12294d;
  --ink:          #21313f;
  --muted:        #57687a;
  --bg:           #ffffff;
  --bg-cool:      #f1f6fc;
  --bg-warm:      #f7f2ea;
  --line:         #e3e9f2;
  --line-strong:  #cdd8e8;
  --wa:           #25925a;   /* verde WhatsApp sobrio */
  --wa-700:       #1d7448;

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala y ritmo */
  --maxw: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(18,41,77,.06), 0 2px 8px rgba(18,41,77,.05);
  --shadow-md: 0 6px 22px rgba(18,41,77,.10);
  --shadow-lg: 0 18px 48px rgba(18,41,77,.16);
  --ring: 0 0 0 3px rgba(0,74,173,.35);
}

/* ---------- Reset suave ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 3.1vw, 3.35rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.3rem); }
h3 { font-size: 1.28rem; font-family: var(--sans); font-weight: 800; letter-spacing: -.005em; color: var(--navy); }
p  { margin: 0 0 1rem; }

/* ---------- Utilidades de estructura ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.section--cool { background: var(--bg-cool); }
.section--warm { background: var(--bg-warm); }
.section--navy { background: var(--navy); color: #dbe4f2; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color:#fff; padding:.7rem 1.1rem; border-radius: 0 0 8px 0; font-weight:700;
}
.skip-link:focus { left: 0; color:#fff; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Etiqueta de sección con "nodo" (firma visual del logo) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 10px; flex: none;
  background:
    radial-gradient(circle at 3px 5px, var(--brand) 2.6px, transparent 3px),
    radial-gradient(circle at 12px 5px, var(--brand) 2.6px, transparent 3px),
    radial-gradient(circle at 19px 5px, var(--brand) 2.6px, transparent 3px);
  /* línea conectora */
  box-shadow: none;
  position: relative;
}
.eyebrow::after { content:none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: 1rem; line-height: 1;
  padding: .92rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); color:#fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--wa { background: var(--wa); color:#fff; }
.btn--wa:hover { background: var(--wa-700); color:#fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand-100); }
.btn--ghost:hover { background: var(--brand-050); color: var(--brand-700); border-color: var(--brand-100); }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1.06rem; }
@media (prefers-reduced-motion: reduce){ .btn:hover{ transform:none; } }

/* =========================================================================
   Cabecera / navegación
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: .55rem .8rem; border-radius: 8px;
  font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none;
}
.nav__link:hover { background: var(--brand-050); color: var(--brand-700); }
.nav__cta { margin-left: .35rem; }

/* Desplegable Trastornos */
.has-drop { position: relative; }
.drop-toggle { display:inline-flex; align-items:center; gap:.3rem; background:none; border:none; font:inherit; cursor:pointer; }
.drop-toggle svg { width:.7em; height:.7em; transition: transform .2s ease; }
.has-drop[aria-expanded="true"] .drop-toggle svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-drop[aria-expanded="true"] .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display:block; padding:.55rem .7rem; border-radius:8px; text-decoration:none; color:var(--ink); font-weight:600; font-size:.95rem; }
.drop a:hover { background: var(--brand-050); color: var(--brand-700); }

.nav__toggle { display: none; }

/* Menú móvil */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content:center;
    width: 46px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background:#fff; cursor: pointer;
  }
  .nav__toggle span { height: 2px; width: 22px; background: var(--navy); margin-inline:auto; transition:.2s; }
  .nav[data-open="true"] .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav[data-open="true"] .nav__toggle span:nth-child(2){ opacity:0; }
  .nav[data-open="true"] .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: .8rem clamp(1.1rem,4vw,2rem) 1.3rem; gap: .15rem;
    display: none;
  }
  .nav[data-open="true"] .nav__menu { display: flex; }
  .nav__link { padding: .8rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius:0; }
  .nav__cta { margin: .8rem 0 0; }
  .btn.nav__cta { width: 100%; }
  .has-drop { position: static; }
  .drop { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding:.2rem 0 .4rem .8rem; min-width:0; display:none; }
  .has-drop[aria-expanded="true"] .drop { display:block; }
  .drop a { padding:.6rem .4rem; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: var(--bg-cool); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(2.6rem, 2rem + 4vw, 4.6rem);
}
.hero__intro { font-size: 1.15rem; color: var(--ink); max-width: 34rem; }
.hero__lead { font-size: 1.24rem; color: var(--navy); font-weight: 600; font-family: var(--serif); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); object-fit: cover;
  aspect-ratio: 4 / 5; object-position: center 18%;
}
.hero__badge {
  position: absolute; left: -14px; bottom: 22px; background: #fff; color: var(--navy);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: .8rem 1.05rem; display:flex; gap:.7rem; align-items:center;
  border: 1px solid var(--line); max-width: 74%;
}
.hero__badge strong { display:block; font-family: var(--serif); font-size: 1.5rem; color: var(--brand); line-height:1; }
.hero__badge span { font-size: .82rem; color: var(--muted); font-weight:700; }
.hero__grid > * { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero__media img { aspect-ratio: 4 / 5; object-position: center 15%; }
  .hero__badge { max-width: 66%; left: 10px; bottom: 10px; padding: .6rem .9rem; gap: .5rem; }
  .hero__badge strong { font-size: 1.25rem; }
  .hero__badge span { font-size: .74rem; }
}

/* ---------- Franja de credibilidad ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:#fff; }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.5rem; }
.trust__item { display:flex; gap:.7rem; align-items:flex-start; }
.trust__item svg { flex:none; width: 26px; height: 26px; color: var(--brand); margin-top:2px; }
.trust__item p { margin:0; font-size:.95rem; line-height:1.4; }
.trust__item strong { display:block; color: var(--navy); font-size:1rem; }
@media (max-width: 780px){ .trust__row{ grid-template-columns: 1fr 1fr; gap:1.2rem 1rem; } }
@media (max-width: 440px){ .trust__row{ grid-template-columns: 1fr; } }

/* =========================================================================
   Tarjetas de trastornos
   ========================================================================= */
.section__head { max-width: 640px; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin:0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); }
@media (max-width: 900px){ .cards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cards{ grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .22s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
@media (prefers-reduced-motion: reduce){ .card:hover{ transform:none; } }
.card__media { aspect-ratio: 3/2; overflow:hidden; background: var(--brand-050); }
.card__media img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display:flex; flex-direction:column; flex:1; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { font-size: .96rem; color: var(--muted); margin: 0 0 1rem; }
.card__link {
  margin-top: auto; font-weight: 800; font-size: .95rem; color: var(--brand); text-decoration:none;
  display:inline-flex; align-items:center; gap:.35rem;
}
.card__link svg { width: .9em; height:.9em; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(3px); }
.card__link::after { content:""; position:absolute; inset:0; } /* toda la tarjeta clicable */

/* =========================================================================
   Sección "Por qué confiar" (split imagen/texto)
   ========================================================================= */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items:center; }
.split__media img { width:100%; border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.split ul { list-style:none; padding:0; margin: 1.2rem 0 0; display:grid; gap:.7rem; }
.split li { position:relative; padding-left: 1.9rem; }
.split li::before {
  content:""; position:absolute; left:0; top:.45em; width:12px; height:12px; border-radius:3px;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-050);
}
@media (max-width: 820px){ .split{ grid-template-columns: 1fr; } .split__media{ order:-1; } }

/* =========================================================================
   Localización / contacto
   ========================================================================= */
.contact { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,3vw,2.6rem); align-items: stretch; }
.contact__card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--shadow-sm); }
.contact__list { list-style:none; padding:0; margin: 0 0 1.4rem; display:grid; gap:1rem; }
.contact__list li { display:flex; gap:.9rem; align-items:flex-start; }
.contact__list svg { flex:none; width:22px; height:22px; color: var(--brand); margin-top:3px; }
.contact__list .label { display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:800; margin-bottom:.15rem; }
.contact__list .value { font-size:1.12rem; font-weight:800; color: var(--navy); text-decoration:none; }
.contact__list a.value:hover { color: var(--brand); }
.contact__cta { display:flex; flex-wrap:wrap; gap:.7rem; }
.contact__map { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 340px; }
.contact__map iframe { width:100%; height:100%; min-height:340px; border:0; display:block; }
@media (max-width: 820px){ .contact{ grid-template-columns:1fr; } .contact__map{ min-height:300px; } }

/* Aviso informativo */
.disclaimer { font-size:.9rem; color: var(--muted); border-left: 3px solid var(--brand-100); padding: .3rem 0 .3rem 1rem; margin-top: 1.4rem; }

/* =========================================================================
   Pie
   ========================================================================= */
.site-footer { background: var(--navy); color: #c3d1e6; padding-block: clamp(2.6rem,4vw,3.6rem) 1.6rem; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__logo img { height: 46px; margin-bottom: 1rem; }
.footer__about { font-size:.95rem; max-width: 30rem; color:#a9bbd6; }
.footer h4 { color:#fff; font-family:var(--sans); font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; margin:0 0 1rem; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:.6rem; }
.footer a { color:#c3d1e6; text-decoration:none; font-size:.96rem; }
.footer a:hover { color:#fff; text-decoration:underline; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.14); margin-top: 2.2rem; padding-top:1.3rem; display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; justify-content:space-between; font-size:.85rem; color:#8ea3c4; }
.footer__bottom a { color:#8ea3c4; font-size:.85rem; }
@media (max-width: 760px){ .footer__grid{ grid-template-columns:1fr; gap:1.8rem; } }

/* =========================================================================
   Banner de cookies (consentimiento previo a Google Analytics)
   ========================================================================= */
.cookie {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 300;
  width: min(680px, calc(100% - 24px)); background:#fff; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.2rem; display: none;
}
.cookie[data-show="true"] { display: block; }
.cookie p { margin: 0 0 .9rem; font-size: .93rem; line-height:1.55; }
.cookie a { font-weight: 700; }
.cookie__row { display:flex; flex-wrap:wrap; gap:.6rem; }
.cookie .btn { padding:.7rem 1.2rem; font-size:.95rem; }
.cookie__reject { background:#fff; color:var(--navy); border:2px solid var(--line-strong); }
.cookie__reject:hover { background: var(--bg-cool); color: var(--navy); }

/* Reveal al hacer scroll */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* =========================================================================
   Página "Sobre mí"
   ========================================================================= */
.about-hero { display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.6rem,4vw,3.4rem); align-items:center; }
.about-hero__text p { font-size: 1.08rem; }
.about-hero__text p:first-of-type { font-size:1.2rem; color:var(--navy); font-family:var(--serif); font-weight:500; }

.portrait { position:relative; }
.portrait img { width:100%; border-radius:20px; box-shadow:var(--shadow-lg); aspect-ratio:2/3; object-fit:cover; object-position:center top; }
.portrait--placeholder {
  aspect-ratio:4/5; border-radius:20px; border:2px dashed var(--brand-100);
  background:linear-gradient(160deg, var(--brand-050), #fff);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem;
  text-align:center; padding:2rem; color:var(--muted); box-shadow:var(--shadow-sm);
}
.portrait--placeholder img { width:76px; height:auto; opacity:.5; box-shadow:none; border-radius:0; }
.portrait--placeholder span { font-weight:700; font-size:.95rem; max-width:17rem; line-height:1.45; }
@media (max-width:820px){ .about-hero{ grid-template-columns:1fr; } .portrait{ max-width:400px; margin-inline:auto; } .portrait--placeholder{ order:-1; } }

.cred-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.4vw,1.5rem); align-items:start; }
@media (max-width:720px){ .cred-grid{ grid-template-columns:1fr; } }
.cred-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem 1.6rem; box-shadow:var(--shadow-sm); }
.cred-card__head { display:flex; align-items:center; gap:.7rem; margin-bottom:1rem; padding-bottom:.9rem; border-bottom:1px solid var(--line); }
.cred-card__head svg { width:26px; height:26px; color:var(--brand); flex:none; }
.cred-card__head h3 { margin:0; font-size:1.14rem; }
.cred-card ul { list-style:none; margin:0; padding:0; display:grid; gap:.7rem; }
.cred-card li { position:relative; padding-left:1.4rem; font-size:.99rem; color:var(--ink); line-height:1.5; }
.cred-card li::before { content:""; position:absolute; left:0; top:.5em; width:8px; height:8px; border-radius:2px; background:var(--brand); box-shadow:0 0 0 3px var(--brand-050); }
.cred-card--wide { grid-column:1 / -1; }

.identity { display:flex; flex-wrap:wrap; gap:1.2rem 2rem; align-items:center; justify-content:space-between; background:var(--brand-050); border:1px solid var(--brand-100); border-radius:var(--radius); padding:1.3rem 1.6rem; margin-top:1.6rem; }
.identity__item .label { display:block; font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:800; margin-bottom:.1rem; }
.identity__item .value { font-weight:800; color:var(--navy); font-size:1.05rem; }
.identity__profiles { display:flex; gap:.6rem; flex-wrap:wrap; }
.identity__profiles a { display:inline-flex; align-items:center; gap:.4rem; font-weight:700; font-size:.9rem; background:#fff; border:1px solid var(--brand-100); padding:.5rem .85rem; border-radius:999px; text-decoration:none; color:var(--brand-700); }
.identity__profiles a:hover { background:#fff; border-color:var(--brand); }

.cta-band { text-align:center; }
.cta-band .narrow { margin-inline:auto; }
.cta-band__btns { display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:1.4rem; }

/* =========================================================================
   Páginas de trastornos (contenido)
   ========================================================================= */
.breadcrumb { padding-top: 1.2rem; }
.breadcrumb ol { list-style:none; display:flex; flex-wrap:wrap; gap:.45rem; margin:0; padding:0; font-size:.85rem; }
.breadcrumb a { color:var(--muted); text-decoration:none; }
.breadcrumb a:hover { color:var(--brand); }
.breadcrumb li + li::before { content:"›"; margin-right:.45rem; color:var(--line-strong); }
.breadcrumb [aria-current] { color:var(--navy); font-weight:700; }

.cond-hero { display:grid; grid-template-columns:1.02fr .98fr; gap:clamp(1.5rem,4vw,3rem); align-items:center; padding-top:1.4rem; padding-bottom:.4rem; }
.cond-hero__media img { width:100%; border-radius:18px; box-shadow:var(--shadow-lg); aspect-ratio:4/3; object-fit:cover; }
.cond-hero__lead { font-size:1.2rem; color:var(--navy); font-family:var(--serif); font-weight:500; }
.cond-hero__cta { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.4rem; }
@media (max-width:820px){ .cond-hero{ grid-template-columns:1fr; } .cond-hero__media{ order:-1; } }

.prose { max-width:820px; }
.prose h2 { margin-top:2.4rem; }
.prose > h2:first-child { margin-top:0; }
.prose p { color:var(--ink); }
.prose ul.symptoms { list-style:none; padding:0; margin:1.1rem 0 0; display:grid; gap:.7rem; }
.prose ul.symptoms li { position:relative; padding-left:2rem; color:var(--ink); }
.prose ul.symptoms li::before {
  content:""; position:absolute; left:0; top:.15em; width:1.3rem; height:1.3rem;
  background: var(--brand-050);
  border-radius:6px;
}
.prose ul.symptoms li::after {
  content:""; position:absolute; left:.38rem; top:.42em; width:.42rem; height:.72rem;
  border:solid var(--brand); border-width:0 2.5px 2.5px 0; transform:rotate(45deg);
}

.table-wrap { overflow-x:auto; margin-top:1.3rem; border:1px solid var(--line); border-radius:var(--radius); }
table.data { width:100%; border-collapse:collapse; font-size:.98rem; }
table.data th, table.data td { text-align:left; padding:.9rem 1.1rem; border-bottom:1px solid var(--line); vertical-align:top; }
table.data thead th { background:var(--brand-050); color:var(--navy); font-weight:800; }
table.data tbody tr:last-child td { border-bottom:none; }
table.data tbody tr:hover { background:var(--bg-cool); }
table.data td:first-child { font-weight:700; color:var(--navy); white-space:nowrap; }
@media (max-width:600px){ table.data td:first-child{ white-space:normal; } }

/* Caja de llamada a la acción dentro del contenido */
.cta-box { background:var(--brand); color:#fff; border-radius:var(--radius); padding:clamp(1.5rem,3vw,2.2rem); margin-top:2.6rem; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.2rem; box-shadow:var(--shadow-md); }
.cta-box__text { flex:1 1 300px; }
.cta-box h3 { color:#fff; margin:0 0 .3rem; font-size:1.3rem; }
.cta-box p { margin:0; color:#d5e3fb; }
.cta-box .btns { display:flex; gap:.7rem; flex-wrap:wrap; }
.cta-box .btn--white { background:#fff; color:var(--brand); }
.cta-box .btn--white:hover { background:var(--brand-050); color:var(--brand-700); }

/* Otros trastornos (enlazado interno) */
.more-cond { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.6rem; }
.more-cond a { display:flex; align-items:center; gap:.7rem; background:#fff; border:1px solid var(--line); border-radius:12px; padding:.95rem 1.1rem; text-decoration:none; font-weight:700; font-size:.96rem; color:var(--navy); box-shadow:var(--shadow-sm); transition:transform .16s ease, border-color .2s ease, color .2s ease; }
.more-cond a:hover { border-color:var(--brand-100); color:var(--brand-700); transform:translateY(-2px); }
.more-cond a svg { width:20px; height:20px; color:var(--brand); flex:none; }
@media (max-width:720px){ .more-cond{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .more-cond{ grid-template-columns:1fr; } }

/* =========================================================================
   Primera consulta (pasos) · FAQ (acordeón) · Páginas legales
   ========================================================================= */
.steps { display:grid; gap:1rem; margin-top:1.4rem; counter-reset:step; padding:0; }
.steps li { list-style:none; position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem 1.4rem 1.2rem 3.8rem; box-shadow:var(--shadow-sm); }
.steps li::before { counter-increment:step; content:counter(step); position:absolute; left:1rem; top:1.15rem; width:1.9rem; height:1.9rem; background:var(--brand); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.98rem; }
.steps h3 { margin:0 0 .3rem; font-size:1.1rem; }
.steps p { margin:0; color:var(--muted); font-size:.98rem; }

.faq { max-width:820px; margin-top:1.4rem; display:grid; gap:.8rem; }
.faq details { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.faq summary { cursor:pointer; padding:1.15rem 1.35rem; font-weight:800; color:var(--navy); font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.6rem; color:var(--brand); font-weight:400; line-height:1; flex:none; transition:transform .2s ease; }
.faq details[open] summary::after { transform:rotate(45deg); }
.faq__a { padding:0 1.35rem 1.25rem; color:var(--ink); }
.faq__a p { margin:0 0 .7rem; }
.faq__a p:last-child { margin-bottom:0; }

.legal { max-width:820px; }
.legal h2 { margin-top:2.3rem; font-size:1.5rem; }
.legal h3 { margin-top:1.5rem; font-size:1.15rem; }
.legal p, .legal li { color:var(--ink); }
.legal ul, .legal ol { padding-left:1.3rem; display:grid; gap:.45rem; margin:1rem 0; }
.legal .updated { color:var(--muted); font-size:.9rem; margin-top:.4rem; }
.legal .id-box { background:var(--bg-cool); border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem 1.5rem; margin:1.4rem 0; }
.legal .id-box dl { margin:0; display:grid; grid-template-columns:auto 1fr; gap:.55rem 1.4rem; }
.legal .id-box dt { font-weight:800; color:var(--navy); }
.legal .id-box dd { margin:0; }
.legal .note { border-left:3px solid var(--brand); background:var(--brand-050); padding:1rem 1.2rem; border-radius:0 8px 8px 0; margin:1.5rem 0; font-size:.95rem; }
.pending { background:#fff5e0; color:#8a6d2f; border:1px dashed #d8b45e; padding:.05rem .4rem; border-radius:5px; font-weight:700; font-size:.92em; white-space:nowrap; }
@media (max-width:560px){ .legal .id-box dl{ grid-template-columns:1fr; gap:.1rem .5rem; } .legal .id-box dd{ margin-bottom:.6rem; } }
