/* ==========================================================================
   NUESTRA VOZ — EMISORA INSTITUCIONAL IETIM
   Paz de Río, Boyacá — "Tu voz, tu escuela, tu comunidad"
   Sistema Visual Editorial Broadcast v3.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  --ink:        #0A0A0A;
  --ink-80:     #1E1E1E;
  --ink-60:     #3A3A3A;
  --ink-40:     #6B6B6B;
  --ink-20:     #9A9A9A;

  --navy-950:   #061324;
  --navy-900:   #081D37;
  --navy-800:   #0E3359;
  --navy-700:   #17487A;
  --navy-100:   #E3EDF8;
  --navy-50:    #F0F5FB;

  --naranja:    #FF6B00;
  --naranja-dark: #E8590C;
  --naranja-light: #FF8A33;
  --naranja-bg: #FFF5ED;

  --azul:       #0066FF;
  --azul-dark:  #0052CC;
  --azul-light: #E8F0FE;

  --crema:      #FAF7F2;
  --blanco:     #FFFFFF;

  --verde:      #10B981;
  --verde-bg:   #D1FAE5;
  --rojo:       #DC2626;
  --rojo-bg:    #FEF2F2;
  --amber:      #F59E0B;
  --amber-bg:   #FEF3C7;
  --violeta:    #7C3AED;
  --violeta-bg: #EDE9FE;

  /* Legacy compat aliases */
  --orange-500: #FF6B00;
  --orange-600: #E8590C;
  --orange-400: #FB923C;
  --orange-100: #FFEDD5;
  --orange-50:  #FFF7ED;
  --blue-600:   #0066FF;
  --blue-500:   #0284C7;
  --blue-400:   #38BDF8;
  --blue-100:   #E0F2FE;
  --blue-50:    #F0F9FF;
  --amber-500:  #F59E0B;
  --amber-400:  #FBBF24;
  --amber-100:  #FEF3C7;
  --green-500:  #10B981;
  --green-100:  #D1FAE5;
  --bg-body:    #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-subtle:  #F4F1EC;
  --border-color: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.04);
  --text-main:  #0A0A0A;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --text-inverse: #FFFFFF;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.14);

  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-xl:  12px;
  --radius-full: 9999px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:     150ms;
  --t-normal:   300ms;
  --t-slow:     500ms;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow-orange: 0 0 25px rgba(255, 107, 0, 0.35);
  --shadow-glow-blue: 0 0 25px rgba(0, 102, 255, 0.35);

  --container-max: 1280px;
  --max-w:      1280px;
  --header-height: 72px;
  --header-h:   72px;
  --gap-section: 120px;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--crema);
  color: var(--ink-60);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-smooth); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

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

::selection {
  background: var(--naranja);
  color: var(--blanco);
}

/* --- 3. TIPOGRAFÍA EDITORIAL --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.8rem, 5vw + 1rem, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw + 0.5rem, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw + 0.3rem, 1.8rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

p { color: var(--ink-40); font-size: 1.05rem; line-height: 1.7; }

.text-lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-40); max-width: 640px; }

/* Section Label — editorial */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--naranja);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* Legacy eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--naranja);
  margin-bottom: 16px;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

.eyebrow--blue { color: var(--azul); }
.eyebrow--navy { color: var(--navy-700); }

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

/* --- 4. LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.container--narrow { max-width: 900px; }

.section {
  padding-top: var(--gap-section);
  padding-bottom: var(--gap-section);
  position: relative;
}

.section--sm { padding-top: 80px; padding-bottom: 80px; }

.section--dark {
  background: var(--navy-950);
  color: var(--blanco);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--blanco); }
.section--dark p { color: rgba(255,255,255,0.6); }

.section--subtle { background-color: var(--crema); }
.section--white { background-color: var(--blanco); }

.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-header--center,
.section-header[style*="margin-bottom: 0"] {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 { margin-bottom: 16px; }

.text-center { text-align: center; }

/* --- 5. BOTONES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--t-normal) var(--ease-out);
  text-align: center;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--naranja);
  color: var(--blanco);
}
.btn-primary:hover {
  background: var(--naranja-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
  color: var(--blanco);
}

.btn-secondary {
  background: var(--ink);
  color: var(--blanco);
}
.btn-secondary:hover {
  background: var(--ink-80);
  transform: translateY(-1px);
  color: var(--blanco);
}

.btn-blue {
  background: var(--azul);
  color: var(--blanco);
}
.btn-blue:hover {
  background: var(--azul-dark);
  transform: translateY(-1px);
  color: var(--blanco);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-20);
}
.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  border-color: var(--blanco);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  color: var(--blanco);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--blanco);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--blanco);
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  color: var(--blanco);
}

.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* --- 6. TOP TICKER --- */
.top-ticker {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-ticker__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.top-ticker__live { display: flex; align-items: center; gap: 10px; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rojo);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blanco);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.top-ticker__info { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,0.5); }
.top-ticker__item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; }
.top-ticker__social { display: flex; align-items: center; gap: 10px; }
.top-ticker__social a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.top-ticker__social a:hover { color: var(--naranja); }

/* --- 7. NAVBAR --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanco);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--t-normal);
}

.site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }

.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand__logo-img {
  height: 44px; width: auto; object-fit: contain;
  transition: transform var(--t-normal) var(--ease-out);
}
.brand:hover .brand__logo-img { transform: scale(1.03); }

.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.68rem; color: var(--ink-20); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.nav-menu { display: flex; align-items: center; gap: 2px; }

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-40);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  position: relative;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--naranja); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--naranja);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--crema);
  color: var(--ink);
  transition: background var(--t-fast);
}
.mobile-toggle:hover { background: var(--navy-100); }

/* --- 8. HERO EDITORIAL — BROADCAST FULL BLEED --- */
.hero-editorial {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}

.hero-editorial__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-editorial__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(20%);
}

.hero-editorial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 19, 36, 0.92) 0%,
    rgba(6, 19, 36, 0.78) 45%,
    rgba(6, 19, 36, 0.55) 75%,
    rgba(6, 19, 36, 0.65) 100%
  );
}

.hero-editorial__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-top: 60px;
  padding-bottom: 0;
}

/* Top meta bar */
.hero-editorial__meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.he-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
}

.he-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.65rem;
}

/* Hero two-col content */
.hero-editorial__content {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: flex-end;
  flex: 1;
  padding-bottom: 64px;
}

.he-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--naranja);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.he-kicker::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--naranja);
}

.hero-editorial__title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}

.he-line {
  display: block;
}

.he-line--light {
  font-size: clamp(3.5rem, 7vw, 7rem);
  color: var(--blanco);
}

.he-line--accent {
  font-size: clamp(4rem, 8.5vw, 9rem);
  color: var(--naranja);
  /* Stroke text effect */
  -webkit-text-stroke: 0px;
  text-shadow: none;
  position: relative;
}

.hero-editorial__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 8px;
}

.he-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}

.he-desc strong {
  color: rgba(255,255,255,0.9);
}

.he-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Bottom info bar */
.hero-editorial__bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 0;
}

.he-stat {
  flex: 1;
  padding: 0 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.he-stat__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: -0.01em;
}

.he-stat__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.he-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  margin: 0 28px 0 0;
  flex-shrink: 0;
}

/* Keep old hero for js compatibility */
.hero { display: none; }

/* --- 9. SECTION ABOUT (ASYMMETRIC) --- */
.section-about {
  padding: 100px 0 80px;
  background: var(--blanco);
}

.about-asymmetric {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.about-asymmetric__left {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.about-asymmetric__headline {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.04em;
  margin-top: 4px;
}

.about-asymmetric__headline em {
  font-style: italic;
  color: var(--naranja);
}

.about-asymmetric__right {
  padding-top: 4px;
}

.about-quote-big {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-80);
  border-left: 3px solid var(--naranja);
  padding-left: 24px;
  margin-bottom: 32px;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-40);
  margin-bottom: 20px;
}

.about-body strong {
  color: var(--ink-80);
  font-weight: 600;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.about-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  border: 1.5px solid rgba(0,0,0,0.1);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--t-fast);
}

.about-tag:hover {
  border-color: var(--naranja);
  color: var(--naranja);
}

/* Institution strip */
.institution-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}

.institution-strip::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
}

.institution-strip__logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.institution-strip__text h4 {
  color: var(--blanco);
  font-size: 1rem;
  margin-bottom: 6px;
}

.institution-strip__text p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.5;
}

.institution-strip__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.institution-strip__place {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

.institution-strip .btn-outline,
.institution-strip .btn-outline-white {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.institution-strip .btn-outline:hover,
.institution-strip .btn-outline-white:hover {
  color: #FFFFFF !important;
  border-color: var(--naranja);
  background: var(--naranja);
}

/* --- 10. SECTION SERVICES — BROADCAST LIST --- */
.section-services {
  padding: 100px 0;
  background: var(--crema);
}

.services-header-editorial {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.services-headline {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin-top: 4px;
}

.services-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-40);
  max-width: 480px;
  align-self: flex-end;
}

/* Broadcast list */
.services-broadcast-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sbl-item {
  display: grid;
  grid-template-columns: 56px 1px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: all var(--t-normal) var(--ease-out);
  cursor: default;
}

.sbl-item:last-child {
  border-bottom: none;
}

.sbl-item:hover {
  background: none;
}

.sbl-item:hover .sbl-num {
  color: var(--naranja);
}

.sbl-item:hover .sbl-line {
  background: var(--naranja);
}

.sbl-item:hover .sbl-title {
  color: var(--naranja);
}

.sbl-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  color: rgba(0,0,0,0.18);
  letter-spacing: 0.05em;
  transition: color var(--t-normal);
  align-self: center;
}

.sbl-line {
  width: 1px;
  height: 100%;
  min-height: 40px;
  background: rgba(0,0,0,0.08);
  transition: background var(--t-normal);
}

.sbl-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sbl-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color var(--t-normal);
  line-height: 1.2;
}

.sbl-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-40);
}

.sbl-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--naranja);
  background: var(--naranja-bg);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* --- 11. SECCIÓN MISIÓN Y VISIÓN — SPLIT SCREEN --- */
.section-mv {
  overflow: hidden;
}

.mv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.mv-split__panel {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-split__panel--light {
  background: var(--blanco);
}

.mv-split__panel--dark {
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.mv-split__panel--dark::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.mv-split__inner {
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.mv-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.mv-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.mv-label--orange { color: var(--naranja); }
.mv-label--glow { color: var(--naranja-light); }

.mv-title {
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 28px;
}

.mv-title--white { color: var(--blanco); }

.mv-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-40);
  margin-bottom: 16px;
}

.mv-body--muted {
  color: rgba(255,255,255,0.5);
}

.mv-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  list-style: none;
}

.mv-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.mv-checks--white li {
  color: rgba(255,255,255,0.8);
}

.mv-checks--white { border-top-color: rgba(255,255,255,0.1); }

.mv-check {
  color: var(--verde);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- 12. CTA SECTION --- */
.section-cta {
  background: var(--navy-950);
  padding: 100px 0;
}

.cta-editorial {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.cta-editorial__text {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--blanco);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-editorial__visual {
  text-align: center;
}

.cta-editorial__visual img {
  max-height: 280px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  object-fit: cover;
}

/* --- 13. APP DOWNLOAD BUTTON --- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  color: var(--blanco);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all var(--t-normal);
}
.btn-store:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
  color: var(--blanco);
}
.btn-store__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.btn-store__subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}
.btn-store__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

/* App spotlight (legacy) */
.app-spotlight {
  background: var(--navy-950); color: var(--blanco); border-radius: var(--radius-lg);
  padding: 60px 52px; position: relative; overflow: hidden;
}
.app-spotlight::before {
  content: ''; position: absolute; top: -80px; right: -40px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%); border-radius: 50%;
}
.app-spotlight__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 40px; position: relative; z-index: 1; }
.app-spotlight h2 { color: var(--blanco); margin-bottom: 16px; }
.app-spotlight p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 28px; }
.app-store-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-mockup-visual { text-align: center; }
.app-mockup-visual img { max-height: 260px; margin: 0 auto; border-radius: var(--radius-md); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }

/* --- 14. QUIÉNES SOMOS (legacy) --- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 80px; }
.about-content h2 { margin-bottom: 24px; }

.about-quote {
  position: relative; background: none; border-radius: 0; padding: 0; box-shadow: none;
  border-left: 3px solid var(--naranja); padding-left: 24px; margin-top: 32px;
}
.about-quote p { font-size: 1.2rem; font-style: italic; color: var(--ink-80); font-weight: 500; line-height: 1.6; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }

.feature-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--blanco); padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--t-fast);
}
.feature-pill:hover { transform: translateY(-2px); }

.feature-pill__icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--naranja-bg); color: var(--naranja);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-pill__text h4 { font-size: 0.9rem; margin-bottom: 2px; color: var(--ink); }
.feature-pill__text p { font-size: 0.78rem; line-height: 1.3; color: var(--ink-40); }

/* Institution Badge (legacy) */
.institution-badge-card {
  background: var(--navy-950); color: var(--blanco); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
}
.institution-badge-card::before {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.institution-shield-wrap { display: flex; align-items: center; gap: 16px; }
.institution-shield-wrap img { height: 64px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.institution-shield-text h4 { color: var(--blanco); font-size: 1.05rem; margin-bottom: 4px; }
.institution-shield-text p { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* --- 15. SERVICIOS (legacy grid) --- */
.services-editorial { display: flex; flex-direction: column; gap: 48px; }
.services-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.service-featured {
  background: var(--blanco); padding: 48px 40px;
  position: relative; transition: background var(--t-normal);
}
.service-featured:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.service-featured:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.service-featured:hover { background: var(--navy-950); }
.service-featured:hover .service-featured__number,
.service-featured:hover h3,
.service-featured:hover p { color: var(--blanco); }
.service-featured:hover .service-featured__number { color: var(--naranja); }
.service-featured__number {
  font-family: var(--font-display); font-size: 4rem; font-weight: 900;
  color: rgba(0,0,0,0.04); line-height: 1; margin-bottom: 16px;
  transition: color var(--t-normal);
}
.service-featured h3 { margin-bottom: 12px; transition: color var(--t-normal); }
.service-featured p { font-size: 0.95rem; line-height: 1.7; transition: color var(--t-normal); }
.service-featured__icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--naranja-bg); color: var(--naranja);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: background var(--t-normal), color var(--t-normal);
}
.service-featured:hover .service-featured__icon { background: rgba(255,107,0,0.15); color: var(--naranja-light); }

.services-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.service-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 28px; border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--t-fast);
}
.service-item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.06); }
.service-item:hover { background: var(--blanco); }
.service-item__number {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  color: var(--naranja); line-height: 1; flex-shrink: 0; width: 28px;
}
.service-item__content h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.service-item__content p { font-size: 0.85rem; line-height: 1.55; color: var(--ink-40); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--blanco); border-radius: var(--radius-sm); padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06); transition: all var(--t-normal);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background var(--t-fast); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card:hover::after { background: var(--naranja); }
.service-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--naranja-bg); color: var(--naranja);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transition: all var(--t-normal);
}
.service-card:hover .service-card__icon { background: var(--naranja); color: var(--blanco); }
.service-card__title { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.service-card__desc { font-size: 0.88rem; line-height: 1.6; color: var(--ink-40); }

/* --- 16. MISIÓN Y VISIÓN (legacy) --- */
.mission-vision-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2px; }

.mv-card {
  background: var(--blanco); padding: 48px 44px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; border-radius: 0; box-shadow: none; border: none;
}
.mv-card--mission { border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-top: none; }
.mv-card--vision {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--navy-950); border-top: none;
}
.mv-card--vision h3, .mv-card--vision .mv-card__title { color: var(--blanco); }
.mv-card--vision p, .mv-card--vision .mv-card__text { color: rgba(255,255,255,0.6); }
.mv-card--vision .mv-card__tag { color: var(--naranja-light); }
.mv-card--vision .mv-highlight-item { color: var(--blanco); }
.mv-card--vision .mv-card__highlights { border-top-color: rgba(255,255,255,0.1); }

.mv-card__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.mv-card--mission .mv-card__tag { color: var(--naranja); }

.mv-card__title { font-size: 1.6rem; margin-bottom: 20px; line-height: 1.2; }
.mv-card__text { font-size: 1rem; line-height: 1.75; color: var(--ink-40); margin-bottom: 20px; }

.mv-card__highlights {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.06);
}
.mv-highlight-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.mv-highlight-icon { color: var(--verde); flex-shrink: 0; }

/* --- 17. COMUNIDAD --- */
.community-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 0; }

.pillar-card {
  background: var(--blanco); padding: 36px 28px; text-align: left;
  transition: all var(--t-normal); border-radius: 0; border: none; box-shadow: none; position: relative;
}
.pillar-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.pillar-card:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.pillar-card:hover { background: var(--navy-950); z-index: 1; }
.pillar-card:hover h3, .pillar-card:hover p { color: var(--blanco); }
.pillar-card:hover p { color: rgba(255,255,255,0.6); }
.pillar-card:hover .pillar-card__icon-wrap { background: rgba(255,107,0,0.15); color: var(--naranja-light); }

.pillar-card__icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--naranja-bg); color: var(--naranja);
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 20px 0; transition: all var(--t-normal);
}
.pillar-card h3 { font-size: 1.1rem; margin-bottom: 10px; transition: color var(--t-normal); }
.pillar-card p { font-size: 0.88rem; line-height: 1.6; transition: color var(--t-normal); }

/* Participation Steps */
.participation-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step-card {
  background: transparent; padding: 32px 24px; border-right: 1px solid rgba(0,0,0,0.06);
  position: relative; border-radius: 0; border-bottom: none; border-top: none; border-left: none;
}
.step-card:last-child { border-right: none; }
.step-number { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--naranja); line-height: 1; margin-bottom: 16px; opacity: 0.3; }
.step-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--ink); }
.step-card p { font-size: 0.85rem; color: var(--ink-40); }

/* --- 18. CONTACTO & FORMULARIOS --- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: flex-start; }

.contact-info-card { background: var(--blanco); border-radius: var(--radius-lg); padding: 40px; border: 1px solid rgba(0,0,0,0.06); }
.contact-info-card h2 { margin-bottom: 8px; }

.contact-channel-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-channel-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-channel-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--naranja-bg); color: var(--naranja);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-channel-detail h4 { font-size: 0.92rem; margin-bottom: 3px; color: var(--ink); }
.contact-channel-detail p, .contact-channel-detail a { font-size: 0.88rem; color: var(--ink-40); }
.contact-channel-detail a:hover { color: var(--naranja); }

/* Forms */
.form-card {
  background: var(--blanco); border-radius: var(--radius-lg);
  padding: 44px; border: 1px solid rgba(0,0,0,0.06);
}
.form-card h2 { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em;
}
.form-label .required { color: var(--rojo); }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 0; background: transparent;
  border: none; border-bottom: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 0; font-size: 0.95rem; color: var(--ink);
  transition: border-color var(--t-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: transparent; border-bottom-color: var(--naranja);
  box-shadow: none; outline: none;
}

.form-textarea {
  border: 1.5px solid rgba(0,0,0,0.12); border-radius: var(--radius-sm);
  padding: 12px 16px; resize: vertical; background: var(--crema);
}
.form-textarea:focus { border-color: var(--naranja); background: var(--blanco); }

.form-select {
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px;
}

.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--rojo); border-bottom-color: var(--rojo); }
.form-error-msg { font-size: 0.75rem; color: var(--rojo); font-weight: 500; display: none; }
.form-error-msg.visible { display: block; }
.form-helper { font-size: 0.78rem; color: var(--ink-20); }

/* --- 19. PQR --- */
.pqr-intro-banner { background: var(--blanco); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 40px; }

.pqr-types-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  margin-bottom: 48px; background: var(--blanco); border-radius: var(--radius-lg); overflow: hidden;
}
.pqr-type-card {
  background: var(--blanco); padding: 24px 18px; text-align: center;
  transition: background var(--t-fast); border: none; border-radius: 0;
}
.pqr-type-card:hover { background: var(--crema); }

.pqr-type-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: 0.72rem; padding: 4px 10px; border-radius: var(--radius-xs);
  margin-bottom: 10px; letter-spacing: 0.04em;
}
.badge-p { background: var(--azul-light); color: var(--azul); }
.badge-q { background: var(--amber-bg); color: var(--amber); }
.badge-r { background: var(--rojo-bg); color: var(--rojo); }
.badge-s { background: var(--verde-bg); color: var(--verde); }
.badge-f { background: var(--violeta-bg); color: var(--violeta); }

.pqr-type-card p { font-size: 0.78rem; line-height: 1.5; color: var(--ink-40); }

/* --- 20. MODALES --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: all var(--t-normal);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--blanco); border-radius: var(--radius-lg); max-width: 480px;
  width: 100%; padding: 40px; box-shadow: var(--shadow-xl); text-align: center;
  transform: scale(0.96) translateY(8px); transition: all var(--t-normal) var(--ease-out);
}
.modal-overlay.active .modal-card { transform: scale(1) translateY(0); }

.modal-icon-success {
  width: 60px; height: 60px; border-radius: 50%; background: var(--verde-bg); color: var(--verde);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.modal-radicado-box { background: var(--crema); border: 1.5px dashed var(--ink-20); border-radius: var(--radius-sm); padding: 16px; margin: 20px 0; }
.modal-radicado-code { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--ink); letter-spacing: 0.05em; }

/* --- 21. FOOTER --- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.5);
  padding-top: 72px; padding-bottom: 32px;
  border-top: none;
}

.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr 1.1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; line-height: 1.6; }

.footer-title {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 800;
  color: var(--blanco); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color var(--t-fast); display: inline-block; }
.footer-links a:hover { color: var(--naranja); }

.footer-social-links { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.06); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.footer-social-btn:hover { background: var(--naranja); color: var(--blanco); }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.78rem;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

/* --- 22. SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children > *:nth-child(8) { transition-delay: 560ms; }

.service-card.in-view, .pillar-card.in-view, .mv-card.in-view, .feature-pill.in-view {
  opacity: 1; transform: translateY(0);
}

/* --- 23. PAGE HERO (subpages) --- */
.page-hero {
  background: var(--navy-950); padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--naranja);
}
.page-hero h1 { color: var(--blanco); margin-bottom: 16px; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; }
.page-hero .text-lead { color: rgba(255,255,255,0.55); max-width: 580px; margin-top: 16px; }
.page-hero .eyebrow { color: var(--naranja); }
.page-hero .eyebrow::before { background: var(--naranja); }
.page-hero .section-label { color: var(--naranja); }
.page-hero .section-label::before { background: var(--naranja); }

/* --- 24. RESPONSIVE --- */
@media (max-width: 1024px) {
  :root { --gap-section: 88px; }

  /* Hero editorial */
  .hero-editorial__content { grid-template-columns: 1fr; gap: 40px; }
  .hero-editorial { min-height: 80vh; }
  .he-line--light { font-size: clamp(2.8rem, 6vw, 5rem); }
  .he-line--accent { font-size: clamp(3.2rem, 7vw, 6.5rem); }

  /* About */
  .about-asymmetric { grid-template-columns: 1fr; gap: 48px; }
  .about-asymmetric__left { position: static; }
  .about-asymmetric__headline { font-size: clamp(2rem, 4vw, 3rem); }

  /* Services */
  .services-header-editorial { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mission/Vision */
  .mv-split { grid-template-columns: 1fr; }
  .mv-split__panel { padding: 64px 48px; }

  /* Institution strip */
  .institution-strip { grid-template-columns: 1fr; }
  .institution-strip__action { align-items: flex-start; }

  /* CTA */
  .cta-editorial { grid-template-columns: 1fr; gap: 48px; }
  .cta-editorial__visual { display: none; }

  /* Legacy */
  .services-featured { grid-template-columns: 1fr; gap: 2px; }
  .service-featured:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .service-featured:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .services-list { grid-template-columns: 1fr; }
  .services-list .service-item:nth-child(odd) { border-right: none; }
  .community-pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .pillar-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .pillar-card:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .pillar-card:last-child { border-radius: 0 0 var(--radius-lg) 0; }
  .participation-steps { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pqr-types-grid { grid-template-columns: repeat(3, 1fr); }
  .mission-vision-grid { grid-template-columns: 1fr; gap: 2px; }
  .mv-card--mission { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .mv-card--vision { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --header-height: 64px; --gap-section: 64px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .top-ticker__info { display: none; }

  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--blanco); flex-direction: column; align-items: flex-start;
    padding: 24px 20px; gap: 4px; transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease-out);
    box-shadow: var(--shadow-xl); overflow-y: auto; z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.05rem; width: 100%; padding: 12px 16px; }
  .nav-link.active::after { display: none; }
  .mobile-toggle { display: flex; }

  /* Hero editorial mobile */
  .hero-editorial { min-height: 100svh; }
  .hero-editorial__inner { padding-top: 40px; }
  .hero-editorial__meta-bar { display: none; }
  .hero-editorial__content { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .he-line--light { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .he-line--accent { font-size: clamp(3rem, 11vw, 4.5rem); }
  .he-kicker { font-size: 0.68rem; }
  .hero-editorial__bottom-bar { flex-wrap: wrap; gap: 12px; }
  .he-stat { flex: none; width: calc(50% - 8px); padding: 0; }
  .he-divider { display: none; }
  .he-actions { flex-direction: column; align-items: stretch; }
  .he-actions .btn { width: 100%; justify-content: center; }

  /* About mobile */
  .about-asymmetric { grid-template-columns: 1fr; gap: 36px; }
  .section-about { padding: 64px 0; }
  .about-asymmetric__headline { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* Services mobile */
  .section-services { padding: 64px 0; }
  .services-header-editorial { grid-template-columns: 1fr; margin-bottom: 40px; padding-bottom: 32px; }
  .services-headline { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .sbl-item { grid-template-columns: 40px 1px 1fr; gap: 16px; }
  .sbl-tag { display: none; }

  /* Mission/Vision mobile */
  .mv-split { grid-template-columns: 1fr; }
  .mv-split__panel { padding: 56px 32px; }
  .mv-title { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* Institution strip mobile */
  .institution-strip { padding: 28px 24px; grid-template-columns: 1fr; gap: 20px; }
  .institution-strip__action { align-items: flex-start; }

  /* CTA mobile */
  .section-cta { padding: 64px 0; }
  .cta-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .cta-editorial { grid-template-columns: 1fr; }

  h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .about-grid, .app-spotlight__grid, .contact-layout { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .mv-card--mission { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .mv-card--vision { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .form-grid { grid-template-columns: 1fr; }
  .services-grid, .footer-grid { grid-template-columns: 1fr; }

  .community-pillars { grid-template-columns: 1fr; }
  .pillar-card, .pillar-card:first-child, .pillar-card:last-child, .pillar-card:nth-child(2), .pillar-card:nth-child(3) { border-radius: 0; }
  .pillar-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .pillar-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

  .participation-steps { grid-template-columns: 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .step-card:last-child { border-bottom: none; }

  .pqr-types-grid { grid-template-columns: 1fr 1fr; }
  .services-featured { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .services-list .service-item { border-right: none; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 16px; }

  .app-spotlight { padding: 40px 28px; }
  .service-featured { padding: 36px 28px; }
  .service-featured:first-child, .service-featured:last-child { border-radius: var(--radius-lg); }
  .page-hero { padding: 56px 0 64px; }
  .page-hero h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
}

@media (max-width: 480px) {
  .pqr-types-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .he-stat { width: 100%; }
  .mv-split__panel { padding: 48px 24px; }
}

/* ==========================================================================
   LIVE STREAM PAGE — NUESTRA VOZ
   ========================================================================== */

/* --- LIVE HERO --- */
.live-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--ink);
}

.live-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.live-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 107, 0, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0, 102, 255, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #111 50%, var(--ink) 100%);
}

.live-hero__inner {
  position: relative;
  z-index: 1;
}

.live-hero__badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.live-badge--lg {
  font-size: 0.85rem;
  padding: 6px 16px;
  letter-spacing: 0.08em;
}

.live-hero__freq {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.live-hero__title-line {
  display: block;
}

.live-hero__title-line--accent {
  background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 580px;
  line-height: 1.7;
}

/* --- LIVE PLAYER SECTION --- */
.live-player-section {
  padding: 0 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.live-player-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: box-shadow var(--t-normal) var(--ease-smooth);
}

.live-player-card.is-playing {
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 107, 0, 0.12);
}

/* --- VISUALIZER --- */
.live-player__visualizer {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy-900) 100%);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.live-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
}

.live-wave__bar {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--naranja);
  opacity: 0.3;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.playing .live-wave__bar {
  opacity: 1;
  animation: liveWave 1.2s ease-in-out infinite;
}

.live-wave__bar:nth-child(1)  { animation-delay: 0s; }
.live-wave__bar:nth-child(2)  { animation-delay: 0.1s; }
.live-wave__bar:nth-child(3)  { animation-delay: 0.2s; }
.live-wave__bar:nth-child(4)  { animation-delay: 0.05s; }
.live-wave__bar:nth-child(5)  { animation-delay: 0.15s; }
.live-wave__bar:nth-child(6)  { animation-delay: 0.25s; }
.live-wave__bar:nth-child(7)  { animation-delay: 0.08s; }
.live-wave__bar:nth-child(8)  { animation-delay: 0.18s; }
.live-wave__bar:nth-child(9)  { animation-delay: 0.03s; }
.live-wave__bar:nth-child(10) { animation-delay: 0.22s; }
.live-wave__bar:nth-child(11) { animation-delay: 0.12s; }
.live-wave__bar:nth-child(12) { animation-delay: 0.07s; }
.live-wave__bar:nth-child(13) { animation-delay: 0.17s; }
.live-wave__bar:nth-child(14) { animation-delay: 0.02s; }
.live-wave__bar:nth-child(15) { animation-delay: 0.13s; }
.live-wave__bar:nth-child(16) { animation-delay: 0.23s; }

@keyframes liveWave {
  0%, 100% { height: 8px; }
  25%      { height: 40px; }
  50%      { height: 18px; }
  75%      { height: 52px; }
}

/* --- PLAYER CONTROLS --- */
.live-player__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
}

.live-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--naranja), var(--naranja-dark));
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
}

.live-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.45);
}

.live-play-btn:active {
  transform: scale(0.96);
}

.live-player__info {
  flex: 1;
  min-width: 0;
}

.live-player__status {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--naranja);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.live-player__program {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-player__volume {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-40);
  flex-shrink: 0;
}

.live-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-color);
  outline: none;
  cursor: pointer;
}

.live-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--naranja);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.live-volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--naranja);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* --- NOW PLAYING BAR --- */
.live-player__now-playing {
  display: flex;
  gap: 28px;
  padding: 16px 32px;
  background: var(--crema);
  flex-wrap: wrap;
}

.live-np__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-40);
}

/* --- QUICK ACTION CARDS --- */
.live-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.live-action-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}

.live-action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.live-action-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-action-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.live-action-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-40);
  line-height: 1.4;
}

/* --- LIVE STREAM RESPONSIVE --- */
@media (max-width: 1024px) {
  .live-actions-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .live-hero {
    padding: 120px 0 60px;
  }

  .live-player__controls {
    flex-wrap: wrap;
    padding: 20px;
  }

  .live-player__volume {
    width: 100%;
    margin-top: 8px;
  }

  .live-volume-slider {
    flex: 1;
  }

  .live-player__visualizer {
    padding: 28px 20px;
  }

  .live-player__now-playing {
    padding: 14px 20px;
    gap: 16px;
  }

  .live-actions-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .live-hero {
    padding: 100px 0 48px;
  }

  .live-play-btn {
    width: 56px;
    height: 56px;
  }
}

/* ==========================================================================
   SONG REQUEST SECTION — PQR PAGE
   ========================================================================== */

.song-request-section {
  max-width: 780px;
  margin: 40px auto;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 2px solid var(--naranja);
  box-shadow: var(--shadow-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.song-request-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--naranja), var(--naranja-light), var(--naranja-dark));
}

.song-request-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.song-request-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--naranja-bg);
  color: var(--naranja);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.song-request-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.song-request-form .form-group--full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .song-request-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .song-request-form .form-grid {
    grid-template-columns: 1fr;
  }

  .song-request-section {
    padding: 24px 20px;
    margin: 32px auto;
  }
}

/* ==========================================================================
   FORM SUBMISSION STATES — SPINNER & ALERTS
   ========================================================================== */

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-submit-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 16px;
  animation: alertFadeIn 0.3s var(--ease-out);
}

.form-submit-alert--error {
  background: var(--rojo-bg);
  color: var(--rojo);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-submit-alert--success {
  background: var(--verde-bg);
  color: var(--verde);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes alertFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PÁGINAS LEGALES INSTITUCIONALES (Marco Legal NUESTRA VOZ)
   ========================================================================== */

.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 48px;
  align-items: flex-start;
  padding: 56px 0 88px;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.legal-sidebar__title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  list-style: none;
}

.legal-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-60);
  text-decoration: none;
  transition: all var(--t-fast);
  line-height: 1.4;
}

.legal-nav-link svg {
  flex-shrink: 0;
  color: var(--ink-40);
  transition: color var(--t-fast);
}

.legal-nav-link:hover {
  background: var(--naranja-bg);
  color: var(--naranja-dark);
}

.legal-nav-link:hover svg {
  color: var(--naranja);
}

.legal-nav-link.active {
  background: var(--naranja-bg);
  color: var(--naranja);
  font-weight: 700;
  border-left: 3px solid var(--naranja);
}

.legal-nav-link.active svg {
  color: var(--naranja);
}

.legal-sidebar-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 20px 0;
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.legal-toc-link {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-40);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  line-height: 1.4;
  transition: all var(--t-fast);
}

.legal-toc-link:hover {
  color: var(--naranja);
  background: rgba(255, 107, 0, 0.06);
  padding-left: 12px;
}

.legal-content {
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 36px;
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-50);
  color: var(--navy-800);
  border: 1px solid var(--navy-100);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.legal-meta-badge svg {
  color: var(--navy-700);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2 svg {
  color: var(--naranja);
  flex-shrink: 0;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 10px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-60);
  margin-bottom: 14px;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-60);
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--naranja);
}

.legal-box {
  background: var(--crema);
  border-left: 4px solid var(--naranja);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-box p {
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--ink-80);
}

.legal-box p:last-child {
  margin-bottom: 0;
}

.legal-box strong {
  color: var(--navy-950);
}

.legal-highlight-box {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-highlight-box h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.legal-contact-item {
  background: var(--crema);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-contact-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  margin-bottom: 4px;
}

.legal-contact-item strong, .legal-contact-item a {
  font-size: 0.92rem;
  color: var(--navy-950);
  text-decoration: none;
  word-break: break-word;
}

.legal-contact-item a:hover {
  color: var(--naranja);
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 0 64px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar-divider, .legal-toc-container {
    display: none;
  }

  .legal-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .legal-content {
    padding: 28px 20px;
  }

  .legal-nav-list {
    grid-template-columns: 1fr;
  }
}

