/* ============================================================
   CHLMD Static Site — style.css
   ============================================================ */

/* ── Fonts ──────────────────────────────────────────────────── */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --color-primary: #1d1f4c;
  --color-accent:  #4774e9;
  --color-base:    #1d1d1d;
  --color-light:   #ffffff;
  --color-gray:    #e9ebef;
  --color-gray-lt: #fafafa;

  --font: "Montserrat", Arial, sans-serif;

  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  40px;
  --radius-pill: 999px;

  --shadow: 0 0 40px -10px rgba(0,0,0,.10);

  --navbar-h: 90px;

  --stack-top:    8px;
  --stack-offset: 64px;

  --max-w: 1400px;
  --max-w-text: 90ch;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-base);
  background: var(--color-gray-lt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
.heading-h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
}
.heading-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}
.heading-h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}
.heading-h5 { font-size: .875rem; font-weight: 700; line-height: 1.2; }
.text-medium { font-size: 1.125rem; line-height: 1.6; }
.text-small  { font-size: .875rem; line-height: 1.5; }
.text-accent { color: var(--color-accent); }
.text-semibold { font-weight: 600; }
.title-small {
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.align-center { text-align: center; }
.max-width-large { max-width: 70ch; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-height: 48px;
  padding: 0 2.5em;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-light);
}
.btn--primary:hover {
  background: var(--color-gray-lt);
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--light {
  background: var(--color-light);
  color: var(--color-base);
  border-color: rgba(0,0,0,.1);
}
.btn--light:hover {
  background: var(--color-gray-lt);
}
.btn--ghost {
  background: var(--color-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn--ghost:hover {
  background: var(--color-accent);
  color: var(--color-light);
  transform: scale(1.04);
}
.btn--icon-right {
  justify-content: space-between;
  padding-left: 2em;
  padding-right: .5em;
}
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  border-radius: var(--radius-pill);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 8px;
}

/* ── Page wrapper ───────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  max-width: 100vw;
  min-height: 100vh;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--color-light);
  border-radius: var(--radius-sm);
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--navbar-h);
  padding: 8px 16px;
  box-shadow: var(--shadow);
}
.navbar__logo img { height: 48px; width: auto; }

.navbar__menu {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: auto;
}
.navbar__links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}
.nav-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 .75rem;
  font-size: .875rem;
  white-space: nowrap;
  transition: color .2s;
}
.nav-link:hover { color: var(--color-primary); }
.nav-link.active { color: var(--color-primary); font-weight: 700; }
.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,.1);
  flex-shrink: 0;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown__toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: 0 .75rem;
  font-size: .875rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--color-light);
  transition: color .2s;
  white-space: nowrap;
}
.dropdown__toggle:hover { color: var(--color-primary); }
.dropdown__toggle[aria-expanded="true"] { filter: drop-shadow(rgba(0,0,0,.1) 0px 0px 1px); }
.dropdown__chevron { transition: transform .2s; }
.dropdown__toggle[aria-expanded="true"] .dropdown__chevron { transform: rotate(180deg); }

.dropdown__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
}
.dropdown__list--wide { min-width: 240px; }
.dropdown__list.is-open { display: flex; flex-direction: column; }
.dropdown__link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: .85rem;
  border-radius: 8px;
  transition: color .16s, background .16s;
  white-space: nowrap;
}
.dropdown__link:hover { color: var(--color-accent); background: var(--color-gray-lt); }
.dropdown__link--bold { font-weight: 600; }
.dropdown__group-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.4);
  padding: 8px 16px 2px;
}

.navbar__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-pill);
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-base);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.navbar__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scrolled state */
.navbar.is-scrolled .navbar__inner { box-shadow: 0 2px 30px rgba(0,0,0,.15); }

/* ── Main wrapper ───────────────────────────────────────────── */
.main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  flex: 1;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10vh 40px;
  border-radius: var(--radius-md);
  min-height: 380px;
}
.hero__inner {
  max-width: var(--max-w-text);
  margin: 0 auto;
}
.hero__heading {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
}

/* ── Section base ───────────────────────────────────────────── */
.section {
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.section-card {
  background: var(--color-light);
  box-shadow: var(--shadow);
}

/* ── Stacked container ──────────────────────────────────────── */
.stacked-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 10;
}
.stacked-container .section-card {
  position: sticky;
  top: var(--stack-top);
}
.stacked-container .section-card + .section-card {
  margin-top: calc(var(--stack-offset) * -1);
}
.stacked-container .section-card:not(:last-child) {
  padding-bottom: calc(var(--stack-offset) + 16px);
}
.stacked-container .section-card:first-child {
  padding-bottom: calc(var(--stack-offset) + 16px);
}

/* ── About section ──────────────────────────────────────────── */
.section-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 580px;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.86), rgba(0,0,0,.1)),
    url("../images/1.webp");
  background-position: 0 0, 50% 25%;
  background-size: auto, cover;
  color: var(--color-light);
  padding-top: 32px;
  padding-bottom: 32px;
}
.section__header {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding-bottom: 1.25rem;
  position: relative;
}
.section__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: .25;
}
.section__label {
  font-size: .875rem;
  letter-spacing: .1em;
}
.section__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: .5rem;
}

/* ── Treatments header ──────────────────────────────────────── */
.treatments-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
  padding: 10vh 40px;
  background: none;
  box-shadow: none;
}
.wrapper-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-w-text);
  margin: 0 auto;
}
.heading-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Benefits (Treatments / Conditions cards) ───────────────── */
.section-benefits {
  display: flex;
  flex-direction: row;
  overflow: auto;
  padding: 0;
}
.benefits-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 0 30ch;
  padding: 32px;
}
.benefits-card__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.benefits-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  min-height: 9em;
}
.benefits-divider {
  width: 1px;
  background: rgba(0,0,0,.1);
  align-self: stretch;
  flex-shrink: 0;
}
.user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  align-self: stretch;
}
.user-actions--center { justify-content: center; }

/* ── Personalized plans ─────────────────────────────────────── */
.section-plans {
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 0;
  min-height: 600px;
}
.plans__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  justify-content: center;
  padding: 40px;
}
.plans__image {
  flex: 1;
  display: flex;
  overflow: hidden;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.plans__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
}
.rich-text ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.rich-text li { font-size: 1rem; line-height: 1.5; }

/* ── Testimonials ───────────────────────────────────────────── */
.section-testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 10vh 40px;
  min-height: 380px;
  align-items: center;
  text-align: center;
  background: none;
  box-shadow: none;
}
.testimonials__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.testimonial-card__stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: .1em;
}
.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--color-base);
}
.testimonial-card__author {
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary);
}

/* Swiper customization */
:root { --swiper-pagination-bullet-size: 12px; }
.swiper-pagination { margin-top: 1.5rem; position: static; }
.swiper { width: 100%; overflow: hidden; }
.swiper-wrapper { display: flex; }
.swiper-slide { padding: 8px; }

/* ── Banner CTA ─────────────────────────────────────────────── */
.section-banner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  min-height: 45vh;
  padding: 8px;
  background: none;
  box-shadow: none;
  align-items: stretch;
}
.banner__left {
  background: var(--color-primary);
  background-image:
    url("../images/training-siluete.svg"),
    radial-gradient(circle farthest-side at 100% 100%, var(--color-accent), transparent);
  background-position: 100% 0, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  color: var(--color-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-list {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow: auto;
}
.banner-item {
  background: var(--color-gray-lt);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  flex: 0 auto;
  max-width: 50ch;
  overflow: hidden;
}
.banner-item__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 32px;
  flex: 1;
}
.banner-item__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: auto;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--color-gray);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 30px 24px 24px;
}
.footer__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer__brand {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__logo img { height: 48px; width: auto; }
.footer__row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__map-col {
  flex: 0 0 340px;
  min-height: 280px;
}
.footer__map {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.footer__map iframe { border-radius: var(--radius-sm); }
.footer__links-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer__menus {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1 0 160px;
}
.footer__menu-title { font-weight: 600; font-size: .9rem; }
.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__link {
  font-size: .875rem;
  color: var(--color-base);
  transition: color .2s;
}
.footer__link:hover { color: var(--color-accent); }
.footer__divider {
  height: 1px;
  background: rgba(0,0,0,.1);
  width: 100%;
}
.footer__divider--inline {
  height: auto;
  width: 1px;
  min-height: 16px;
  align-self: center;
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 0 200px;
}
.footer__contact-details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__contact-item {
  display: flex;
  gap: .5rem;
  font-size: .875rem;
  flex-wrap: wrap;
}
.footer__contact-label { font-weight: 600; white-space: nowrap; }
.footer__bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: .5rem;
}
.footer__policy {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .375rem .5rem;
  padding: 10px 24px;
  font-size: .8125rem;
  color: rgba(0,0,0,.45);
  background: var(--color-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.breadcrumb a { color: var(--color-primary); transition: color .2s; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span[aria-hidden] { color: rgba(0,0,0,.25); }

/* ── Sub-page content layout ─────────────────────────────────── */
.content-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.content-body h2 { font-size: 1.25rem; font-weight: 600; color: var(--color-primary); }
.content-body p  { font-size: .9375rem; line-height: 1.75; }
.content-body ul {
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.content-body li { font-size: .9375rem; line-height: 1.6; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--color-gray-lt);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--color-gray);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.related-card:hover { border-color: var(--color-accent); box-shadow: 0 4px 16px rgba(71,116,233,.1); }
.related-card__label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }
.related-card__title { font-size: .9375rem; font-weight: 600; color: var(--color-primary); }
.related-card__desc  { font-size: .8125rem; line-height: 1.55; color: rgba(0,0,0,.55); }

/* ── Card-as-link (hub index pages) ────────────────────────── */
a.treatment-card,
a.condition-card {
  text-decoration: none;
  color: inherit;
}
.treatment-card__cta,
.condition-card__cta {
  margin-top: auto;
  padding-top: .625rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── Hub intro strip ────────────────────────────────────────── */
.hub-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}
.hub-intro__item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.hub-intro__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hub-intro__text {
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(0,0,0,.65);
}
@media (max-width: 767px) {
  .hub-intro { grid-template-columns: 1fr; }
}

/* ── Inner page hero (cover image) ─────────────────────────── */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-hero__overlay {
  position: relative;
  width: 100%;
  padding: 40px;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 100%);
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 420px;
  justify-content: flex-end;
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 70ch;
}

/* ── Mission layout (about-us) ───────────────────────────────── */
.mission-layout {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
}
.mission__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mission__image {
  flex: 1;
  min-height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mission__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Team ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-gray-lt);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.team-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  background: var(--color-gray);
}
.team-card__placeholder {
  width: 100%;
  height: 280px;
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.25);
  font-size: .875rem;
}
.team-card__body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 16px 20px 20px;
}
.team-card__name { font-size: 1rem; font-weight: 600; color: var(--color-primary); }
.team-card__role { font-size: .85rem; color: rgba(0,0,0,.55); }

/* ── Treatments grid ─────────────────────────────────────────── */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-top: 1.5rem;
}
.treatment-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-gray-lt);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--color-gray);
  transition: border-color .2s, box-shadow .2s;
}
.treatment-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(71,116,233,.1);
}
.treatment-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.treatment-card__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.treatment-card__title { font-size: 1.1rem; font-weight: 600; color: var(--color-primary); }
.treatment-card__desc { font-size: .9rem; line-height: 1.6; color: rgba(0,0,0,.65); }

/* ── Conditions grid ─────────────────────────────────────────── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
}
.condition-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--color-gray-lt);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--color-gray);
  transition: border-color .2s;
}
.condition-card:hover { border-color: var(--color-accent); }
.condition-card__title { font-size: 1rem; font-weight: 600; color: var(--color-primary); }
.condition-card__desc { font-size: .85rem; line-height: 1.6; color: rgba(0,0,0,.6); }

/* ── Contact / Booking ───────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  padding: 0;
  min-height: 600px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 40px;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.contact__info-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; opacity: .6; }
.contact__info-value { font-size: 1rem; font-weight: 500; }
.contact__info-value a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; transition: opacity .2s; }
.contact__info-value a:hover { opacity: 1; }
.contact__form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-label { font-size: .875rem; font-weight: 600; color: var(--color-primary); }
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--color-base);
  background: var(--color-light);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(71,116,233,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: .5rem; }
.form-status {
  font-size: .875rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-success { background: #d4edda; color: #155724; display: block; }
.form-status.is-error   { background: #f8d7da; color: #721c24; display: block; }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 6rem 40px;
  text-align: center;
  color: rgba(0,0,0,.45);
}
.empty-state p { font-size: 1.1rem; max-width: 40ch; }

/* ── Prose (privacy / terms) ─────────────────────────────────── */
.prose-content {
  max-width: 72ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.prose-content h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; color: var(--color-primary); }
.prose-content h2 { font-size: 1.25rem; font-weight: 600; color: var(--color-primary); margin-top: 1rem; }
.prose-content p  { font-size: .9375rem; line-height: 1.7; }
.prose-content ul {
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.prose-content li { font-size: .9375rem; line-height: 1.6; }
.prose-content a  { color: var(--color-accent); text-decoration: underline; }

/* ── 404 page ────────────────────────────────────────────────── */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  min-height: 55vh;
  padding: 4rem 40px;
}
.not-found__code {
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 200;
  line-height: 1;
  color: var(--color-gray);
}

/* ── Team preview (about-us) ─────────────────────────────────── */
.team-preview-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding-top: 1.5rem;
  max-width: 60ch;
}

/* ── Responsive ─────────────────────────────────────────────── */
/* ── Inner page responsive ───────────────────────────────────── */
@media (max-width: 991px) {
  .mission-layout { flex-direction: column; }
  .mission__image { min-height: 280px; width: 100%; }
  .contact-split { grid-template-columns: 1fr; }
  .contact__info { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .contact__form { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .form-row { grid-template-columns: 1fr; }
  .page-hero__overlay { min-height: 320px; }
  .page-hero { min-height: 320px; }
}

@media (max-width: 767px) {
  .treatments-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact__info, .contact__form { padding: 24px; }
  .page-hero__overlay { padding: 24px; }
}

@media (max-width: 479px) {
  .conditions-grid, .team-grid { grid-template-columns: 1fr; }
  .empty-state { padding: 4rem 24px; }
  .not-found { padding: 3rem 24px; }
}

@media (max-width: 991px) {
  .navbar__hamburger { display: flex; }
  .navbar__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--color-light);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 4px 40px rgba(0,0,0,.15);
    max-height: calc(100vh - 110px);
    overflow: auto;
    font-size: 1.25rem;
    font-weight: 200;
    z-index: 200;
  }
  .navbar__menu.is-open { display: flex; }
  .navbar__inner { position: relative; }
  .navbar__links { flex-direction: column; align-items: stretch; margin: 0 0 8px; }
  .nav-divider { width: 100%; height: 1px; }
  .nav-link { width: 100%; padding: .5rem 0; }
  .dropdown { width: 100%; }
  .dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    background: none;
    padding: .5rem 0;
    border-radius: 0;
  }
  .dropdown__list {
    position: static;
    box-shadow: none;
    background: var(--color-gray-lt);
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .navbar__actions { width: 100%; }
  .navbar__actions .btn { width: 100%; justify-content: center; }

  .section-plans { flex-direction: column; min-height: auto; }
  .plans__image { min-height: 300px; border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .plans__img { object-position: center 25%; }

  .section-banner { grid-template-columns: 1fr; }
  .banner-item { max-width: none; flex: 1; }

  .footer__row { flex-direction: column; }
  .footer__map-col { flex: 0 0 auto; min-height: 240px; }
}

@media (max-width: 767px) {
  .hero { padding: 8vh 24px; min-height: 280px; }
  .section { padding: 24px; }
  .section-benefits { flex-direction: column; }
  .benefits-divider { width: 100%; height: 1px; }
  .benefits-card__img { height: 240px; }
  .section-testimonials { padding: 6vh 24px; }
  .footer__menus { flex-direction: column; gap: 1.5rem; }
  .footer__contact { flex-direction: column; }
}

@media (max-width: 479px) {
  .stacked-container .section-card { position: static; }
  .stacked-container .section-card + .section-card { margin-top: 0; }
  .hero__heading { font-size: 1.75rem; }
  .plans__content { padding: 24px 16px; }
  .section-banner { padding: 8px; }
  .banner__left, .banner-item__content { padding: 24px 16px; }
  .footer { padding: 24px 16px; }
  .footer__menus { gap: 1rem; }
}
