/*
Theme Name: Sattva Ayurveda
Theme URI: https://example.com/sattva-ayurveda
Author: OpenAI
Description: A calm, responsive WordPress theme for an Ayurvedic wellness centre.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sattva-ayurveda
*/

:root {
  --forest: #244b3a;
  --forest-deep: #17392c;
  --sage: #8b9b74;
  --leaf: #dce5d2;
  --cream: #f7f5ed;
  --paper: #fffefa;
  --ink: #26342b;
  --muted: #68756a;
  --gold: #c58b4b;
  --line: #e6e5dc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.site-shell { overflow: hidden; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 23px; height: 1px; background: var(--gold); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 6.3vw, 82px); line-height: 1.04; }
h2 { margin-bottom: 18px; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; }
h3 { margin-bottom: 11px; font-size: 25px; line-height: 1.2; }
.text-lead { color: var(--muted); font-size: 17px; line-height: 1.8; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 25px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--forest-deep); color: #fff; }
.button svg { width: 16px; height: 16px; }
.button--light { border-color: #fff; background: transparent; color: #fff; }
.button--light:hover, .button--light:focus-visible { background: #fff; color: var(--forest); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: 13px; font-weight: 750; text-decoration: none; }
.text-link::after { content: "↗"; font-size: 18px; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(3px, -3px); }

.site-header { position: relative; z-index: 5; background: var(--paper); }
.header-inner { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #c8d1c1; border-radius: 50%; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: -.04em; }
.brand-note { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.primary-navigation ul { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin: 0; padding: 0; list-style: none; }
.primary-navigation a { color: #435248; font-size: 12px; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--gold); }
.header-cta { min-height: 45px; padding-inline: 19px; font-size: 12px; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; min-height: 640px; align-items: center; background: #e9e9dc; }
.hero-image { position: absolute; inset: 0 0 0 43%; background: linear-gradient(90deg, #f3f0e7 0%, rgba(243,240,231,.72) 12%, rgba(243,240,231,0) 48%), url("assets/images/therapy.jpg") center 48% / cover no-repeat; }
.hero::after { position: absolute; inset: auto 0 0; height: 100px; background: linear-gradient(0deg, rgba(28,48,36,.2), transparent); content: ""; pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(580px, 55%); padding-block: 96px 118px; }
.hero h1 { max-width: 580px; color: var(--forest-deep); }
.hero h1 em { color: var(--sage); font-weight: 400; }
.hero .text-lead { max-width: 465px; margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-note { position: absolute; right: 4.2%; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 11px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; text-shadow: 0 1px 8px #273a2b; }
.hero-note::before { width: 32px; height: 1px; background: #fff; content: ""; }

.trust-strip { position: relative; z-index: 2; background: var(--forest); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 102px; align-items: center; }
.trust-item { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid rgba(255,255,255,.2); }
.trust-item:last-child { border: 0; }
.trust-icon { display: grid; width: 35px; height: 35px; place-items: center; color: #dfc59c; }
.trust-icon svg { width: 25px; height: 25px; }
.trust-item span:last-child { font-family: var(--serif); font-size: 17px; }

.section { padding-block: 116px; }
.about-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(50px, 8vw, 112px); }
.about-visual { position: relative; min-height: 510px; }
.about-photo { position: absolute; inset: 0 46px 42px 0; overflow: hidden; background: url("assets/images/hero-spa.jpg") center / cover no-repeat; }
.about-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,52,39,.2), transparent 50%); content: ""; }
.about-badge { position: absolute; right: 0; bottom: 0; display: grid; width: 172px; height: 172px; align-content: center; justify-items: center; padding: 20px; border: 8px solid var(--paper); border-radius: 50%; background: var(--forest); color: #fff; text-align: center; }
.about-badge strong { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; }
.about-badge span { max-width: 105px; margin-top: 9px; color: #e4e6d9; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.about-copy h2 { margin-top: 19px; }
.about-copy .text-lead { margin-bottom: 27px; }
.about-copy p:not(.text-lead) { max-width: 525px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-copy .text-link { margin-top: 9px; }

.services-section { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 47px; }
.section-heading h2 { max-width: 600px; margin: 16px 0 0; }
.section-heading > p { max-width: 365px; margin-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 295px; padding: 29px 25px 27px; border: 1px solid #e3e1d7; background: rgba(255,255,255,.65); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); background: var(--paper); box-shadow: 0 18px 45px rgba(34,58,43,.08); }
.service-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 31px; border-radius: 50%; background: #e5eadc; color: var(--forest); }
.service-icon svg { width: 25px; height: 25px; }
.service-card h3 { font-size: 22px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.approach { position: relative; padding-block: 105px; background: var(--forest-deep); color: #fff; }
.approach::before { position: absolute; top: -50px; right: 8%; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; }
.approach .eyebrow { color: #e2c89d; }
.approach h2 { max-width: 640px; margin-top: 17px; color: #fff; }
.approach-intro { max-width: 590px; margin-bottom: 48px; color: #c4d0c4; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.step { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.step-number { display: block; margin-bottom: 21px; color: #d7bd93; font-family: var(--serif); font-size: 20px; }
.step h3 { color: #fff; font-size: 24px; }
.step p { max-width: 300px; margin-bottom: 0; color: #c4d0c4; font-size: 13px; line-height: 1.8; }

.quote-section { padding-block: 110px; background: #f6f2e8; text-align: center; }
.quote-mark { margin-bottom: 14px; color: var(--gold); font-family: var(--serif); font-size: 60px; line-height: .8; }
.quote-section blockquote { max-width: 780px; margin: 0 auto 20px; color: var(--forest-deep); font-family: var(--serif); font-size: clamp(27px, 3.2vw, 42px); line-height: 1.3; }
.quote-section p { margin-bottom: 0; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

.visit { position: relative; padding-block: 100px; overflow: hidden; background: #dfe5d6; }
.visit::after { position: absolute; top: -100px; right: -80px; width: 380px; height: 380px; border: 1px solid rgba(36,75,58,.15); border-radius: 50%; box-shadow: 0 0 0 35px rgba(36,75,58,.035), 0 0 0 70px rgba(36,75,58,.025); content: ""; }
.visit-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.visit h2 { max-width: 680px; margin: 16px 0 12px; color: var(--forest-deep); }
.visit p { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 14px; }

.site-footer { padding-top: 64px; background: #17392c; color: #fff; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 45px; padding-bottom: 47px; }
.footer-brand { color: #fff; }
.footer-brand .brand-note { color: #c3cec2; }
.footer-summary { max-width: 310px; margin: 18px 0 0; color: #c3cec2; font-size: 13px; }
.footer-links { display: flex; gap: clamp(25px, 5vw, 62px); }
.footer-group h3 { margin: 0 0 16px; color: #e2c89d; font-family: var(--sans); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.footer-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-group a { color: #e0e6de; font-size: 12px; text-decoration: none; }
.footer-group a:hover { color: #e2c89d; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #b7c4b8; font-size: 10px; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 560px; text-align: right; }

.content-page { min-height: 50vh; padding-block: 80px 110px; }
.content-page h1 { font-size: clamp(40px, 5vw, 64px); }
.content-page .entry-content { max-width: 820px; }
.content-page .entry-content a { color: var(--forest); }
.content-page .entry-content img { border-radius: 3px; }
.page-intro { max-width: 740px; margin-block: 34px 62px; }
.page-intro p:not(.text-lead) { color: var(--muted); line-height: 1.85; }
.page-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 55px 0; }
.page-values section { padding-top: 21px; border-top: 1px solid var(--line); }
.page-values h2 { margin: 19px 0 11px; font-size: 30px; }
.page-values p, .contact-copy > p:not(.text-lead), .contact-note p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 8vw, 100px); margin-top: 34px; }
.contact-copy .text-lead { font-size: 18px; }
.contact-note { margin-top: 35px; padding: 23px 26px; background: var(--cream); }
.contact-note h2 { margin-bottom: 10px; font-size: 25px; }
.contact-note p { margin: 0; }
.contact-form-wrap { padding: 30px; border: 1px solid var(--line); background: #fff; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { margin-top: 6px; color: var(--forest-deep); font-size: 12px; font-weight: 700; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #d6d9d0; border-radius: 0; background: #fffefa; color: var(--ink); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; margin-top: 11px; cursor: pointer; }
.form-footnote { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
.form-notice { margin-bottom: 20px; padding: 12px 15px; font-size: 13px; }
.form-notice--success { background: #e8f2e5; color: #234b36; }
.form-notice--error { background: #f9e9e5; color: #8a3026; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 14px 20px; background: #fff; clip: auto; color: var(--forest); }

@media (max-width: 980px) {
  .header-inner { min-height: 78px; }
  .primary-navigation ul { gap: 18px; }
  .header-cta { display: none; }
  .hero { min-height: 610px; }
  .hero-content { width: 62%; }
  .hero-image { left: 38%; }
  .about-grid { gap: 55px; }
  .about-visual { min-height: 430px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .container { width: min(100% - 36px, 560px); }
  .header-inner { position: relative; min-height: 74px; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--forest); cursor: pointer; }
  .menu-toggle svg { width: 21px; height: 21px; }
  .primary-navigation { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; padding: 12px 18px 19px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 22px rgba(35,55,42,.08); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation li { border-bottom: 1px solid var(--line); }
  .primary-navigation li:last-child { border: 0; }
  .primary-navigation a { display: block; padding: 12px 0; }
  .hero { min-height: 740px; align-items: end; background: var(--cream); }
  .hero-image { inset: 0 0 auto; height: 350px; background-image: linear-gradient(0deg, var(--cream), transparent 43%), url("assets/images/therapy.jpg"); background-position: center; }
  .hero-content { width: 100%; padding-block: 365px 58px; }
  .hero h1 { max-width: 480px; font-size: clamp(45px, 12vw, 68px); }
  .hero .text-lead { font-size: 15px; }
  .hero-note { right: 18px; bottom: auto; top: 18px; font-size: 9px; }
  .trust-inner { grid-template-columns: 1fr; padding-block: 14px; }
  .trust-item { min-height: 58px; justify-content: flex-start; padding-left: 10%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .trust-item:last-child { border: 0; }
  .section { padding-block: 76px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-values { grid-template-columns: 1fr; gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 27px; }
  .contact-form-wrap { padding: 21px; }
  .about-visual { min-height: 390px; }
  .about-photo { inset: 0 37px 32px 0; }
  .about-badge { width: 144px; height: 144px; }
  .about-badge strong { font-size: 26px; }
  .section-heading { display: block; margin-bottom: 31px; }
  .section-heading > p { margin: 18px 0 0; }
  .service-grid { gap: 11px; }
  .service-card { min-height: 265px; padding: 22px 18px; }
  .service-icon { margin-bottom: 21px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 12px; }
  .approach { padding-block: 76px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .step { padding-top: 17px; }
  .step-number { margin-bottom: 12px; }
  .quote-section { padding-block: 76px; }
  .visit { padding-block: 75px; }
  .visit-inner { display: block; }
  .visit .button { margin-top: 25px; }
  .footer-top { display: block; padding-bottom: 35px; }
  .footer-links { justify-content: space-between; margin-top: 34px; gap: 20px; }
  .footer-bottom { display: block; }
  .disclaimer { margin-top: 10px !important; text-align: left; }
}
@media (max-width: 390px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-links { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
