:root {
  --ink: #20251f;
  --muted: #687066;
  --surface: #fbf8f0;
  --surface-strong: #f1ebdc;
  --panel: #ffffff;
  --line: rgba(32, 37, 31, 0.14);
  --header-bg: rgba(251, 248, 240, 0.86);
  --header-bg-strong: rgba(251, 248, 240, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.45);
  --green: #315640;
  --green-dark: #1f3b2c;
  --deep: #1f3b2c;
  --button-text: #ffffff;
  --accent: #b98134;
  --accent-soft: #ead8bf;
  --danger: #7f3f2d;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --space: clamp(20px, 4vw, 56px);
}

:root[data-theme="dark"] {
  --ink: #f5f0e6;
  --muted: #b9c0b4;
  --surface: #101711;
  --surface-strong: #18251c;
  --panel: #172219;
  --line: rgba(245, 240, 230, 0.16);
  --header-bg: rgba(16, 23, 17, 0.84);
  --header-bg-strong: rgba(16, 23, 17, 0.96);
  --panel-soft: rgba(245, 240, 230, 0.06);
  --green: #8fb99a;
  --green-dark: #d7e7d4;
  --deep: #16261b;
  --button-text: #101711;
  --accent: #d1a35c;
  --accent-soft: #3a2d1e;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--line) calc(100% - 1px)),
    linear-gradient(180deg, transparent 0, transparent calc(100% - 1px), rgba(32, 37, 31, 0.04) calc(100% - 1px)),
    var(--surface);
  background-size: 92px 92px, 92px 92px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  transition: background-color 260ms ease, color 260ms ease;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent-soft);
}

.skip-link {
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 30;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: var(--header-bg-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  order: 4;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.theme-toggle {
  order: 3;
  min-width: 74px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: calc(92vh - 76px);
  padding-top: clamp(42px, 7vw, 88px);
  padding-bottom: clamp(34px, 5vw, 54px);
}

.hero::after {
  content: "Ayusaar";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: -0.18em;
  z-index: -1;
  color: var(--line);
  font-family: var(--font-display);
  font-size: clamp(5rem, 17vw, 18rem);
  line-height: 1;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 890px;
  margin-bottom: 14px;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.hero-text,
.hero-lede,
.section-heading p,
.intro-copy p,
.hospital-copy p,
.consult-copy p,
.footer p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.hero-actions,
.consult-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: var(--button-text);
}

.button.ghost {
  background: transparent;
  color: var(--green-dark);
}

.button.inverted {
  width: fit-content;
  margin-top: 30px;
  border-color: rgba(255, 255, 255, 0.34);
  background: #fff;
  color: #1f3b2c;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip dt {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.trust-strip dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 0 0 999px 999px;
  background: var(--surface-strong);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0 0 999px 999px;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.doctor-card {
  position: absolute;
  right: 22px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(310px, calc(100% - 44px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(16px);
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.doctor-card strong,
.doctor-card small {
  display: block;
}

.doctor-card small {
  color: var(--muted);
  font-size: 0.8rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.55fr;
  gap: var(--space);
  align-items: start;
  border-top: 1px solid var(--line);
}

.intro-copy h2 {
  max-width: 780px;
}

.quote-panel {
  padding-left: 28px;
  border-left: 1px solid var(--accent);
}

.quote-panel p {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.quote-panel span {
  color: var(--muted);
}

.hospital-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: var(--space);
  align-items: center;
  background: var(--deep);
  color: #fff;
}

.hospital-band .eyebrow,
.hospital-band p,
.hospital-band li {
  color: rgba(255, 255, 255, 0.78);
}

.hospital-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.hospital-image img {
  width: 100%;
  height: clamp(320px, 44vw, 560px);
  object-fit: cover;
}

.graphic-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: var(--space);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 42%, transparent), transparent 44%),
    var(--surface);
}

.botanical-orbit {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 460px;
  border: 1px solid var(--line);
  border-radius: 50%;
  justify-self: center;
}

.botanical-orbit::before,
.botanical-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.botanical-orbit::before {
  inset: 12%;
}

.botanical-orbit::after {
  inset: 25%;
  border-style: dashed;
}

.botanical-orbit span {
  position: absolute;
  width: 58px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 58px 0;
  background: color-mix(in srgb, var(--accent-soft) 54%, transparent);
  transform-origin: 50% 180px;
}

.botanical-orbit span:nth-child(1) {
  transform: rotate(10deg) translateY(-160px);
}

.botanical-orbit span:nth-child(2) {
  transform: rotate(102deg) translateY(-160px);
}

.botanical-orbit span:nth-child(3) {
  transform: rotate(194deg) translateY(-160px);
}

.botanical-orbit span:nth-child(4) {
  transform: rotate(286deg) translateY(-160px);
}

.botanical-orbit strong {
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 500;
}

.graphic-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(30px, 5vw, 64px);
}

.treatment-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.treatment-card,
.testimonial-grid figure {
  min-height: 250px;
  margin: 0;
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
  transition: background 200ms ease, transform 200ms ease;
}

.treatment-card:hover {
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  transform: translateY(-3px);
}

.treatment-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.treatment-card p,
.journey-step p,
.timeline p,
.testimonial-grid blockquote,
.testimonial-grid figcaption,
.faq p {
  color: var(--muted);
}

.journey-section {
  background: var(--surface-strong);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.journey-step {
  position: relative;
  min-height: 260px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.journey-step:last-child {
  border-right: 0;
}

.journey-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 72px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}

.credentials {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: var(--space);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 170px 0.75fr 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.certificate-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.certificate-row div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
}

.certificate-row strong,
.certificate-row span {
  display: block;
}

.certificate-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonials {
  background: color-mix(in srgb, var(--panel) 52%, var(--surface));
}

.testimonial-grid blockquote {
  margin: 0 0 34px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.18;
}

.testimonial-grid figcaption {
  font-size: 0.88rem;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: var(--space);
  align-items: start;
  background: var(--deep);
  color: #fff;
}

.consultation .eyebrow,
.consultation p {
  color: rgba(255, 255, 255, 0.78);
}

.consult-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.portal-grid {
  display: grid;
  gap: 14px;
}

.portal-card {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.portal-card:hover,
.portal-card:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.portal-card span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.portal-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
}

.portal-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.primary-portal {
  background: rgba(255, 255, 255, 0.16);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.social-grid a {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  text-decoration: none;
}

.social-grid span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.4;
}

.faq {
  padding-top: 40px;
}

.faq-list {
  max-width: 980px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 58px;
  padding: 20px 0;
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 900;
}

summary:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(185, 129, 52, 0.42);
  outline-offset: 3px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  gap: var(--space);
  padding: 54px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
}

.footer p,
.footer address,
.disclaimer p {
  color: var(--muted);
  font-style: normal;
}

.footer-brand {
  margin-bottom: 18px;
}

.floating-site-link {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 62px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--button-text);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 59, 44, 0.22);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .hospital-band,
  .graphic-band,
  .credentials,
  .consultation,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 440px;
  }

  .intro-grid {
    gap: 28px;
  }

  .quote-panel {
    padding-left: 18px;
  }

  .treatment-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-step {
    border-bottom: 1px solid var(--line);
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .certificate-row {
    grid-column: auto;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .theme-toggle {
    min-width: 58px;
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--header-bg-strong);
    box-shadow: 0 20px 40px rgba(32, 37, 31, 0.14);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.9rem);
  }

  .hero {
    padding-top: 46px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .botanical-orbit {
    max-width: 310px;
  }

  .botanical-orbit span {
    transform-origin: 50% 122px;
  }

  .botanical-orbit span:nth-child(1) {
    transform: rotate(10deg) translateY(-108px);
  }

  .botanical-orbit span:nth-child(2) {
    transform: rotate(102deg) translateY(-108px);
  }

  .botanical-orbit span:nth-child(3) {
    transform: rotate(194deg) translateY(-108px);
  }

  .botanical-orbit span:nth-child(4) {
    transform: rotate(286deg) translateY(-108px);
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    border-radius: var(--radius);
  }

  .hero-visual::before {
    border-radius: var(--radius);
  }

  .doctor-card {
    left: 16px;
    right: 16px;
    bottom: 18px;
    max-width: none;
  }

  .treatment-grid,
  .testimonial-grid,
  .journey,
  .certificate-row,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .journey-step,
  .journey-step:last-child {
    border-right: 0;
  }

  .journey-step span,
  .treatment-card span {
    margin-bottom: 30px;
  }

  .social-grid a,
  .treatment-card,
  .testimonial-grid figure {
    min-height: 0;
  }

  .floating-site-link {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
