/* =============================================================================
   ANANDA YOGA HEALING — PREMIUM STYLESHEET
   Brand teal · refined typography · rich micro-interactions
   ============================================================================= */

:root {
  --teal:        #25b1b2;
  --teal-2:      #2bc5c6;
  --teal-dark:   #1a8c8d;
  --teal-deep:   #0f6566;
  --teal-soft:   #d8efef;
  --teal-mist:   #eef8f8;
  --teal-glow:   rgba(37, 177, 178, 0.18);
  --ivory:       #fbfaf6;
  --ivory-2:     #f4f1ea;
  --line:        #e3e6e7;
  --line-soft:   #ecedee;
  --charcoal:    #1f2a2a;
  --slate:       #4a5a5b;
  --slate-soft:  #6f7e7f;
  --gold:        #1a8c8d; /* (deprecated) — aliased to teal-dark for brand consistency */
  --shadow-xs:   0 2px 4px rgba(15, 101, 102, 0.04);
  --shadow-sm:   0 4px 12px rgba(15, 101, 102, 0.06), 0 2px 4px rgba(15, 101, 102, 0.04);
  --shadow:      0 12px 28px rgba(15, 101, 102, 0.08), 0 4px 10px rgba(15, 101, 102, 0.05);
  --shadow-lg:   0 24px 60px rgba(15, 101, 102, 0.14), 0 8px 18px rgba(15, 101, 102, 0.06);
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-script:  'Allura', 'Sacramento', 'Italianno', 'Cormorant Garamond', cursive;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max:          1200px;
  --pad:          clamp(1.25rem, 4vw, 2.5rem);
  --radius:       18px;
  --radius-lg:    28px;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .25s; }
a:hover { color: var(--teal-deep); }

::selection { background: var(--teal-soft); color: var(--charcoal); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--teal-soft); border-radius: 999px; border: 2px solid var(--ivory); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p  { margin: 0 0 1.1em; max-width: 65ch; color: var(--slate); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}
.script {
  font-family: var(--font-script);
  color: var(--teal);
  font-weight: 400;
  letter-spacing: .01em;
  font-size: 1.22em;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--teal-2), var(--teal), var(--teal-dark));
  z-index: 100;
  transition: width .12s linear;
  box-shadow: 0 0 10px rgba(37, 177, 178, .5);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
  transition: padding .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.site-header.shrunk {
  box-shadow: 0 4px 24px rgba(15, 101, 102, 0.08);
  border-color: transparent;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  max-width: var(--max); margin: 0 auto; gap: 1.5rem;
  transition: padding .3s var(--ease-out);
}
.site-header.shrunk .nav { padding: .65rem var(--pad); }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; transition: transform .3s var(--ease-out); }
.logo:hover { transform: scale(1.02); }
.logo img { height: 56px; width: auto; max-width: 220px; object-fit: contain; transition: height .3s var(--ease-out); }
.site-header.shrunk .logo img { height: 44px; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  color: var(--slate); font-size: .94rem; font-weight: 500;
  position: relative; padding: .25rem 0;
  letter-spacing: .02em; transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute;
  bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--teal); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: .65rem 1.4rem !important; border-radius: 999px;
  font-size: .85rem !important; letter-spacing: .08em !important;
  text-transform: uppercase;
  transition: all .25s var(--ease-out);
  box-shadow: 0 4px 14px rgba(37, 177, 178, .35);
}
.nav-cta:hover {
  background: var(--teal-dark); color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 177, 178, .5);
}
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.7rem; color: var(--charcoal); cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--teal-mist); }

/* Buttons + ripple */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.8rem;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent;
  transition: all .35s var(--ease-out);
  cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 177, 178, 0.32);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 177, 178, 0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal-dark); border-color: var(--teal-soft); box-shadow: var(--shadow-xs); }
.btn-light:hover { background: var(--teal-soft); transform: translateY(-2px); }
.btn-arrow::after { content: '→'; transition: transform .3s var(--ease-out); }
.btn-arrow:hover::after { transform: translateX(5px); }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  animation: ripple .7s var(--ease-out);
  background: rgba(255, 255, 255, .45); pointer-events: none; z-index: -1;
}
.btn-ghost .ripple, .btn-light .ripple { background: rgba(37, 177, 178, .25); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, var(--teal-glow), transparent 50%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(37, 177, 178, .08), transparent 45%),
    var(--ivory);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(37,177,178,.18) 1px, transparent 0);
  background-size: 32px 32px; opacity: .35; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, black 50%, transparent);
          mask-image: linear-gradient(180deg, black 50%, transparent);
}
.hero::after {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  top: -200px; right: -200px; z-index: 0;
  animation: float-soft 12s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, 40px) scale(1.08); }
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { line-height: 1.0; margin-bottom: .5rem; }
.hero h1 .script {
  display: inline-block; font-size: 1.18em; line-height: .85;
  margin: 0; padding: 0 .04em; vertical-align: baseline;
  transform: translateY(.05em);
}
.hero-meta {
  display: flex; align-items: center; gap: 1.25rem;
  margin: 2rem 0 0; flex-wrap: wrap;
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong {
  color: var(--charcoal); font-weight: 600; font-size: 1.02rem;
  font-family: var(--font-body); letter-spacing: -.01em;
  line-height: 1.2; margin-bottom: 2px;
}
.hero-meta span {
  font-family: var(--font-body); font-size: .82rem;
  color: var(--slate-soft); letter-spacing: .02em;
}
.hero-meta .divider { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }

.hero-photo-wrap { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 1/1;
  border-radius: 240px 240px 18px 18px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--teal-soft);
  will-change: transform;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transition: transform 1.2s var(--ease-out);
}
.hero-photo-wrap:hover .hero-photo img { transform: scale(1.05); }
.hero-photo::after {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 230px 230px 8px 8px; pointer-events: none;
}
.hero-photo::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--teal-2), transparent 30%, transparent 70%, var(--teal-deep));
  border-radius: 240px 240px 18px 18px; z-index: -1; opacity: .5;
}
.hero-badge {
  position: absolute; bottom: 18px; left: -16px;
  background: #fff; padding: .9rem 1.3rem;
  border-radius: 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .8rem;
  font-size: .9rem; z-index: 2;
  animation: fade-up 1s var(--ease-out) 1.2s both;
}
.hero-badge .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); position: relative; flex-shrink: 0;
}
.hero-badge .pulse::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge strong { color: var(--charcoal); font-family: var(--font-body); display: block; font-weight: 600; font-size: .92rem; }
.hero-badge span   { color: var(--slate-soft); font-size: .8rem; display: block; }

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--teal-glow), transparent 60%), var(--ivory);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(37,177,178,.14) 1px, transparent 0);
  background-size: 28px 28px; opacity: .4;
}
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }

/* Section */
section { padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; }
.section-tinted { background: var(--ivory-2); }
.section-teal {
  background: linear-gradient(165deg, var(--teal-mist), var(--ivory));
  position: relative; overflow: hidden;
}
.section-teal::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  bottom: -200px; left: -100px; opacity: .8; z-index: 0;
}
.section-teal .container { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { margin: 0 auto; }

/* Stats */
.stats {
  background: linear-gradient(135deg, #1a2828 0%, var(--charcoal) 100%);
  color: var(--ivory); padding: 3rem var(--pad);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--teal-glow), transparent 70%);
  opacity: .35;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto; text-align: center;
  gap: 1rem; position: relative;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--teal-2); display: block; line-height: 1;
  font-weight: 500; letter-spacing: -.02em;
}
.stat .label {
  font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(251,250,246,.72); margin-top: .6rem; display: block;
  font-weight: 500;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.4rem 2rem;
  transition: all .4s var(--ease-out);
  position: relative; overflow: hidden; isolation: isolate;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-mist), transparent 50%);
  opacity: 0; transition: opacity .4s; z-index: -1;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-2), var(--teal), var(--teal-dark));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover::after  { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-mist), var(--teal-soft));
  color: var(--teal-dark); font-size: 1.5rem;
  margin-bottom: 1.4rem;
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.card:hover .card-icon {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 8px 18px rgba(37, 177, 178, .25);
}
.card h3 { margin-bottom: .5rem; }
.card p  { color: var(--slate); font-size: .96rem; margin: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1.2rem; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark); font-weight: 500; position: relative;
}
.card-link::after {
  content: ''; position: absolute; left: 0; right: 30%;
  bottom: -4px; height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.card-link:hover::after { transform: scaleX(1); }

/* Photo cards */
.photo-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .45s var(--ease-out);
  display: flex; flex-direction: column;
}
.photo-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.photo-card .photo { aspect-ratio: 1/1; overflow: hidden; background: var(--teal-soft); position: relative; }
.photo-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 101, 102, .25));
  opacity: 0; transition: opacity .4s;
}
.photo-card:hover .photo::after { opacity: 1; }
.photo-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1s var(--ease-out);
}
.photo-card:hover .photo img { transform: scale(1.08); }
.photo-card .body { padding: 1.6rem 1.7rem 1.8rem; }
.photo-card .tag {
  display: inline-block; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal-dark);
  background: var(--teal-mist); padding: .3rem .7rem;
  border-radius: 999px; margin-bottom: .8rem; font-weight: 500;
}
.photo-card h3 { margin-bottom: .4rem; }
.photo-card p { color: var(--slate); font-size: .94rem; margin: 0 0 1rem; }
.photo-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--slate-soft);
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem;
}

/* Service row */
.service-row {
  display: grid; grid-template-columns: 240px 1fr auto;
  gap: 2rem; align-items: center; padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: rgba(37, 177, 178, .03); padding-left: 1rem; padding-right: 1rem; border-radius: 14px; }
.service-row h3 { margin: 0 0 .3rem; }
.service-row .duration { color: var(--teal-dark); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; }
.service-row p { color: var(--slate); margin: 0; font-size: .96rem; }

/* Split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split-photo {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ivory-2);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.split-photo:hover { transform: scale(1.01); box-shadow: var(--shadow-lg); }
.split-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 1.4s var(--ease-out);
}
.split-photo:hover img { transform: scale(1.05); }
.split-photo.curved { border-radius: 18px 18px 220px 220px; }
.split-frame {
  position: absolute; width: 60%; height: 60%;
  border: 2px solid var(--teal); border-radius: var(--radius);
  z-index: -1; opacity: .7;
}
.split-frame.tl { top: -20px; left: -20px; }
.split-frame.br { bottom: -20px; right: -20px; }

/* Testimonials */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff; border-radius: var(--radius);
  padding: 2.2rem 2rem; border: 1px solid var(--line);
  position: relative; transition: all .4s var(--ease-out);
}
.testimonial::before {
  content: '"'; position: absolute; top: -8px; left: 18px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--teal); opacity: .35;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-soft); }
.testimonial:hover::before { opacity: .6; transform: scale(1.05); }
.testimonial p { font-style: italic; color: var(--slate); margin: 1rem 0 1.5rem; font-size: 1rem; }
.testimonial .who { display: flex; align-items: center; gap: .9rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-2), var(--teal), var(--teal-deep));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(37, 177, 178, .25);
}
.who strong { color: var(--charcoal); display: block; font-weight: 600; }
.who span { color: var(--slate-soft); font-size: .82rem; }

/* Quote */
.quote-block { text-align: center; max-width: 800px; margin: 0 auto; }
.quote-block blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.45;
  color: var(--charcoal); margin: 0 0 1.5rem; position: relative;
}
.quote-block blockquote::before {
  content: '"'; display: block; font-size: 4.5rem; line-height: .35;
  color: var(--teal); margin-bottom: 1.2rem;
}
.quote-block cite { font-style: normal; font-size: .82rem; letter-spacing: .25em; text-transform: uppercase; color: var(--teal-dark); font-weight: 500; }

/* Timeline */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 158px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(to bottom, var(--teal-soft), var(--teal), var(--teal-soft));
}
.tl-row { display: grid; grid-template-columns: 150px 32px 1fr; gap: 0; padding: 1.5rem 0; position: relative; align-items: start; }
.tl-row > .tl-year { padding-right: 1.2rem; text-align: right; white-space: nowrap; }
.tl-row > div:last-child { padding-left: 1.2rem; }
.tl-row::before {
  content: ''; position: absolute;
  left: 152px; top: 1.9rem; width: 14px; height: 14px;
  border-radius: 50%; background: var(--teal);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 3px var(--teal-soft);
  transition: box-shadow .4s;
}
.tl-row:hover::before { box-shadow: 0 0 0 3px var(--teal-soft), 0 0 0 9px var(--teal-mist); }
.tl-year { font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-dark); font-weight: 500; }
.tl-row h3 { margin: 0 0 .3rem; }
.tl-row p { margin: 0; color: var(--slate); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info p { color: var(--slate); }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
  transition: padding .25s;
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail:hover { padding-left: .5rem; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: var(--teal-mist);
  color: var(--teal-dark); display: grid; place-items: center;
  font-size: 1.2rem; transition: all .3s;
}
.contact-detail:hover .contact-icon { background: var(--teal); color: #fff; transform: scale(1.05); }
.contact-detail strong { display: block; color: var(--charcoal); font-weight: 600; margin-bottom: .15rem; }
.contact-detail span { color: var(--slate); font-size: .94rem; }
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-2), var(--teal), var(--teal-dark));
}
form { display: grid; gap: 1.1rem; }
.field label {
  display: block; font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: .45rem; font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; font: inherit;
  color: var(--charcoal); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 10px;
  transition: all .3s var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 177, 178, .15); background: #fff;
}

/* CTA strip */
.cta-strip {
  position: relative;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 50%, var(--teal) 100%);
  color: var(--ivory); text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) var(--pad);
  overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0);
  background-size: 28px 28px; opacity: .5;
}
.cta-strip::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
  top: -150px; right: -150px;
  animation: float-soft 14s ease-in-out infinite;
}
.cta-strip .container { position: relative; }
.cta-strip h2 { color: var(--ivory); }
.cta-strip p  { color: rgba(255,255,255,.85); margin: 0 auto 1.5rem; }
.cta-strip .btn-primary { background: #fff; color: var(--teal-deep); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.cta-strip .btn-primary:hover { background: var(--teal-mist); color: var(--teal-deep); box-shadow: 0 16px 36px rgba(0,0,0,.25); }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #1a2828, var(--charcoal));
  color: rgba(251,250,246,.78);
  padding: 4.5rem 0 1.5rem; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid p { color: rgba(251,250,246,.65); }
.footer-grid h4 {
  font-family: var(--font-body); font-size: .76rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--teal-2); margin-bottom: 1.2rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .65rem; }
.footer-grid a { color: rgba(251,250,246,.78); transition: color .25s, transform .25s; display: inline-block; }
.footer-grid a:hover { color: var(--teal-2); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(251,250,246,.12);
  padding-top: 1.5rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  color: rgba(251,250,246,.55); font-size: .85rem;
}
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(251,250,246,.18); border-radius: 50%;
  color: rgba(251,250,246,.78); font-size: .85rem; font-weight: 500;
  transition: all .3s var(--ease-out);
}
.socials a:hover {
  background: var(--teal); color: #fff; border-color: var(--teal);
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 8px 16px rgba(37, 177, 178, .35);
}

/* Gallery — uniform 1:1 grid for clean composition */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.g-item {
  display: block;
  aspect-ratio: 1/1;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow .35s, transform .35s var(--ease-out);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 1s var(--ease-out);
}
.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 101, 102, .55));
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.g-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after { opacity: 1; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .gallery { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 25, 26, 0.92);
  backdrop-filter: blur(8px);
  z-index: 300; display: none;
  align-items: center; justify-content: center;
  padding: 24px; opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw; max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(.95);
  transition: transform .4s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; font-size: 1.4rem;
  transition: all .3s; display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; font-size: 1.5rem;
  transition: all .3s; display: grid; place-items: center;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav:hover { background: rgba(255,255,255,.22); transform: translateY(-50%) scale(1.08); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem;
  letter-spacing: .15em; font-weight: 500;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, .55);
  z-index: 200;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-tooltip {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--charcoal); color: #fff;
  padding: .55rem .95rem; border-radius: 8px;
  font-size: .82rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; font-weight: 500;
}
.wa-float .wa-tooltip::after {
  content: ''; position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--charcoal);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 520px) {
  .wa-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float .wa-tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.card-grid > .reveal.in:nth-child(2),
.testimonial-grid > .reveal.in:nth-child(2) { transition-delay: .08s; }
.card-grid > .reveal.in:nth-child(3),
.testimonial-grid > .reveal.in:nth-child(3) { transition-delay: .16s; }
.card-grid > .reveal.in:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .service-row { grid-template-columns: 200px 1fr; }
  .service-row .btn { grid-column: span 2; justify-self: start; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap, .hero-photo, .split-photo { max-width: 480px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; gap: .4rem; padding: 1.5rem 0; }
  .service-row:hover { padding-left: 0; padding-right: 0; }
  .service-row .btn { grid-column: 1; }
  .timeline::before { left: 90px; }
  .tl-row { grid-template-columns: 80px 24px 1fr; gap: 0; }
  .tl-row > .tl-year { padding-right: .8rem; font-size: 1.1rem; }
  .tl-row > div:last-child { padding-left: .8rem; }
  .tl-row::before { left: 84px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem var(--pad); gap: 1.1rem; display: none;
    box-shadow: 0 8px 16px rgba(15, 101, 102, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { align-self: flex-start; }
  .form-card { padding: 1.8rem 1.4rem; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .hero-meta { justify-content: flex-start; gap: 1rem; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { gap: 2rem; }
  .stat .num { font-size: 2.4rem; }
}

/* =============================================================================
   Dropdown menu (Programs submenu)
   ============================================================================= */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ▾';
  font-size: .65em;
  margin-left: .25em;
  opacity: .7;
  transition: transform .25s var(--ease-out);
  display: inline-block;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 16px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  min-width: 260px;
  padding: .8rem 0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 101, 102, 0.14), 0 4px 12px rgba(15, 101, 102, 0.06);
  border: 1px solid var(--line-soft);
  list-style: none;
  margin: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility .25s;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { margin: 0; padding: 0; }
.dropdown a {
  display: block;
  padding: .6rem 1.4rem;
  white-space: nowrap;
  color: var(--slate);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  transition: all .2s;
  border-radius: 0;
}
.dropdown a:hover {
  background: var(--teal-mist);
  color: var(--teal-dark);
  padding-left: 1.7rem;
}
.dropdown a::after, .dropdown a::before { display: none !important; content: none !important; }
.dropdown-divider {
  height: 1px;
  background: var(--line-soft);
  margin: .5rem 0;
  list-style: none;
}
.dropdown-label {
  display: block;
  padding: .65rem 1.4rem .25rem;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 600;
}

@media (max-width: 860px) {
  .has-dropdown { width: 100%; }
  .has-dropdown::before { display: none; }
  .has-dropdown > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    padding: .25rem 0 .5rem 1rem;
    background: transparent;
    display: none;
    min-width: 0;
    border-radius: 0;
    transition: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open > a::after { transform: rotate(180deg); }
  .dropdown a { padding: .5rem .75rem; font-size: .9rem; }
  .dropdown a:hover { padding-left: .75rem; background: transparent; }
}

/* =============================================================================
   Common spacing — tighten section that immediately follows a page-hero
   ============================================================================= */
.page-hero + section,
.page-hero + div + section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.hero + .stats { margin-top: 0; }
.hero + section { padding-top: clamp(2.5rem, 5vw, 4rem); }
/* Section-head paragraph spacing — tighter rhythm with heading */
.section-head h2 { margin-bottom: .8rem; }
.section-head p { margin-top: .3rem; }
/* Page-hero paragraph spacing */
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { margin-top: 0; margin-bottom: 0; }
.page-hero .eyebrow { margin-bottom: .8rem; }

/* =============================================================================
   Hero text rhythm — tighten H1 → paragraph spacing
   ============================================================================= */
.hero h1 {
  margin-bottom: .5rem;
  line-height: 1.0;
}
.hero h1 + p,
.hero p {
  margin-top: .25rem;
}
.hero h1 .script {
  /* Compensate for cursive descender taking visual space */
  margin-bottom: -.15em;
}
/* Page-hero same treatment */
.page-hero h1 {
  margin-bottom: .5rem;
  line-height: 1.05;
}
.page-hero h1 + p,
.page-hero p {
  margin-top: .4rem;
}


/* =============================================================================
   Image policy — cover with smart object-position (kept tight & cropped)
   ============================================================================= */
.gallery .g-item img { object-position: center; }

/* =============================================================================
   3-column layout for 6-card grids (uses :has() — modern browsers)
   ============================================================================= */
@supports selector(:has(*)) {
  .card-grid:has(> article:nth-child(6):last-child),
  .card-grid:has(> article:nth-child(6):nth-last-child(1)) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
/* Explicit fallback class — used on pages that have exactly 6 cards */
.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 860px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 520px) {
  .card-grid.cols-3 {
    grid-template-columns: 1fr !important;
  }
}


/* =============================================================================
   Booking modal — popup form triggered by nav-cta on every page
   ============================================================================= */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.booking-modal.open { display: flex; opacity: 1; }
.booking-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 26, 0.6);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.booking-modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem 2rem;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(20px) scale(.96);
  transition: transform .4s var(--ease-out);
}
.booking-modal.open .booking-modal-card { transform: translateY(0) scale(1); }
.booking-modal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-2), var(--teal), var(--teal-dark));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.booking-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all .25s;
}
.booking-modal-close:hover {
  background: var(--teal);
  color: #fff;
  transform: rotate(90deg);
}
.booking-modal-card form { display: grid; gap: .9rem; }
.booking-modal-card .field label {
  display: block; font-size: .74rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: .35rem; font-weight: 500;
}
.booking-modal-card .field input,
.booking-modal-card .field textarea,
.booking-modal-card .field select {
  width: 100%; padding: .75rem .9rem; font: inherit;
  color: var(--charcoal); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 10px;
  transition: all .25s;
}
.booking-modal-card .field input:focus,
.booking-modal-card .field textarea:focus,
.booking-modal-card .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 177, 178, .15);
  background: #fff;
}
.booking-modal-card .eyebrow { margin-bottom: .5rem; }
.booking-modal-card h2 .script { font-size: 1.15em; }
@media (max-width: 520px) {
  .booking-modal { padding: 12px; }
  .booking-modal-card { padding: 2rem 1.4rem 1.5rem; border-radius: 18px; }
}
