/* ==========================================================================
   Sahaj Therapy — site stylesheet
   One stylesheet for every page. No framework.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #264796;
  --navy-dark: #1a3e92;
  --teal: #1db0d0;
  --blue: #0096ff;
  --blue-dark: #0077cc;
  --sky: #a7c7e7;
  --mist: #d7edf2;
  --orange: #f08535;
  --whatsapp: #25d366;

  --ink: #1f2a37;
  --text: #3b4553;
  --muted: #6b7684;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
  --shadow-lg: 0 20px 40px rgba(20, 40, 80, 0.12);

  --container: 1140px;
  --gutter: 20px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.text-center { text-align: center; }
.text-primary { color: var(--blue); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 150, 255, 0.25);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.925rem;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: var(--surface-alt);
  color: var(--ink);
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand img {
  width: 110px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav-list li + li {
  margin-top: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.has-dropdown.is-current > .nav-link {
  color: var(--blue);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.dropdown li + li {
  margin-top: 0;
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.dropdown a:hover,
.dropdown a[aria-current="page"] {
  background: var(--surface-alt);
  color: var(--blue);
}

.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.has-dropdown.is-open > .nav-link .chevron {
  transform: rotate(180deg);
}

@media (hover: hover) and (min-width: 992px) {
  .has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 32px;
    background: #fff;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-dropdown.is-open > .dropdown {
    display: block;
  }

  .site-nav .btn {
    width: 100%;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--light {
  background: var(--surface-alt);
}

.section--mist {
  background: var(--mist);
}

.section + .section--light,
.section--light + .section--light {
  border-top: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow-title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.eyebrow-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose ul li::marker {
  color: var(--teal);
}

/* Line with a dot on the left, used under section headings */
.divider-dot {
  position: relative;
  max-width: 320px;
  height: 2px;
  margin: 24px auto;
  background: #707070;
}

.divider-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  transform: translate(-50%, -50%);
}

/* ---------- Grid helpers ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 991.98px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599.98px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Split section (text + image) ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

.split--top {
  align-items: start;
}

.split--wide-text {
  grid-template-columns: 7fr 5fr;
}

.split--wide-media {
  grid-template-columns: 5fr 7fr;
}

.split--narrow-media {
  grid-template-columns: 3fr 9fr;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 767.98px) {
  .split,
  .split--wide-text,
  .split--wide-media,
  .split--narrow-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* On phones always show the text first, then the image */
  .split__media {
    order: 2;
  }
}

/* ---------- Cards ---------- */

.card {
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card > :last-child {
  margin-bottom: 0;
}

.card h3 {
  margin-bottom: 10px;
}

.service-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-alt);
}

.service-card .card__body {
  padding: 22px 22px 26px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.info-box {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.info-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

.info-box > :last-child {
  margin-bottom: 0;
}

/* ---------- Home: hero carousel ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: #f4f1ec;
}

.hero__track {
  display: grid;
}

.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__image {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: right center;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero__text {
  max-width: 560px;
  color: var(--ink);
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 0.9rem + 1.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  color: #333;
}

.hero__accent {
  color: var(--orange);
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero__strong {
  color: #111;
  font-size: 1.6em;
  font-weight: 800;
}

.hero__brand {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

.hero__disclaimer {
  margin: 0 0 20px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #333;
}

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero__controls > * {
  pointer-events: auto;
}

.hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
}

.hero__dots {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: width 0.25s, background-color 0.25s;
}

.hero__dot[aria-current="true"] {
  width: 26px;
  background: var(--blue);
}

@media (max-width: 991.98px) {
  .hero__text {
    max-width: 440px;
  }

  .hero__disclaimer {
    display: none;
  }
}

/* Phones: image on top, text below it */
@media (max-width: 767.98px) {
  .hero__image {
    aspect-ratio: 16 / 10;
    object-position: 85% center;
  }

  .hero__content {
    position: static;
    padding: 24px 0 64px;
    background: #fff;
  }

  .hero__text {
    max-width: none;
  }

  .hero__disclaimer {
    display: block;
  }

  .hero__controls {
    bottom: 16px;
  }
}

/* ---------- Home: CTA intro ---------- */

.cta-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-intro p {
  font-size: 1.05rem;
  color: var(--muted);
}

.banner-animation {
  max-width: 1000px;
  margin: 0 auto;
}

.banner-animation lottie-player {
  display: block;
  width: 100%;
  aspect-ratio: 1500 / 601;
}

/* "Our Technology" tab-style heading */
.tab-heading {
  display: inline-block;
  margin: 0;
  padding: 12px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-top: 3px solid var(--navy);
  border-radius: 10px 10px 0 0;
  color: var(--navy);
  font-size: 1.3rem;
}

.tab-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.tab-panel > :last-child {
  margin-bottom: 0;
}

/* ---------- Contact banner (home) ---------- */

.contact-banner {
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background: url("../images/contact-bg.svg") no-repeat center top / cover, var(--mist);
  text-align: center;
}

.contact-banner h2 {
  color: var(--blue);
}

.contact-banner__line {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
}

.contact-banner .btn {
  margin-top: 32px;
}

/* ---------- About ---------- */

.about-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.about-intro__box {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow-lg);
}

.about-intro__box h1 {
  color: var(--navy);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.2rem);
}

.about-intro__subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: #333;
}

.about-intro__media {
  margin-left: -50px;
  margin-top: -40px;
}

.about-intro__media img {
  width: 100%;
  border-radius: 5px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 991.98px) {
  .about-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-intro__media {
    margin: 32px 0 0;
  }
}

.about-highlight {
  text-align: center;
}

.about-highlight__title {
  color: var(--teal);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.about-highlight__kicker {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-highlight__sub {
  margin: 12px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.about-highlight__lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
  padding: 56px 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
}

.page-banner h1 {
  margin: 0;
  color: #fff;
}

.page-banner--plain {
  background: #f3f3f3;
}

.page-banner--plain h1 {
  color: #000;
  text-align: center;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #eaf6fb 0%, #f4f9ff 100%);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.cta-band .btn {
  margin-top: 20px;
}

.cta-band--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cta-band--link:hover {
  color: inherit;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cta-band--link p {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Testimonials: YouTube facades ---------- */

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.video-card:hover img {
  opacity: 0.85;
}

.video-card__title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 28px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.faq summary .vertical {
  transition: opacity 0.2s;
}

.faq details[open] summary .vertical {
  opacity: 0;
}

.faq details > div {
  padding: 0 4px 20px;
  color: var(--muted);
}

.faq details > div > :last-child {
  margin-bottom: 0;
}

/* ---------- Forms ---------- */

.form-page {
  max-width: 720px;
  margin: 0 auto;
}

.form-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card--narrow {
  max-width: 420px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-grid .field--full {
  grid-column: 1 / -1;
}

@media (max-width: 599.98px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card {
    padding: 24px 20px;
  }
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.925rem;
  font-weight: 600;
}

.field .required {
  margin-left: 4px;
  color: #d93025;
}

.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-control {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.18);
}

select.form-control {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.form-actions--block .btn {
  width: 100%;
}

.form-success {
  padding: 48px 32px;
  text-align: center;
}

.form-success svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #28a745;
}

.form-success[hidden],
.lead-form[hidden] {
  display: none;
}

.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: grid;
  gap: 10px;
  max-width: calc(100vw - 40px);
}

.toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.toast--success { background: #28a745; }
.toast--error { background: #dc3545; }

.toast button {
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.25rem;
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 767.98px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.address-card {
  font-style: normal;
  line-height: 1.8;
}

.address-card h2 {
  display: flex;
  gap: 10px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.address-card svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue);
}

.address-card .address-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

/* ---------- Evidence ---------- */

.evidence-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--mist);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.evidence-card img {
  width: 100%;
  border-radius: 10px;
}

.evidence-card h2 {
  margin: 20px 0 10px;
  font-size: 1rem;
  color: var(--navy-dark);
}

.evidence-card a {
  margin-top: auto;
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.evidence-card a:hover {
  text-decoration: underline;
}

/* ---------- Legal / long-form text ---------- */

.legal {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  padding: 28px 32px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--orange);
}

.legal-header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
}

.legal-body {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

.legal-body h2 {
  margin-top: 2em;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.legal-body ol {
  padding-left: 1.5em;
}

.legal-body ol ol {
  margin-top: 0.5em;
  list-style-type: lower-alpha;
}

@media (max-width: 599.98px) {
  .legal-header,
  .legal-body {
    padding: 22px 18px;
  }
}

/* ---------- Booklet ---------- */

.booklet {
  display: grid;
  gap: 40px;
}

.booklet__frame {
  width: 100%;
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.booklet a {
  display: inline-block;
  margin-top: 10px;
}

/* ---------- Error / empty pages ---------- */

.error-page {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.error-page img {
  max-width: 320px;
  margin: 0 auto 24px;
}

.error-page .btn {
  margin-top: 16px;
}

/* ---------- Sitemap ---------- */

.sitemap-list {
  columns: 2;
  column-gap: 48px;
  list-style: none;
  padding: 0;
}

.sitemap-list li {
  break-inside: avoid;
  margin: 0 0 12px;
}

@media (max-width: 599.98px) {
  .sitemap-list {
    columns: 1;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 16px;
  padding-top: 56px;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url("../images/footer-bg.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sky);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 2.5fr 2.5fr;
  gap: 40px;
}

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

.footer-logo {
  width: 190px;
  margin-bottom: 24px;
}

.footer-about p {
  font-size: 0.95rem;
}

.footer-heading {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.1rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.social-links li + li {
  margin-top: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-disclaimer {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  margin-top: 24px;
  padding: 14px var(--gutter);
  background: var(--sky);
  color: var(--ink);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- Floating contact buttons ---------- */

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.float-btn:hover {
  transform: scale(1.06);
}

.float-btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.float-btn--whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.float-btn--call {
  padding: 8px;
  background: #fff;
}

.float-btn--call img {
  width: 100%;
  height: 100%;
}

@media (max-width: 599.98px) {
  .float-actions {
    right: 12px;
    bottom: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn--whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Page-specific details ---------- */

.knee-figures {
  margin-top: 40px;
  align-items: center;
}

.knee-figures img {
  padding: 0 30px;
}

.knee-reasons-title {
  margin-bottom: 0;
  color: var(--teal);
  text-align: center;
}

.form-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Spacing utilities ---------- */

.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.pt-0 { padding-top: 0; }
