/* ============================================================
   PARAPPAT DENTAL CLINIC — Design System & Styles
   Heritage clinical aesthetic · Measured Gold · Cormorant Garamond
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --dark:        #0C1B33;
  --dark-mid:    #0F223D;
  --dark-soft:   #152F54;
  --navy:        #0C1B33;
  --gold:        #A78A5A;
  --gold-light:  #C0A068;
  --gold-dark:   #8E744A;
  --white:       #FFFFFF;
  --off-white:   #FAF9F6;
  --warm-grey:   #EAE8E2;
  --light-grey:  #F4F5F7;
  --text-dark:   #1A202C;
  --text-muted:  #5A6270;
  --text-on-dark:#E8EAEF;

  /* Flat Gold - Gradients Retired */
  --gold-gradient: var(--gold);
  --gold-text:     var(--gold);

  /* Typography */
  --font-brand:   'UnifrakturMaguntia', cursive;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Poppins', -apple-system, sans-serif;

  /* Spacing */
  --section-pad:  clamp(60px, 8vw, 120px);
  --container:    1200px;

  /* Transitions — intentional, not bouncy */
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Gold metallic text */
.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll Reveal (no generic fade-up) --- */
.reveal {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
}

/* Specific reveal variants — subtle, intentional */
.reveal--clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
.reveal--clip.is-visible {
  clip-path: inset(0 0 0 0);
}

.reveal--scale {
  transform: scale(0.97);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--scale.is-visible {
  transform: scale(1);
}

/* Gold line that extends from center on headings */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading__label::before,
.section-heading__label::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: var(--gold);
}

.section-heading__title {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--navy);
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 600;
}

.section-heading__line {
  display: none;
}

/* Dark section headings */
.section--dark .section-heading__title {
  color: var(--white);
}
.section--dark .section-heading__label {
  color: var(--gold-light);
}
.section--dark .section-heading__label::before,
.section--dark .section-heading__label::after {
  background-color: var(--gold-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(167, 138, 90, 0.15);
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav__logo {
  height: 44px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__brand-name {
  font-family: var(--font-brand);
  font-size: 24px;
  color: var(--gold);
  letter-spacing: -0.5px;
}

.nav__brand-tagline {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  opacity: 0.95;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
  left: 0;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link.active {
  color: var(--navy);
  font-weight: 600;
}

.nav__cta {
  display: inline-block;
  padding: 9px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.nav__cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-smooth);
  transform-origin: center;
}

.nav__toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 27, 51, 0.96) 0%,
    rgba(12, 27, 51, 0.75) 50%,
    rgba(12, 27, 51, 0.4) 100%
  );
}

@media (min-width: 769px) {
  .nav__brand-name {
    font-size: 36px;
  }
  .nav__logo {
    height: 66px;
  }
  .hero {
    display: flex;
    align-items: center;
    padding-top: 72px;
  }
  .hero__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 42.5%;
    height: 100%;
    z-index: 1;
  }
  .hero__bg img {
    opacity: 0.8;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .hero__overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 120px;
    background: linear-gradient(
      to right,
      rgba(12, 27, 51, 1.0) 0%,
      rgba(12, 27, 51, 0) 100%
    );
    z-index: 2;
  }
  .hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 550px;
    margin-left: max(24px, calc((100% - var(--container)) / 2));
    padding: 80px 24px;
    box-sizing: border-box;
  }
}

/* Light outline button for dark backgrounds */
.hero__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero__actions .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-left: 48px;
}

.hero__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--text-on-dark);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.btn--gold {
  color: var(--white);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--outline {
  color: var(--navy);
  border: 1px solid var(--gold);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--dark {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.btn--dark:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* Hero decorative gold corner */
.hero__corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  z-index: 1;
}

/* Hero scroll indicator */
.hero__scroll {
  display: none;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero__scroll-text {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  writing-mode: vertical-rl;
}

/* ============================================================
   WHY CHOOSE US — Icon Grid
   ============================================================ */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(12, 27, 51, 0.12);
  border-left: 1px solid rgba(12, 27, 51, 0.12);
}

.why-us__card {
  background: transparent;
  padding: 48px 36px;
  border-right: 1px solid rgba(12, 27, 51, 0.12);
  border-bottom: 1px solid rgba(12, 27, 51, 0.12);
  transition: background-color 0.3s var(--ease-smooth);
}

.why-us__card:hover {
  background-color: var(--light-grey);
}

.why-us__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.why-us__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.25;
}

.why-us__card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.why-us__card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-smooth);
}

.why-us__card:hover h3::after {
  width: 48px;
}

.why-us__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   LEGACY TIMELINE
   ============================================================ */
.timeline-section {
  padding: var(--section-pad) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(167,138,90,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(167, 138, 90, 0.15);
  transform: translateX(-50%);
}

.timeline__progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--gold);
  transform: translateX(-50%);
  transition: height 0.5s var(--ease-out);
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 64px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--dark);
  border: 2px solid rgba(167, 138, 90, 0.35);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  z-index: 2;
}

.timeline__item.is-visible .timeline__dot {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(167, 138, 90, 0.3);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.8;
  line-height: 1.6;
}

/* ============================================================
   FEATURED SERVICES
   ============================================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(12, 27, 51, 0.12);
  border-left: 1px solid rgba(12, 27, 51, 0.12);
}

.service-card {
  padding: 48px 36px;
  text-align: left;
  border-right: 1px solid rgba(12, 27, 51, 0.12);
  border-bottom: 1px solid rgba(12, 27, 51, 0.12);
  background: transparent;
  transition: background-color 0.3s var(--ease-smooth);
}

.service-card:hover {
  background-color: var(--light-grey);
}

.service-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.25;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-smooth);
}

.service-card:hover h3::after {
  width: 48px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s var(--ease-smooth);
}

.service-card:hover .service-card__link {
  color: var(--navy);
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */
.tech {
  padding: var(--section-pad) 0;
  background: var(--light-grey);
}

.tech__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tech__visual {
  position: relative;
}

.tech__image {
  border-radius: 2px;
  overflow: hidden;
}

.tech__image img {
  width: 100%;
  transition: transform 6s var(--ease-out);
}

.tech__image:hover img {
  transform: scale(1.03);
}

.tech__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--gold);
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-left: 2px solid var(--gold);
}

.tech__content h3 {
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--navy);
  margin-bottom: 20px;
}

.tech__content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.tech__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.tech__benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.tech__benefit::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--navy);
  border-radius: 50%;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust {
  padding: var(--section-pad) 0;
  background: var(--dark);
  position: relative;
}

.trust__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.trust__year {
  font-family: var(--font-heading);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
}

.trust__headline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--white);
  margin-bottom: 16px;
}

.trust__desc {
  font-size: 16px;
  color: var(--text-on-dark);
  opacity: 0.8;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(167, 138, 90, 0.25);
  border-bottom: 1px solid rgba(167, 138, 90, 0.25);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.trust__stat {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(167, 138, 90, 0.25);
}

.trust__stat:last-child {
  border-right: none;
}

.trust__stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.trust__stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-dark);
  opacity: 0.75;
  margin-top: 6px;
}

/* ============================================================
   DOCTOR / TEAM CARDS
   ============================================================ */
.team {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.doctor-card {
  text-align: center;
  padding: 40px 24px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: border-color 0.4s var(--ease-smooth);
}

.doctor-card:hover {
  border-color: rgba(167, 138, 90, 0.35);
}

.doctor-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(167, 138, 90, 0.25);
}

.doctor-card__avatar svg {
  width: 48px;
  height: 48px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1;
  opacity: 0.45;
}

.doctor-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.doctor-card__title {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.doctor-card__exp {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.doctor-card__quals {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Consultant schedule table */
.consultant-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.consultant-table th {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.consultant-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text-dark);
}

.consultant-table tr:hover td {
  background: var(--light-grey);
}

.consultant-table .schedule-day {
  color: var(--gold);
  font-weight: 500;
  font-size: 13px;
}

/* ============================================================
   ABOUT PAGE — Story
   ============================================================ */
.about-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 12px;
}

.about-hero__sub {
  font-size: 16px;
  color: var(--text-on-dark);
  opacity: 0.6;
}

.story {
  padding: var(--section-pad) 0;
}

.story__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 769px) {
  .story__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.story__text {
  transition: height 0.4s var(--ease-smooth);
}

.story--interactive .story__text {
  overflow: hidden;
  position: relative;
}

.story__text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.story__text p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 56px;
  float: left;
  line-height: 0.85;
  margin-right: 12px;
  margin-top: 6px;
  color: var(--gold);
}

/* --- Visual Container & Chronicles --- */
.story__visual-container {
  position: relative;
  width: 100%;
  height: 360px; /* Mobile visual height */
  border-radius: 2px;
  background: var(--dark);
  border: 1px solid rgba(167, 138, 90, 0.15);
  overflow: hidden;
}

@media (min-width: 769px) {
  .story__visual-container {
    height: 480px; /* Desktop visual height */
  }
}

/* Static Placeholder (Play CTA Trigger) */
.story__image-placeholder {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__static-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 27, 51, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  cursor: pointer;
  z-index: 12;
}

.story__play-btn svg.play-icon {
  fill: currentColor;
}

.story__play-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Interactive Pinned Chronicles Container */
.story__chronicles {
  position: absolute;
  inset: 0;
  z-index: 5;
  outline: none;
  cursor: pointer;
}

.story__chronicles:focus-visible {
  box-shadow: 0 0 0 3px var(--gold-light);
}

/* Scenes layers */
.story__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
}

.story__scene img {
  width: 100%;
  height: 120%; /* 20% extra height allows parallax drift translation */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* --- Vertical Timeline Track & Markers --- */
.story__markers {
  position: absolute;
  top: 40px;
  left: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.story__marker-track {
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(167, 138, 90, 0.2);
}

.story__marker {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.story__marker::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 50%;
}

/* Mobile Swipe Helper */
.story__mobile-helper {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: rgba(12, 27, 51, 0.85);
  border: 1px solid rgba(167, 138, 90, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

/* Founder / Generation sections */
.generation {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.generation--dark {
  background: var(--dark);
  border-top-color: rgba(201,168,76,0.1);
}

.generation__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.generation__portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-grey);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.generation--dark .generation__portrait {
  background: var(--dark-mid);
  border-color: rgba(201,168,76,0.1);
}

.generation__portrait svg {
  width: 64px;
  height: 64px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 0.8;
  opacity: 0.3;
}

.generation__info h3 {
  font-size: 28px;
  margin-bottom: 4px;
}

.generation--dark .generation__info h3 {
  color: var(--white);
}

.generation__info .subtitle {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 20px;
}

.generation__info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.generation--dark .generation__info p {
  color: var(--text-on-dark);
  opacity: 0.7;
}

/* Values */
.values {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 32px 16px;
}

.value-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 28px;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   TREATMENTS PAGE
   ============================================================ */
.treatments-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
}

.treatments-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 12px;
}

.treatments-hero__sub {
  font-size: 16px;
  color: var(--text-on-dark);
  opacity: 0.6;
}

.treatment-section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.treatment-section:last-of-type {
  border-bottom: none;
}

.treatment-section--alt {
  background: var(--off-white);
}

.treatment__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.treatment__layout--reverse {
  direction: rtl;
}

.treatment__layout--reverse > * {
  direction: ltr;
}

.treatment__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding: 6px 14px;
  margin-bottom: 16px;
}

.treatment__title {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

.treatment__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.treatment__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.treatment__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  padding: 4px 0;
}

.treatment__list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 50%;
}

/* Treatment visual placeholder */
.treatment__visual {
  position: relative;
  background: var(--light-grey);
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment__visual svg {
  width: 80px;
  height: 80px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 0.7;
  opacity: 0.2;
}

.treatment__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.treatment__visual:hover img {
  transform: scale(1.05);
}

/* FAQ Accordions */
.faq {
  margin-top: 48px;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
}

.faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s var(--ease-smooth);
}

.faq__question:hover {
  color: var(--gold-dark);
}

.faq__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-muted);
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq__answer-inner {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Technology comparison table */
.comparison {
  padding: var(--section-pad) 0;
  background: var(--dark);
}

.comparison__table {
  max-width: 700px;
  margin: 0 auto;
}

.comparison__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__feature {
  font-size: 15px;
  color: var(--text-on-dark);
}

.comparison__header {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-on-dark);
  opacity: 0.5;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.comparison__check {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.comparison__check--yes {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}

.comparison__check--no {
  background: rgba(255, 80, 80, 0.1);
  color: #E87474;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  text-align: center;
}

.contact-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 12px;
}

.contact-hero__sub {
  font-size: 16px;
  color: var(--text-on-dark);
  opacity: 0.6;
}

.contact {
  padding: var(--section-pad) 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact__info-card {
  background: var(--dark);
  padding: 48px 40px;
  color: var(--text-on-dark);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.contact__info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--gold-gradient);
}

.contact__info-card h3 {
  font-family: var(--font-brand);
  font-size: 28px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.contact__info-card .tagline {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 32px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  color: var(--gold);
}

.contact__detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact__detail h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact__detail p,
.contact__detail a {
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.8;
  line-height: 1.6;
}

.contact__detail a:hover {
  color: var(--gold-light);
  opacity: 1;
}

/* Clinic Hours */
.contact__hours {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact__hours h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact__hours-row span:first-child {
  color: var(--text-on-dark);
  opacity: 0.6;
}

.contact__hours-row span:last-child {
  color: var(--text-on-dark);
}

/* Contact Form */
.contact__form {
  padding: 40px;
  background: var(--off-white);
  border-radius: 2px;
}

.contact__form h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact__form-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-position 0.5s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

.form-submit:hover {
  background-position: 100% 0%;
}

/* Map */
.map-section {
  height: 400px;
  background: var(--light-grey);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Doctor schedule */
.schedule {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.schedule__table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
}

.schedule__table th {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 16px 24px;
  background: var(--off-white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.schedule__table td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text-dark);
}

.schedule__table .specialist-name {
  font-weight: 500;
}

.schedule__table .specialist-day {
  color: var(--gold-dark);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand-name {
  display: block;
  font-family: var(--font-brand);
  font-size: 28px;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.footer__brand-tagline {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.6;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--text-on-dark);
  opacity: 0.6;
}

.footer__address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-on-dark);
  opacity: 0.6;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer__phone {
  margin-bottom: 4px;
}

.footer__phone a {
  font-size: 14px;
  color: var(--gold);
  opacity: 0.8;
}

.footer__phone a:hover {
  opacity: 1;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-on-dark);
  opacity: 0.35;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: background-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.whatsapp-float:hover svg {
  fill: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .generation__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .generation__portrait {
    max-width: 300px;
  }
  .treatment__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .treatment__layout--reverse {
    direction: ltr;
  }
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
    border-bottom: 1px solid rgba(167, 138, 90, 0.15);
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__toggle {
    display: flex;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    flex-direction: column;
    padding: 0 0 0 40px;
    text-align: left;
  }

  .timeline__line,
  .timeline__progress {
    left: 6px;
  }

  .timeline__dot {
    left: 6px;
    width: 12px;
    height: 12px;
  }

  .hero__content {
    padding: 100px 24px 60px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .trust__stats {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .treatment__list {
    grid-template-columns: 1fr;
  }

  .tech__benefits {
    grid-template-columns: 1fr;
  }

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

  .comparison__row {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__corner {
    display: none;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
  
  .trust__year {
    font-size: 64px;
  }
}

/* ============================================================
   PAGE-SPECIFIC TWEAKS
   ============================================================ */

/* Community trust quote */
.community-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}

.community-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.5;
  position: relative;
}

.community-quote blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
}

/* Treatments page nav (mini tabs) */
.treatment-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 72px;
  z-index: 100;
}

.treatment-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.treatment-nav__inner::-webkit-scrollbar {
  display: none;
}

.treatment-nav__link {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.treatment-nav__link:hover,
.treatment-nav__link.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ============================================================
   STORY NARRATIVE CINEMATIC MODAL
   ============================================================ */
.story__modal {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--font-body);
}

.story__modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10100;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.story__modal-close:hover {
  background: rgba(167, 138, 90, 0.2);
  border-color: var(--gold-light);
  transform: rotate(90deg);
}

.story__modal-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  height: calc(100% - 80px);
}

@media (min-width: 769px) {
  .story__modal-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Left: Narrative Text */
.story__modal-content {
  padding: 40px 24px;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 10010;
}

@media (min-width: 769px) {
  .story__modal-content {
    padding: 80px 60px;
  }
}

.story__modal-chapter {
  display: none;
  opacity: 0;
}

.story__modal-chapter.active {
  display: block;
  opacity: 1;
}

.story__chapter-num {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 12px;
}

.story__chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
}

.story__modal-chapter p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Right: Visual Scenes */
.story__modal-visual {
  position: relative;
  width: 100%;
  height: 100%;
  background: #060e1a;
  overflow: hidden;
}

.story__modal-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__modal-scene.active {
  opacity: 1;
  z-index: 2;
}

.story__modal-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vertical Timeline Markers in Modal */
.story__modal-markers {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 40px;
  display: none; /* Hide on smaller screens */
}

@media (min-width: 769px) {
  .story__modal-markers {
    display: flex;
  }
}

.story__modal-marker-track {
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.story__modal-marker {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s, color 0.3s;
}

.story__modal-marker:hover,
.story__modal-marker.active {
  opacity: 1;
  color: var(--gold-light);
}

.story__modal-marker::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  transition: background-color 0.3s;
}

/* Navigation Controls */
.story__modal-nav {
  height: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10020;
  background: var(--dark);
}

.story__nav-arrow {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.story__nav-arrow:hover:not(:disabled) {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}

.story__nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.story__nav-dots {
  display: flex;
  gap: 12px;
}

.story__nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.story__nav-dot.active {
  background: var(--gold-light);
  transform: scale(1.3);
}

/* Mobile tap indicator instruction */
.story__modal-mobile-indicator {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10020;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

@media (min-width: 769px) {
  .story__modal-mobile-indicator {
    display: none;
  }
}

