/* =========================================================
   Thanu Suddhi — Ayurveda Clinic
   Design tokens: warm palm-leaf cream, deep forest green,
   laterite clay, turmeric gold. Signature motif: the
   kalasham (ritual brass pot with mango leaves), used as
   a hand-drawn line motif throughout.
   ========================================================= */

:root {
  --bg:        #F7F2E6;
  --bg-alt:    #EFE7D3;
  --sage:      #DEE6D3;
  --ink:       #2B2118;
  --ink-soft:  #55483A;
  --green:     #2F4A3D;
  --green-mid: #4B6B54;
  --clay:      #A15C39;
  --gold:      #C0923D;
  --border:    rgba(43, 33, 24, 0.14);
  --cream-card:#FFFCF5;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--bg);
}
.btn-primary:hover { background: var(--green-mid); }

.btn-ghost {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.btn-ghost:hover { background: var(--green); color: var(--bg); }

.btn-clay {
  background: var(--clay);
  color: var(--cream-card);
}
.btn-clay:hover { background: #8C4C2D; }

.btn-whatsapp {
  background: #25913F;
  color: #fff;
}
.btn-whatsapp:hover { background: #1E7A34; }
.btn-whatsapp svg { width: 19px; height: 19px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-status.show { display: block; }
.form-status.success { background: var(--sage); color: var(--green); }
.form-status.error { background: #F3DCD3; color: #8C4C2D; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark { width: 40px; height: 40px; color: var(--green); flex-shrink: 0; }
.brand-mark-img { height: 48px; width: auto; flex-shrink: 0; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  background: var(--cream-card);
  border-radius: 8px;
  padding: 6px 10px;
}
.logo-chip .brand-mark-img { height: 34px; }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green);
  line-height: 1;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 3px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
  border-color: var(--clay);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--green); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: block; }
  .nav-phone { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sage) 0%, var(--bg) 100%);
  padding: 84px 0 64px;
}

.hero-motif {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.14;
  color: var(--green);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.12rem; max-width: 46ch; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clay);
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-panel {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 20px 40px -20px rgba(47, 74, 61, 0.25);
}
.hero-panel h3 { margin-bottom: 16px; }
.hero-panel ul { margin: 0 0 22px; padding: 0; list-style: none; }
.hero-panel li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel li svg { width: 18px; height: 18px; color: var(--clay); flex-shrink: 0; margin-top: 2px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-sage { background: var(--sage); }

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 6px 0 46px;
  color: var(--clay);
  opacity: 0.7;
}
.divider svg { width: 64px; height: 24px; }

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -22px rgba(47,74,61,0.3); }

.card-icon {
  width: 46px;
  height: 46px;
  color: var(--green);
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--sage);
  color: var(--green);
}

/* ---------- Treatment list (detailed) ---------- */
.treatment-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}
.treatment-block:last-child { border-bottom: none; }
.treatment-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clay);
  border: 1.5px solid var(--clay);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 700px) {
  .treatment-block { grid-template-columns: 1fr; }
  .treatment-num { margin-bottom: 6px; }
}

/* ---------- Quote / message ---------- */
.quote-block {
  background: var(--green);
  color: var(--bg);
  border-radius: 12px;
  padding: 54px;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08), transparent 55%);
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.5;
  position: relative;
}
.quote-block cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  position: relative;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--clay);
  color: var(--cream-card);
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--cream-card); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,252,245,0.85); margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  color: rgba(247,242,230,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,242,230,0.18);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { color: var(--gold); width: 34px; height: 34px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.2rem; color: var(--bg); }

.site-footer h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: rgba(247,242,230,0.75); font-size: 0.92rem; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(247,242,230,0.6);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--sage);
  padding: 58px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--green); font-weight: 700; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--ink-soft); }

.info-strip {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}
.info-strip .item { display: flex; gap: 12px; align-items: flex-start; }
.info-strip svg { width: 22px; height: 22px; color: var(--clay); flex-shrink: 0; margin-top: 2px; }
.info-strip .item h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--green); }
.info-strip .item p { margin: 0; font-size: 0.88rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px;
}
.contact-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
}
.contact-card .row:last-child { border-bottom: none; }
.contact-card .row svg { width: 22px; height: 22px; color: var(--clay); flex-shrink: 0; margin-top: 2px; }
.contact-card .row h4 { margin: 0 0 4px; font-size: 0.95rem; }
.contact-card .row p { margin: 0; font-size: 0.92rem; }

.map-frame {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 26px;
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

form.enquiry { display: grid; gap: 16px; }
form.enquiry label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
form.enquiry input,
form.enquiry select,
form.enquiry textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
form.enquiry textarea { resize: vertical; min-height: 110px; }
form.enquiry .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.enquiry .two-col { grid-template-columns: 1fr; } }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--sage);
  padding: 12px 16px;
  border-radius: var(--radius);
}

/* ---------- Placeholder art blocks (used instead of stock photos) ---------- */
.art-block {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.art-block svg { width: 46%; height: 46%; color: rgba(47,74,61,0.5); }
.photo-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.art-1 { background: linear-gradient(135deg, #DCE6D2, #C7D6BA); }
.art-2 { background: linear-gradient(135deg, #EFE1C7, #E3CDA0); }
.art-3 { background: linear-gradient(135deg, #E7DAC9, #D8C0A5); }
