/* ============================================================
   SERENITY YOGA — Global Styles
   Palette: warm earthy tones — cream, terracotta, sage, clay
   ============================================================ */

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

:root {
  --cream:       #F5F0E8;
  --warm-white:  #FDFAF5;
  --terracotta:  #C4714A;
  --terracotta-dark: #A85C39;
  --clay:        #D9A882;
  --sage:        #8A9E7E;
  --sage-dark:   #6B7E60;
  --bark:        #5C4033;
  --sand:        #E8D9C0;
  --text:        #3D2B1F;
  --text-light:  #7A5C4A;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(92, 64, 51, 0.10);
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
a:active, a:visited { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bark);
}

/* ---------- Typography Scale ---------- */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 540px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 113, 74, 0.35);
}
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(0);
  box-shadow: none;
  outline: none;
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline:active {
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  transform: translateY(0);
}

.btn-sage {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
}

/* ---------- Layout Helpers ---------- */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

section { padding: 5rem 0; }

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

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 168, 130, 0.3);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }

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

.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--bark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--terracotta); }

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

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--terracotta); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { width: 100%; }

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

/* Auth nav */
.nav-auth { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.4rem; }
.nav-user-name { font-size: 0.85rem; font-weight: 700; color: var(--terracotta); white-space: nowrap; }
.nav-logout { font-size: 0.8rem; color: var(--text-light); border: 1px solid var(--sand); border-radius: 50px; padding: 0.25rem 0.7rem; transition: all var(--transition); }
.nav-logout:hover { border-color: var(--terracotta); color: var(--terracotta); }
.nav-login { font-weight: 600; }
.nav-login:hover { color: var(--terracotta); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO (Home) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background:
    linear-gradient(135deg, rgba(245,240,232,0.97) 0%, rgba(217,168,130,0.18) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4714A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,113,74,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(138,158,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--terracotta);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  margin-bottom: 1.2rem;
  max-width: 620px;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2.2rem;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(196, 113, 74, 0.25);
  animation: morphBlob 8s ease-in-out infinite;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
  66%      { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}

.hero-svg {
  width: 72%;
  opacity: 0.85;
}

.hero-badge {
  position: absolute;
  bottom: 10%; right: -5%;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.hero-badge span { color: var(--terracotta); font-size: 1.1rem; }

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--bark);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--clay);
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ---------- OFFERINGS / CLASS CARDS ---------- */
.offerings { background: var(--cream); }

.card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(92, 64, 51, 0.16);
}

.card-icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.card-icon.hatha    { background: linear-gradient(135deg, #E8D9C0, #D9A882); }
.card-icon.vinyasa  { background: linear-gradient(135deg, #D9C4B4, #C4714A30); }
.card-icon.meditate { background: linear-gradient(135deg, #C8D4BF, #8A9E7E50); }

.card-body { padding: 1.6rem; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-body p  { font-size: 0.93rem; color: var(--text-light); margin-bottom: 1.2rem; }

.card-tag {
  display: inline-block;
  background: var(--sand);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* ---------- STUDIO PHILOSOPHY (Home) ---------- */
.studio-philosophy { background: var(--cream); padding: 5rem 0; }

.philosophy-note {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
  line-height: 1.6;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.philosophy-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--dark-brown);
  font-size: 0.95rem;
  line-height: 1.5;
}

.philosophy-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.5rem;
  color: var(--terracotta);
}

/* ---------- ABOUT TEASER (Home) ---------- */
.about-teaser { background: var(--warm-white); }

.about-photo {
  position: relative;
}
.photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  box-shadow: 0 16px 50px rgba(196, 113, 74, 0.28);
  overflow: hidden;
  animation: morphBlob 10s ease-in-out infinite;
  animation-delay: -3s;
}
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 3px solid var(--clay);
  border-radius: 50%;
  opacity: 0.4;
}

.quote-block {
  border-left: 4px solid var(--terracotta);
  padding: 1.2rem 1.6rem;
  margin: 1.8rem 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--bark);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--cream); }

.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--clay);
  opacity: 0.4;
  position: absolute;
  top: 0.2rem; left: 1rem;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  padding-top: 1.4rem;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bark);
}
.testimonial-author span {
  font-weight: 400;
  color: var(--text-light);
}
.stars { color: var(--terracotta); font-size: 0.85rem; margin-bottom: 0.4rem; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--bark) 0%, #7A4030 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--sand); position: relative; margin-bottom: 0.8rem; }
.cta-banner p  { color: rgba(255,255,255,0.65); max-width: 460px; margin: 0 auto 2rem; position: relative; }
.cta-banner .btn-primary { background: var(--terracotta); border-color: var(--terracotta); position: relative; }

/* ---------- SCHEDULE TABLE (Classes) ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table thead {
  background: var(--bark);
  color: var(--sand);
}
.schedule-table th {
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
}
.schedule-table td {
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid var(--sand);
}
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:nth-child(even) { background: var(--cream); }
.schedule-table tbody tr:hover { background: var(--sand); transition: background var(--transition); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-hatha    { background: #F5E6D3; color: #A85C39; }
.badge-vinyasa  { background: #E8D5C8; color: #8B4513; }
.badge-meditate { background: #D4E0CE; color: #4A6741; }

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

.price-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
  border: 2px solid transparent;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--terracotta);
  background: var(--bark);
  color: var(--sand);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--sand); }
.price-card.featured li { color: rgba(245,240,232,0.8); }

.featured-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--bark);
  font-weight: 700;
  line-height: 1;
  margin: 1rem 0 0.3rem;
}
.price-amount sup { font-size: 1.4rem; vertical-align: super; }
.price-period { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }
.price-card.featured .price-period { color: rgba(245,240,232,0.6); }

.price-features {
  list-style: none;
  margin-bottom: 1.8rem;
  text-align: left;
}
.price-features li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  padding-top: calc(70px + 5rem);
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%);
  padding-bottom: 5rem;
}

.about-story { background: var(--warm-white); }

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

.value-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-top: 4px solid var(--terracotta);
  transition: transform var(--transition);
}
.value-item:hover { transform: translateY(-4px); }
.value-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.value-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.training-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--cream);
  padding: 1.1rem;
  border-radius: var(--radius);
}
.training-dot {
  width: 10px; height: 10px;
  background: var(--terracotta);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.training-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.training-item strong { color: var(--bark); font-size: 0.95rem; display: block; margin-bottom: 0.15rem; }

/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  padding-top: calc(70px + 5rem);
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%);
  padding-bottom: 5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 46px; height: 46px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--terracotta);
}
.info-text strong { display: block; font-size: 0.85rem; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.info-text p { color: var(--bark); font-weight: 500; }

/* Contact Form */
.contact-form {
  background: var(--warm-white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.contact-form > p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
}

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-light);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--warm-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 113, 74, 0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}
.form-success h4 { color: var(--sage-dark); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-light); font-size: 0.93rem; }

/* Map Placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--sand), var(--cream));
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 2.5rem;
  border: 2px dashed var(--clay);
}
.map-placeholder .map-icon { font-size: 2.5rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bark);
  color: rgba(245,240,232,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--sand);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.footer-logo span { color: var(--terracotta); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-contact {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 1rem;
  color: rgba(245,240,232,0.6);
}
.footer-contact a { color: rgba(245,240,232,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--clay); }

.footer-col h4 {
  color: var(--sand);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--clay); }

.footer-hours li { font-size: 0.88rem; display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours span { color: var(--clay); }

.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition);
  cursor: pointer;
  color: var(--sand);
  text-decoration: none;
}
.social-link:hover { background: var(--terracotta); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: calc(70px + 4rem) 0 4rem;
  text-align: center;
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand) 100%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }
.page-hero p  { font-size: 1.05rem; color: var(--text-light); max-width: 500px; margin-inline: auto; }

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-3       { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .values-grid  { grid-template-columns: 1fr; }
  .training-grid{ grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }
  .nav-hamburger { display: flex; }

  /* Show CTA in mobile menu as a centered pill button */
  .nav-cta {
    padding: 0.5rem 1.5rem 0.8rem;
    border-top: 1px solid var(--sand);
    margin-top: 0.25rem;
  }
  .nav-cta a {
    display: block;
    text-align: center;
    padding: 0.7rem 1.5rem;
  }

  .hero { padding-top: 70px; min-height: auto; padding-bottom: 3rem; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 280px; margin-inline: auto; }
  .hero-badge { right: 0; bottom: 0; }

  .schedule-table thead { display: none; }
  .schedule-table tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .schedule-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--sand);
  }
  .schedule-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 1.5rem; }
}
