/* ============================================
   Dr. Janette Camacho - drjanettecamacho.org
   World-Class Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #C4727A;
  --primary-light: #d4888f;
  --primary-dark: #a85b63;
  --primary-glow: rgba(196, 114, 122, 0.25);
  --blush: #F0D4D8;
  --blush-light: #F7E6E9;
  --grounding: #8B7464;
  --background: #F6F0F1;
  --foreground: #594538;
  --accent: #9F7A52;
  --muted: #EBD5D8;
  --muted-fg: #8a7a7d;
  --card: #ffffff;
  --card-shadow: 0 4px 24px rgba(196, 114, 122, 0.08), 0 1px 4px rgba(139, 116, 100, 0.05);
  --card-shadow-hover: 0 12px 40px rgba(196, 114, 122, 0.16), 0 4px 12px rgba(139, 116, 100, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-out);
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-bg { background: var(--card); }
.section-blush { background: var(--blush-light); }
.section-muted { background: var(--muted); }
.section-alt { background: var(--background); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-fg); }
.text-grounding { color: var(--grounding); }
.text-accent { color: var(--accent); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(196, 114, 122, 0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(196, 114, 122, 0.35);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(196, 114, 122, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(196, 114, 122, 0.25);
}
.btn-outline:active {
  transform: translateY(0) scale(0.98);
}

.btn-white {
  background: #fff;
  color: var(--foreground);
  border-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--background);
  border-color: var(--background);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-white:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px) scale(1.03);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.65rem 1.6rem;
  font-size: 0.875rem;
}

.btn svg, .btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover svg, .btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Card --- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.4s ease;
  overflow: hidden;
  border: 1px solid transparent;
}

.card:hover, .card-hover:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
  border-color: rgba(196, 114, 122, 0.15);
}

.card-body { padding: 2rem; }
.card-body-lg { padding: 2.75rem; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--muted);
  color: var(--muted-fg);
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(196, 114, 122, 0.12);
  color: var(--primary);
  border: 1px solid rgba(196, 114, 122, 0.15);
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-smooth);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(196, 114, 122, 0.08);
  box-shadow: 0 4px 30px rgba(139, 116, 100, 0.06);
}

/* On inner pages (not hero), default to solid */
body:not(.has-hero) .site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(196, 114, 122, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
}

.nav-brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 2px 8px rgba(196,114,122,0.15);
}

.nav-brand:hover img { transform: scale(1.08) rotate(2deg); }

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.nav-brand-tagline {
  font-size: 0.7rem;
  color: var(--muted-fg);
  letter-spacing: 0.03em;
}

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

.nav-links a {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  margin-left: 1.25rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--muted); }

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile slide-in panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--card);
  z-index: 2000;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(89,69,56,0.35);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(4px);
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(196,114,122,0.08);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--muted);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--foreground);
}
.mobile-close:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background: linear-gradient(135deg, #F6F0F1 0%, #F0D4D8 25%, #E8C4C8 50%, #F0D4D8 75%, #F6F0F1 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

/* Floating orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196,114,122,0.12) 0%, transparent 70%);
  top: -250px;
  right: -200px;
  border-radius: 50%;
  animation: heroFloat 20s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(159,122,82,0.1) 0%, transparent 70%);
  bottom: -200px;
  left: -150px;
  border-radius: 50%;
  animation: heroFloat 25s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.03); }
}

/* Soft bokeh dots */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(196, 114, 122, 0.08);
  animation: particleFloat 20s ease-in-out infinite;
}

.hero-particle:nth-child(1) { width: 200px; height: 200px; top: 15%; left: 10%; animation-delay: 0s; animation-duration: 22s; }
.hero-particle:nth-child(2) { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: -5s; animation-duration: 18s; background: rgba(159,122,82,0.06); }
.hero-particle:nth-child(3) { width: 80px; height: 80px; top: 30%; right: 30%; animation-delay: -10s; animation-duration: 25s; }
.hero-particle:nth-child(4) { width: 150px; height: 150px; bottom: 20%; left: 25%; animation-delay: -7s; animation-duration: 20s; background: rgba(240,212,216,0.3); }
.hero-particle:nth-child(5) { width: 60px; height: 60px; top: 50%; left: 60%; animation-delay: -3s; animation-duration: 16s; background: rgba(196,114,122,0.06); }

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(20px, -30px) scale(1.1); opacity: 0.8; }
  50% { transform: translate(-15px, 20px) scale(0.9); opacity: 0.5; }
  75% { transform: translate(25px, 10px) scale(1.05); opacity: 0.7; }
}

/* Remove old hero-bg image approach */
.hero-bg { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted-fg);
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  line-height: 1.85;
}

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

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(transparent, var(--background));
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero { padding: 6rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(135deg, var(--muted) 0%, var(--blush-light) 50%, var(--background) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,114,122,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.page-header h1 { margin-bottom: 1rem; }
.page-header p {
  font-size: 1.15rem;
  color: var(--muted-fg);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   STATS ROW
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3.5rem 0;
}

.stat {
  text-align: center;
}

.stat-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(196,114,122,0.12) 0%, rgba(196,114,122,0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  transition: transform 0.4s var(--ease-out);
}

.stat:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ============================================
   WORKSHOP CARD
   ============================================ */
.workshop-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.workshop-num {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--muted) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out);
}

.card:hover .workshop-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.workshop-card h3 {
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.card:hover .workshop-card h3 { color: var(--primary); }
.workshop-card p { font-size: 0.95rem; color: var(--muted-fg); line-height: 1.7; }

.workshop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s var(--ease-out);
}

.card:hover .workshop-link {
  transform: translateX(4px);
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--muted);
  background: var(--card);
  color: var(--muted-fg);
  transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(196,114,122,0.25);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  position: relative;
  border: 1px solid rgba(196,114,122,0.06);
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.testimonial cite {
  font-style: normal;
  color: var(--muted-fg);
  font-size: 0.95rem;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  font-size: 5rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--blush);
  line-height: 1;
  opacity: 0.7;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #8B5E64 100%);
  border-radius: var(--radius-lg);
  padding: 5rem 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
  position: relative;
}

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

@media (max-width: 640px) {
  .cta-banner { padding: 3.5rem 2rem; }
  .cta-banner .cta-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--foreground);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,114,122,0.3), transparent);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.5);
}

.footer-brand img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 0.65rem; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover { color: #fff; }

.footer-legal {
  display: flex;
  gap: 2rem;
}

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

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  background: var(--card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(138, 122, 125, 0.5);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(196, 114, 122, 0.1);
  transform: translateY(-1px);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

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

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   PROSE (for policy pages)
   ============================================ */
.prose h2 {
  font-size: 1.5rem;
  color: var(--grounding);
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.2rem;
  color: var(--grounding);
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.15rem;
  color: rgba(89, 69, 56, 0.8);
  line-height: 1.85;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.15rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: rgba(89, 69, 56, 0.8);
  line-height: 1.75;
}

.prose strong { color: var(--foreground); }

.prose section {
  margin-bottom: 2.75rem;
}

/* ============================================
   COURSE CARD
   ============================================ */
.course-card {
  text-decoration: none;
  color: inherit;
}

.course-card .card-body h3 { transition: color var(--transition); }
.course-card:hover .card-body h3 { color: var(--primary); }

.course-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.course-card:hover .course-thumb {
  transform: scale(1.05);
}

.course-card .card {
  overflow: hidden;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-fg);
  margin-top: 0.85rem;
}

/* ============================================
   ILLUSTRATION
   ============================================ */
.illustration {
  max-width: 280px;
  margin: 0 auto;
  opacity: 0.85;
  filter: hue-rotate(-10deg) saturate(0.8);
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  text-align: center;
  padding: 3rem 2rem;
  transition: all 0.4s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card .price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1.25rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.pricing-card .price-sub {
  font-size: 0.9rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.pricing-card .price-schedule {
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================
   EXPERTISE TAGS
   ============================================ */
.expertise-tag {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
}

.expertise-tag:hover {
  border-color: rgba(196,114,122,0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(196,114,122,0.08);
}

.expertise-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.expertise-tag:hover .dot {
  transform: scale(1.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.35s; }
.fade-in-delay-4 { transition-delay: 0.5s; }

/* Hero-specific slower animation */
.hero .fade-in {
  transition-duration: 1.2s;
}

/* Stagger animation for grid children */
.stagger-children > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > .fade-in:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > .fade-in:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > .fade-in:nth-child(8) { transition-delay: 0.7s; }
.stagger-children > .fade-in:nth-child(9) { transition-delay: 0.8s; }
.stagger-children > .fade-in:nth-child(10) { transition-delay: 0.9s; }
.stagger-children > .fade-in:nth-child(11) { transition-delay: 1.0s; }
.stagger-children > .fade-in:nth-child(12) { transition-delay: 1.1s; }

/* ============================================
   RESOURCE TOOL CARD
   ============================================ */
.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.tool-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  transition: color var(--transition);
}

.tool-card:hover h4 { color: var(--primary); }

.tool-card p {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.tool-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: rgba(196,114,122,0.08);
  color: var(--primary);
  margin-top: 1rem;
  transition: all 0.3s var(--ease-out);
}

.tool-card:hover .tool-visit {
  background: var(--primary);
  color: #fff;
  transform: translateX(3px);
}

/* ============================================
   LIST CHECKS
   ============================================ */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.check-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 0.55rem;
  box-shadow: 0 0 0 3px rgba(196,114,122,0.15);
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .two-col img { margin: 0 auto; }
}

/* ============================================
   NOTIFICATION BAR
   ============================================ */
.form-success {
  background: rgba(196, 114, 122, 0.08);
  border: 1px solid rgba(196,114,122,0.25);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.5rem;
  color: var(--primary-dark);
  font-weight: 500;
  text-align: center;
  margin-top: 1.25rem;
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeSlideIn 0.5s var(--ease-out);
}

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

/* ============================================
   CONFERENCE TABLE
   ============================================ */
.conf-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.conf-table th,
.conf-table td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--muted);
}

.conf-table th {
  font-weight: 600;
  color: var(--grounding);
  background: rgba(196,114,122,0.04);
}

.conf-table tr {
  transition: background 0.2s ease;
}

.conf-table tr:hover {
  background: rgba(196, 114, 122, 0.04);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(196, 114, 122, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out);
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(196, 114, 122, 0.45);
}

/* ============================================
   WORKSHOP DETAIL SECTIONS
   ============================================ */
.detail-section {
  margin-bottom: 2.25rem;
}

.detail-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(196,114,122,0.08);
  color: var(--primary);
  border: 1px solid rgba(196,114,122,0.12);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   DECORATIVE SVG BACKGROUNDS
   ============================================ */
.section-decorated {
  position: relative;
}

.section-decoration {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  filter: hue-rotate(-10deg) saturate(0.7);
  animation: decorFloat 30s ease-in-out infinite;
}

.section-decoration.top-right {
  top: 2rem;
  right: -3rem;
  width: 250px;
}

.section-decoration.bottom-left {
  bottom: 2rem;
  left: -3rem;
  width: 200px;
}

@keyframes decorFloat {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-10px); }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 4.5rem 0; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .page-header { padding: 6rem 0 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.85rem); }
  .hero { padding: 5.5rem 0 3.5rem; }
  .hero p.lead { font-size: 1.05rem; }
  .btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
  .card-body { padding: 1.5rem; }
  .card-body-lg { padding: 2rem; }
  .cta-banner { border-radius: var(--radius); }
  .stat-number { font-size: 2rem; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .hero { animation: none; background-size: 100% 100%; }
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
  background: rgba(196, 114, 122, 0.2);
  color: var(--foreground);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ============================================
   DESIGN UPGRADE — tutor.iteachai.co quality
   ============================================ */

/* --- Nav fixes: tighter spacing, no wrapping --- */
.nav-links {
  gap: 0.05rem;
}
.nav-links a {
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Nav brand logo (now using logo instead of headshot) */
.nav-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.nav-brand:hover img {
  transform: scale(1.05);
}

/* Footer brand logo */
.footer-brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  object-fit: contain;
}

/* --- Gradient section backgrounds (tutor-style) --- */
.section-muted {
  background: linear-gradient(180deg, #F0D4D8 0%, #F7E6E9 40%, #F6F0F1 100%);
}

.section-bg {
  background: linear-gradient(180deg, #ffffff 0%, #F7E6E9 100%);
}

.section-blush {
  background: linear-gradient(135deg, #F7E6E9 0%, #F0D4D8 50%, #F6F0F1 100%);
}

/* --- Cards: better depth, consistent height in grids --- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(196, 114, 122, 0.06), 0 1px 3px rgba(139, 116, 100, 0.04);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.4s ease;
  overflow: hidden;
  border: 1px solid rgba(196, 114, 122, 0.06);
}

.card:hover, .card-hover:hover {
  box-shadow: 0 16px 48px rgba(196, 114, 122, 0.14), 0 6px 16px rgba(139, 116, 100, 0.06);
  transform: translateY(-4px);
  border-color: rgba(196, 114, 122, 0.12);
}

/* Cards in grids should be equal height */
.grid .card {
  display: flex;
  flex-direction: column;
}
.grid .card .card-body,
.grid .card .card-body-lg {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Tool cards consistent height --- */
.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tool-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tool-card .card-body p {
  flex: 1;
}

/* --- Page header with subtle gradient animation --- */
.page-header {
  background: linear-gradient(135deg, var(--muted) 0%, var(--blush-light) 30%, var(--blush) 60%, var(--background) 100%);
  background-size: 200% 200%;
  animation: pageHeaderShift 12s ease infinite;
}

@keyframes pageHeaderShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Section dividers: subtle gradient line between sections --- */
.section + .section,
.section + .section-muted,
.section-muted + .section,
.section-sm + .section,
.section + .section-bg {
  position: relative;
}

/* --- Stat counters: pulse on hover (tutor-style) --- */
.stat-number {
  transition: transform 0.3s var(--ease-out), color 0.3s ease;
}
.stat:hover .stat-number {
  transform: scale(1.08);
  color: var(--primary);
}

/* --- Workshop cards: gradient number circle on hover --- */
.card:hover .workshop-num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(196, 114, 122, 0.3);
}

/* --- Buttons: subtle glow effect --- */
.btn-primary {
  box-shadow: 0 2px 8px rgba(196, 114, 122, 0.25), 0 0 0 0 rgba(196, 114, 122, 0);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(196, 114, 122, 0.35), 0 0 20px rgba(196, 114, 122, 0.1);
}

/* --- Conference table: cleaner look --- */
.conf-table th {
  background: linear-gradient(135deg, rgba(196,114,122,0.06) 0%, rgba(196,114,122,0.02) 100%);
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grounding);
}

.conf-table td a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.conf-table td a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.conf-table td {
  font-size: 0.88rem;
}

/* --- State guidance grid: tighter cards --- */
#state-guidance .grid {
  gap: 0.75rem;
}

/* --- CTA banner: glass morphism effect --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #B06068 40%, var(--primary-dark) 70%, #8B5E64 100%);
  background-size: 300% 300%;
  animation: ctaGradient 8s ease infinite;
}

@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Testimonial cards: quotation marks --- */
.testimonial {
  border: 1px solid rgba(196,114,122,0.08);
  background: linear-gradient(135deg, #ffffff 0%, #faf5f6 100%);
}

/* --- Expertise tags: hover glow --- */
.expertise-tag:hover {
  background: linear-gradient(135deg, #ffffff 0%, #faf5f6 100%);
  border-color: rgba(196,114,122,0.2);
  box-shadow: 0 4px 16px rgba(196,114,122,0.1);
}

/* --- Check list: better spacing --- */
.check-list li {
  margin-bottom: 0.95rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- Form improvements --- */
.form-input,
.form-textarea,
.form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(196, 114, 122, 0.15);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(196, 114, 122, 0.08);
  background: #fff;
  transform: none;
}

/* --- Mobile responsive improvements --- */
@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.5rem 0.5rem;
    font-size: 0.78rem;
  }
  .nav-cta .btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .conf-table th,
  .conf-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
  }
  
  #state-guidance .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  #state-guidance .grid {
    grid-template-columns: 1fr;
  }
  
  .conf-table {
    font-size: 0.8rem;
  }
}

/* --- Remove illustration class (no longer used) --- */
.illustration {
  display: none !important;
}

/* --- Section decoration (remove - was for SVG backgrounds) --- */
.section-decorated,
.section-decoration,
.section-decoration.top-right,
.section-decoration.bottom-left {
  display: none;
}

/* --- Jump link buttons --- */
.section-sm .btn-outline.btn-sm {
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

/* --- Smooth page transitions --- */
body {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* --- Better link styling in tables --- */
.conf-table strong a {
  color: var(--foreground);
  transition: color 0.2s ease;
}
.conf-table strong a:hover {
  color: var(--primary);
}

