/* ============================================================
   Vaidya Integrative Center — online Ayurvedic & naturopathic
   consultations. Design system — "Soft Spa / Luxe"
   Palette: sage green + antique gold on warm cream.
   (Variable names retained for compatibility; values remapped.)
   ============================================================ */

:root {
  --teal-900: #3b4a40;   /* deep sage — headings, footer, dark */
  --teal-800: #46564a;
  --teal-700: #566656;
  --teal-600: #5e7060;   /* links */
  --teal-500: #9db0a0;   /* light sage — borders, focus */
  --teal-100: #e7ece3;   /* pale sage wash */
  --teal-50:  #f3f6f0;   /* lightest wash */
  --sand-100: #f8f3eb;   /* warm cream section bg */
  --sand-200: #e9e0d1;   /* soft warm border */
  --clay:     #c0694a;   /* terracotta — decorative (matches logo) */
  --clay-dark:#9d4d36;   /* deep terracotta — buttons & accent text */
  --ink:      #3a3a33;   /* warm charcoal */
  --muted:    #7c7a6e;   /* warm taupe */
  --white:    #ffffff;
  --shadow-sm: 0 2px 14px rgba(58,55,40,.05);
  --shadow-md: 0 18px 44px rgba(58,55,40,.10);
  --radius:    20px;
  --radius-sm: 12px;
  --maxw:      1140px;
  --font-head: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--white); line-height: 1.78; font-size: 17px; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head); color: var(--teal-900);
  font-weight: 400; line-height: 1.2; margin: 0 0 .55em; letter-spacing: .3px;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); letter-spacing: .5px; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.42rem; }

p { margin: 0 0 1.15em; color: var(--ink); }
a { color: var(--teal-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-dark); }
img { max-width: 100%; display: block; }

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

.eyebrow { text-transform: uppercase; letter-spacing: 3.6px; font-size: .74rem; font-weight: 700; color: var(--clay-dark); margin: 0 0 1em; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--clay); vertical-align: middle; margin-right: 10px; margin-bottom: 4px; }
.center .eyebrow::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--clay); vertical-align: middle; margin-left: 10px; margin-bottom: 4px; }
.lead { font-size: 1.2rem; font-weight: 300; color: var(--muted); max-width: 62ch; line-height: 1.7; }

.section { padding: 100px 0; }
.section--tint { background: var(--teal-50); }
.section--sand { background: var(--sand-100); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 16px 36px; border-radius: 999px; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.4px; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay-dark); color: #fff; }
.btn--primary:hover { background: #7f3d28; color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-900); border-color: var(--clay); }
.btn--ghost:hover { background: var(--clay); color: #fff; }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--teal-50); color: var(--teal-900); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(135%) blur(9px); border-bottom: 1px solid var(--sand-200); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__img { height: 50px; width: auto; display: block; }
@media (max-width: 560px){ .brand__img { height: 42px; } }
.brand__logo { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(155deg, var(--teal-600), var(--teal-900)); border: 1px solid var(--clay); }
.brand__logo svg { width: 25px; height: 25px; color: #fff; }
.brand__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 400; color: var(--teal-900); line-height: 1.14; letter-spacing: .4px; }
.brand__name small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--clay-dark); font-weight: 600; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: var(--clay-dark); }
.nav__cta { margin-left: 6px; }
.nav__cta .btn { padding: 12px 22px; border-radius: 999px; font-size: .72rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--ink); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.has-dropdown:hover .dropdown-toggle, .dropdown-toggle:hover, .dropdown-toggle.active { color: var(--clay-dark); }
.dropdown-toggle .caret { font-size: .6rem; transition: transform .2s ease; }
.has-dropdown:hover .dropdown-toggle .caret, .has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 16px); right: 0; min-width: 220px; background: #fff; border: 1px solid var(--sand-200); border-radius: 14px; box-shadow: var(--shadow-md); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { width: 100%; }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .82rem; text-transform: none; letter-spacing: .2px; white-space: nowrap; color: var(--ink); }
.dropdown li a:hover, .dropdown li a.active { background: var(--teal-50); color: var(--clay-dark); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--teal-900); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #faf6ef 0%, #f3f6f0 100%); padding: 104px 0 96px; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 440px at 82% -8%, var(--teal-100), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 span { color: var(--clay-dark); font-style: italic; }
.hero .lead { margin-bottom: 2em; }
.hero__art { aspect-ratio: 4/5; border-radius: 200px 200px 24px 24px; overflow: hidden; background: linear-gradient(160deg, var(--teal-100), var(--sand-200)); box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--sand-200); }
.hero__art svg { width: 100%; height: 100%; }
.trust-row { display: flex; gap: 38px; flex-wrap: wrap; margin-top: 36px; }
.trust-row div { font-size: .9rem; color: var(--muted); font-weight: 300; }
.trust-row strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; color: var(--teal-900); letter-spacing: .5px; }

/* ---------- Trust badges ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--sand-200); border-bottom: 1px solid var(--sand-200); }
.trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 34px; padding: 30px 24px; }
.badge-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink); }
.badge-item .ico { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100); }
.badge-item .ico svg { width: 21px; height: 21px; }
.badge-item strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.12rem; color: var(--teal-900); line-height: 1; }
.badge-item span { color: var(--muted); font-size: .78rem; font-weight: 300; }
.badge-divider { width: 1px; height: 38px; background: var(--sand-200); }
@media (max-width: 760px){ .badge-divider { display: none; } .trust-strip__inner { gap: 18px 24px; } }

.footer-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 10px; }
.footer-badges span { font-size: .8rem; color: #c8c3b4; display: inline-flex; align-items: center; gap: 7px; font-weight: 300; }
.footer-badges svg { width: 15px; height: 15px; color: var(--clay); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--teal-100); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; font-weight: 300; }
.card-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--clay-dark); }
.card-more:hover { color: var(--teal-900); }
.pill-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 9px; }
.pill-list li { background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); border-radius: 999px; padding: 6px 16px; font-size: .82rem; font-weight: 500; }

/* ---------- Approach / steps ---------- */
.approach { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
.approach__node { text-align: center; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 38px 26px; box-shadow: var(--shadow-sm); }
.approach__node .badge { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.6rem; color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* ---------- Detail blocks ---------- */
.treatment { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--sand-200); }
.treatment:last-child { border-bottom: 0; }
.treatment--flip .treatment__media { order: 2; }
.treatment__media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(160deg, var(--teal-100), var(--sand-200)); aspect-ratio: 5/4; }
.treatment__media svg { width: 100%; height: 100%; }
.treatment h3 { font-size: 1.8rem; }

/* ---------- Doctors / team ---------- */
.team-card { text-align: center; }
.team-card .avatar { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(160deg, var(--teal-500), var(--teal-900)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 2.4rem; box-shadow: 0 0 0 1px #fff, 0 0 0 5px var(--teal-100), 0 0 0 6px var(--clay), 0 12px 30px rgba(58,55,40,.16); }
.team-card .avatar img { object-position: center 18%; }
.team-card h3 { margin-bottom: .1em; }
.team-card .role { color: var(--clay-dark); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .9em; }

/* ---------- Quotes ---------- */
.quote { background: #fff; border: 1px solid var(--sand-200); border-top: 3px solid var(--clay); border-radius: var(--radius-sm); padding: 32px 34px; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-head); font-style: italic; font-size: 1.18rem; color: var(--teal-900); line-height: 1.5; }
.quote cite { font-style: normal; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--clay-dark); display: block; margin-top: 12px; }
.quote .stars { color: var(--clay); letter-spacing: 3px; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-sm); padding: 4px 26px; margin-bottom: 14px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--clay); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 400; font-size: 1.08rem; color: var(--teal-900); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--clay-dark); font-weight: 300; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; font-weight: 300; }

/* ---------- States served ---------- */
.states { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.state-chip { display: block; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 22px 30px; box-shadow: var(--shadow-sm); text-align: center; min-width: 158px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.state-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--clay); }
.state-chip strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; color: var(--teal-900); letter-spacing: .5px; }
.state-chip span { font-size: .82rem; color: var(--muted); font-weight: 300; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal-800), var(--teal-900)); color: #fff; text-align: center; padding: 88px 0; position: relative; }
.cta-band::before { content: ""; position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: 40px; height: 1px; background: var(--clay); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); font-weight: 300; max-width: 56ch; margin: 0 auto 1.8em; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-grid .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; color: var(--teal-900); display: block; margin-bottom: 7px; }
input, textarea, select { width: 100%; padding: 14px 16px; border: 1px solid var(--sand-200); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(157,77,54,.2); }

/* ---------- Disclaimer ---------- */
.disclaimer { background: var(--teal-50); border: 1px solid var(--teal-100); border-left: 3px solid var(--clay); border-radius: var(--radius-sm); padding: 22px 26px; font-size: .9rem; color: var(--muted); font-weight: 300; }
.disclaimer strong { color: var(--teal-900); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #ddd8cb; padding: 72px 0 32px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer a { color: #ddd8cb; }
.site-footer a:hover { color: var(--clay); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .9rem; font-weight: 300; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #b7b2a2; font-weight: 300; }
.social a { margin-right: 14px; font-size: .9rem; }

/* ---------- Page header ---------- */
.page-head { background: linear-gradient(180deg, var(--teal-50), var(--sand-100)); padding: 84px 0 70px; text-align: center; }
.page-head .lead { margin: 0 auto; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.article p { font-size: 1.06rem; font-weight: 300; }
.article h2 { margin-top: 1.7em; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-title { max-width: 60ch; }
.section-title.center { margin-left: auto; margin-right: auto; }

/* ---------- Newsletter ---------- */
.news-form { display: flex; gap: 12px; max-width: 480px; margin: 26px auto 0; }
.news-form input[type=email] { flex: 1; padding: 14px 16px; border: 1px solid var(--sand-200); border-radius: 999px; font: inherit; background: #fff; }
.news-form input[type=email]:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(157,77,54,.2); }
.news-form .btn { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { max-width: 420px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .approach { grid-template-columns: 1fr; }
  .treatment, .treatment--flip { grid-template-columns: 1fr; gap: 26px; }
  .treatment--flip .treatment__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__links { position: fixed; inset: 82px 0 auto 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--sand-200); padding: 10px 26px 22px; transform: translateY(-130%); transition: transform .25s ease; box-shadow: var(--shadow-md); }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--teal-50); }
  .nav__links a { display: block; padding: 15px 0; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .has-dropdown { position: static; }
  .dropdown-toggle { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; background: transparent; }
  .dropdown li a { padding: 15px 0 15px 16px; font-size: .96rem; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .news-form { flex-direction: column; }
}
