/* ==========================================================
   COSMETOLOGY CLINIC TEMPLATE — Perspective Design System
   Spatial depth · isometric views · vanishing points · layered elements
   Tokens: primary #00BD7D · surface #FFFFFF · text #111827
   Type: Poppins / Oswald / JetBrains Mono
   Spacing: 4 / 8 / 12 / 16 / 24 / 32
   ========================================================== */

/* ---------- TOKENS ---------- */
:root {
  /* Color */
  --primary: #d4af37;
  --primary-600: #a87f1f;
  --primary-200: #f0d896;
  --primary-50: #fbf5e4;

  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;

  --text: #1a1612;
  --text-2: #4a413a;
  --text-3: #7a6e65;
  --text-inv: #fefdf9;

  --surface: #ffffff;
  --surface-2: #f5f1e8;
  --surface-3: #ece6d7;

  --ink: #1a1612;
  --ink-2: #201c16;
  --ink-3: #2a2520;
  --ink-line: rgba(26, 22, 18, 0.08);

  --line: rgba(26, 22, 18, 0.1);
  --line-2: rgba(26, 22, 18, 0.18);

  --blush: #e8dcc8;
  --ivory: #fefdf9;
  --bronze: #a78655;
  --silk: #e5d4a3;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-28: 112px;

  /* Type */
  --f-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Depth (layered shadows — Perspective Design core) */
  --lift-1: 0 1px 0 rgba(17, 24, 39, 0.04),
    0 2px 4px rgba(17, 24, 39, 0.04),
    0 8px 16px -8px rgba(17, 24, 39, 0.08);
  --lift-2: 0 1px 0 rgba(17, 24, 39, 0.06),
    0 4px 10px rgba(17, 24, 39, 0.06),
    0 18px 40px -12px rgba(17, 24, 39, 0.16),
    0 34px 80px -24px rgba(212, 175, 55, 0.18);
  --lift-3: 0 1px 0 rgba(17, 24, 39, 0.06),
    0 10px 20px -8px rgba(17, 24, 39, 0.12),
    0 28px 60px -16px rgba(17, 24, 39, 0.22),
    0 60px 120px -32px rgba(212, 175, 55, 0.26);

  /* Perspective */
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (min-width: 768px) {
  .container {
    padding: 0 var(--s-8);
  }
}

.section {
  position: relative;
  padding: var(--s-20) 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}
@media (min-width: 760px) {
  .section {
    padding: 96px 0;
  }
}
@media (min-width: 1100px) {
  .section {
    padding: var(--s-28) 0;
  }
}

/* Light section = Perspective vanishing-point grid backdrop */
.section--light {
  background: var(--surface);
  color: var(--text);
}
.section--light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px),
      rgba(17, 24, 39, 0.06) 100%),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px),
      rgba(17, 24, 39, 0.06) 100%);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse at 50% 10%,
    black 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 10%,
    black 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* "Dark" section = warm cream with perspective floor receding to vanishing point */
.section--dark {
  background: var(--surface-2);
  color: var(--text);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.06) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(10% - 1px),
      rgba(212, 175, 55, 0.18) calc(10% - 1px) 10%
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0 calc(20% - 1px),
      rgba(17, 24, 39, 0.05) calc(20% - 1px) 20%
    );
  transform-origin: 50% 100%;
  transform: perspective(800px) rotateX(62deg) scale(1.8);
  opacity: 0.7;
  pointer-events: none;
}

.section--darker {
  background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface-2) 100%);
  color: var(--text);
}

/* Section head */
.section-head {
  max-width: 820px;
  margin: 0 auto var(--s-12);
  text-align: center;
}
@media (min-width: 1100px) {
  .section-head {
    margin-bottom: var(--s-16);
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: var(--s-4);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  display: none;
}
.eyebrow--dark {
  color: var(--primary-600);
}
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary-600);
}
.section-sub {
  margin-top: var(--s-4);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.section--dark .section-sub,
.section--darker .section-sub {
  color: var(--text-3);
}
.section-sub--centered {
  text-align: center;
}

/* Divider glow = horizontal vanishing light line */
.divider-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.6) 50%,
    transparent 100%
  );
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: backdrop-filter 0.3s, background-color 0.3s, border-color 0.3s,
    opacity 0.35s ease, transform 0.35s ease;
}
@media (min-width: 960px) {
  .nav {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }
  .nav.is-scrolled {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-6);
  max-width: 1280px;
  margin: 0 auto;
  gap: var(--s-6);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled .nav__menu a {
  color: var(--text-2);
}
.nav.is-scrolled .nav__menu a:hover {
  color: var(--primary-600);
}
.nav.is-scrolled .nav__burger {
  border-color: var(--line-2);
}
.nav.is-scrolled .nav__burger span {
  background: var(--text);
}
.nav__logo {
  position: relative;
  z-index: 210;
}
.nav__logo img {
  height: 38px;
  width: auto;
  border-radius: 8px;
  display: block;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}
.nav.is-scrolled .nav__logo img {
  height: 42px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__menu {
  display: none;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 960px) {
  .nav__menu {
    display: flex;
  }
}
.nav__menu a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
  position: relative;
}
.nav__menu a:hover {
  color: var(--primary);
}
.nav__menu a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav__cta {
  display: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--primary);
  box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(212, 175, 55, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
@media (min-width: 960px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Burger */
.nav__burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
  position: relative;
  z-index: 210;
}
.nav__burger.is-open {
  border-color: var(--line-2);
  background: var(--surface);
}
.nav__burger.is-open span {
  background: var(--text);
}
.nav.is-scrolled .nav__burger {
  border-color: var(--line-2);
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}
.nav.is-scrolled .nav__burger span {
  background: var(--text);
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 960px) {
  .nav__burger {
    display: none;
  }
}

.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  padding: 90px var(--s-6) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 960px) {
  .nav__mobile {
    display: none;
  }
}
.nav__mobile a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile-cta {
  margin-top: var(--s-4);
  padding: var(--s-4) !important;
  background: var(--primary);
  color: var(--ink) !important;
  border-radius: 14px !important;
  border-bottom: 0 !important;
  text-align: center;
  font-family: var(--f-body) !important;
  font-size: 16px !important;
  text-transform: none !important;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, color 0.2s;
  position: relative;
  will-change: transform;
}
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.btn--pill {
  border-radius: 999px;
}
.btn--glow {
  color: var(--ink);
  background: var(--primary);
  box-shadow: 0 10px 28px -8px rgba(212, 175, 55, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.btn--glow::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), transparent 60%);
  filter: blur(14px);
  opacity: 0.55;
  z-index: -1;
  transition: opacity 0.25s;
}
.btn--glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -8px rgba(212, 175, 55, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.btn--glow:hover::before {
  opacity: 0.85;
}
.btn--glow:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px -6px rgba(212, 175, 55, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.btn--ghost {
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.btn--ghost:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}
.section--light .btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.section--light .btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  color: var(--primary-600);
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: #0e0c08;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -3;
  pointer-events: none;
}
.hero__video--mobile {
  display: none;
}
@media (max-width: 760px) {
  .hero__video--desktop {
    display: none;
  }
  .hero__video--mobile {
    display: block;
  }
}
.hero__scrim {
  display: none;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0 calc(8% - 1px),
      rgba(255, 255, 255, 0.05) calc(8% - 1px) 8%
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(8% - 1px),
      rgba(255, 255, 255, 0.05) calc(8% - 1px) 8%
    );
  mask-image: linear-gradient(
    180deg,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
  transform-origin: 50% 100%;
  transform: perspective(800px) rotateX(68deg) scale(2);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}
.hero__sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.sparkle {
  position: absolute;
  top: -20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--primary);
  animation: drift 18s linear infinite;
}
@keyframes drift {
  0% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift, 20px), 120vh, 0);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--s-20) var(--s-6);
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 12, 8, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.hero__title {
  margin-top: var(--s-6);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 8.2vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero__line {
  display: block;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 10px 32px rgba(0, 0, 0, 0.55);
}
.hero__line--italic {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--ivory);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 6px 22px rgba(0, 0, 0, 0.4);
}
.hero__sub {
  margin-top: var(--s-6);
  font-size: clamp(16px, 2vw, 20px);
  color: #fff;
  max-width: 520px;
  font-weight: 500;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.55);
}
.hero__ctas {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hero__ctas .btn {
  min-height: 48px;
  justify-content: center;
  text-align: center;
  touch-action: manipulation;
}
.hero__ctas .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(14, 12, 8, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
}
.hero__ctas .btn--ghost:hover {
  background: rgba(14, 12, 8, 0.4);
  border-color: #fff;
}

/* Liquid glass for nav CTA only — sits over varying backgrounds */
.nav__cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.nav__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0) 65%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
.nav__cta > * {
  position: relative;
  z-index: 1;
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 14px 32px -10px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(255, 255, 255, 0.1) inset;
}
.nav__cta:active {
  transform: translateY(0);
}

/* Scrolled nav — light-tinted glass for contrast on light page */
.nav.is-scrolled .nav__cta {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(14, 12, 8, 0.12);
  text-shadow: none;
  box-shadow:
    0 6px 18px -8px rgba(14, 12, 8, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.nav.is-scrolled .nav__cta:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(14, 12, 8, 0.18);
}

/* Hero primary CTA — strong gold, asserts hierarchy over glass secondary */
.hero__ctas .btn--glow {
  color: var(--ink);
  background: linear-gradient(
    180deg,
    #e6c565 0%,
    var(--primary) 55%,
    #b8962e 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 14px 34px -10px rgba(184, 150, 46, 0.65),
    0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 -2px 0 rgba(0, 0, 0, 0.12) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 700;
}
.hero__ctas .btn--glow::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 45%
  );
  inset: 0;
  filter: none;
  opacity: 0.9;
  z-index: 0;
}
.hero__ctas .btn--glow > * {
  position: relative;
  z-index: 1;
}
.hero__ctas .btn--glow:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 44px -10px rgba(184, 150, 46, 0.75),
    0 2px 0 rgba(255, 255, 255, 0.45) inset,
    0 -2px 0 rgba(0, 0, 0, 0.15) inset;
}
.hero__ctas .btn--glow:active {
  transform: translateY(-1px);
  box-shadow:
    0 8px 18px -6px rgba(184, 150, 46, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.25) inset;
}
.hero__scroll {
  display: none;
}

/* ---------- FADE-RISE (hero) ---------- */
.fade-rise,
.fade-rise-1,
.fade-rise-2,
.fade-rise-3 {
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.fade-rise {
  animation-delay: 0.3s;
}
.fade-rise-1 {
  animation-delay: 0.5s;
}
.fade-rise-2 {
  animation-delay: 0.8s;
}
.fade-rise-3 {
  animation-delay: 1.05s;
}
@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- HERO — MOBILE (vertical video full-bleed, text overlaid) ---------- */
@media (max-width: 760px) {
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    gap: 0;
    color: #fff;
    background: #0e0c08;
    overflow: hidden;
  }

  /* Portrait video fills the ENTIRE hero edge-to-edge, top-to-bottom */
  .hero__video {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    animation: none;
    max-height: none;
    z-index: 0;
  }

  .hero__grain,
  .hero__sparkles {
    display: none;
  }

  /* Bottom gradient scrim — legibility without darkening the whole video */
  .hero__scrim {
    display: none;
  }

  /* Reset any leftover pseudo-decorations */
  .hero::before,
  .hero::after {
    content: none;
    display: none;
  }

  /* Text content anchored bottom-left, overlaid on video */
  .hero__content {
    position: relative;
    z-index: 2;
    padding: 0 var(--s-6) var(--s-12);
    text-align: left;
    width: 100%;
    max-width: 560px;
    margin: 0;
  }
  .hero__eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-bottom: 0;
  }
  .hero__dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 10px var(--primary);
  }
  .hero__title {
    margin-top: var(--s-4);
    color: #fff;
    font-size: clamp(54px, 14.5vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.028em;
  }
  .hero__line {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.45),
      0 6px 22px rgba(0, 0, 0, 0.5);
  }
  .hero__line--italic {
    display: block;
    color: var(--ivory);
    font-weight: 400;
    font-size: 0.92em;
    margin-top: 2px;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.5),
      0 6px 20px rgba(0, 0, 0, 0.5);
  }
  .hero__sub {
    display: none;
  }
  .hero__ctas {
    margin-top: var(--s-6);
    display: flex;
    gap: var(--s-3);
  }
  .hero__ctas .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px 14px;
    font-size: 14.5px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
  .hero__ctas .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(14, 12, 8, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
  }
  .hero__ctas .btn--ghost:hover {
    background: rgba(14, 12, 8, 0.4);
    border-color: #fff;
    color: #fff;
  }
  .hero__scroll {
    display: none;
  }
}

@keyframes heroFrameRise {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateX(10deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(1400px) rotateX(3deg) translateY(0);
  }
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) perspective(800px) rotateX(3deg);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 50% 100%;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateX(0);
}

/* ---------- PHILOSOPHY ---------- */
.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}
@media (min-width: 900px) {
  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
  }
}
.philosophy__quote {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  color: var(--text);
  position: relative;
  padding-left: var(--s-6);
  border-left: 2px solid var(--primary);
}
.philosophy__author {
  margin-top: var(--s-6);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-600);
}
.philosophy__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 540px) {
  .philosophy__pillars {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pillar = isometric depth card */
.pillar {
  position: relative;
  padding: var(--s-8) var(--s-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift-1);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s, box-shadow 0.3s;
  isolation: isolate;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px) perspective(1200px) rotateX(2deg);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--lift-2);
}
.pillar__num {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--primary-600);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.pillar p {
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.55;
}

/* ---------- STATS ---------- */
.stats {
  padding: var(--s-16) 0;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (min-width: 760px) {
  .stats__row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stats__item {
  position: relative;
  padding: var(--s-8) var(--s-4) var(--s-6);
  text-align: center;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s;
}
.stats__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 60%;
  height: 12px;
  transform: translateX(-50%) translateZ(-1px);
  background: radial-gradient(
    ellipse,
    rgba(212, 175, 55, 0.35) 0%,
    transparent 70%
  );
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
}
.stats__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--lift-2);
  border-color: rgba(212, 175, 55, 0.35);
}
.stats__item:hover::after {
  opacity: 1;
}
.stats__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
}
.stats__num span {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
}
.stats__label {
  position: relative;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stats__label::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.7;
}

/* ---------- SERVICES ---------- */
.services__tabs-wrap {
  margin-bottom: var(--s-8);
  position: relative;
}
.services__tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  scroll-snap-type: x mandatory;
}
.services__tabs::-webkit-scrollbar {
  height: 6px;
}
.services__tabs::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 3px;
}
.services__tab {
  flex-shrink: 0;
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-3);
  transition: color 0.3s ease, border-color 0.3s ease, font-weight 0.3s ease;
  scroll-snap-align: start;
  white-space: nowrap;
  margin: 0 var(--s-4);
}
.services__tab:first-child {
  margin-left: 0;
}
.services__tab:hover {
  color: var(--text);
}
.services__tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 6px;
  border-radius: 2px;
}
.services__tab.is-active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--primary);
}

.services__panels {
  position: relative;
}
.services__panel {
  display: none;
}
.services__panel.is-active {
  display: block;
  animation: panelFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.services__subhead {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.services__subhead--mt {
  margin-top: var(--s-12);
}

.price-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--lift-1);
  overflow: hidden;
}
@media (min-width: 720px) {
  .price-list {
    grid-template-columns: 1fr 1fr;
  }
}
.price-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16px, 1fr) auto;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background 0.3s ease, border-left-color 0.3s ease,
    padding-left 0.3s ease;
}
.price-list li:first-child {
  border-top: 0;
}
@media (min-width: 720px) {
  .price-list li:nth-child(2) {
    border-top: 0;
  }
  .price-list li:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}
.price-list li:hover {
  background: var(--ivory);
  border-left-color: var(--primary);
  padding-left: calc(var(--s-6) - 3px);
}
.price-list li span {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}
.price-list li span em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
  font-weight: 400;
}
.price-list li i {
  display: block;
  align-self: center;
  height: 1px;
  margin: 0 4px;
  border-bottom: 1px dotted var(--line-2);
  min-width: 20px;
  transform: translateY(-3px);
}
.price-list li b {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-600);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
  align-self: baseline;
}
.services__footnote {
  margin-top: var(--s-12);
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.5;
}
.services__footnote a {
  color: var(--primary-600);
  font-style: italic;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s ease;
}
.services__footnote a:hover {
  color: var(--primary);
}

/* ---------- EQUIPMENT ---------- */
.equipment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 600px) {
  .equipment__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .equipment__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Equipment card — isometric 3D layered */
.eq-card {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s, box-shadow 0.3s;
  isolation: isolate;
  overflow: hidden;
}
.eq-card::after {
  content: "";
  position: absolute;
  right: -40%;
  top: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.18) 0%,
    transparent 65%
  );
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.eq-card:hover {
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg) translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--lift-2);
}
.eq-card:hover::after {
  opacity: 1;
}
.eq-card__sigil {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--primary);
  margin-bottom: var(--s-6);
  transform: perspective(600px) rotateX(12deg) rotateY(-12deg);
  transition: transform 0.5s;
  box-shadow:
    0 8px 20px -8px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.eq-card:hover .eq-card__sigil {
  transform: perspective(600px) rotateX(0) rotateY(0) scale(1.05);
}
.eq-card__sigil svg {
  width: 36px;
  height: 36px;
}
.eq-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--text);
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.eq-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-3);
}

/* ---------- TEAM CAROUSEL ---------- */
.team__carousel {
  position: relative;
}
.team__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--s-6);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding: 10px 0 var(--s-8);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.team__track::-webkit-scrollbar {
  display: none;
}
.team__track > .doctor {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}
@media (min-width: 720px) {
  .team__track {
    grid-auto-columns: calc((100% - var(--s-6)) / 2);
  }
}
@media (min-width: 1080px) {
  .team__track {
    grid-auto-columns: calc((100% - var(--s-6) * 2) / 3);
  }
}

/* Nav buttons (desktop only — mobile uses swipe) */
.team__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, opacity 0.25s ease;
}
.team__nav:hover {
  color: var(--primary-600);
  border-color: var(--primary);
  box-shadow: var(--lift-2);
}
.team__nav:active {
  transform: translateY(-50%) scale(0.94);
}
.team__nav:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.team__nav[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
}
.team__nav--prev {
  left: -22px;
}
.team__nav--next {
  right: -22px;
}
@media (max-width: 720px) {
  .team__nav {
    display: none !important;
  }
}
@media (min-width: 960px) {
  .team__nav {
    display: inline-flex;
  }
}

/* Dots */
.team__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--s-4);
  padding: 0 var(--s-6);
}
.team__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: var(--line-2);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  padding: 0;
}
.team__dot:hover {
  background: var(--primary);
}
.team__dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.team__dot[aria-current="true"] {
  width: 24px;
  background: var(--primary);
}

/* Doctor = layered profile card with depth */
.doctor {
  position: relative;
  padding: var(--s-6);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.doctor:hover {
  transform: translateY(-4px) perspective(1200px) rotateX(2deg);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--lift-2);
}
.doctor__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border: 1px solid var(--silk);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.doctor__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: saturate(0.95) contrast(1.02);
}
.doctor:hover .doctor__photo img {
  transform: scale(1.04);
  filter: brightness(1.04) saturate(1.08) contrast(1.02);
}
.doctor__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.2) 0%, transparent 55%),
    linear-gradient(145deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.doctor__placeholder span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(56px, 10vw, 96px);
  color: var(--primary-600);
  letter-spacing: -0.02em;
}
.doctor__badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  padding: 7px 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--primary);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 6px 16px -4px rgba(212, 175, 55, 0.5);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
}
.doctor__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.doctor__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.doctor__role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-top: 2px;
}
.doctor__credits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.doctor__credits li {
  position: relative;
  padding-left: calc(var(--s-4) + 8px);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.doctor__credits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}
.doctor__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
  margin-top: var(--s-2);
}
.team__note {
  margin-top: var(--s-12);
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- LOCATIONS ---------- */
.locations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 760px) {
  .locations__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.location {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--lift-1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
}
.location::before {
  content: "";
  position: absolute;
  left: -30%;
  bottom: -50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.4s;
}
.location:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: var(--lift-2);
}
.location:hover::before {
  opacity: 1;
}
.location__tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-600);
}
.location__addr {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 40px);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.location__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.location__phone {
  font-family: var(--f-body);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.25s ease;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
}
.location__phone:hover {
  color: var(--primary-600);
}
.location__ctas {
  margin-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

/* ---------- FINAL CTA ---------- */
.cta-final {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-3) 100%);
  color: var(--text);
  position: relative;
  overflow: hidden;
  padding: var(--s-20) 0;
}
.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 90%);
  height: 500px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.28) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 55%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(8% - 1px),
      rgba(212, 175, 55, 0.22) calc(8% - 1px) 8%
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0 calc(18% - 1px),
      rgba(17, 24, 39, 0.05) calc(18% - 1px) 18%
    );
  transform-origin: 50% 100%;
  transform: perspective(800px) rotateX(65deg) scale(1.7);
  opacity: 0.75;
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.cta-final__sub {
  margin-top: var(--s-4);
  font-size: 17px;
  color: var(--text-3);
}
.cta-final__ctas {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--surface);
  color: var(--text-2);
  padding: var(--s-16) 0 var(--s-6);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--s-6);
  }
}
.footer__logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  margin-bottom: var(--s-4);
}
.footer__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.footer__col-title {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: var(--s-4);
}
.footer__col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--s-3);
}
.footer__col strong {
  color: var(--text);
  font-weight: 600;
}
.footer__col a {
  color: var(--text-2);
  transition: color 0.25s ease;
}
.footer__col a:hover {
  color: var(--primary-600);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer__links a {
  font-size: 14px;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.25s;
}
.footer__social:hover {
  border-color: var(--primary);
  color: var(--primary-600);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}
@media (min-width: 720px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer__disclaimer {
  font-style: italic;
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sparkle {
    display: none;
  }
}

::selection {
  background: var(--primary);
  color: var(--ink);
}

/* Focus ring for all interactive */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================
   REVIEWS — optional section.
   Enabled only when the HTML block in index.html is uncommented.
========================================================== */

.reviews .section-head {
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.review {
  margin: 0;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(8px);
}

.review__quote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text, #f5f5f5);
}

.review__quote::before {
  content: "“";
  font-size: 2.5em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
  color: var(--primary, #d4af37);
  opacity: 0.65;
}

.review__attr {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review__name {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text, #f5f5f5);
}

.review__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary, rgba(255, 255, 255, 0.55));
  text-transform: uppercase;
}
