/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */

:root {
  /* Core colors */
  --color-black: #000000;
  --color-dark: #0a0a0a;
  --color-dark-alt: #111111;
  --color-dark-card: #1a1a1a;
  --color-dark-border: #222222;
  --color-white: #ffffff;
  --color-light: #f5f5f7;
  --color-gray: #a1a1a6;
  --color-gray-light: #d2d2d7;
  --color-bg: #000000;
  /* Accent */
  --color-accent: #C77D4A;
  --color-accent-dark: #D48A55;
  --color-violet: #8B5E3C;
  --gradient-accent: linear-gradient(135deg, #C77D4A, #8B5E3C);
  --gradient-accent-hover: linear-gradient(135deg, #D48A55, #9A6B47);
  --gradient-dark: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  /* Surfaces (background tints) */
  --surface-subtle: rgba(255, 255, 255, 0.02);
  --surface-light: rgba(255, 255, 255, 0.03);
  --surface-medium: rgba(255, 255, 255, 0.05);
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-prominent: rgba(255, 255, 255, 0.2);
  --border-heavy: rgba(255, 255, 255, 0.3);
  /* Text opacity (WCAG AA: min 4.5:1 on #000) */
  --text-dim: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.55);
  /* Nav */
  --nav-bg: rgba(0, 0, 0, 0.8);
  --nav-bg-scrolled: rgba(0, 0, 0, 0.95);
  --mobile-menu-bg: rgba(0, 0, 0, 0.98);
  /* Section backgrounds */
  --section-cases-end: #0d0d0f;
  --section-cta-start: #0a0a0a;
  --section-cta-end: #000000;
  /* Text colors (for theme switching) */
  --text-primary: #ffffff;
  --text-secondary: #f5f5f7;
  --text-on-accent: #ffffff;
  /* Hero */
  --hero-bg: #000000;
  --canvas-opacity: 0.35;
  /* Scroll indicator */
  --scroll-indicator: rgba(255, 255, 255, 0.4);
  /* Program card */
  --card-bg: #1a1a1a;
  --card-border: #222222;
  --card-hover-border: rgba(199, 125, 74, 0.3);
  --card-shadow: none;
  --card-hover-shadow: 0 8px 30px rgba(199, 125, 74, 0.1);
  /* Highlight icons */
  --highlight-bg: linear-gradient(135deg, rgba(199, 125, 74, 0.1), rgba(139, 94, 60, 0.1));
  --highlight-border: rgba(199, 125, 74, 0.3);
  /* Form */
  --form-input-bg: rgba(255, 255, 255, 0.05);
  --form-input-border: rgba(255, 255, 255, 0.1);
  --form-focus-shadow: 0 0 0 3px rgba(199, 125, 74, 0.2);
  --form-placeholder: #8e8e93;
  /* Footer */
  --footer-border: #222222;
  /* Misc */
  --shimmer: rgba(255, 255, 255, 0.15);
  --logo-filter: brightness(0) invert(1);
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: 0 4px 20px rgba(199, 125, 74, 0.3);
  --btn-primary-hover-shadow: 0 8px 30px rgba(199, 125, 74, 0.45);
  --btn-secondary-border: rgba(255, 255, 255, 0.3);
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-hover-border: #ffffff;
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --section-padding: 6rem 0;
  --section-padding-mobile: 4rem 0;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
}

/* ========================================
   GLOBAL RESET & BASE
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

/* Keyboard focus indicator — visible on dark backgrounds */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--color-accent);
  color: var(--text-on-accent);
}

/* ========================================
   TYPOGRAPHY SCALE
   ======================================== */

h1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.section-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  font-weight: 700;
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-gray-light);
  max-width: 700px;
  line-height: 1.6;
}

/* ========================================
   CONTAINER
   ======================================== */

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

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: var(--section-padding-mobile);
  position: relative;
  overflow: hidden;
}

.section > .container {
  text-align: center;
}

.section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section--dark {
  background: var(--color-dark);
}

.section--cases {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--section-cases-end) 100%);
}

.section--cta {
  background: linear-gradient(180deg, var(--section-cta-start) 0%, var(--section-cta-end) 100%);
  padding: var(--section-padding-mobile);
}

/* --- Vistazo rápido --- */
.vistazo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.vistazo-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.vistazo-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vistazo-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.vistazo-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 10px;
}

.vistazo-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.vistazo-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}

.vistazo-text span {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .vistazo-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all var(--transition-base);
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--btn-primary-text);
  padding: 0.65rem 2rem;
  box-shadow: 0 4px 24px rgba(199, 125, 74, 0.40);
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--shimmer), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::after {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-hover-shadow);
}

.btn--secondary {
  background: transparent;
  border: 1px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
  padding: 0.65rem 2rem;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.btn--secondary:hover {
  border-color: var(--btn-secondary-hover-border);
  background: var(--btn-secondary-hover-bg);
  transform: translateY(-2px);
}

.btn--large {
  padding: 0.9rem 3rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 10px;
}

.btn--full {
  width: 100%;
  padding: 0.75rem;
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-strong);
}

nav.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border-subtle);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--color-gray);
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.btn--nav {
  background: var(--gradient-accent);
  color: var(--text-on-accent);
  border-radius: 8px;
  padding: 0.3rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-base);
  display: none;
}

.btn--nav:hover {
  background: var(--gradient-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-primary-hover-shadow);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  pointer-events: none;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gray-light);
  transition: color var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--color-white);
}

.mobile-menu .btn--primary {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  margin-top: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

#neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: var(--canvas-opacity);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--container-padding);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-prominent);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-gray-light);
  margin-bottom: 1.5rem;
  background: var(--surface-light);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.hero-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--surface-light);
  text-align: center;
}

.hero-value-number {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.hero-value-label {
  font-size: 0.75rem;
  color: var(--color-gray);
  line-height: 1.35;
  max-width: 180px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--scroll-indicator);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   CHALLENGE QUESTIONS (EL DESAFIO)
   ======================================== */

.challenge-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  max-width: 700px;
  margin: 2.5rem auto;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.challenge-card {
  background: var(--surface-light);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.challenge-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.challenge-closing {
  max-width: 700px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
  color: var(--color-gray-light);
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 768px) {
  .challenge-questions {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   STATS GRID (EL DESAFIO)
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-value {
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.stat-number {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-unit {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.1rem;
}

.stat-label {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.stat-source {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ========================================
   CONSEQUENCE BLOCK (adoptantes vs rezagados)
   ======================================== */

.consequence-block {
  margin-top: 4rem;
  text-align: center;
}

.consequence-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.consequence-subtitle {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.consequence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.consequence-card {
  background: var(--surface-light);
  padding: 1.5rem;
  text-align: center;
}

.consequence-versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.consequence-up {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.consequence-vs {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.consequence-down {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray);
}

.consequence-desc {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .consequence-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   QUOTES BLOCK
   ======================================== */

.quotes-block {
  margin-top: 4rem;
}

.quote-carousel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.quote-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 2px solid var(--color-accent);
  background: var(--surface-subtle);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 0;
}

.quote-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-gray-light);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quote-role {
  font-size: 0.75rem;
  color: var(--color-gray);
}

.quote-role::before {
  content: "—";
  margin-right: 0.25rem;
}

/* ========================================
   CASES (CASOS REALES)
   ======================================== */

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.case-row {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.case-row:last-child {
  border-bottom: none;
}

.case-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.case-company {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
}

.case-story {
  text-align: left;
}

.case-story p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.case-story p:last-child {
  margin-bottom: 0;
}

.case-story p strong {
  color: var(--color-accent);
  font-weight: 700;
}

.case-story .case-shift {
  color: var(--color-gray-light);
  font-weight: 500;
  border-left: 2px solid var(--color-accent);
  padding-left: 1rem;
  margin-top: 1rem;
  font-style: italic;
}

/* ========================================
   PROGRAM GRID (EL PROGRAMA)
   ======================================== */

.program-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
  counter-reset: program-card;
}

.program-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid var(--card-border);
  border-left: 2px solid transparent;
  transition: all var(--transition-base);
  box-shadow: var(--card-shadow);
  counter-increment: program-card;
  position: relative;
}

.program-card::before {
  content: "0" counter(program-card);
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  opacity: 0.5;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  border-left-color: var(--color-accent);
  box-shadow: var(--card-hover-shadow);
}

.program-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-on-accent);
}

.program-card h3 {
  margin-bottom: 1rem;
}

.program-card p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Program Value Block */
.program-value {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--surface-light);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
}

.program-value-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.program-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.program-value-item {
  text-align: center;
}

.program-value-item svg {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.program-value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.program-value-item p {
  color: var(--color-gray);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   TIMELINE (LA EXPERIENCIA)
   ======================================== */

.timeline {
  position: relative;
  max-width: 700px;
  margin: 3rem auto 0;
  padding-left: 0;
  text-align: left;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-time {
  flex-shrink: 0;
  background: var(--gradient-accent);
  color: var(--text-on-accent);
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
  height: fit-content;
  margin-top: 0.15rem;
}

.timeline-content {
  flex: 1;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-item:last-child .timeline-content {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================
   EXPERIENCE FORMAT + GOLF (LA EXPERIENCIA)
   ======================================== */

.experience-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
  margin: 4.5rem auto 0;
  max-width: 1000px;
  background: var(--surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
}

.pillar-item {
  text-align: left;
  position: relative;
  padding-top: 1rem;
}

.pillar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--gradient-accent);
}

.pillar-number {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  color: var(--color-white);
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.5;
  margin: 0;
  list-style: none;
  padding: 0;
}

.pillar-desc li {
  padding-left: 0.9em;
  position: relative;
}

.pillar-desc li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.7em;
  top: 0.15em;
}

.experience-section-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 6rem 0 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.experience-section-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--card-hover-border);
  border-radius: 4px;
}

.experience-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-white);
  position: relative;
  padding-left: 1rem;
  border-left: 1px solid var(--border-strong);
}

.post-program-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.post-block {
  padding: 2rem;
  background: var(--surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  text-align: left;
  border-left: 3px solid var(--color-accent);
}

.post-block-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.post-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-white);
}

.post-block-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .post-program-blocks {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}

.experience-golf {
  max-width: 700px;
  margin: 1.5rem auto 0;
  padding: 2rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-align: left;
}

.golf-description {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.golf-note {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-gray);
  font-style: italic;
}

/* ========================================
   EXPERIENCE HIGHLIGHTS (LA EXPERIENCIA)
   ======================================== */

.experience-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 4rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.highlight-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  padding: 14px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--highlight-bg);
  border: 2px solid var(--highlight-border);
}

.highlight-item span {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  line-height: 1.4;
}

/* ========================================
   PARA QUIEN
   ======================================== */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}

.audience-title {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.audience-list {
  list-style: none;
  padding: 0;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-gray-light);
  line-height: 1.5;
}

.audience-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-list--check li svg {
  color: #00d084;
}

.audience-list--cross li svg {
  color: #ff3b30;
}

/* ========================================
   PRICING (LA INVERSIÓN)
   ======================================== */

#inversion .section-title {
  margin-bottom: 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  padding: 3rem 2.5rem;
  background: var(--surface-light);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.pricing-card--gain::before {
  background: linear-gradient(135deg, #00d084, #00b876);
}

.pricing-card--cost::before {
  background: linear-gradient(135deg, #ff3b30, #ff6b5e);
}

.pricing-card-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--card-hover-border);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.pricing-card-label--gain {
  background: linear-gradient(135deg, #00d084, #00b876);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-color: rgba(0, 208, 132, 0.3);
}

.pricing-card-label--cost {
  background: linear-gradient(135deg, #ff3b30, #ff6b5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-color: rgba(255, 59, 48, 0.3);
}

.pricing-amount {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.pricing-vat {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
}

.pricing-early {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.pricing-cost-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pricing-note {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
}

.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--color-gray-light);
  line-height: 1.5;
}

.pricing-includes li:last-child {
  border-bottom: none;
}

.pricing-includes li svg {
  flex-shrink: 0;
  color: #00d084;
  margin-top: 1px;
}

.pricing-costs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-costs li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--color-gray-light);
  line-height: 1.5;
}

.pricing-costs li:last-child {
  border-bottom: none;
}

.pricing-costs li svg {
  flex-shrink: 0;
  color: #ff3b30;
  margin-top: 1px;
}

.pricing-cost-closing {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
  text-align: left;
  font-style: italic;
  border-left: 2px solid rgba(255, 59, 48, 0.4);
  padding-left: 1rem;
}

/* Gain card (intangible benefits) */
.pricing-gain-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pricing-gains {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-gains li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--color-gray-light);
  line-height: 1.5;
}

.pricing-gains li:last-child {
  border-bottom: none;
}

.pricing-gains li svg {
  flex-shrink: 0;
  color: #00d084;
  margin-top: 1px;
}

.pricing-gain-closing {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
  text-align: left;
  font-style: italic;
  border-left: 2px solid rgba(0, 208, 132, 0.4);
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 0;
    max-width: 1200px;
    align-items: stretch;
  }

  .pricing-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
  }

  .pricing-card > .btn {
    align-self: end;
  }
}

/* ========================================
   FACILITATOR
   ======================================== */

.facilitator-block {
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: var(--surface-light);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  text-align: left;
  border-top: 3px solid var(--color-accent);
}

.facilitator-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.facilitator-photo {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  background: var(--surface-medium);
  border: 2px solid var(--color-accent);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facilitator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Placeholder icon when no image */
.facilitator-photo:empty::after {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C77D4A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

.facilitator-info {
  flex: 1;
}

.facilitator-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.facilitator-role {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.facilitator-bio {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   SOBRE STRADIAX
   ======================================== */

.stradiax-logo-link {
  display: block;
  margin-bottom: 1.5rem;
}

.stradiax-logo {
  height: 48px;
  width: auto;
  margin: 0 auto;
  filter: var(--logo-filter);
  opacity: 0.9;
  transition: opacity var(--transition-base);
  display: block;
}

.stradiax-logo-link:hover .stradiax-logo {
  opacity: 1;
}

.stradiax-inline-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.stradiax-inline-link:hover {
  color: var(--color-violet);
}

.stradiax-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stradiax-text {
  color: var(--color-gray-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.stradiax-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
}

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

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--color-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   CONTACT FORM / CTA SECTION
   ======================================== */

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"] {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--form-input-bg);
  border: 1px solid var(--form-input-border);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-group input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: var(--form-focus-shadow);
}

.form-group input::placeholder {
  color: var(--form-placeholder);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-light);
  margin-bottom: 0.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--form-input-bg);
  border: 1px solid var(--form-input-border);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}

.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='%23a1a1a6' 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 1rem center;
  padding-right: 2.5rem;
}

.form-group input[type="date"]:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: var(--form-focus-shadow);
}

/* Date input placeholder styling */
.form-group input[type="date"]:invalid {
  color: var(--form-placeholder);
}

.form-hint {
  display: block;
  color: var(--color-accent);
  font-size: 0.78rem;
  margin-top: 0.4rem;
  opacity: 0.8;
}

.form-group.error input {
  border-color: #ff3b30;
}

.error-message {
  display: block;
  color: #ff3b30;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.form-group--checkbox label {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.4;
  cursor: pointer;
}

.form-group--checkbox label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact-form .btn--full {
  margin-top: 0.5rem;
}

.form-message {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  color: var(--color-white);
  margin-top: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-message svg {
  margin: 0 auto 0.75rem;
  display: block;
}

.form-message p {
  margin-bottom: 0;
}

.form-message--success {
  background: rgba(199, 125, 74, 0.1);
  border: 1px solid var(--color-accent);
}

.form-message--error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid #ff3b30;
}

/* ========================================
   SCHEDULER (CALENDAR PICKER)
   ======================================== */

.scheduler {
  background: var(--form-input-bg);
  border: 1px solid var(--form-input-border);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  position: relative;
  transition: border-color var(--transition-base);
}

.form-group.error .scheduler {
  border-color: #ff3b30;
}

/* Header: ← Month Year → */
.scheduler-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.scheduler-month {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: capitalize;
}

.scheduler-nav {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.25rem;
  color: var(--color-gray);
  background: var(--surface-medium);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.scheduler-nav:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.scheduler-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Weekday labels */
.scheduler-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.scheduler-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
  padding: 0.3rem 0;
}

/* Days grid */
.scheduler-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.scheduler-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  color: var(--text-primary);
  background: none;
  cursor: default;
  padding: 0;
}

.scheduler-day--other {
  color: var(--text-dim);
  opacity: 0.3;
}

.scheduler-day--disabled {
  color: var(--text-dim);
  opacity: 0.35;
}

.scheduler-day--today {
  border-color: var(--border-prominent);
}

.scheduler-day--available {
  cursor: pointer;
  background: var(--surface-medium);
  font-weight: 600;
}

.scheduler-day--available:hover {
  background: rgba(199, 125, 74, 0.15);
  border-color: rgba(199, 125, 74, 0.3);
  color: var(--text-primary);
}

.scheduler-day--selected {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  border-color: transparent !important;
  font-weight: 700;
}

/* Time slots panel */
.scheduler-slots {
  margin-top: 1rem;
}

.scheduler-slots-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.scheduler-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.scheduler-slot {
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: var(--surface-light);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scheduler-slot:hover {
  border-color: rgba(199, 125, 74, 0.4);
  background: rgba(199, 125, 74, 0.1);
}

.scheduler-slot--selected {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.scheduler-back {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--color-accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.scheduler-back:hover {
  opacity: 0.7;
}

/* Loading overlay */
.scheduler-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
  color: var(--color-gray);
  font-size: 0.85rem;
}

.scheduler-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: scheduler-spin 0.7s linear infinite;
}

@keyframes scheduler-spin {
  to { transform: rotate(360deg); }
}

/* Demo mode indicator */
.scheduler-mode {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
}

/* No slots message */
.scheduler-no-slots {
  text-align: center;
  color: var(--color-gray);
  font-size: 0.85rem;
  padding: 1rem 0;
}

/* Responsive: slots grid */
@media (min-width: 480px) {
  .scheduler-slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 768px duplicate removed — 480px rule above already sets 4-col */

/* ========================================
   FOOTER
   ======================================== */

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--footer-border);
  color: var(--color-gray);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-info p {
  margin-bottom: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-stradiax-link {
  color: var(--color-gray-light);
  transition: color var(--transition-fast);
}

.footer-stradiax-link:hover {
  color: var(--color-accent);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

/* Scoped to .js-loaded so content is visible if JS fails/is slow */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-scale.revealed {
  transform: scale(1);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Stats bridge — the narrative connector between the 4 stats */
.stats-bridge {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 2rem auto 0;
  line-height: 1.6;
}

/* Form context note — trust signal above the form */
.form-context-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-gray);
  max-width: 480px;
  margin: 0.5rem auto 2rem;
  line-height: 1.5;
}

/* Scheduler: amber dot on available days */
.scheduler-day--available::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: 2px auto 0;
}

/* Section differentiation: subtle top border on dark sections */
.section--dark {
  border-top: 1px solid var(--border-subtle);
}

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

.text-gradient {
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* --- Small screens: touch targets + padding reduction --- */
@media (max-width: 479px) {
  .badge {
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }

  .program-card::before {
    top: 1.25rem;
    right: 1.25rem;
  }

  .scheduler {
    padding: 0.75rem;
  }

  .scheduler-day {
    min-height: 40px;
  }

  .program-value {
    padding: 1.5rem 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .experience-pillars {
    padding: 1.5rem 1.25rem;
  }
}

@media (min-width: 480px) {
  :root {
    --container-padding: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-title {
    min-height: 2.6em;
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 0;
  }

  .section {
    padding: var(--section-padding);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card h3 {
    min-height: 2.6em;
  }

  .program-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-value-item h4 {
    min-height: 3em;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-value-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 700px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .timeline-time {
    min-width: 70px;
    font-size: 0.9rem;
  }

  .experience-pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .section--cta {
    padding: 8rem 0;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .program-card h3 {
    min-height: 3.9em;
  }

  .program-value-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .program-value-item h4 {
    min-height: 3em;
  }

  .hero-buttons {
    gap: 1.5rem;
  }

  .btn--primary,
  .btn--secondary {
    padding: 0.7rem 2.5rem;
    font-size: 0.9rem;
  }

  .btn--full {
    padding: 0.75rem;
  }
}

/* Nav: show desktop links only when there's enough room for 6 links + CTA */
@media (min-width: 1100px) {
  .nav-links {
    display: flex;
    gap: 1.25rem;
  }

  .btn--nav {
    display: inline-block;
  }

  .hamburger {
    display: none;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-padding: 3rem;
    --section-padding: 8rem 0;
  }

  .section {
    padding: var(--section-padding);
  }

  .section--cta {
    padding: 10rem 0;
  }

  .program-card {
    padding: 2.5rem;
  }

  .program-card h3 {
    min-height: 2.6em;
  }

  .stat-item {
    padding: 2.5rem;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.section--legal {
  padding: 6rem 0 4rem;
  min-height: 100vh;
}

.section--legal > .container {
  text-align: left;
}

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

.legal-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  padding-top: 70px;
}

.legal-nav .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.legal-back {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.legal-back:hover {
  opacity: 0.7;
}

.legal-updated {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
}

.section--legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.section--legal h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section--legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.section--legal p,
.section--legal li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray-light);
}

.section--legal ul,
.section--legal ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.section--legal ul {
  list-style: disc;
}

.section--legal ol {
  list-style: decimal;
}

.section--legal li {
  margin-bottom: 0.4rem;
}

.section--legal a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.section--legal a:hover {
  opacity: 0.7;
}

.section--legal strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Legal tables */
.legal-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-medium);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table th {
  background: var(--surface-medium);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal-table td {
  color: var(--color-gray-light);
}

.legal-table tbody tr:hover {
  background: var(--surface-subtle);
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-strong);
  padding: 1.25rem var(--container-padding);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--color-gray-light);
  line-height: 1.5;
  text-align: center;
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cookie-btn--reject {
  background: transparent;
  border: 1px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
}

.cookie-btn--reject:hover {
  border-color: var(--btn-secondary-hover-border);
  background: var(--btn-secondary-hover-bg);
}

.cookie-btn--settings {
  background: transparent;
  border: 1px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
}

.cookie-btn--settings:hover {
  border-color: var(--btn-secondary-hover-border);
  background: var(--btn-secondary-hover-bg);
}

.cookie-btn--accept {
  background: var(--gradient-accent);
  border: none;
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
}

.cookie-btn--accept:hover {
  box-shadow: var(--btn-primary-hover-shadow);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    text-align: left;
  }

  .cookie-banner__text {
    text-align: left;
  }

  .cookie-banner__buttons {
    flex-wrap: nowrap;
  }
}

/* ========================================
   COOKIE PREFERENCES MODAL
   ======================================== */

.cookie-preferences {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--container-padding);
}

.cookie-preferences.cookie-preferences--visible {
  display: flex;
}

.cookie-preferences__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-preferences__panel {
  position: relative;
  background: var(--color-dark-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-preferences__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cookie-preferences__desc {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.cookie-category {
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  margin-bottom: 0.75rem;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category__info {
  flex: 1;
}

.cookie-category__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cookie-category__desc {
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.4;
  margin: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-medium);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--color-gray);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
  background: #fff;
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-preferences__save {
  margin-top: 1.5rem;
  width: 100%;
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */

/* Honeypot: visually hidden from users but NOT via display:none
   (some bots skip display:none). Off-screen positioning is more robust. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Bubble (tesseract canvas inside) --- */
.chat-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5000;
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(199, 125, 74, 0.45);
  background: radial-gradient(circle at 30% 25%, rgba(199, 125, 74, 0.22), rgba(15, 10, 6, 0.98));
  cursor: pointer;
  box-shadow: var(--btn-primary-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base), bottom var(--transition-base);
  animation: chat-pulse 5s ease-in-out infinite;
}

.chat-bubble:hover {
  box-shadow: var(--btn-primary-hover-shadow), 0 0 0 3px rgba(199, 125, 74, 0.25);
  animation: none;
}

/* Shadow-ring pulse — no transform, so the tesseract canvas stays crisp. */
@keyframes chat-pulse {
  0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(199, 125, 74, 0.45), var(--btn-primary-shadow); }
  40%          { box-shadow: 0 0 0 14px rgba(199, 125, 74, 0),    var(--btn-primary-shadow); }
}

.chat-bubble-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.chat-bubble--hidden {
  display: none;
}

/* Push bubble up when cookie banner is visible */
.cookie-banner--visible ~ .chat-bubble {
  bottom: 5.5rem;
}

/* --- Panel --- */
.chat-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5001;
  width: min(380px, calc(100vw - 1rem));
  max-height: 520px;
  background: var(--color-dark-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transform-origin: bottom right;
}

.chat-panel--open {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

/* --- Header --- */
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--surface-medium);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.chat-header-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.chat-header-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  margin: 0;
  line-height: 1.2;
}

.chat-header-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-gray);
  background: none;
  border: none;
  transition: color var(--transition-fast), background var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.chat-header-close:hover {
  color: var(--text-primary);
  background: var(--surface-medium);
}

.chat-header-close svg {
  width: 16px;
  height: 16px;
}

/* --- Messages area --- */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--gradient-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--assistant {
  align-self: flex-start;
  background: var(--surface-medium);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

/* Typing indicator */
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 0.65rem 0.85rem;
  background: var(--surface-medium);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gray);
  animation: chat-dot 1.4s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* --- Input area --- */
.chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-light);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  resize: none;
  border: 1px solid var(--form-input-border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
  background: var(--form-input-bg);
  max-height: 80px;
  min-height: 36px;
  overflow-y: auto;
  transition: border-color var(--transition-fast);
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.chat-input::placeholder {
  color: var(--form-placeholder);
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.chat-send:hover {
  transform: scale(1.05);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-send svg {
  width: 16px;
  height: 16px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Responsive < 480px --- */
@media (max-width: 479px) {
  .chat-panel {
    width: calc(100% - 1rem);
    max-height: 85vh;
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .chat-bubble {
    bottom: 1rem;
    right: 1rem;
  }

  .cookie-banner--visible ~ .chat-bubble {
    bottom: 5rem;
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

.btn--primary,
.btn--secondary,
.btn--nav,
.program-card {
  will-change: transform;
}

/* ========================================
   LIGHT THEME
   ======================================== */

@media (prefers-color-scheme: light) {
  :root {
    /* Core colors — inverted for light */
    --color-black: #ffffff;
    --color-dark: #f5f5f7;
    --color-dark-alt: #eeeeee;
    --color-dark-card: #ffffff;
    --color-dark-border: #e0e0e0;
    --color-white: #1d1d1f;
    --color-light: #f5f5f7;
    --color-gray: #6e6e73;
    --color-gray-light: #3a3a3c;
    --color-bg: #ffffff;
    --gradient-dark: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
    /* Surfaces — dark tints on light bg */
    --surface-subtle: rgba(0, 0, 0, 0.02);
    --surface-light: rgba(0, 0, 0, 0.03);
    --surface-medium: rgba(0, 0, 0, 0.05);
    /* Borders — dark tints on light bg */
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.1);
    --border-prominent: rgba(0, 0, 0, 0.15);
    --border-heavy: rgba(0, 0, 0, 0.2);
    /* Text opacity */
    --text-dim: rgba(0, 0, 0, 0.4);
    --text-muted: rgba(0, 0, 0, 0.5);
    --text-primary: #1d1d1f;
    --text-secondary: #3a3a3c;
    --text-on-accent: #ffffff;
    /* Nav */
    --nav-bg: rgba(255, 255, 255, 0.8);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
    /* Section backgrounds */
    --section-cases-end: #f9f9fb;
    --section-cta-start: #f5f5f7;
    --section-cta-end: #ebebed;
    /* Hero */
    --hero-bg: #ffffff;
    --canvas-opacity: 0.08;
    /* Scroll indicator */
    --scroll-indicator: rgba(0, 0, 0, 0.3);
    /* Shimmer */
    --shimmer: rgba(255, 255, 255, 0.25);
    /* Logo */
    --logo-filter: none;
    /* Buttons */
    --btn-primary-text: #ffffff;
    --btn-primary-shadow: 0 4px 20px rgba(199, 125, 74, 0.25);
    --btn-primary-hover-shadow: 0 8px 30px rgba(199, 125, 74, 0.35);
    --btn-secondary-border: rgba(0, 0, 0, 0.2);
    --btn-secondary-text: #1d1d1f;
    --btn-secondary-hover-bg: rgba(0, 0, 0, 0.03);
    --btn-secondary-hover-border: #1d1d1f;
    /* Program card */
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    --card-hover-border: rgba(199, 125, 74, 0.3);
    --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Highlight icons */
    --highlight-bg: linear-gradient(135deg, rgba(199, 125, 74, 0.08), rgba(139, 94, 60, 0.08));
    --highlight-border: rgba(199, 125, 74, 0.2);
    /* Form */
    --form-input-bg: rgba(0, 0, 0, 0.03);
    --form-input-border: rgba(0, 0, 0, 0.12);
    --form-focus-shadow: 0 0 0 3px rgba(199, 125, 74, 0.15);
    --form-placeholder: rgba(0, 0, 0, 0.35);
    /* Footer */
    --footer-border: rgba(0, 0, 0, 0.08);
  }
}

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