/* ==========================================
   PSIQUEPUEDES — Design System v3.0
   Paleta oficial extraída del sitio Wix
   ========================================== */

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

:root {
  /* Colors — PsiquePuedes brand (Wix official) */
  --primary: #9B6FE8;
  --primary-dark: #7A50C8;
  --primary-light: #F0E9FF;
  --accent: #F5A87A;
  --accent-dark: #E08050;
  --rose: #FFB4FC;
  --bg: #FFFFFF;
  --bg-alt: #F7F3FF;
  --bg-card: #FFFFFF;
  --bg-dark: #202C3C;
  --card: #FFFFFF;
  --text: #202C3C;
  --text-muted: #6B7280;
  --text-light: #FFFFFF;
  --border: #E2D9F3;
  --nav-bg: #FFFFFF;
  --hero-bg: #F7F3FF;

  /* Typography */
  --font-heading: 'Nunito', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 780px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }
section.section--sm { padding: 4rem 0; }
section.section--lg { padding: 8rem 0; }

/* ==========================================
   HEADER / NAV
   ========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(155, 111, 232, 0.12);
  transition: var(--transition);
}

.header.scrolled::before {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(100, 70, 180, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Logo image */
.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 46px;
  width: auto;
  display: block;
}

/* Keep legacy logo-mark for footer use */
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; fill: white; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
}

.logo-text span { color: var(--accent); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(32,44,60,0.75);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav__cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--radius-full) !important;
}

.nav__cta:hover {
  background: var(--primary-dark) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav--mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.nav--mobile.open { display: flex; }

.nav--mobile .nav__link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  padding: 0.6rem 2rem;
  color: white;
  font-weight: 700;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155, 111, 232, 0.32);
}

.btn--accent {
  background: var(--accent);
  color: white;
}

.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 168, 122, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
}
.btn--whatsapp:hover {
  background: #1EB758;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--lg { padding: 1.1rem 2.2rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
  background: linear-gradient(155deg, #FFF8F5 0%, #F7F0FF 55%, #EEF0FF 100%);
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(80px);
  pointer-events: none;
}

.hero__bg-shape--1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; right: -100px;
  opacity: 0.1;
}

.hero__bg-shape--2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: 0; left: -100px;
  opacity: 0.12;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.hero__eyebrow-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 800;
}

.hero__title em {
  color: var(--primary);
  font-style: normal;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  font-weight: 800;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
  z-index: 2;
}

.hero__card-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__main-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(100, 70, 180, 0.12);
  max-width: 380px;
  width: 100%;
}

.hero__avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.hero__avatar-info h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__avatar-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero__card-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.hero__floating {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 32px rgba(100, 70, 180, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero__floating--top {
  top: -1.5rem;
  right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__floating--bottom {
  bottom: -1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-dot {
  width: 10px; height: 10px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }
.delay-5 { transition-delay: 0.58s; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image-main {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius-lg);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about__badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 48px rgba(100, 70, 180, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about__badge-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about__badge-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1;
}

.about__badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.about__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.about__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.about__value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.about__value-check {
  width: 22px; height: 22px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--primary);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.services__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 0.5rem 0 1rem;
}

.services__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(155, 111, 232, 0.12);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
  background: var(--bg-dark);
  color: white;
  padding: 5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #C8A8FF;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.stat-item__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ==========================================
   TEAM SECTION
   ========================================== */
.team__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

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

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(155, 111, 232, 0.1);
}

.team-card__avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.team-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits {
  background: var(--bg-alt);
}

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

.benefit-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(155, 111, 232, 0.08);
}

.benefit-card__icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.benefit-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   SCHEDULE SECTION
   ========================================== */
.schedule {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2D3A5A 100%);
  color: white;
  padding: 5rem 0;
}

.schedule__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.schedule__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: 0.75rem;
}

.schedule__subtitle {
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

.schedule__hours {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}

.schedule__hours h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A8FF;
  margin-bottom: 1rem;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.9);
}

.schedule__row:last-child { margin-bottom: 0; }
.schedule__day { color: rgba(255,255,255,0.6); }
.schedule__time { font-weight: 700; }

/* ==========================================
   RESOURCES SECTION
   ========================================== */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(155, 111, 232, 0.1);
}

.resource-card__icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.resource-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.resource-card__desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.resource-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.resource-card__link:hover { gap: 0.6rem; }

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.newsletter__box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
}

.newsletter__icon { font-size: 2.5rem; margin-bottom: 1rem; }

.newsletter__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.newsletter__desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}

.newsletter__input:focus { border-color: var(--primary); }

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -200px; right: -100px;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.cta__subtitle {
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  /* Invert for dark nav background */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: white;
  font-weight: 800;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}

.footer__social:hover {
  background: var(--primary);
  color: white;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer__link:hover { color: #C8A8FF; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #3D3580 100%);
  color: white;
  padding: 9rem 0 5rem;
  text-align: center;
}

.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__info-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__info-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-primary-light { background: var(--primary-light); }
.flex { display: flex; }
.gap-1 { gap: 1rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Divider */
.divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider--center { margin: 1rem auto 1.5rem; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .header { padding: 0.85rem 0; }

  .nav__list { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 6rem 0 4rem; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .hero__stats { gap: 1.5rem; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-wrap { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .resources__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .schedule__inner { flex-direction: column; }
  .schedule__hours { width: 100%; }

  .contact__grid { grid-template-columns: 1fr; }

  .newsletter__form { flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .form__row { grid-template-columns: 1fr; }

  .cta__actions { flex-direction: column; align-items: center; }
}
