/* ==========================================================================
   NeuroADE — Neuropsicología y psicología infantil · Medellín
   Sistema de diseño

   Paleta tomada del logotipo (búho + neuronas):
     papel cálido #FBF7F1 · tinta #33302C · terracota #C06544 (neuronas)
     azul pizarra #3C5560 (anillo) · ocre #DCA24A · salvia #9FB6A6

   Tipografía: Fraunces (display, cálida y con carácter) +
               Nunito Sans (texto, redonda, muy legible)
   ========================================================================== */

:root {
  --paper: #FBF7F1;
  --paper-soft: #FFFFFF;
  --paper-deep: #F2E9DC;
  --ink: #33302C;
  --ink-soft: #6B6459;

  --terracotta: #C06544;
  --terracotta-deep: #9E4E33;
  --slate: #5C7C8A;
  --slate-deep: #3C5560;
  --ochre: #DCA24A;
  --sage: #9FB6A6;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  /* Sombras en capas: una fina de contacto + una difusa de elevación (look premium) */
  --shadow-xs: 0 1px 2px rgba(60, 85, 96, 0.05), 0 2px 8px -4px rgba(60, 85, 96, 0.10);
  --shadow-card: 0 1px 2px rgba(60, 85, 96, 0.05), 0 12px 28px -14px rgba(60, 85, 96, 0.22);
  --shadow-soft: 0 2px 6px rgba(60, 85, 96, 0.06), 0 32px 60px -28px rgba(60, 85, 96, 0.30);
  --ring: 0 0 0 1px rgba(60, 85, 96, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate-deep);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; }

section > .container > .section-head p,
.section-head p { text-wrap: pretty; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { section { padding: 62px 0; } }

.section-paper { background: var(--paper); }
.section-deep { background: var(--paper-deep); }
.section-dark { background: var(--slate-deep); color: var(--paper-soft); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper-soft); }
.section-dark p { color: rgba(251, 247, 241, 0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--ochre); }
.section-dark .eyebrow { color: #ebc078; }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

.btn-primary { background: var(--slate-deep); color: var(--paper-soft); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: #33484f; box-shadow: var(--shadow-soft); }

/* En secciones oscuras el primario invertiría contraste: botón claro sobre oscuro */
.section-dark .btn-primary { background: var(--paper-soft); color: var(--slate-deep); }
.section-dark .btn-primary:hover { background: #fff; }

.btn-outline { background: transparent; color: var(--slate-deep); border-color: var(--slate-deep); }
.btn-outline:hover { background: var(--slate-deep); color: var(--paper-soft); }

.btn-accent { background: var(--terracotta); color: #fff; }
.btn-accent:hover { background: var(--terracotta-deep); }

.btn-ghost-light { background: transparent; color: var(--paper-soft); border-color: rgba(251,247,241,0.45); }
.btn-ghost-light:hover { background: rgba(251,247,241,0.14); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(60, 85, 96, 0.10);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 241, 0.95);
  box-shadow: 0 8px 30px -20px rgba(60, 85, 96, 0.55);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  padding-bottom: 13px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--slate-deep);
}
.logo-mark { width: 68px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; letter-spacing: 0.02em; }
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate-deep); margin: 5px 0; transition: 0.3s; }

@media (max-width: 940px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}
@media (max-width: 460px) {
  .logo-text small { display: none; }
  .logo-mark { width: 56px; height: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: 66px 0 92px; overflow: hidden; position: relative; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--slate-deep);
  margin: 0 0 16px;
  max-width: 520px;
}
.hero-copy p.lead { font-size: 1.08rem; max-width: 500px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 28px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 18px 22px; font-size: 0.92rem; color: var(--ink-soft); }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--sage); flex-shrink: 0; }

/* Retrato compuesto: foto enmarcada + forma orgánica de fondo + chip flotante */
.hero-visual {
  position: relative;
  align-self: center;
  padding: 8px 26px 34px 8px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -6% 0 6% -8%;
  background:
    radial-gradient(60% 55% at 70% 30%, rgba(220, 162, 74, 0.30), transparent 70%),
    radial-gradient(65% 60% at 25% 75%, rgba(159, 182, 166, 0.42), transparent 72%);
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
  filter: blur(6px);
  z-index: 0;
}
.hero-portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 5.4;
  background: linear-gradient(160deg, var(--slate), var(--slate-deep));
  box-shadow: var(--shadow-soft), 0 0 0 6px var(--paper-soft);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.hero-portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(transparent, rgba(38, 55, 62, 0.82));
  color: #fff;
}
.hero-portrait figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.hero-portrait figcaption span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.86); }
.hero-chip {
  position: absolute;
  z-index: 2;
  left: -22px; top: 26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-soft);
  border-radius: 16px;
  padding: 13px 18px 13px 14px;
  box-shadow: var(--shadow-card), var(--ring);
  max-width: 250px;
}
.hero-chip .chip-ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--paper-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
}
.hero-chip .chip-ic svg { width: 20px; height: 20px; }
.hero-chip strong { display: block; font-family: var(--font-display); color: var(--slate-deep); font-size: 1rem; }
.hero-chip span { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.35; display: block; }
@media (max-width: 940px) {
  .hero-visual { padding: 8px; max-width: 460px; margin: 0 auto; }
  .hero-chip { left: 8px; top: 20px; }
}
@media (max-width: 520px) {
  .hero-chip { position: static; margin: 16px auto 0; max-width: 100%; }
}

/* ---------- Franja de confianza ---------- */
.trust-strip { background: var(--slate-deep); color: var(--paper-soft); padding: 0; }
.trust-strip .container { padding-top: 22px; padding-bottom: 22px; }
.trust-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 34px;
  justify-content: center;
}
.trust-strip li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 600;
  color: rgba(251, 247, 241, 0.92);
}
.trust-strip svg { width: 18px; height: 18px; color: var(--ochre); flex-shrink: 0; }
@media (max-width: 720px) {
  .trust-strip ul { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Tarjetas "Por qué" ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(220, 162, 74, 0.4); }
.why-card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--paper-deep), #efe2ce);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--terracotta-deep);
}
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Servicios (tabs) ---------- */
.tabs {
  display: inline-flex;
  background: var(--paper-soft);
  border-radius: 22px;
  padding: 6px;
  gap: 4px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  flex-wrap: wrap;
  max-width: 100%;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
@media (max-width: 620px) {
  .tabs { display: flex; flex-direction: column; align-items: stretch; border-radius: 16px; width: 100%; }
  .tab-btn { text-align: left; }
}
.tab-btn[aria-selected="true"] { background: var(--slate-deep); color: var(--paper-soft); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper-soft);
  border: 1px solid rgba(60, 85, 96, 0.10);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(220, 162, 74, 0.55); box-shadow: var(--shadow-card); }
.service-card .s-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(150deg, #eef2f0, #e2ebe6);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-deep);
  margin-bottom: 16px;
}
.service-card .s-icon svg { width: 23px; height: 23px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Motivos de consulta ---------- */
.motivos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .motivos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .motivos-grid { grid-template-columns: 1fr; } }
.motivo {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--paper-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-deep);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(60, 85, 96, 0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.motivo:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.motivo svg {
  width: 28px; height: 28px; padding: 6px;
  border-radius: 50%;
  background: rgba(192, 101, 68, 0.12);
  color: var(--terracotta-deep);
  flex-shrink: 0;
}

/* ---------- Proceso (timeline) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .process { grid-template-columns: 1fr; } }
.process .step { position: relative; padding-top: 62px; }
.process .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--slate-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.section-dark .process .step::before { background: var(--ochre); color: var(--slate-deep); }
.process .step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process .step p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Metodología / espacio ---------- */
.method-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .method-split { grid-template-columns: 1fr; } }
.method-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft), 0 0 0 6px var(--paper-soft);
  position: relative;
}
.method-visual img,
.method-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.method-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.method-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.method-list svg { width: 20px; height: 20px; color: var(--sage); flex-shrink: 0; margin-top: 3px; }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
@media (max-width: 560px) { .team-card { grid-template-columns: 1fr; } }
.team-photo {
  position: relative;
  background: linear-gradient(160deg, var(--slate), var(--slate-deep));
  min-height: 340px;
  overflow: hidden;
}
.team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; min-height: 340px;
  object-fit: cover; object-position: top center;
  display: block;
}
.team-photo .team-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(251, 247, 241, 0.55);
}
.team-info { padding: 30px 28px; }
.team-info h3 { margin-bottom: 2px; }
.team-role { color: var(--terracotta-deep); font-weight: 700; font-size: 0.86rem; margin-bottom: 14px; display: block; letter-spacing: 0.02em; }
.team-info p { font-size: 0.94rem; }
.team-quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--slate-deep);
  font-size: 1rem;
  border-left: 3px solid var(--ochre);
  padding-left: 14px;
  margin: 16px 0 0;
}

/* ---------- Equipo: cuadrícula compacta (equipo terapéutico) ---------- */
.team-sub-head { margin: 52px 0 26px; text-align: center; }
.team-sub-head h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0;
}
.team-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .team-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-mini-grid { grid-template-columns: 1fr; } }

.team-mini-card {
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.team-mini-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--slate), var(--slate-deep));
  overflow: hidden;
}
/* En móvil, un solo retrato por fila con 4:5 se ve muy alargado repetido 5 veces seguidas */
@media (max-width: 560px) {
  .team-mini-photo { aspect-ratio: 1 / 1; }
}
.team-mini-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.team-mini-photo .team-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: rgba(251, 247, 241, 0.55);
}
.team-mini-info { padding: 20px 20px 22px; }
.team-mini-info h4 { font-size: 1.02rem; margin: 0 0 2px; }
.team-mini-role {
  color: var(--terracotta-deep);
  font-weight: 700;
  font-size: 0.76rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1.35;
}
.team-mini-info p { font-size: 0.85rem; margin-bottom: 10px; }
.team-mini-quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--slate-deep);
  font-size: 0.86rem;
  line-height: 1.4;
  border-left: 2px solid var(--ochre);
  padding-left: 10px;
  margin: 10px 0 0;
}

/* ---------- Podcast band ---------- */
.podcast-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--slate-deep);
  color: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 780px) { .podcast-band { grid-template-columns: 1fr; text-align: center; } }
.podcast-band .p-mark {
  width: 74px; height: 74px;
  border-radius: 22px;
  background: rgba(251, 247, 241, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--ochre);
}
@media (max-width: 780px) { .podcast-band .p-mark { margin: 0 auto; } }
.podcast-band .p-mark svg { width: 34px; height: 34px; }
.podcast-band h3 { color: var(--paper-soft); margin-bottom: 4px; }
.podcast-band p { color: rgba(251, 247, 241, 0.82); margin: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(60, 85, 96, 0.16); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--slate-deep);
  gap: 16px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--slate-deep);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
  font-size: 1rem;
}
.faq-item[open] .faq-question .plus { transform: rotate(45deg); background: var(--ochre); border-color: var(--ochre); }
.faq-answer { padding: 0 0 22px; font-size: 0.95rem; max-width: 680px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 100px 0; }
.cta-final h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-final p.lead { max-width: 580px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 0.88rem; font-weight: 700; color: var(--slate-deep); }
.form-field label .opt { font-weight: 500; color: var(--ink-soft); }
.section-dark .form-field label .opt { color: rgba(251, 247, 241, 0.6); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(60, 85, 96, 0.28);
  background: var(--paper-soft);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--ochre);
  outline-offset: 1px;
}
.form-note { font-size: 0.83rem; color: var(--ink-soft); }

/* Formulario sobre fondo oscuro */
.section-dark .form-field label { color: var(--paper-soft); }
.section-dark .form-note { color: rgba(251, 247, 241, 0.72); }

.contact-info-card {
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.contact-info-card .info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-card .info-row svg { width: 22px; height: 22px; color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }
.contact-info-card strong { display: block; color: var(--slate-deep); font-size: 0.92rem; }
.contact-info-card span, .contact-info-card a { font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; }
.contact-info-card a:hover { color: var(--terracotta); }
.map-embed {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-deep);
  transition: background 0.3s, color 0.3s;
}
.social-row a:hover { background: var(--ochre); color: var(--slate-deep); }
.social-row svg { width: 19px; height: 19px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-deep);
  color: rgba(251, 247, 241, 0.78);
  padding: 56px 0 28px;
  font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--paper-soft);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: inherit; }
.site-footer a:hover { color: var(--ochre); }
.footer-bottom {
  border-top: 1px solid rgba(251, 247, 241, 0.16);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

/* ---------- Página legal ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal-page .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--terracotta-deep);
  text-decoration: none; margin-bottom: 28px;
}
.legal-page .back-link:hover { text-decoration: underline; }
.legal-page h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.legal-page .updated { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 36px; }
.legal-page h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.98rem; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--terracotta-deep); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-sticky {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.whatsapp-sticky:hover { transform: scale(1.08); }
.whatsapp-sticky svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll (solo con JS activo; sin JS el contenido se ve normal) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Orbes decorativos sutiles (profundidad de marca) ---------- */
.cta-final, #por-que { overflow: hidden; }
.cta-final::before,
#por-que::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(220, 162, 74, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.cta-final::before { top: -180px; right: -160px; }
#por-que::before { bottom: -220px; left: -180px; background: radial-gradient(circle at 50% 50%, rgba(159, 182, 166, 0.20), transparent 68%); }
.cta-final .container, #por-que .container { position: relative; z-index: 1; }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--slate-deep);
  color: var(--paper-soft);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
