/* =========================================================
   CEPSA · Centro de Estudios Psiquiátricos
   Colores de marca tomados del logo: bordó rgb(164,0,70) y grises cálidos
   ========================================================= */

:root {
  --brand: #A40046;
  --brand-600: #8C003C;
  --brand-700: #6E0030;
  --brand-50: #FBF0F4;
  --brand-100: #F5DCE6;

  --stone: #9F9A98;
  --stone-300: #D8D3D1;
  --stone-100: #EFEBE9;

  --ink: #2A2326;
  --ink-soft: #5E5558;
  --bg: #FBF9F8;
  --surface: #FFFFFF;
  --line: #E9E3E1;

  --wa: #25D366;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(42, 35, 38, .06);
  --shadow: 0 18px 50px -20px rgba(42, 35, 38, .25);
  --shadow-brand: 0 18px 40px -16px rgba(164, 0, 70, .45);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: -.01em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { color: var(--ink); border-color: var(--stone-300); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px; color: var(--brand);
  margin-top: auto; padding-top: 20px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow.on-dark { color: #F7C9DB; }

.tag {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--stone-100); color: var(--ink-soft);
}
.tag-brand { background: var(--brand-50); color: var(--brand); }

/* ---------- Círculos (motivo del logo) ---------- */
.circles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.circles .c { position: absolute; border-radius: 50%; }
.hero .circles .c { background: radial-gradient(circle at 30% 30%, rgba(159,154,152,.16), rgba(159,154,152,.05)); }
.hero .c1 { width: 620px; height: 620px; top: -220px; right: -120px; }
.hero .c2 { width: 420px; height: 420px; bottom: -200px; left: -140px; }
.hero .c3 { width: 260px; height: 260px; top: 40%; left: 42%; background: radial-gradient(circle, rgba(164,0,70,.06), transparent 70%) !important; }
.circles.light .c { background: rgba(255,255,255,.06); }
.circles.light .c1 { width: 520px; height: 520px; top: -260px; right: -160px; }
.circles.light .c2 { width: 380px; height: 380px; bottom: -220px; left: -120px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #E8E2E3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar-alert { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar-alert a { color: #fff; font-weight: 600; }
.topbar-alert a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 24px; }
.topbar-links a { opacity: .8; transition: opacity .2s; }
.topbar-links a:hover { opacity: 1; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #FF4D8B; position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #FF4D8B; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 720px) { .topbar-links { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* El desenfoque va en un pseudo-elemento: backdrop-filter en .header
   rompería el position: fixed del menú móvil */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 249, 248, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
body.menu-open .header::before { background: var(--bg); }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { width: auto; height: 54px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 400; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .logo img { height: 46px; }
  .nav {
    position: fixed; top: var(--nav-top, 118px); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px 16px 40px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 22px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 28px; padding: 18px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 600; margin-bottom: 24px; }
.hero h1 em { display: inline; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-soft); font-weight: 300; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; gap: 44px; margin: 52px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--font-serif); font-size: 36px; font-weight: 600; color: var(--brand); line-height: 1; }
.hero-stats dd { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 280px 280px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(110, 0, 48, .28));
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--brand-100); top: -34px; right: -34px; z-index: -1;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 48px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero-badge span:not(.badge-icon) { font-size: 13px; color: var(--ink-soft); }
.badge-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); }
.badge-icon svg { width: 22px; height: 22px; fill: var(--brand); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 0; bottom: 24px; }
  .hero-media::before { right: -10px; top: -20px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .hero-stats dt { font-size: 28px; }
  .hero-stats dd { font-size: 12.5px; line-height: 1.4; }
  .hero-badge { padding: 12px 16px 12px 12px; left: 12px; right: 12px; }
}

/* ---------- Secciones ---------- */
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { .section { padding: 80px 0; } }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 20px; }
.section-head p { color: var(--ink-soft); font-size: 17px; font-weight: 300; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head.split h2 { margin-bottom: 0; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; gap: 20px; } .section-head { margin-bottom: 44px; } }

/* ---------- Enfoque ---------- */
.enfoque { background: var(--surface); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; padding: 40px 34px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-num { font-family: var(--font-serif); font-style: italic; font-size: 44px; color: var(--brand); opacity: .25; line-height: 1; display: block; margin-bottom: 28px; }
.pillar h3 { font-size: 20px; margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  display: flex; flex-direction: column;
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service p { color: var(--ink-soft); font-size: 15px; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 26px;
  display: grid; place-items: center; background: var(--brand-50);
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.urgent { background: var(--brand); }
.service-icon.urgent svg { stroke: #fff; stroke-width: 2.4; }

.service-feature {
  grid-row: span 2;
  background: linear-gradient(160deg, var(--brand-50), var(--surface) 60%);
  border-color: var(--brand-100);
}
.service-feature h3 { font-size: 26px; }
.service-sub { margin-bottom: 22px; }
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
/* Hospital de día e internación: tarjeta destacada en bordó */
.service-highlight {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 100% 0%, #C2185B 0%, transparent 60%), linear-gradient(150deg, var(--brand-700), var(--brand));
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-brand);
}
.service-highlight::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  right: -90px; bottom: -110px; background: rgba(255,255,255,.07); pointer-events: none;
}
.service-highlight:hover { box-shadow: 0 26px 50px -18px rgba(164, 0, 70, .6); }
.service-highlight h3 { color: #fff; }
.service-highlight p { color: rgba(255,255,255,.85); }
.service-highlight .service-icon { background: rgba(255,255,255,.14); }
.service-highlight .service-icon svg { stroke: #fff; }
.service-highlight .link-arrow { color: #fff; }
.service-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: #fff; color: var(--brand);
}

@media (max-width: 1024px) { .services { grid-template-columns: 1fr 1fr; } .service-feature { grid-row: auto; grid-column: span 2; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .service-feature { grid-column: auto; } .service { padding: 30px 24px; } }

/* ---------- Taller ---------- */
.taller {
  background: radial-gradient(ellipse at 80% 0%, #C2185B 0%, transparent 55%), linear-gradient(140deg, var(--brand-700), var(--brand) 70%);
  color: #fff; overflow: hidden;
}
.taller-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.taller h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 24px; }
.taller h2 em { color: #FFD7E6; }
.taller .lead { color: rgba(255,255,255,.85); }
.taller-quote {
  margin: 32px 0 36px; padding: 4px 0 4px 22px;
  border-left: 2px solid rgba(255,255,255,.45);
  font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.6;
  color: #fff;
}
.taller-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.t-card {
  padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .3s, transform .4s var(--ease);
}
.t-card:nth-child(even) { transform: translateY(32px); }
.t-card:hover { background: rgba(255,255,255,.14); }
.t-num { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: #FFD7E6; display: block; margin-bottom: 18px; }
.t-card h3 { font-size: 19px; margin-bottom: 10px; }
.t-card p { font-size: 14.5px; color: rgba(255,255,255,.8); line-height: 1.65; }
@media (max-width: 960px) {
  .taller-grid { grid-template-columns: 1fr; gap: 48px; }
  .t-card:nth-child(even) { transform: none; }
}
@media (max-width: 560px) { .taller-cards { grid-template-columns: 1fr; } .taller .btn { width: 100%; } }

/* ---------- Actividades ---------- */
.activities { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.activity { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.activity figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
.activity img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.activity:hover img { transform: scale(1.05); }
.activity-body { padding: 30px 32px 34px; }
.activity-body h3 { font-size: 21px; margin: 16px 0 12px; }
.activity-body p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .activities { grid-template-columns: 1fr; } .activity-body { padding: 26px 24px 30px; } }

.formacion {
  display: flex; align-items: center; gap: 22px;
  margin-top: 24px; padding: 26px 32px; border-radius: var(--radius);
  background: var(--stone-100);
}
.formacion p { color: var(--ink-soft); font-size: 15px; }
.formacion strong { color: var(--ink); font-weight: 600; }
.formacion-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.formacion-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linejoin: round; }
@media (max-width: 560px) { .formacion { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* ---------- Sedes ---------- */
.sedes { background: var(--surface); }
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sede {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg); border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.sede:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sede-map { aspect-ratio: 16 / 8; background: var(--stone-100); filter: grayscale(.35) contrast(1.02); }
.sede-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sede-body { padding: 34px 36px 38px; display: flex; flex-direction: column; flex: 1; }
.sede-body h3 { font-size: 26px; margin: 18px 0 8px; }
.sede-desc { color: var(--ink-soft); font-size: 15px; }
.sede-info { margin-top: 22px; display: grid; gap: 0; }
.sede-info li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.sede-info .label { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.sede-info a { color: var(--brand); font-weight: 500; }
.sede-info a:hover { text-decoration: underline; }
@media (max-width: 860px) { .sedes-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .sede-body { padding: 26px 22px 30px; }
  .sede-info li { grid-template-columns: 1fr; gap: 2px; }
  .sede-body h3 { font-size: 22px; }
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 120px; background: var(--surface); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
  padding: 64px 64px; border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--ink) 0%, #43242F 60%, var(--brand-700) 100%);
  color: #fff;
}
.cta-copy, .cta-actions { position: relative; }
.cta h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.cta h2 em { color: #FFB9D3; display: block; }
.cta p { color: rgba(255,255,255,.75); font-weight: 300; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) {
  .cta { padding-bottom: 80px; }
  .cta-box { grid-template-columns: 1fr; padding: 44px 28px; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: auto; height: 60px; margin-bottom: 20px; }
.footer-brand p { color: var(--ink-soft); max-width: 380px; }
.footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; color: var(--ink-soft); }
.footer ul a { color: var(--ink); transition: color .2s; }
.footer ul a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 0 32px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--stone);
}
.footer-emergency a { color: var(--brand); font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.t-card.reveal.in:nth-child(even) { transform: translateY(32px); }
@media (max-width: 960px) { .t-card.reveal.in:nth-child(even) { transform: none; } }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media (max-width: 560px) { .eyebrow { font-size: 11.5px; letter-spacing: .1em; } .eyebrow::before { width: 18px; } }
.sede-body .tag { align-self: flex-start; }
