/* ==========================================================================
   Dr. Surya Holistic Wellness: shared styles
   Taken from the live landing page (drsuryapsychologist.in/lp): the same
   palette, type, buttons, cards, FAQ, nav and footer, written as classes
   instead of inline styles. Page section layouts live in workshop.css.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --rose-100: #FCE4EC;      /* page and alternate section ground */
  --rose-200: #F8D6E2;      /* alternate section ground, icon tiles */
  --rose-50:  #FEF4F8;      /* cards */
  --rose-line: #F4CEDF;     /* nav rule, card shadow, footer rule */
  --rose-line-2: #F2C6D9;   /* card borders, dividers */
  --rose-line-3: #EBBFD3;   /* FAQ rules */
  --rose-line-4: #E7B3CC;   /* FAQ toggle ring */
  --plum: #A83370;          /* accent: buttons, highlights, icons */
  --plum-dark: #8A2A5C;     /* button hover */
  --plum-soft: #C4569A;     /* ring dots */
  --plum-tint: #F3D7E5;     /* small text on plum */
  --ink: #000;
  --ink-soft: #3D2B33;
  --muted: #6E5560;
  --grey: #8F8F8F;
  --video-ground: #1A1014;

  --serif: 'Newsreader', serif;
  --sans: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --pad-y: clamp(56px, 8vw, 110px);
  --pad-x: clamp(24px, 6vw, 173px);
  --wrap: 1096px;
  --radius: 16px;
  --card-shadow: 0 4px 4px var(--rose-line);
  --card-shadow-hover: 0 14px 28px rgba(244, 206, 223, 0.9);
  --nav-h: clamp(64px, 4.6vw, 66px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--rose-100);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* 3. Type ------------------------------------------------------------------ */
.h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 7.6vw, 46px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.32; color: var(--ink); text-wrap: balance; }
.h2--lg { font-size: clamp(28px, 4vw, 38px); line-height: 1.3; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--ink); }
.lead { margin: 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.5; color: var(--muted); }
.body { margin: 0; font-size: 16px; line-height: 1.56; color: var(--muted); }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); font-weight: 500; }
.small { margin: 0; font-size: 15px; color: var(--muted); }
.serif-note { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink); }
.strong { color: var(--plum); font-weight: 600; }
/* Hand-drawn highlighter under a phrase */
.mark { background: linear-gradient(transparent 60%, rgba(168, 51, 112, 0.18) 60%); color: var(--plum); font-weight: 500; padding: 0 2px; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  background: var(--plum); color: #fff; font: inherit; font-size: 14px;
  padding: 13px 26px; border-radius: 1000px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: var(--plum-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(168, 51, 112, 0.28); }
.btn:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.btn--nav { padding: 12px 22px; flex-shrink: 0; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.btn--light:focus-visible { outline-color: #fff; }
/* The large hero button */
.btn--xl {
  width: min(100%, 520px); min-height: 60px; white-space: normal; text-align: center; text-wrap: balance;
  font-size: clamp(17px, 4.6vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: .01em;
  padding: clamp(14px, 2vw, 18px) clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 28px rgba(168, 51, 112, 0.32);
}
.btn--xl:hover { box-shadow: 0 16px 34px rgba(168, 51, 112, 0.38); }
.btn--xl.btn--light { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); }

/* 5. Sections and cards ---------------------------------------------------- */
.section { background: var(--rose-100); padding: var(--pad-y) var(--pad-x); }
.section--alt { background: var(--rose-200); }
.section--plum { background: var(--plum); padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.wrap { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 5vw, 50px); }
.wrap--narrow { max-width: 780px; }
.intro { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 700px; text-align: center; }
.card {
  background: var(--rose-50); border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card--lift:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.tile { width: 55px; height: 55px; flex-shrink: 0; border-radius: 8px; background: var(--rose-200); display: flex; align-items: center; justify-content: center; }
.tile svg { width: 30px; height: 30px; display: block; fill: none; stroke: var(--plum); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tick { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 6. Video player (hero) and video frames (testimonials) -------------------- */
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--video-ground); border: 1.5px solid var(--plum); box-shadow: 0 18px 44px rgba(168, 51, 112, 0.14); }
.player video, .player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.player__play { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player__btn {
  width: clamp(40px, 12%, 84px); aspect-ratio: 1; border-radius: 50%; background: var(--plum);
  border: 2px solid rgba(255, 255, 255, 0.9); box-shadow: 0 8px 22px rgba(168, 51, 112, 0.35);
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease;
}
.player__btn svg { width: 40%; height: 40%; margin-left: 6%; fill: #fff; display: block; }
.player__play:hover .player__btn { transform: scale(1.08); background: var(--plum-dark); }
/* Intro video poster: the button sits 56% across, in the gap between "CHANGE" and Dr. Surya (as on the live page) */
.player--intro .player__btn { position: absolute; left: 56%; top: 50%; width: clamp(40px, 10%, 92px); transform: translate(-50%, -50%); }
.player--intro .player__play:hover .player__btn { transform: translate(-50%, -50%) scale(1.08); }
.player__play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 18px; }
/* No video supplied yet: show what belongs here */
.player__note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 14px; color: var(--plum-tint); }

/* 7. Placeholders (client data and photography still owed) ----------------- */
/* Every value the client still owes. ?final=1 hides the dashed marks; the bracket text stays. */
.tbc { text-decoration: underline dashed; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
html.final .tbc { text-decoration: none; }
/* Every image slot until the real photograph arrives */
.shot {
  position: relative; margin: 0; width: 100%; aspect-ratio: var(--ar, 4 / 3);
  border-radius: 12px; background: var(--rose-200); border: 1.5px dashed var(--rose-line-4);
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
}
.shot::after { content: attr(data-shot); font-size: 14px; line-height: 1.4; color: var(--muted); }

/* 8. FAQ ------------------------------------------------------------------- */
.faq { width: 100%; border-top: 1px solid var(--rose-line-3); border-bottom: 1px solid var(--rose-line-3); }
.faq-item + .faq-item { border-top: 1px solid var(--rose-line-3); }
.faq-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: clamp(16px, 1.8vw, 18px); font-weight: 500; line-height: 1.4; color: var(--ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--plum); }
.faq-q:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; border-radius: 6px; }
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rose-line-4); transition: background .2s ease, border-color .2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--plum); border-radius: 1px; transform: translate(-50%, -50%); transition: transform .25s ease, background .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--plum); border-color: var(--plum); }
.faq-item[open] .faq-q { color: var(--plum); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] .faq-a { animation: faq-in .28s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-a { margin: -6px 0 0; padding: 0 44px 22px 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.faq-a a { color: var(--plum); font-weight: 500; }
@media (max-width: 600px) { .faq-a { padding-right: 0; } }

/* 9. Nav ------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(252, 228, 236, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rose-line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px var(--pad-x);
}
.nav__logo { height: clamp(34px, 3.6vw, 44px); width: auto; }

/* 10. Footer --------------------------------------------------------------- */
.footer { background: var(--rose-100); padding: clamp(48px, 6vw, 86px) clamp(24px, 6vw, 122px) 40px; }
.footer__in { max-width: 1196px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.footer__brand img { width: 160px; height: 62px; object-fit: contain; object-position: left center; }
.footer__brand p { margin: 0; font-size: 16px; line-height: 1.25; }
.footer__reach { display: flex; flex-direction: column; gap: 20px; }
.footer__reach span { font-size: 14px; color: var(--plum); }
.footer__reach div { display: flex; flex-direction: column; gap: 12px; }
.footer a { text-decoration: none; color: var(--ink); transition: color .2s ease; }
.footer a:hover { color: var(--plum); text-decoration: underline; }
.footer__reach a { font-size: 16px; }
.footer__legal { display: flex; flex-direction: column; gap: 20px; }
.footer__policies { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.footer__policies > span { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.footer__policies .dot { opacity: .5; }
.footer__rule { height: 1px; background: var(--rose-line); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 16px; }
.footer__credit { font-family: 'Urbanist', sans-serif; }

/* 11. Reveal on scroll (app.js adds .js and .in) ---------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16, .84, .44, 1), transform .7s cubic-bezier(.16, .84, .44, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .faq-item[open] .faq-a { animation: none; }
}
