/* ============================================================
   IEH — Instituto Educativo Hermosillo
   Stylesheet v4.0
   Brand: IEH Orange (#E47327) + Navy (#0F0D17)
   Typography: Inter + DM Sans
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */

:root {
  /* Brand */
  --color-orange: #E47327;
  --color-orange-dark: #C85E1A;
  --color-orange-light: #F08A46;
  --color-orange-subtle: rgba(228, 115, 39, 0.08);
  --color-orange-glow: rgba(228, 115, 39, 0.2);

  /* Teal (Primary) — salud premium no corporativa */
  --color-teal: #0A7C6E;
  --color-teal-dark: #07685B;
  --color-teal-light: #2FA392;
  --color-teal-subtle: rgba(10, 124, 110, 0.06);
  --color-teal-glow: rgba(10, 124, 110, 0.2);

  /* Navy (Core) */
  --color-navy: #0F0D17;
  --color-navy-light: #1A1825;
  --color-navy-mid: #2A2835;

  /* Clinical Blue (acento técnico) */
  --color-clinical: #4A90D9;
  --color-clinical-subtle: rgba(74, 144, 217, 0.08);
  --color-clinical-glow: rgba(74, 144, 217, 0.2);

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg: #FAFBFC;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F2F4F7;
  --color-border: #E4E7EC;
  --color-border-light: #F0F2F5;

  /* Text */
  --color-text: #0F0D17;
  --color-text-secondary: #5D5A6E;
  --color-text-tertiary: #8E8A9E;
  --color-text-inverse: #FFFFFF;
  --color-text-inverse-secondary: rgba(255, 255, 255, 0.75);

  /* Status */
  --color-success: #2A8A6A;
  --color-error: #D44A4A;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'DM Sans', 'Inter', -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.12em;

  /* Spacing (8px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1160px;
  --container-padding: var(--space-6);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 13, 23, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 13, 23, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 13, 23, 0.1);
  --shadow-xl: 0 20px 60px rgba(15, 13, 23, 0.12);
  --shadow-orange: 0 4px 20px rgba(228, 115, 39, 0.25);
  --shadow-teal: 0 4px 20px rgba(10, 124, 110, 0.25);
  --shadow-clinical: 0 4px 20px rgba(74, 144, 217, 0.25);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-reveal: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-nav: 1000;
  --z-backdrop: 900;
  --z-back-to-top: 500;
}

/* ----------------------------------------------------------
   2. RESET
   ---------------------------------------------------------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--color-orange); color: var(--color-white); }
:focus-visible { outline: 2px solid var(--color-orange); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ----------------------------------------------------------
   3. UTILITY
   ---------------------------------------------------------- */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: var(--space-20) 0; }
@media (max-width: 768px) { .section { padding: var(--space-12) 0; } }

.text-orange { color: var(--color-orange); }

.section__header { text-align: center; max-width: 680px; margin: 0 auto var(--space-14); }
.section__header--left { text-align: left; margin-left: 0; }

.section__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.section__tag--left { text-align: left; }

.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.section__title--left { text-align: left; }
.section__desc { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: var(--leading-relaxed); }
@media (max-width: 768px) { .section__title { font-size: var(--text-3xl); } .section__desc { font-size: var(--text-base); } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { background: var(--color-orange-dark); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(228, 115, 39, 0.35); }
.btn--primary:active { transform: translateY(0); }
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-orange); color: var(--color-orange); background: var(--color-orange-subtle); transform: translateY(-2px); }

/* ----------------------------------------------------------
   4. NAVIGATION
   ---------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: var(--space-6) 0 var(--space-3);
  transition: all var(--transition-base);
}
.nav--scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border-light);
}
.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 96px; width: auto; border-radius: var(--radius-sm); transition: height var(--transition-base); }
.nav--scrolled .nav__logo-img { height: 70px; }
.nav__menu { display: flex; align-items: center; gap: var(--space-8); }
.nav__links { display: flex; align-items: center; gap: var(--space-8); }
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-1) 0;
  position: relative;
  transition: color var(--transition-base);
  letter-spacing: var(--tracking-wide);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}
.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav__cta { padding: var(--space-2) var(--space-5); font-size: var(--text-xs); }
.nav__cta-mobile { display: none; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; width: 32px; height: 32px; padding: 4px; }
.nav__hamburger span { display: block; width: 100%; height: 2px; background: var(--color-text); border-radius: var(--radius-full); transition: all var(--transition-base); transform-origin: center; }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----------------------------------------------------------
   5. HERO
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, #1E1A2E 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 25% 50%, var(--color-orange) 0%, transparent 50%),
                    radial-gradient(circle at 75% 50%, var(--color-orange) 0%, transparent 50%);
  pointer-events: none;
}
.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
  padding-top: 80px;
}
.hero__content { max-width: 580px; }
.hero__badge {
  display: inline-flex;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(228, 115, 39, 0.1);
  border: 1px solid rgba(228, 115, 39, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
}
.hero__title-accent { color: var(--color-orange); }
.hero__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-inverse-secondary);
  margin-bottom: var(--space-10);
  max-width: 500px;
}
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero__actions .btn--outline { border-color: rgba(255,255,255,0.2); color: var(--color-text-inverse); }
.hero__actions .btn--outline:hover { border-color: var(--color-orange); color: var(--color-orange); background: rgba(228,115,39,0.1); }
.hero__visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-8); }
.hero__stats { display: flex; gap: var(--space-12); }
.hero__stat { text-align: center; }
.hero__stat-num { display: block; font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: 700; color: var(--color-orange); line-height: 1; margin-bottom: var(--space-1); }
.hero__stat-label { font-size: var(--text-xs); color: var(--color-text-inverse-secondary); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.4;
  font-size: var(--text-xs);
  color: var(--color-text-inverse-secondary);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--color-orange), transparent); }
@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; text-align: center; gap: var(--space-8); }
  .hero__content { max-width: 100%; }
  .hero__subtitle { margin: 0 auto var(--space-8); }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__title { font-size: var(--text-4xl); }
}
@media (max-width: 480px) { .hero__title { font-size: var(--text-3xl); } }

/* ----------------------------------------------------------
   6. PROGRAMS
   ---------------------------------------------------------- */

.programs { background: var(--color-surface); }
.programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); max-width: 960px; margin: 0 auto; }

.program-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.program-card:hover { border-color: var(--color-orange); box-shadow: var(--shadow-lg); }
.program-card__header { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.program-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-orange-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.program-card__level {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-orange);
  background: var(--color-orange-subtle);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.program-card__title { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-4); color: var(--color-text); line-height: var(--leading-snug); }
.program-card__desc { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-text-secondary); margin-bottom: var(--space-5); flex: 1; }
.program-card__skills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.program-card__skill {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.program-card__details { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-6); }
.program-card__details li { font-size: var(--text-sm); color: var(--color-text-secondary); padding: var(--space-1) 0; padding-left: var(--space-5); position: relative; }
.program-card__details li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--color-orange); }
.program-card__btn { flex: 1; }
.program-card__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) { .programs__grid { grid-template-columns: 1fr; } .program-card__details { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   7. LICENCIATURA EN IMAGENOLOGÍA
   ---------------------------------------------------------- */

.licenciatura { background: var(--color-bg); }
.licenciatura__hero { text-align: center; margin-bottom: var(--space-12); max-width: 720px; margin-left: auto; margin-right: auto; }
.licenciatura__lead { font-size: var(--text-lg); color: var(--color-text-secondary); line-height: var(--leading-relaxed); margin-top: var(--space-6); }
.licenciatura__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: var(--space-12); align-items: start; }
.licenciatura__content { display: flex; flex-direction: column; gap: var(--space-10); }
.licenciatura__block { }
.licenciatura__heading { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-orange); display: inline-block; }
.licenciatura__text { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--color-text-secondary); }
.licenciatura__list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); padding-left: 0; list-style: none; }
.licenciatura__list li { padding-left: var(--space-6); position: relative; font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--leading-relaxed); }
.licenciatura__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-orange); opacity: 0.7; }

/* Competencias */
.licenciatura__competencias { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-4); }
.licenciatura__competencia { display: flex; gap: var(--space-4); align-items: flex-start; }
.licenciatura__competencia-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-lg); background: rgba(228,115,39,0.08); display: flex; align-items: center; justify-content: center; }
.licenciatura__competencia strong { display: block; font-size: var(--text-sm); color: var(--color-text); margin-bottom: var(--space-1); }
.licenciatura__competencia p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-relaxed); margin: 0; }

/* Tech grid */
.licenciatura__tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.licenciatura__tech-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 500; color: var(--color-text); transition: all var(--transition-base); }
.licenciatura__tech-item:hover { border-color: var(--color-orange); background: rgba(228,115,39,0.03); }

/* Laboral grid */
.licenciatura__laboral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.licenciatura__laboral-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 500; color: var(--color-text); transition: all var(--transition-base); }
.licenciatura__laboral-item:hover { border-color: var(--color-orange); }
.licenciatura__laboral-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(228,115,39,0.08); display: flex; align-items: center; justify-content: center; }

/* Note */
.licenciatura__note { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: rgba(228,115,39,0.04); border-radius: var(--radius-lg); border-left: 3px solid var(--color-orange); font-size: var(--text-xs); color: var(--color-text-tertiary); line-height: var(--leading-relaxed); }
.licenciatura__note svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }
.licenciatura__note p { margin: 0; }

/* CTA */
.licenciatura__cta { margin-top: var(--space-6); }
.licenciatura__cta .btn { min-width: 260px; }

/* Sidebar */
.licenciatura__sidebar { display: flex; flex-direction: column; gap: var(--space-6); position: sticky; top: var(--space-24); }
.licenciatura__sidebar-card { padding: var(--space-6); background: var(--color-surface); border-radius: var(--radius-xl); border: 1px solid var(--color-border); }
.licenciatura__sidebar-card h4 { font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600; color: var(--color-orange); margin-bottom: var(--space-3); }
.licenciatura__sidebar-card p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.licenciatura__sidebar-card--alt { background: var(--color-navy); border-color: rgba(255,255,255,0.08); }
.licenciatura__sidebar-card--alt h4 { color: var(--color-white); }
.licenciatura__sidebar-card--alt p { color: var(--color-text-inverse-secondary); }
.licenciatura__sidebar-card--alt .btn--outline { border-color: rgba(255,255,255,0.2); color: var(--color-text-inverse); }
.licenciatura__sidebar-card--alt .btn--outline:hover { background: var(--color-orange); border-color: var(--color-orange); }

@media (max-width: 900px) { .licenciatura__grid { grid-template-columns: 1fr; } .licenciatura__sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
@media (max-width: 600px) { .licenciatura__tech-grid, .licenciatura__laboral-grid { grid-template-columns: 1fr; } .licenciatura__sidebar { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   8. ABOUT
   ---------------------------------------------------------- */

.about { background: var(--color-bg); }
.about__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-14); align-items: center; }
.about__text { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--color-text-secondary); margin-bottom: var(--space-4); }
.about__features { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.about__feature { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-text); }
.about__feature-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-orange-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about__visual { display: flex; flex-direction: column; gap: var(--space-4); }
.about__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}
.about__card-num { display: block; font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; color: var(--color-orange); line-height: 1; margin-bottom: var(--space-2); }
.about__card-label { font-size: var(--text-sm); color: var(--color-text-secondary); letter-spacing: var(--tracking-wide); }
@media (max-width: 768px) { .about__grid { grid-template-columns: 1fr; gap: var(--space-8); } .about__visual { flex-direction: row; } }
@media (max-width: 480px) { .about__visual { flex-direction: column; } }

/* ----------------------------------------------------------
   8. REASONS
   ---------------------------------------------------------- */

.reasons { background: var(--color-surface); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.reason-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
}
.reason-card:hover { border-color: rgba(228,115,39,0.3); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.reason-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.reason-card h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-3); color: var(--color-text); }
.reason-card p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-text-secondary); }

@media (max-width: 768px) { .reasons__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .reasons__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   9. ADMISSIONS
   ---------------------------------------------------------- */

.admissions { background: var(--color-bg); }
.admissions__steps { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-6); }
.admissions__step { display: flex; gap: var(--space-6); align-items: flex-start; }
.admissions__step-num {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.admissions__step-content h3 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-1); color: var(--color-text); }
.admissions__step-content p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-relaxed); }
.admissions__cta { text-align: center; margin-top: var(--space-10); }

/* ----------------------------------------------------------
   10. CTA SECTION
   ---------------------------------------------------------- */

.cta-section { padding: var(--space-12) 0; background: var(--color-surface); }
.cta-section__card {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-14) var(--space-10);
  text-align: center;
}
.cta-section__title { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: 700; color: var(--color-text-inverse); margin-bottom: var(--space-4); }
.cta-section__desc { font-size: var(--text-lg); color: var(--color-text-inverse-secondary); max-width: 520px; margin: 0 auto var(--space-8); line-height: var(--leading-relaxed); }
@media (max-width: 480px) { .cta-section__card { padding: var(--space-10) var(--space-6); } .cta-section__title { font-size: var(--text-2xl); } }

/* ----------------------------------------------------------
   11. CONTACT
   ---------------------------------------------------------- */

.contact { background: var(--color-bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-10); align-items: flex-start; }
.contact__info {
  display: flex; flex-direction: column; gap: var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8);
}
.contact__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact__item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-orange-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--color-orange);
}
.contact__item h4 { font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-1); color: var(--color-text); }
.contact__item p, .contact__item address { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-relaxed); font-style: normal; }
.contact__link { color: var(--color-orange); transition: color var(--transition-base); }
.contact__link:hover { color: var(--color-orange-dark); }
.contact__form {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8);
}
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.contact__form-group { margin-bottom: var(--space-4); }
.contact__form-row .contact__form-group { margin-bottom: 0; }
.contact__form-group label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-2); color: var(--color-text); }
.contact__form-group input, .contact__form-group select, .contact__form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all var(--transition-base);
}
.contact__form-group input::placeholder, .contact__form-group textarea::placeholder { color: var(--color-text-tertiary); }
.contact__form-group input:hover, .contact__form-group select:hover, .contact__form-group textarea:hover { border-color: var(--color-text-tertiary); }
.contact__form-group input:focus, .contact__form-group select:focus, .contact__form-group textarea:focus { outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 3px var(--color-orange-glow); }
.contact__form-group select { 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='%238E8A9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: var(--space-10); cursor: pointer; }
.contact__form-group textarea { resize: vertical; min-height: 100px; }
.contact__submit { width: 100%; }
@media (max-width: 768px) { .contact__grid { grid-template-columns: 1fr; } .contact__form-row { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   12. FOOTER
   ---------------------------------------------------------- */

.footer {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-orange), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

/* Brand column */
.footer__brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__institution {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}
.footer__initials {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  color: var(--color-orange);
  text-transform: uppercase;
}
.footer__tagline { font-size: var(--text-xs); color: var(--color-text-inverse-secondary); line-height: var(--leading-relaxed); max-width: 240px; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-inverse-secondary);
  transition: all var(--transition-base);
}
.footer__social a:hover { background: var(--color-orange); color: var(--color-white); transform: translateY(-2px); }

/* Columns */
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--color-orange);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.footer__col li a { font-size: var(--text-sm); color: var(--color-text-inverse-secondary); transition: color var(--transition-base); text-decoration: none; }
.footer__col li a:hover { color: var(--color-orange); }
.footer__address { font-size: var(--text-xs); color: var(--color-text-inverse-secondary); line-height: var(--leading-relaxed); font-style: normal; }
.footer__phone { font-size: var(--text-base); font-weight: 600; color: var(--color-white) !important; letter-spacing: -0.01em; }
.footer__cta { margin-top: var(--space-5); display: inline-flex; }

/* Bottom bar */
.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom span { font-size: var(--text-xs); color: var(--color-text-inverse-secondary); opacity: 0.6; }
.footer__bottom-badge {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-text-inverse-secondary);
  opacity: 0.5;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; text-align: center; gap: var(--space-3); }
  .footer__col--contact { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--contact { grid-column: auto; }
}

/* ----------------------------------------------------------
   13. TEXT UTILITIES
   ---------------------------------------------------------- */

.text-orange { color: var(--color-orange); }
.text-teal { color: var(--color-teal); }

/* ----------------------------------------------------------
   14. WHATSAPP FLOATING BUTTON
   ---------------------------------------------------------- */

.whatsapp-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 600;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.whatsapp-btn:active {
  transform: scale(0.95);
}
.whatsapp-btn__tooltip {
  position: absolute;
  right: 64px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.whatsapp-btn__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--color-navy);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.whatsapp-btn:hover .whatsapp-btn__tooltip {
  opacity: 1;
}
/* When back-to-top is also shown, offset positions */
@media (min-width: 769px) {
  .back-to-top.visible ~ .whatsapp-btn,
  .whatsapp-btn { bottom: var(--space-6); }
}

/* ----------------------------------------------------------
   15. BACK TO TOP
   ---------------------------------------------------------- */

.back-to-top {
  position: fixed; bottom: var(--space-6); left: var(--space-6);
  z-index: var(--z-back-to-top);
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: var(--color-orange);
  border: 1px solid rgba(228,115,39,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--color-orange); color: var(--color-white); transform: translateY(-3px); }

/* ----------------------------------------------------------
   14. MOBILE NAV
   ---------------------------------------------------------- */

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-20) var(--space-8) var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: var(--z-backdrop);
    gap: var(--space-8);
  }
  .nav__menu.open { right: 0; }
  .nav__links { flex-direction: column; gap: var(--space-6); }
  .nav__link { font-size: var(--text-lg); }
  .nav__hamburger { display: flex; }
  .nav__cta-mobile { display: flex; width: 100%; justify-content: center; }

  /* Backdrop */
  .nav__backdrop {
    position: fixed; inset: 0;
    background: rgba(15,13,23,0.5);
    z-index: calc(var(--z-nav) - 1);
    opacity: 0; visibility: hidden;
    transition: all var(--transition-base);
  }
  .nav__backdrop.open { opacity: 1; visibility: visible; }
}

/* ----------------------------------------------------------
   15. TOAST
   ---------------------------------------------------------- */

.toast {
  position: fixed; bottom: var(--space-8); left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  opacity: 0; pointer-events: none;
  transition: all var(--transition-base);
  max-width: 90vw;
}
.toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast--success { border-color: rgba(42,138,106,0.3); }
.toast--error { border-color: rgba(212,74,74,0.3); }
.toast__icon { width: 32px; height: 32px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast--success .toast__icon { background: rgba(42,138,106,0.1); color: var(--color-success); }
.toast--error .toast__icon { background: rgba(212,74,74,0.1); color: var(--color-error); }
.toast__message { font-size: var(--text-sm); font-weight: 500; color: var(--color-text); }

/* ----------------------------------------------------------
   16. PAGE HERO (inner pages)
   ---------------------------------------------------------- */

.page-hero {
  background: var(--color-navy);
  padding: 140px 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 30% 60%, var(--color-orange) 0%, transparent 50%),
                    radial-gradient(circle at 70% 40%, var(--color-teal) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}
.page-hero__badge {
  display: inline-flex;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(228, 115, 39, 0.1);
  border: 1px solid rgba(228, 115, 39, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-5);
  max-width: 700px;
}
.page-hero__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-inverse-secondary);
  max-width: 600px;
  margin-bottom: var(--space-6);
}
.page-hero__meta {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.page-hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-inverse-secondary);
}
.page-hero__meta-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 var(--space-12); }
  .page-hero__title { font-size: var(--text-3xl); }
  .page-hero__subtitle { font-size: var(--text-base); }
}

/* ----------------------------------------------------------
   17. TABS COMPONENT
   ---------------------------------------------------------- */

.tabs { margin-top: var(--space-6); }
.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-3) var(--space-6);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-base);
  flex-shrink: 0;
}
.tabs__btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.tabs__btn:hover { color: var(--color-text); }
.tabs__btn--active {
  color: var(--color-orange);
  font-weight: 600;
}
.tabs__btn--active::after { transform: scaleX(1); }
.tabs__panel { display: none; }
.tabs__panel--active { display: block; }

/* Tab content */
.tab-content { max-width: 720px; }
.tab-content h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.tab-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}
.tab-content ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.tab-content ul li {
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}
.tab-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0.7;
}
.tab-content .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.tab-content .grid-2 > div {
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.tab-content .grid-2 strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-teal);
  margin-bottom: var(--space-1);
}
.tab-content .grid-2 span {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}
@media (max-width: 600px) {
  .tabs__btn { padding: var(--space-3) var(--space-4); font-size: var(--text-xs); }
  .tab-content .grid-2 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   18. COMPARISON TABLE
   ---------------------------------------------------------- */

.comparison {
  margin-top: var(--space-6);
  overflow-x: auto;
}
.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 600px;
}
.comparison__table thead th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-white);
  background: var(--color-navy);
  border-bottom: none;
}
.comparison__table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}
.comparison__table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}
.comparison__table thead th span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-inverse-secondary);
  margin-top: var(--space-1);
}
.comparison__table tbody td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  vertical-align: top;
  line-height: var(--leading-relaxed);
}
.comparison__table tbody td:first-child {
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface-alt);
  white-space: nowrap;
}
.comparison__table tbody tr:last-child td {
  border-bottom: none;
}
.comparison__check {
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
}
.comparison__dash { color: var(--color-text-tertiary); }

/* ----------------------------------------------------------
   19. LEAD MAGNET
   ---------------------------------------------------------- */

.lead-magnet {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-top: var(--space-12);
}
.lead-magnet__content { }
.lead-magnet__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-teal-light);
  margin-bottom: var(--space-3);
}
.lead-magnet__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}
.lead-magnet__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-inverse-secondary);
  margin-bottom: var(--space-6);
  max-width: 400px;
}
.lead-magnet__form {
  display: flex;
  gap: var(--space-3);
}
.lead-magnet__form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-family: var(--font-body);
}
.lead-magnet__form input::placeholder { color: rgba(255,255,255,0.35); }
.lead-magnet__form input:focus { outline: none; border-color: var(--color-teal); }
.lead-magnet__form .btn { flex-shrink: 0; }
.lead-magnet__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lead-magnet__icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--color-teal-subtle);
  border: 2px solid rgba(10, 124, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-light);
}
@media (max-width: 768px) {
  .lead-magnet { grid-template-columns: 1fr; text-align: center; padding: var(--space-8) var(--space-6); }
  .lead-magnet__desc { max-width: 100%; }
  .lead-magnet__form { flex-direction: column; }
  .lead-magnet__visual { display: none; }
}

/* ----------------------------------------------------------
   20. INHALOTERAPIA PLACEHOLDER
   ---------------------------------------------------------- */

.program-placeholder {
  background: var(--color-surface-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  max-width: 600px;
  margin: var(--space-8) auto;
}
.program-placeholder__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-teal-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-teal);
}
.program-placeholder h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.program-placeholder p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-1);
}

/* ----------------------------------------------------------
   21. COSTOS / PRICING TABLE
   ---------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}
.pricing-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pricing-card--featured {
  border-color: var(--color-teal);
  position: relative;
}
.pricing-card--featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  background: var(--color-teal);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}
.pricing-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-1);
}
.pricing-card__period {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  display: block;
  margin-bottom: var(--space-5);
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding-left: var(--space-6);
  position: relative;
}
.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-teal);
}
.pricing-card__btn { width: 100%; }
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   22. FAQ (accordion)
   ---------------------------------------------------------- */

.faq-list { max-width: 720px; margin-top: var(--space-6); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.faq-item:hover { border-color: var(--color-teal); }
.faq-item--open { border-color: var(--color-teal); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-base);
  gap: var(--space-4);
}
.faq-item__question:hover { background: var(--color-surface-alt); }
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-teal);
  transition: transform var(--transition-base);
}
.faq-item--open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item--open .faq-item__answer {
  max-height: 500px;
}
.faq-item__answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* ----------------------------------------------------------
   23. SUBNAV / BREADCRUMB
   ---------------------------------------------------------- */

.subnav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-3) 0;
  display: none;
}
.subnav--visible { display: block; }
.subnav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}
.subnav__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}
.subnav__link:hover { color: var(--color-orange); }
.subnav__sep { opacity: 0.4; }
.subnav__current { color: var(--color-text); font-weight: 500; }

/* ----------------------------------------------------------
   24. ANIMATIONS (data-reveal variants)
   ---------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

[data-reveal="fade-left"] { transform: translateX(-30px); }
[data-reveal="fade-left"].revealed { transform: translateX(0); }

[data-reveal="fade-right"] { transform: translateX(30px); }
[data-reveal="fade-right"].revealed { transform: translateX(0); }

[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].revealed { transform: scale(1); }

/* Stagger child animations */
[data-reveal-stagger] > [data-reveal]:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-stagger] > [data-reveal]:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal].revealed { opacity: 1; transform: none; }
}

/* ============================================================
   25. FASE C — HUMAN PRECISION ENHANCEMENTS
       Onda Vital logo integration + visual refinements
       Date: 2026-07-26
   ============================================================ */

/* ----------------------------------------------------------
   25.1 LOGO — Onda Vital
   ---------------------------------------------------------- */

/* Override the old PNG with the new SVG logo */
.nav__logo-img {
  content: url('/assets/logo/01-logo-horizontal.svg');
  width: 360px;
  height: auto;
  object-fit: contain;
}

/* White logo version for hero/footer backgrounds —
   applied via scrolled state and dark sections */
.nav--scrolled .nav__logo-img {
  content: url('/assets/logo/01-logo-horizontal.svg');
}

/* Footer brand — use white logo */
.footer .nav__logo-img,
.footer__brand .nav__logo-img {
  content: url('/assets/logo/07-logo-horizontal-blanco.svg');
}

/* Logo hover effect */
.nav__logo {
  transition: opacity var(--transition-base);
}
.nav__logo:hover {
  opacity: 0.85;
}

/* When nav is over the dark hero (no scroll yet), use white logo */
.nav:not(.nav--scrolled) .nav__logo-img {
  content: url('/assets/logo/07-logo-horizontal-blanco.svg');
}

/* ----------------------------------------------------------
   25.2 WAVE PATTERN — Secondary Graphic Element
       CSS-only wave patterns using pseudo-elements
   ---------------------------------------------------------- */

/* Hero wave pattern — subtle background */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(10, 124, 110, 0.03) 40px,
      rgba(10, 124, 110, 0.03) 42px
    );
  pointer-events: none;
  z-index: 0;
}

/* Decorative wave line at bottom of hero sections */
.hero__scroll-line {
  background: linear-gradient(to bottom, var(--color-teal), transparent);
  width: 2px;
}

/* Page hero — subtle teal overlay wave */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(10, 124, 110, 0.04) 40px,
      rgba(10, 124, 110, 0.04) 42px
    );
  pointer-events: none;
}

/* Section divider wave — applied as bottom border accent on key sections */
.programs::before,
.reasons::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-orange) 50%, transparent 100%);
  margin-bottom: 0;
  opacity: 0.3;
}

/* ----------------------------------------------------------
   25.3 BUTTONS — Enhanced & New Variants
   ---------------------------------------------------------- */

/* Primary button — enhanced with reveal transition */
.btn--primary {
  transition: all var(--transition-reveal);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(228, 115, 39, 0.4);
}
.btn--primary:active {
  transform: translateY(-1px);
}

/* NEW: Secondary button (teal) */
.btn--secondary {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
  transition: all var(--transition-reveal);
}
.btn--secondary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(10, 124, 110, 0.4);
}
.btn--secondary:active {
  transform: translateY(-1px);
}

/* NEW: Clinical button (blue) */
.btn--clinical {
  background: var(--color-clinical);
  color: var(--color-white);
  box-shadow: var(--shadow-clinical);
  transition: all var(--transition-reveal);
}
.btn--clinical:hover {
  background: #3A7BC8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.4);
}
.btn--clinical:active {
  transform: translateY(-1px);
}

/* Outline button — refined */
.btn--outline {
  transition: all var(--transition-reveal);
}
.btn--outline:hover {
  transform: translateY(-3px);
}

/* ----------------------------------------------------------
   25.4 NAVIGATION — Enhanced States
   ---------------------------------------------------------- */

/* Navigation link — teal accent on hover instead of orange */
.nav__link:hover {
  color: var(--color-teal);
}
.nav__link::after {
  background: var(--color-teal);
}

/* Active page indicator */
.nav__link--active {
  color: var(--color-teal);
}
.nav__link--active::after {
  width: 100%;
}

/* Scrolled nav — slight teal tint in shadow */
.nav--scrolled {
  box-shadow: 0 1px 0 var(--color-border-light), 0 4px 20px rgba(10, 124, 110, 0.04);
}

/* ----------------------------------------------------------
   25.5 PROGRAM CARDS — Refined
   ---------------------------------------------------------- */

/* Card hover — use teal border with shadow */
.program-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}

/* Card icon — teal subtle on hover */
.program-card:hover .program-card__icon {
  background: var(--color-teal-subtle);
}

/* Skill tags — teal tint on hover */
.program-card__skill:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-subtle);
}

/* Detail bullets — teal */
.program-card__details li::before {
  background: var(--color-teal);
}

/* ----------------------------------------------------------
   25.6 PRICING & FEATURED CARDS
   ---------------------------------------------------------- */

/* Featured card — refined teal */
.pricing-card--featured {
  border-color: var(--color-teal);
}
.pricing-card--featured::before {
  background: var(--color-teal);
}
.pricing-card--featured:hover {
  border-color: var(--color-teal-dark);
  box-shadow: var(--shadow-teal);
}

/* Pricing features — teal bullets */
.pricing-card__features li::before {
  background: var(--color-teal);
}

/* ----------------------------------------------------------
   25.7 FAQ — Teal Focus
   ---------------------------------------------------------- */

.faq-item:hover {
  border-color: var(--color-teal);
}
.faq-item--open {
  border-color: var(--color-teal);
  box-shadow: 0 2px 12px rgba(10, 124, 110, 0.08);
}
.faq-item__icon {
  color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.8 FORM ELEMENTS — Focus & Validation States
   ---------------------------------------------------------- */

/* Input focus — teal ring */
.contact__form-group input:focus,
.contact__form-group select:focus,
.contact__form-group textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

/* Lead magnet input focus */
.lead-magnet__form input:focus {
  border-color: var(--color-teal-light);
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

/* Select arrow — use updated color */
.contact__form-group select {
  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='%238E8A9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------
   25.9 FOOTER — Refinements
   ---------------------------------------------------------- */

/* Footer top gradient — teal + orange */
.footer::before {
  background: linear-gradient(90deg, var(--color-teal), var(--color-orange), transparent);
  height: 3px;
}

/* Footer social — teal hover */
.footer__social a:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Footer CTA — use teal secondary */
.footer__cta.btn--primary {
  background: var(--color-teal);
  box-shadow: var(--shadow-teal);
}
.footer__cta.btn--primary:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 8px 30px rgba(10, 124, 110, 0.4);
}

/* Footer phone — teal accent */
.footer__phone {
  color: var(--color-teal-light) !important;
}

/* Footer link hover — teal */
.footer__col li a:hover {
  color: var(--color-teal);
}

/* Footer column headings — teal accent */
.footer__col h4 {
  color: var(--color-teal);
}

/* Footer institution name — use white with teal subtle glow */
.footer__institution {
  color: var(--color-white);
  text-shadow: 0 1px 20px rgba(10, 124, 110, 0.15);
}

/* ----------------------------------------------------------
   25.10 HERO & PAGE HERO — Visual Enhancements
   ---------------------------------------------------------- */

/* Hero badge — teal tint option (compatible with existing) */
.hero__badge {
  transition: all var(--transition-base);
}

/* Hero CTA outline — refined border */
.hero__actions .btn--outline {
  transition: all var(--transition-reveal);
}
.hero__actions .btn--outline:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: rgba(10, 124, 110, 0.1);
}

/* Statistics — teal numbers */
.hero__stat-num {
  color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.11 TAB COMPONENT — Teal Accent
   ---------------------------------------------------------- */

.tabs__btn::after {
  background: var(--color-teal);
}
.tabs__btn--active {
  color: var(--color-teal);
}
.tabs__btn:hover {
  color: var(--color-teal);
}

/* Tab content — teal accent */
.tab-content ul li::before {
  background: var(--color-teal);
}
.tab-content .grid-2 strong {
  color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.12 COMPARISON TABLE — Teal Header & Checks
   ---------------------------------------------------------- */

.comparison__table thead th {
  background: var(--color-navy);
}
.comparison__check {
  color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.13 LEAD MAGNET — Refined
   ---------------------------------------------------------- */

.lead-magnet__tag {
  color: var(--color-teal-light);
}
.lead-magnet__icon {
  background: var(--color-teal-subtle);
  border-color: var(--color-teal-glow);
  color: var(--color-teal-light);
  transition: all var(--transition-base);
}
.lead-magnet:hover .lead-magnet__icon {
  transform: scale(1.05);
  border-color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.14 PLACEHOLDER CARDS — Teal
   ---------------------------------------------------------- */

.program-placeholder__icon {
  background: var(--color-teal-subtle);
  color: var(--color-teal);
}

/* ----------------------------------------------------------
   25.15 MISC UTILITIES
   ---------------------------------------------------------- */

/* Text color utilities */
.text-teal { color: var(--color-teal); }
.text-clinical { color: var(--color-clinical); }
.text-navy { color: var(--color-navy); }

/* Background utilities */
.bg-teal-subtle { background: var(--color-teal-subtle); }
.bg-clinical-subtle { background: var(--color-clinical-subtle); }

/* Responsive logo sizing */
@media (max-width: 768px) {
  .nav__logo-img {
    width: 220px;
  }
}
@media (max-width: 480px) {
  .nav__logo-img {
    width: 180px;
  }
  /* Stacked logo for tight screens */
  .footer__brand .nav__logo-img {
    content: url('/assets/logo/02-logo-stacked.svg');
    width: 120px;
    height: auto;
  }
}

/* Logo variant utilities — apply class to nav or container */
.nav--teal-bg .nav__logo-img { content: url('/assets/logo/08-logo-horizontal-teal.svg'); }
.nav--navy-bg .nav__logo-img { content: url('/assets/logo/09-logo-horizontal-navy.svg'); }
.logo--stacked { content: url('/assets/logo/02-logo-stacked.svg'); width: 140px; height: auto; }
.logo--symbol { content: url('/assets/logo/03-icono-solo.svg'); width: 48px; height: auto; }

/* Footer stacked logo for tablet+ */
@media (max-width: 768px) and (min-width: 481px) {
  .footer__brand .nav__logo-img {
    width: 150px;
  }
}

/* Testimonial cards (preparado, sin activar) */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-reveal);
}
.testimonial-card:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}
.testimonial-card__content { flex: 1; margin-bottom: var(--space-6); }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: var(--space-4); color: #F59E0B; }
.testimonial-card__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-teal-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__avatar-initials {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
}
.testimonial-card__name { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.testimonial-card__role { display: block; font-size: var(--text-xs); color: var(--color-text-tertiary); margin-top: 2px; }

@media (max-width: 768px) { .testimonials__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* Tagline in hero */
.hero__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: var(--space-5);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}
.hero__tagline-accent {
  color: var(--color-orange);
}
@media (max-width: 768px) {
  .hero__tagline { font-size: var(--text-xl); }
}
@media (max-width: 480px) {
  .hero__tagline { font-size: var(--text-lg); }
}

/* Lead magnet updated CTA */
.lead-magnet__tag {
  color: var(--color-teal-light);
}

/* Selection color — teal instead of orange for brand consistency */
::selection {
  background: var(--color-teal);
  color: var(--color-white);
}

/* Focus-visible — teal outline */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}
