/* ============================================================
   Institute for Ayurvedic & Naturopathic Therapies
   Shared design system — calm & natural
   ============================================================ */

:root {
  --green-900: #2f4031;
  --green-700: #4a6b4d;
  --green-600: #5b7d5e;
  --green-500: #6f9272;
  --green-100: #e7efe6;
  --green-50:  #f3f7f1;
  --sand-100:  #f6f1e7;
  --sand-200:  #ece3d2;
  --terracotta:#c47b54;
  --terracotta-dark:#a8603c;
  --ink:       #2c2c28;
  --muted:     #5f6660;
  --white:     #ffffff;
  --shadow-sm: 0 2px 8px rgba(47,64,49,.06);
  --shadow-md: 0 10px 30px rgba(47,64,49,.10);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1140px;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -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.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: .2px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; color: var(--ink); }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--terracotta-dark);
  margin: 0 0 .8em;
}

.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }

.section { padding: 84px 0; }
.section--tint { background: var(--green-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: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-500); }
.btn--ghost:hover { background: var(--green-100); color: var(--green-900); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.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: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sand-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 52px; height: 52px; flex: 0 0 auto; display: block; object-fit: contain; }
.brand__name { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; color: var(--green-900); line-height: 1.12; }
.nav__links { display: flex; align-items: center; gap: 17px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .88rem; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: var(--green-700); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { padding: 10px 20px; border-radius: 8px; font-size: .88rem; }

/* Dropdown grouping */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer; font-family: inherit;
  color: var(--ink); font-weight: 500; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 5px; padding: 0;
}
.has-dropdown:hover .dropdown-toggle, .dropdown-toggle:hover, .dropdown-toggle.active { color: var(--green-700); }
.dropdown-toggle .caret { font-size: .62rem; 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% + 14px); right: 0; min-width: 196px;
  background: #fff; border: 1px solid var(--sand-200); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; 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: 9px 12px; border-radius: 8px; font-size: .9rem; white-space: nowrap; color: var(--ink); }
.dropdown li a:hover, .dropdown li a.active { background: var(--green-50); color: var(--green-700); }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; color: var(--green-900);
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(243,247,241,.4), rgba(246,241,231,.7)),
    radial-gradient(1200px 500px at 75% -10%, var(--green-100), transparent);
  padding: 86px 0 76px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--terracotta-dark); }
.hero .lead { margin-bottom: 1.8em; }
.hero__art {
  aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--green-100), var(--sand-200));
  box-shadow: var(--shadow-md); position: relative;
}
.hero__art svg { width: 100%; height: 100%; }

.trust-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.trust-row div { font-size: .92rem; color: var(--muted); }
.trust-row strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--green-900); }

/* ---------- 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: 14px 28px; padding: 26px 24px;
}
.badge-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--ink);
}
.badge-item .ico {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-700);
}
.badge-item .ico svg { width: 22px; height: 22px; }
.badge-item strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--green-900); line-height: 1; }
.badge-item span { color: var(--muted); font-size: .8rem; }
.badge-divider { width: 1px; height: 38px; background: var(--sand-200); }
@media (max-width: 760px){ .badge-divider { display: none; } .trust-strip__inner { gap: 18px 22px; } }

/* footer trust row */
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 8px; }
.footer-badges span { font-size: .82rem; color: #b9c8b8; display: inline-flex; align-items: center; gap: 7px; }
.footer-badges svg { width: 15px; height: 15px; color: #d8b08c; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.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: 32px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

.card-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--green-700); }
.card-more:hover { color: var(--terracotta-dark); }
.pill-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  background: var(--green-50); border: 1px solid var(--green-100);
  color: var(--green-700); border-radius: 999px;
  padding: 5px 14px; font-size: .85rem; font-weight: 500;
}

/* ---------- Integration / approach diagram ---------- */
.approach { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.approach__node {
  text-align: center; background: #fff; border: 1px solid var(--sand-200);
  border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm);
}
.approach__node .badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-family: var(--font-head);
  font-size: 1.6rem; color: #fff;
}

/* ---------- Treatment detail blocks ---------- */
.treatment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 46px 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(--green-100), var(--sand-200));
  aspect-ratio: 5/4;
}
.treatment__media svg { width: 100%; height: 100%; }
.treatment h3 { font-size: 1.7rem; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(160deg, var(--green-500), var(--green-900));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 2.4rem;
}
.team-card h3 { margin-bottom: .1em; }
.team-card .role { color: var(--terracotta-dark); font-weight: 600; font-size: .92rem; margin-bottom: .8em; }

/* ---------- Locations ---------- */
.loc-card { padding: 0; overflow: hidden; }
.loc-card__map { aspect-ratio: 16/9; width: 100%; border: 0; filter: saturate(.9); }
.loc-card__body { padding: 26px 28px; }
.loc-card .tag {
  display: inline-block; background: var(--terracotta); color: #fff;
  font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; font-weight: 600;
}
.loc-card .tag--est { background: var(--green-700); }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm); padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.quote p { font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 600; color: var(--green-900); display: block; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius-sm);
  padding: 4px 24px; margin-bottom: 14px;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--green-900);
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--terracotta); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 1.6em; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .9rem; color: var(--green-900); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--green-500); border-color: transparent; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter input { flex: 1; }
@media (max-width: 480px){ .newsletter { flex-direction: column; } }

/* ---------- Forms download cards ---------- */
.form-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 34px; }
.form-card {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.form-card .fc-ico { width: 46px; height: 46px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: 0 0 auto; }
.form-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.form-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.form-card .fc-link { margin-left: auto; }
@media (max-width: 640px){ .form-cards { grid-template-columns: 1fr; } .form-card { flex-wrap: wrap; } .form-card .fc-link { margin-left: 0; width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d8e2d6; padding: 60px 0 30px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #d8e2d6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: #9fb3a0;
}
.social a { margin-right: 14px; font-size: .9rem; }

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

/* ---------- 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; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .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: 24px; }
  .treatment--flip .treatment__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--sand-200);
    padding: 10px 24px 20px; 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(--green-50); }
  .nav__links a { display: block; padding: 14px 0; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  /* Dropdown becomes inline list on mobile */
  .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: 14px 0 14px 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: 60px 0; }
}
