/* ===================================================================
   Yoga with Chaithanya — Hari Om Yoga Studio
   Mobile-first, accessible, fast static styles
   =================================================================== */

:root {
  --saffron: #FF9933;
  --saffron-deep: #E67E22;
  --white: #FFFFFF;
  --beige: #F8F3E9;
  --beige-deep: #F1E7D6;
  --ink: #333333;
  --ink-soft: #5b5b5b;
  --line: #e7ddc9;
  --shadow: 0 10px 30px rgba(51, 51, 51, .08);
  --shadow-lg: 0 18px 50px rgba(51, 51, 51, .14);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1140px;
  --head: 'Cormorant Garamond', Georgia, serif;
  --body: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { font-family: var(--head); line-height: 1.15; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding: 64px 0; }
.section-beige { background: var(--beige); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--saffron-deep);
  margin-bottom: 10px;
}

.section-head { margin-bottom: 40px; }
.section-head h2,
.vision h2,
.quote blockquote { font-size: clamp(1.7rem, 5vw, 2.6rem); }

h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 500; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 48px; /* touch-friendly */
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--saffron); color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 153, 51, .35);
}
.btn-primary:hover { background: var(--saffron-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--saffron); color: var(--saffron-deep); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--saffron-deep); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { font-size: 1.6rem; }
.brand-text {
  font-family: var(--head); font-weight: 700; font-size: 1.35rem; line-height: 1.05;
  display: flex; flex-direction: column; gap: 3px; color: var(--ink);
}
.brand-text small {
  font-family: var(--body); font-weight: 400; font-size: .62rem; line-height: 1;
  letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase;
}

.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a { font-weight: 400; font-size: .95rem; color: var(--ink); transition: color .2s; }
.nav-menu a:hover { color: var(--saffron-deep); }
.nav-cta {
  background: var(--saffron); color: var(--white) !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 500;
}
.nav-cta:hover { background: var(--saffron-deep); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 153, 51, .18), transparent 60%),
    linear-gradient(180deg, var(--beige) 0%, var(--white) 100%);
  padding: 56px 0 64px;
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  color: var(--saffron-deep); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: 18px; }
.lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; }
.lead-2 { margin-top: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-actions .btn { min-width: 220px; flex: 0 1 auto; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 26px; list-style: none;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--head); font-size: 1.35rem; color: var(--saffron-deep); }
.hero-trust span { font-size: .78rem; color: var(--ink-soft); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  object-fit: cover; aspect-ratio: 16 / 11;
}
.hero-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .95); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); backdrop-filter: blur(4px);
}
.hero-badge .om { font-size: 1.6rem; }
.hero-badge strong { display: block; font-size: .92rem; }
.hero-badge span { font-size: .74rem; color: var(--ink-soft); }

/* ---------- Vision ---------- */
.vision-text { font-size: 1.2rem; color: var(--ink-soft); margin-top: 8px; }

/* God image embedded with an organic "splash" feathered edge */
.vision-image {
  margin: 40px auto 0;
  max-width: 440px;
  position: relative;
}
.vision-image img {
  width: 100%;
  /* calm the bright misty glare and warm it toward the page palette */
  filter: brightness(0.86) contrast(1.05) saturate(1.04);
  /* Several overlapping soft blobs union into an irregular ink-splash shape */
  --splash:
    radial-gradient(38% 30% at 32% 26%, #000 45%, transparent 100%),
    radial-gradient(42% 32% at 66% 32%, #000 45%, transparent 100%),
    radial-gradient(52% 46% at 50% 52%, #000 50%, transparent 100%),
    radial-gradient(34% 30% at 28% 60%, #000 45%, transparent 100%),
    radial-gradient(36% 32% at 74% 64%, #000 45%, transparent 100%),
    radial-gradient(40% 30% at 46% 82%, #000 45%, transparent 100%),
    radial-gradient(24% 22% at 72% 22%, #000 45%, transparent 100%),
    radial-gradient(22% 20% at 22% 40%, #000 45%, transparent 100%);
  -webkit-mask-image: var(--splash);
          mask-image: var(--splash);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-composite: source-over;
          mask-composite: add;
}

/* ---------- Programs ---------- */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.program-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .2s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-card .ic, .benefit .ic {
  font-size: 1.9rem; display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 153, 51, .18), rgba(255, 153, 51, .06));
  margin-bottom: 14px;
}
.program-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.program-card p, .benefit p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefit {
  text-align: center; padding: 28px 22px; border-radius: var(--radius);
  background: var(--beige); border: 1px solid var(--line);
}
.benefit .ic { margin: 0 auto 14px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; gap: 24px; max-width: 820px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.price-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--saffron); box-shadow: var(--shadow-lg); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--saffron); color: var(--white); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; padding: 5px 16px; border-radius: 999px; text-transform: uppercase;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--saffron-deep); margin-bottom: 18px; }
.price span { font-family: var(--body); font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.price-card ul { list-style: none; margin-bottom: 24px; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--saffron-deep);
  font-weight: 700; background: rgba(255, 153, 51, .14); width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; font-size: .7rem;
}
.price-card .btn { margin-top: auto; }

/* ---------- Approach ---------- */
.approach-inner { display: grid; gap: 40px; align-items: center; }
.approach-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover; aspect-ratio: 4 / 5; max-height: 560px;
}
.approach-list { list-style: none; margin: 20px 0 26px; display: grid; gap: 12px; }
.approach-list li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.approach-list li::before {
  content: "🪷"; position: absolute; left: 0; top: 0; font-size: 1rem;
}

/* ---------- Quote ---------- */
.quote {
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(255, 153, 51, .15), transparent 60%),
    var(--beige);
}
.quote-om { font-size: 2.6rem; display: block; margin-bottom: 16px; }
.quote blockquote {
  font-family: var(--head); font-style: italic; font-weight: 500;
  color: var(--ink); line-height: 1.3;
}
.quote-sign { margin-top: 20px; font-weight: 500; color: var(--saffron-deep); letter-spacing: .04em; }

/* ---------- Registration ---------- */
.register-sub { color: var(--ink-soft); max-width: 60ch; margin: 12px auto 0; }
.register-wrap { max-width: 760px; margin: 0 auto; }
.reg-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
label { font-weight: 500; font-size: .9rem; margin-bottom: 7px; }
.req { color: #d9534f; }
.optional { color: var(--ink-soft); font-weight: 400; }
input, select, textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--beige); transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--saffron); background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 153, 51, .18);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, .14);
}
.error { color: #d9534f; font-size: .8rem; min-height: 1em; margin-top: 6px; }
.counter { color: var(--ink-soft); font-size: .78rem; align-self: flex-end; margin-top: 6px; }
.form-note { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: 14px; }
#submitBtn { margin-top: 6px; }
.wa-ic { font-weight: 700; }

/* Success */
.reg-success {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 48px 32px; box-shadow: var(--shadow); text-align: center;
}
.success-om { font-size: 3rem; display: block; margin-bottom: 16px; }
.reg-success h3 { font-size: 1.8rem; margin-bottom: 12px; }
.reg-success p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.success-sign { margin: 18px 0 26px !important; color: var(--saffron-deep); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e9e9; padding: 48px 0 0; }
.footer-inner {
  display: grid; gap: 28px; padding-bottom: 32px;
  grid-template-columns: 1fr; align-items: start;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand .brand-mark { font-size: 2rem; }
.footer-brand strong { font-family: var(--head); font-size: 1.4rem; }
.footer-brand p { font-size: .82rem; color: #b9b9b9; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a:hover { color: var(--saffron); }
.footer-social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-social a { font-size: .9rem; color: #cfcfcf; }
.footer-social a:hover { color: var(--saffron); }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 20px; text-align: center;
  font-size: .82rem; color: #aaa;
}
.powered-by { display: block; margin-top: 6px; font-size: .78rem; color: #888; }
.powered-by a {
  font-weight: 700;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: underline;
  text-decoration-color: #a855f7;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.powered-by a:hover { text-decoration-color: #d946ef; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  font-size: 1.6rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.section, .program-card, .benefit, .price-card { will-change: opacity, transform; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive — tablet & up
   =================================================================== */
@media (min-width: 760px) {
  .section { padding: 84px 0; }
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .approach-inner { grid-template-columns: .9fr 1.1fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: center; }
}

@media (max-width: 759px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-menu.open { max-height: 360px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 22px; }
  .nav-cta { margin: 8px 22px; text-align: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .reg-form { padding: 24px 18px; }

  /* equal, full-width hero buttons when stacked */
  .hero-actions .btn { width: 100%; min-width: 0; }

  /* tighter logo that doesn't overlap its tagline on small screens */
  .brand-mark { font-size: 1.4rem; }
  .brand-text { font-size: 1.15rem; line-height: 1.1; gap: 4px; }
  .brand-text small { font-size: .55rem; line-height: 1.1; }
}

/* Accessibility — reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
