/* ===========================================================
   Ashtanga Yoga by Kamini Sharma
   Design system: warm, organic, spiritual-modern
   =========================================================== */

:root {
  /* Palette — warm, earthy wellness */
  --clay:        #b1573b;   /* primary terracotta */
  --clay-dark:   #8f4329;
  --saffron:     #d98a3d;   /* warm accent */
  --sand:        #f6efe6;   /* light background */
  --cream:       #fbf7f1;   /* lightest surface */
  --sage:        #6f7d63;   /* secondary, calm green */
  --sage-deep:   #4d5944;
  --ink:         #2c241d;   /* near-black warm text */
  --muted:       #6b5f53;   /* secondary text */
  --line:        #e6dccf;   /* hairline borders */
  --white:       #ffffff;

  /* Type scale */
  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   clamp(1.6rem, 3vw, 2.1rem);
  --text-2xl:  clamp(2.1rem, 5vw, 3.4rem);
  --text-hero: clamp(2.8rem, 7vw, 5rem);

  /* Spacing */
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(44,36,29,0.06);
  --shadow-md: 0 14px 40px rgba(44,36,29,0.10);

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'General Sans', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }

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

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  display: inline-block;
  margin-bottom: var(--sp-3);
}

.lead { font-size: var(--text-lg); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--clay); color: var(--cream); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,241,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: var(--sp-8); list-style: none; }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--ink); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--clay); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--clay);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-16);
  align-items: center; padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero h1 { font-size: var(--text-hero); margin-bottom: var(--sp-6); }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero p { font-size: var(--text-lg); color: var(--muted); max-width: 46ch; margin-bottom: var(--sp-8); }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero-meta { display: flex; gap: var(--sp-8); margin-top: var(--sp-12); }
.hero-meta .stat strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--clay); display: block; }
.hero-meta .stat span { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.hero-figure { position: relative; }
.hero-figure .ph { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1.2rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.7rem;
}
.hero-badge .om { font-size: 1.6rem; color: var(--clay); }
.hero-badge small { font-size: var(--text-xs); color: var(--muted); }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }

/* ---------- Real photo (replaces .ph) ---------- */
.media {
  display: block; width: 100%; height: auto; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
/* Portrait shots: keep natural shape but cap height so they aren't overwhelming */
.split .media { aspect-ratio: 4/5; height: auto; }
.split .media[src*="ashtanga"] { aspect-ratio: 3/2; }
.hero-figure .media { border-radius: var(--radius-lg); aspect-ratio: 3/4; }
.tst .who .media {
  width: 48px; height: 48px; aspect-ratio: 1/1; border-radius: 50%;
  flex: none; box-shadow: none; border: 1px solid var(--line);
}

/* ---------- Placeholder image system ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(177,87,59,0.06) 0 14px, rgba(177,87,59,0.10) 14px 28px),
    var(--sand);
  border: 1.5px dashed var(--clay);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--clay-dark); padding: 1rem; gap: 0.4rem;
}
.ph svg { width: 34px; height: 34px; opacity: 0.7; }
.ph .ph-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; }
.ph .ph-hint { font-size: 0.72rem; color: var(--muted); max-width: 22ch; }

/* ---------- Generic section heading ---------- */
.sec-head { max-width: 60ch; margin-bottom: var(--sp-12); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: var(--text-2xl); margin-bottom: var(--sp-4); }
.sec-head p { color: var(--muted); font-size: var(--text-lg); }

/* ---------- About preview / split ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-16); align-items: center; }
.split.flip { grid-template-columns: 1.1fr 0.9fr; }
.split .ph { aspect-ratio: 4/5; }
.split h2 { font-size: var(--text-2xl); margin-bottom: var(--sp-6); }
.split p + p { margin-top: var(--sp-4); }
.split p { color: var(--muted); }

/* ---------- Pillars / values ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-8); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--sand);
  display: grid; place-items: center; color: var(--clay); margin-bottom: var(--sp-4);
}
.card h3 { font-size: var(--text-lg); font-family: var(--font-display); margin-bottom: var(--sp-3); }
.card p { color: var(--muted); font-size: var(--text-base); }

/* alternate tint */
.section.tinted { background: var(--sand); }
.section.clay { background: var(--clay); color: var(--cream); }
.section.clay .sec-head p, .section.clay .lead { color: rgba(251,247,241,0.85); }
.section.clay .eyebrow { color: var(--saffron); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.svc {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-8); display: flex; flex-direction: column;
}
.svc .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sand); color: var(--clay); display: grid; place-items: center; margin-bottom: var(--sp-6); }
.svc h3 { font-size: var(--text-xl); margin-bottom: var(--sp-4); }
.svc p { color: var(--muted); margin-bottom: var(--sp-6); }
.svc ul { list-style: none; margin-bottom: var(--sp-8); }
.svc li { display: flex; gap: 0.6rem; padding: 0.4rem 0; color: var(--ink); font-size: var(--text-base); }
.svc li svg { flex: none; width: 20px; height: 20px; color: var(--sage); margin-top: 3px; }
.svc .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.tst-grid { columns: 3; column-gap: var(--sp-6); }
.tst {
  break-inside: avoid; margin-bottom: var(--sp-6);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.tst .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--saffron); }
.tst p { color: var(--ink); margin: var(--sp-3) 0 var(--sp-6); font-size: var(--text-base); }
.tst .who { display: flex; align-items: center; gap: 0.8rem; }
.tst .who .ph { width: 48px; height: 48px; border-radius: 50%; flex: none; padding: 0; border-width: 1px; }
.tst .who .ph svg { width: 18px; height: 18px; }
/* Small client-photo placeholder with initials */
.ph-avatar {
  background:
    repeating-linear-gradient(45deg, rgba(177,87,59,0.08) 0 8px, rgba(177,87,59,0.14) 8px 16px),
    var(--sand);
  border: 1px dashed var(--clay) !important;
  position: relative;
}
.ph-avatar .ph-init {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--clay-dark);
}
.ph-avatar::after {
  content: 'photo'; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.tst .who { align-items: flex-start; padding-bottom: 4px; padding-left: 0.9rem; border-left: 2px solid var(--clay); }
.tst .who b { display: block; font-family: var(--font-display); font-size: var(--text-base); }
.tst .who span { font-size: var(--text-xs); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-2xl); margin-bottom: var(--sp-4); color: var(--cream); }
.cta-band p { color: rgba(251,247,241,0.85); max-width: 50ch; margin: 0 auto var(--sp-8); }
.cta-band .btn-primary { background: var(--cream); color: var(--clay-dark); }
.cta-band .btn-primary:hover { background: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: start; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: var(--sp-4); padding: var(--sp-6) 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--sand); color: var(--clay); display: grid; place-items: center; }
.contact-list .meta small { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 2px; }
.contact-list .meta a, .contact-list .meta span { font-size: var(--text-lg); font-family: var(--font-display); color: var(--ink); }
.contact-list .meta a:hover { color: var(--clay); }
.contact-card { background: var(--sand); border-radius: var(--radius-lg); padding: var(--sp-12); }
.contact-card h3 { font-size: var(--text-xl); margin-bottom: var(--sp-4); }
.contact-card p { color: var(--muted); margin-bottom: var(--sp-8); }
.contact-card .btn { width: 100%; justify-content: center; margin-bottom: var(--sp-4); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--sand); padding: clamp(3rem,6vw,5rem) 0 clamp(2.5rem,5vw,4rem); text-align: center; }
.page-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--sp-4); }
.page-hero p { color: var(--muted); font-size: var(--text-lg); max-width: 54ch; margin: 0 auto; }

/* ---------- Credentials list ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-6); }
.cred {
  display: flex; gap: var(--sp-4); padding: var(--sp-6); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cred .icon { color: var(--clay); flex: none; }
.cred h4 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); margin-bottom: 4px; }
.cred p { color: var(--muted); font-size: var(--text-sm); }

.exp-list { list-style: none; }
.exp-list li { position: relative; padding: 0 0 var(--sp-6) var(--sp-8); border-left: 2px solid var(--line); }
.exp-list li::before { content:''; position:absolute; left:-7px; top:4px; width:12px; height:12px; border-radius:50%; background: var(--clay); }
.exp-list li:last-child { padding-bottom: 0; }
.exp-list b { font-family: var(--font-display); font-weight:500; }
.exp-list span { display:block; color: var(--muted); font-size: var(--text-sm); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251,247,241,0.7); padding: var(--sp-20) 0 var(--sp-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-16); }
.footer .brand-name { color: var(--cream); }
.footer .brand-sub { color: rgba(251,247,241,0.55); }
.footer p { font-size: var(--text-sm); max-width: 36ch; margin-top: var(--sp-4); }
.footer h5 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251,247,241,0.5); margin-bottom: var(--sp-4); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: var(--sp-3); }
.footer ul a { font-size: var(--text-sm); color: rgba(251,247,241,0.75); }
.footer ul a:hover { color: var(--saffron); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(251,247,241,0.2); border-radius: 50%; display: grid; place-items: center; color: rgba(251,247,241,0.75); transition: .2s; }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(251,247,241,0.12); padding-top: var(--sp-8); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--text-xs); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero-figure { max-width: 460px; }
  .split, .split.flip { grid-template-columns: 1fr; gap: var(--sp-8); }
  .split .order-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .tst-grid { columns: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; gap: 0; padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s ease; height: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: var(--sp-4) 0; width: 100%; }
  .nav-toggle { display: block; }
  .nav-desktop-cta { display: none; }
  .grid-3, .svc-grid, .cred-grid { grid-template-columns: 1fr; }
  .tst-grid { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero-meta { gap: var(--sp-6); }
}
