/* ==========================================================================
   YogStudio (Kharghar) — shared stylesheet
   ========================================================================== */

:root {
  --green-dark: #1f3320;
  --green: #2e4a2e;
  --green-mid: #3f5c3d;
  --green-soft: #e7efe3;
  --coral: #e15b3f;
  --coral-dark: #c94a30;
  --cream: #faf4ea;
  --pink-soft: #fbe9ea;
  --ink: #23281f;
  --muted: #5c6459;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 51, 32, 0.10);
  --shadow-lift: 0 20px 40px rgba(31, 51, 32, 0.16);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green-dark);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .wrap { padding: 0 40px; }
}

.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section--alt {
  background-color: var(--green-soft);
  background-image: radial-gradient(rgba(31,51,32,.09) 1px, transparent 1px);
  background-size: 18px 18px;
}
.section--dark { background: var(--green-dark); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--cream { background: var(--pink-soft); }
@media (max-width: 860px) {
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .section-tight { padding: 32px 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 10px;
}

.center { text-align: center; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Accessibility: visible focus states ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.015); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px rgba(225,91,63,.22); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: 0 12px 26px rgba(225,91,63,.38); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline.dark { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline.dark:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-dark); color: var(--white); box-shadow: 0 12px 26px rgba(31,51,32,.25); }
.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: 0 8px 20px rgba(37,211,102,.25); }
.btn-whatsapp:hover { background: #1ebc59; box-shadow: 0 12px 26px rgba(37,211,102,.4); }
.btn-disabled {
  background: #d8d8d0;
  color: #7c7c72;
  cursor: not-allowed;
  border: 2px dashed #b9b9ac;
}
.btn-disabled:hover { transform: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(31,51,32,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--green-dark); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--coral); color: var(--coral-dark); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-dark);
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(31,51,32,.08);
    box-shadow: 0 12px 20px rgba(0,0,0,.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 4px 0; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 60%, var(--green-mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-bottom: 56px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(225,91,63,.35), transparent 70%);
  top: -120px; right: -80px;
}
.hero::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  bottom: -160px; left: -100px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 { color: var(--white); }
.hero p.lede { color: rgba(255,255,255,.85); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero-visual {
  background: var(--white);
  border-radius: 32% 68% 62% 38% / 42% 38% 62% 58%;
  padding: 22px;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.hero-visual img { border-radius: 24% 76% 68% 32% / 48% 32% 68% 52%; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px dashed rgba(255,255,255,.3);
  border-radius: 32% 68% 62% 38% / 42% 38% 62% 58%;
  z-index: -1;
}
.trial-tag {
  position: absolute;
  background: var(--coral);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  top: -16px;
  right: 6px;
  box-shadow: var(--shadow-lift);
  transform: rotate(6deg);
}
/* Curved transition into the next section */
.hero-curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.3);
  z-index: 1;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
}

/* ---------- Page header (non-home) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 60px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,91,63,.3), transparent 70%);
  filter: blur(50px);
  top: -140px; right: -60px;
  pointer-events: none;
}
.page-hero h1 { color: var(--white); position: relative; }
.breadcrumb { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: 10px; position: relative; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 641px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,51,32,.06);
  border-top: 3px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(225, 91, 63, 0.16);
  border-top-color: var(--coral);
}
.card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pink-soft);
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Schedule table ---------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th, .schedule-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--green-soft);
}
.schedule-table th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .05em;
}
.schedule-table tr:last-child td { border-bottom: none; }
.pill {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--coral-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 51, 32, 0.16);
}
.price-card.featured { border-color: var(--coral); }
.price-card .price { font-size: 2.4rem; font-weight: 700; color: var(--green-dark); margin: 12px 0; }
.price-card .price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; text-align: left; margin: 20px 0; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--green-soft); }
.price-card ul li::before { content: "✓ "; color: var(--coral); font-weight: 700; }

.integration-note {
  border: 2px dashed var(--muted);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: rgba(255,255,255,.5);
  font-size: .88rem;
  color: var(--muted);
  margin-top: 18px;
}

.razorpay-pay-spot {
  border: 2px dashed rgba(31,51,32,.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  background: var(--green-soft);
  text-align: center;
}
.razorpay-pay-spot form { display: flex; justify-content: center; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 51, 32, 0.16);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  color: var(--green-soft);
  line-height: 1;
}
.testimonial p {
  position: relative;
  font-style: italic;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.6;
}
.testimonial .who { margin-top: 14px; font-weight: 600; color: var(--green-dark); font-style: normal; font-size: .88rem; }

/* ---------- Instructor bio ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 700px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 320px; margin: 0 auto; }
}
.bio-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cert-list li, .skills-list li { margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item .ic { font-size: 1.3rem; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  width: 100%;
  height: 320px;
}

form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form label { font-weight: 600; font-size: .88rem; color: var(--green-dark); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(31,51,32,.2);
  font-family: inherit;
  font-size: .95rem;
  background: var(--white);
}
form.contact-form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); }

/* ---------- Social strip ---------- */
.social-strip { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-strip a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.85); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (min-width: 641px) and (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: inherit; font-size: 1rem; }
.site-footer a:hover { color: var(--coral); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.6);
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 4/5;
  background: var(--green-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 51, 32, 0.16);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  padding: 16px;
  border: 2px dashed rgba(31,51,32,.2);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 26px 6px 22px;
  margin-bottom: 14px;
  border-left: 4px solid var(--coral);
  transition: box-shadow .2s ease, transform .2s ease;
}
.faq-item:hover {
  box-shadow: 0 16px 32px rgba(225, 91, 63, 0.14);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-dark);
  padding: 16px 44px 16px 0;
  list-style: none;
  position: relative;
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--coral-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--coral); color: var(--white); }
.faq-item p { padding-bottom: 16px; margin: 0; color: var(--muted); }

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-weight: 600;
  font-size: .9rem;
  transition: transform .15s ease;
}
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.fab-whatsapp .fab-icon { font-size: 1.3rem; }
@media (max-width: 600px) {
  .fab-whatsapp span.fab-label { display: none; }
  .fab-whatsapp { padding: 14px; bottom: 16px; right: 16px; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.divider { height: 1px; background: var(--green-soft); margin: 40px 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin: 10px 0 4px; }
@media (max-width: 480px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 400; }
.checkbox-row input { width: auto; }
fieldset.contact-fieldset { border: 1px dashed rgba(31,51,32,.2); border-radius: 10px; padding: 14px 16px; margin: 0; }
fieldset.contact-fieldset legend { font-weight: 700; color: var(--green-dark); padding: 0 6px; font-size: .85rem; }
