/* ==========================================================================
   Beauty Trip — V-3 vanilla
   main.css — design tokens, fonts, base, blocks
   ========================================================================== */

/* ----- Fonts ----- */
@font-face {
  font-family: "Disruptor";
  src: url("/fonts/disruptor.otf") format("opentype");
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Prata&family=Manrope:wght@400;500;600;700&display=swap");

/* ----- Design tokens ----- */
:root {
  /* palette */
  --bg: #FAF6F2;
  --bg-card: #FFFFFF;
  --bg-soft: #F4ECE3;
  --fg: #1C1C1C;
  --fg-muted: #7A726B;
  --fg-soft: #9A9189;
  --border: #EAE4DE;
  --border-soft: #F1ECE6;
  --primary: #A855B6;
  --primary-soft: #F0DAF4;
  --primary-deep: #7E3F8E;
  --accent: #E8489A;
  --accent-soft: #FBE0EE;

  /* fonts */
  --font-display: "Prata", Georgia, serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Disruptor", "Brush Script MT", cursive;

  /* layout */
  --container-max: 1400px;
  --header-height: 72px;
  --section-gap: 32px;
  --section-gap-lg: 64px;
}

/* ----- Reset & base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

strong, b {
  font-weight: 600;
}

/* ----- Utilities ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: var(--section-gap) 15px;
}
@media (min-width: 640px) {
  .section { padding: var(--section-gap-lg) 20px; }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.how__mobile .kicker { margin-bottom: 0; }
.kicker::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
}

.h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
@media (min-width: 640px) { .h2 { font-size: 42px; } }
@media (min-width: 1024px) { .h2 { font-size: 52px; } }

.h2-mark {
  position: relative;
  display: inline-block;
}
.h2-mark > span:first-child {
  position: relative;
  z-index: 1;
  color: var(--primary);
}
.h2-mark > span:last-child {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: var(--primary-soft);
  z-index: 0;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
}

/* gradient divider line — primary→transparent */
.div-line {
  position: relative;
}
.div-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}

/* CTA gradient button (Hero, Pricing) */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transition: opacity 0.3s;
}
.btn-gradient:hover { opacity: 0.9; }
.btn-gradient .arrow { transition: transform 0.5s; display: inline-block; }
.btn-gradient:hover .arrow { transform: translateX(4px); }

/* secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--fg);
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--bg-soft); }

/* dark button (header) */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 9999px;
  background: var(--fg);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.9; }

/* anim base — element visible by default; JS hides off-screen ones on init */
.anim-fade {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-fade--pending {
  opacity: 0;
  transform: translateY(16px);
}
.anim-fade--pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: transparent;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 242, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 15px;
}
@media (min-width: 640px) {
  .site-header__inner { padding: 0 20px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.5s;
}
.logo:hover img { transform: rotate(3deg); }
.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--fg-muted);
  border-radius: 9999px;
  transition: color 0.3s, background 0.3s;
}
.site-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.6);
}
.lang-switcher {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-size: 13px;
}
@media (min-width: 768px) { .lang-switcher { display: inline-flex; } }
.lang-switcher .active { color: var(--primary); font-weight: 600; }
.lang-switcher .sep { color: var(--fg-soft); }
.lang-switcher a { color: var(--fg-muted); }

/* Header actions wrapper */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header__cta {
  display: none;
}
@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
}

/* Burger button */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .burger { display: none; }
}
.burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: center;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--bg);
  z-index: 90;
  padding: 24px 15px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] {
  display: none;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--fg);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}
.mobile-menu__bottom .lang-switcher {
  display: inline-flex;
  align-self: flex-start;
}
.mobile-menu__cta {
  width: 100%;
  height: 52px;
}
body.is-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: var(--section-gap);
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden;
}
@media (min-width: 640px) {
  .hero {
    padding-top: 112px;
    padding-bottom: var(--section-gap-lg);
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* glow backgrounds */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__glow--tr {
  top: -160px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(168, 85, 182, 0.18) 0%, rgba(168, 85, 182, 0) 70%);
}
.hero__glow--ml {
  top: 33%;
  left: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 72, 154, 0.12) 0%, rgba(232, 72, 154, 0) 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hero__grid > * { min-width: 0; }
@media (min-width: 640px) { .hero__grid { gap: 16px; } }
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.hero__video {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
}
@media (min-width: 640px) {
  .hero__video { aspect-ratio: 3 / 4; }
}
@media (min-width: 1024px) {
  .hero__video {
    aspect-ratio: auto;
    min-height: 640px;
  }
}
.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s;
}
.hero__video:hover video { transform: scale(1.03); }

.hero__right {
  display: contents;
}
.hero__plate { order: 1; }
.hero__video { order: 2; }
.ticker { order: 3; }
@media (min-width: 1024px) {
  .hero__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    order: initial;
  }
  .hero__plate, .hero__video, .ticker { order: initial; }
}

.hero__plate {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 32px;
}
@media (min-width: 640px) { .hero__plate { padding: 40px; } }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.hero__kicker-dash {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
@media (min-width: 640px) { .hero__h1 { font-size: 42px; } }
@media (min-width: 1024px) { .hero__h1 { font-size: 52px; } }

.hero__h1-mark {
  color: var(--primary);
}

.hero__lead {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 560px;
}
@media (min-width: 640px) { .hero__lead { font-size: 20px; } }

.hero__lead-brand {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

/* ticker — separate bento card under plate */
.ticker {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  padding: 20px 0;
}
@media (min-width: 640px) { .ticker { padding: 24px 0; } }
.ticker__track {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--fg);
  flex-shrink: 0;
}
.ticker__item svg {
  color: var(--primary);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
@media (min-width: 640px) {
  .about { padding-top: var(--section-gap-lg); padding-bottom: var(--section-gap-lg); }
}

.about__head {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 1024px) {
  .about__head { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.about__h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
@media (min-width: 640px) { .about__h2 { font-size: 42px; } }
@media (min-width: 1024px) { .about__h2 { font-size: 52px; } }
.about__h2 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  color: var(--primary);
  z-index: 1;
}
.about__h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: var(--primary-soft);
  z-index: -1;
}
.about__script {
  display: block;
  margin-top: 12px;
  font-family: var(--font-script);
  color: var(--accent);
  font-size: 44px;
  line-height: 1;
}
@media (min-width: 640px) { .about__script { font-size: 58px; } }
.about__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
.about__lead p + p { margin-top: 12px; }
.about__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 520px) { .about__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .about__grid { gap: 16px; } }
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }
}

.about-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 150px;
}
@media (min-width: 640px) { .about-card { padding: 24px; } }
.about-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.about-card__icon svg { width: 20px; height: 20px; }
.about-card__content {
  /* default: stuck below icon with fixed gap; bottom space is free */
}
/* Поддержка 24/7 (accent, row-span-2) — keep content pinned to bottom */
.about-card--accent .about-card__content {
  margin-top: auto;
}
.about-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 6px;
}
@media (min-width: 640px) { .about-card__title { font-size: 20px; } }
.about-card__body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.about-card--accent {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
}
.about-card--accent .about-card__icon {
  background: var(--primary);
  color: #fff;
}
.about-card--accent .about-card__body { color: rgba(126, 63, 142, 0.8); }

.about-card--photo {
  padding: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .about-card--photo { aspect-ratio: auto; }
}
.about-card--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(28, 28, 28, 0.12);
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

/* col-span / row-span helpers — desktop only */
@media (min-width: 1024px) {
  .lg-col-span-2 { grid-column: span 2; }
  .lg-row-span-2 { grid-row: span 2; }
}

/* ==========================================================================
   How It Works (sticky stack)
   ========================================================================== */
.how {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
@media (min-width: 640px) {
  .how { padding-top: var(--section-gap-lg); padding-bottom: var(--section-gap-lg); }
}
.how__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .how__inner { grid-template-columns: 5fr 7fr; gap: 48px; }
  .how__desktop-section { height: 150vh; }  /* 5 steps × 30vh */
}

/* mobile-only stack — simple cards */
.how__mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 1024px) { .how__mobile { display: none; } }

/* desktop layout */
.how__desktop {
  display: none;
}
@media (min-width: 1024px) {
  .how__desktop {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    height: 150vh;
  }
}

.how__heading {
  position: sticky;
  top: 136px;
  height: 370px;
  display: flex;
  flex-direction: column;
}
.how__lead {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 460px;
}

.how__progress {
  margin-top: auto;
}
.how__progress-nums {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.how__step-num {
  font-family: var(--font-display);
  line-height: 1;
  background: none;
  padding: 0;
  font-size: 15px;
  color: var(--fg-soft);
  transition: font-size 0.5s, color 0.5s;
}
.how__step-num.is-passed { color: var(--fg-muted); }
.how__step-num.is-active {
  font-size: 24px;
  color: var(--primary);
}
.how__progress-bar {
  position: relative;
  height: 2px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
}
.how__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--primary);
  width: 0;
  transition: width 0.2s;
}

.how__cards {
  position: relative;
}
.how-card {
  position: sticky;
  height: 370px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
@media (min-width: 1280px) { .how-card { padding: 56px; } }
.how-card__num-bg {
  position: absolute;
  top: -64px;
  right: 16px;
  font-family: var(--font-script);
  color: var(--accent);
  font-size: clamp(280px, 40vw, 380px);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.how-card__badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.how-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
}
@media (min-width: 640px) { .how-card__title { font-size: 20px; } }
.how-card__body {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 400px;
}

/* sticky stack offsets — applied via inline style for each i */
.how-card[data-step-index] {
  /* values set inline via JS on render */
}

/* ==========================================================================
   Operations
   ========================================================================== */
.ops {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 640px) {
  .ops { padding-top: var(--section-gap-lg); padding-bottom: var(--section-gap-lg); }
}
@media (min-width: 1024px) {
  .ops { padding-top: calc(var(--section-gap-lg) + 96px); }
}
.ops__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .ops__head { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.ops__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
.ops__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .ops__grid { gap: 16px; } }
@media (min-width: 1024px) { .ops__grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; } }

.ops-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) { .ops-card { padding: 28px; } }
@media (min-width: 1024px) { .ops-card { grid-column: span 4; } }

.ops-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}
@media (min-width: 640px) { .ops-card__title { font-size: 20px; } }
.ops-card__list { display: flex; flex-direction: column; }
.ops-card__list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  padding: 10px 0;
  position: relative;
}
.ops-card__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}
.ops-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ops-card__list + .ops-card__cta { margin-top: 20px; }
.ops-card__cta:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

.ops__video {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  min-height: 400px;
}
@media (min-width: 1024px) {
  .ops__video { grid-column: span 4; grid-row: span 2; }
}
.ops__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  padding: var(--section-gap) 15px;
}
@media (min-width: 640px) {
  .pricing { padding: var(--section-gap-lg) 20px; }
}
.pricing__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .pricing__head { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.pricing__lead {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 640px;
}
.pricing__range-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .pricing__range-wrap { align-items: flex-end; padding-left: 32px; }
}
.pricing__range {
  width: fit-content;
  padding: 20px 24px;
}
.pricing__range-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
  margin-bottom: 12px;
}
.pricing__range-values {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--fg);
}
@media (min-width: 640px) { .pricing__range-values { font-size: 24px; } }
.pricing__range-values .sep { color: var(--fg-soft); font-family: inherit; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .pricing__grid { gap: 16px; } }
@media (min-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; margin-bottom: 32px; }
}

.program-card { display: flex; flex-direction: column; height: 100%; }
.program-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 20px;
}
@media (min-width: 640px) { .program-card__head { padding: 32px 32px 20px; } }
.program-card__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
  margin-bottom: 8px;
}
.program-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 4px;
}
@media (min-width: 640px) { .program-card__name { font-size: 24px; } }
.program-card__sub {
  font-size: 13px;
  color: var(--fg-muted);
}
.program-card__chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--fg);
}
.program-card__list {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 640px) { .program-card__list { padding: 0 32px; } }
.program-card__list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  padding: 12px 0;
  position: relative;
}
.program-card__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}
.program-card__foot {
  margin-top: 16px;
  margin-left: 28px;
  margin-right: 28px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 640px) {
  .program-card__foot { margin-left: 32px; margin-right: 32px; margin-bottom: 32px; }
}
.program-card__foot-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
}
.program-card__price {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--fg);
}
@media (min-width: 640px) { .program-card__price { font-size: 28px; } }

.pricing__cta {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .pricing__cta { padding: 32px; flex-direction: row; align-items: center; }
}
.pricing__cta-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  max-width: 640px;
}
@media (min-width: 640px) { .pricing__cta-text { font-size: 16px; } }

/* ==========================================================================
   Clinics
   ========================================================================== */
.clinics {
  padding: var(--section-gap) 15px;
  position: relative;
}
@media (min-width: 640px) {
  .clinics { padding: var(--section-gap-lg) 20px; }
}
.clinics__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .clinics__head { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.clinics__lead {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 640px;
}
.clinics__chips-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
@media (min-width: 1024px) { .clinics__chips-wrap { align-items: flex-end; padding-left: 32px; } }
.clinics__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.clinics__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--fg);
}

.clinics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .clinics__grid { gap: 16px; } }
@media (min-width: 1024px) { .clinics__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; } }

.clinic-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s;
}
.clinic-card:hover { border-color: var(--border); }

.clinic-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--bg-soft);
  overflow: hidden;
}
.clinic-card__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.clinic-card__cover .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-soft);
}
.clinic-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 640px) { .clinic-card__body { padding: 32px; } }
.clinic-card__loc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.clinic-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 12px;
}
@media (min-width: 640px) { .clinic-card__name { font-size: 28px; } }
.clinic-card__cat {
  align-self: flex-start;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.4;
  text-align: left;
}
.clinic-card__cat-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .clinic-card__cat {
    background: var(--fg);
    color: #fff;
    border-radius: 9999px;
    padding: 6px 12px;
    line-height: 1;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .clinic-card__cat-icon { display: none; }
}
.clinic-card__area {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.clinic-card__facts {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  flex: 1;
}
.clinic-card__facts li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg);
  padding: 12px 0;
  position: relative;
}
.clinic-card__facts li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}
.clinic-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
}
.clinic-card:hover .clinic-card__more { color: var(--primary-deep); }
.clinic-card:hover .clinic-card__more .arrow { transform: translateX(4px); }
.clinic-card__more .arrow { transition: transform 0.3s; display: inline-block; }

/* ==========================================================================
   Modal (Clinics)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 28, 28, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  overflow: hidden;
}
@media (min-width: 640px) { .modal { padding: 24px; } }
.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
  background: var(--bg-card);
  width: 100%;
  max-height: 85dvh;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (max-height: 85dvh) {
  .modal__panel { max-height: 85dvh; }
}
@media (min-width: 640px) {
  .modal__panel { max-width: 768px; max-height: 90vh; }
}
.modal.is-open .modal__panel { transform: translateY(0); opacity: 1; }

.modal__head {
  position: sticky;
  top: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
@media (min-width: 640px) { .modal__head { padding: 16px 32px; } }
.modal__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--fg);
}
.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg);
  transition: background 0.2s;
}
.modal__close:hover { background: var(--bg-soft); }

.modal__content {
  padding: 24px;
}
@media (min-width: 640px) { .modal__content { padding: 28px 32px; } }
.modal__loc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.modal__name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 12px;
}
@media (min-width: 640px) { .modal__name { font-size: 32px; } }
.modal__cat {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-bottom: 24px;
}
.modal__cat-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .modal__cat {
    background: var(--fg);
    color: #fff;
    border-radius: 9999px;
    padding: 6px 12px;
    line-height: 1;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }
  .modal__cat-icon { display: none; }
}

.modal__carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.modal__carousel-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: 16px;
}
.modal__carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.modal__carousel-photo .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-soft);
  text-align: center;
  padding: 24px;
}
.modal__carousel-photo .photo-placeholder span {
  font-size: 13px;
  letter-spacing: 0.05em;
}
.modal__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal__nav-btn:hover { background: var(--bg-soft); }
.modal__nav-btn--prev { left: 12px; }
.modal__nav-btn--next { right: 12px; }

.modal__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}
.modal__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--border);
  transition: all 0.2s;
}
.modal__dot:hover { background: var(--fg-soft); }
.modal__dot.is-active {
  background: var(--primary);
  width: 24px;
}

.modal__section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
  margin-bottom: 12px;
}
.modal__section-text {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 28px;
}

.modal__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}
.modal__list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  padding: 12px 0;
  position: relative;
}
.modal__list li.modal__list-heading {
  padding-top: 18px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.modal__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}

body.modal-open { overflow: hidden; }

/* ==========================================================================
   Surgeons (horizontal carousel)
   ========================================================================== */
.surgeons {
  padding: var(--section-gap) 15px;
  position: relative;
}
@media (min-width: 640px) {
  .surgeons { padding: var(--section-gap-lg) 20px; }
}

.surgeons__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .surgeons__head { flex-direction: column; align-items: stretch; }
}
.surgeons__lead {
  margin-top: 12px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
}
.surgeons__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.surgeons__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.surgeons__nav-btn:hover {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}

.surgeons__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.surgeons__track::-webkit-scrollbar { display: none; }

.surgeon-card {
  flex-shrink: 0;
  width: 80%;
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s;
}
.surgeon-card:hover { border-color: var(--border); }

@media (min-width: 640px) {
  .surgeon-card { width: calc(50% - 8px); }
}
@media (min-width: 1024px) {
  .surgeon-card { width: calc(25% - 12px); }
}

.surgeon-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: var(--bg-soft);
  overflow: hidden;
}
.surgeon-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.surgeon-card__photo .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-soft);
}

.surgeon-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.surgeon-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
}
.surgeon-card__spec {
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-muted);
  flex: 1;
}
.surgeon-card__more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
}
.surgeon-card:hover .surgeon-card__more { color: var(--primary-deep); }
.surgeon-card:hover .surgeon-card__more .arrow { transform: translateX(3px); }
.surgeon-card__more .arrow { transition: transform 0.3s; display: inline-block; }

/* Surgeon modal — compact 2-col layout */
.modal__panel--surgeon {
  max-width: 880px;
}
.surgeon-modal__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .surgeon-modal__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}
.surgeon-modal__left {
  flex-shrink: 0;
}
.surgeon-modal__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 160px;
}
@media (min-width: 640px) {
  .surgeon-modal__photo { max-width: 220px; }
}
.surgeon-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.surgeon-modal__photo .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-soft);
}
.surgeon-modal__right { min-width: 0; }
.surgeon-modal__role {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.surgeon-modal__spec {
  display: inline-block;
  font-size: 13px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 24px;
  color: var(--fg);
}
.surgeon-modal__right .modal__name {
  font-size: 24px;
  margin-bottom: 4px;
}
@media (min-width: 640px) {
  .surgeon-modal__right .modal__name { font-size: 28px; }
}

/* ==========================================================================
   Hotel
   ========================================================================== */
.hotel {
  padding: var(--section-gap) 15px;
  position: relative;
}
@media (min-width: 640px) {
  .hotel { padding: var(--section-gap-lg) 20px; }
}

.hotel__head {
  margin-bottom: 32px;
  max-width: 720px;
}
.hotel__lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
}

.hotel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .hotel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}

/* media (left) — fills full height of right column on desktop */
.hotel__media {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.hotel__photo {
  position: relative;
  flex: 1;
  min-height: 360px;
  background: var(--bg-soft);
  overflow: hidden;
}
.hotel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.hotel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 1;
}
.hotel__arrow:hover {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.hotel__arrow--prev { left: 14px; }
.hotel__arrow--next { right: 14px; }

.hotel__counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(28, 28, 28, 0.7);
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* info (right) */
.hotel__perks {
  display: flex;
  flex-direction: column;
}
.hotel__perk {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.hotel__perk:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
}
.hotel__perk-label {
  font-size: 13px;
  color: var(--fg-muted);
}
.hotel__perk-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.45;
}

.hotel__note {
  margin-top: 20px;
  padding: 20px 22px;
}
.hotel__note p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}

/* ==========================================================================
   Gallery (Before / After)
   ========================================================================== */
.gallery {
  padding: var(--section-gap) 15px;
  position: relative;
}
@media (min-width: 640px) {
  .gallery { padding: var(--section-gap-lg) 20px; }
}

.gallery__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .gallery__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
}

.gallery__ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
  transition: color 0.2s;
}
.gallery__ig-btn:hover { color: var(--fg); }
@media (min-width: 768px) {
  .gallery__ig-btn {
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 9999px;
    border: 1px solid var(--fg);
    color: var(--fg);
    font-size: 15px;
    flex-shrink: 0;
    align-self: flex-end;
    transition: background 0.2s, color 0.2s;
  }
  .gallery__ig-btn:hover { background: var(--fg); color: #fff; }
}

.gallery__slider {
  position: relative;
  margin-bottom: 32px;
}
.gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__viewport.is-dynamic-height {
  transition: height 0.28s ease;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__track {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .gallery__track { gap: 20px; }
}

.gallery-card {
  display: flex;
  flex: 0 0 min(86vw, 360px);
  flex-direction: column;
  scroll-snap-align: start;
  align-self: flex-start;
  overflow: hidden;
  transition: flex-basis 0.25s ease;
}
.gallery-card--portrait,
.gallery-card--narrow { flex-basis: min(78vw, 330px); }
@media (min-width: 640px) {
  .gallery-card { flex-basis: calc((100% - 20px) / 2); }
  .gallery-card--portrait,
  .gallery-card--narrow { flex-basis: 330px; }
}
@media (min-width: 1024px) {
  .gallery-card { flex-basis: calc((100% - 40px) / 3); }
  .gallery-card--portrait,
  .gallery-card--narrow { flex-basis: 330px; }
}
.gallery-card__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-card--portrait .gallery-card__pair,
.gallery-card--narrow .gallery-card__pair { aspect-ratio: 3 / 4; }
.gallery-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 0.25s ease;
}
.gallery-card__pair:not(.gallery-card__pair--video) .gallery-card__img {
  pointer-events: none;
}
.gallery-card__pair--video {
  background: var(--fg);
}
.gallery-card__pair--video video {
  pointer-events: auto;
}
.gallery__arrow {
  position: absolute;
  top: calc(50% - 28px);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.12);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.gallery__arrow:hover {
  background: var(--fg);
  color: #fff;
}
.gallery__arrow--prev { left: -18px; }
.gallery__arrow--next { right: -18px; }
@media (min-width: 768px) {
  .gallery__arrow { display: flex; }
}
.gallery-card__cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.gallery-card__cell--before {
  background: var(--bg-soft);
  color: var(--fg-muted);
}
.gallery-card__cell--after {
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.gallery-card__cell span {
  background: var(--bg-card);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.gallery-card__body {
  padding: 16px 18px 18px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
}

.gallery__cta {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .gallery__cta {
    padding: 28px 32px;
    flex-direction: row;
    align-items: center;
  }
}
.gallery__cta-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}

/* ==========================================================================
   Founder story
   ========================================================================== */
.founder-story {
  padding: var(--section-gap) 15px;
}
@media (min-width: 640px) {
  .founder-story { padding: var(--section-gap-lg) 20px; }
}
.founder-story .container { max-width: var(--container-max); margin: 0 auto; }

.founder-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-card);
}
@media (min-width: 1024px) {
  .founder-story__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 640px;
  }
}

.founder-story__media {
  position: relative;
  height: min(92vh, 720px);
  min-height: 520px;
  background: var(--bg-soft);
  overflow: hidden;
}
@media (min-width: 640px) {
  .founder-story__media {
    height: auto;
    min-height: 560px;
  }
}
@media (min-width: 1024px) {
  .founder-story__media { min-height: 640px; }
}
.founder-story__photo {
  position: absolute;
  inset: 0;
}
.founder-story__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  background: var(--bg-soft);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  user-select: none;
}
.founder-story__photo img.is-active {
  opacity: 1;
}
.founder-story__media.is-slide-1 .founder-story__photo img { object-position: center 42%; }
.founder-story__media.is-slide-2 .founder-story__photo img { object-position: center 34%; }
.founder-story__media.is-slide-3 .founder-story__photo img { object-position: center 30%; }
.founder-story__media.is-slide-4 .founder-story__photo img { object-position: center 24%; }
.founder-story__media.is-slide-5 .founder-story__photo img { object-position: center 28%; }
.founder-story__media.is-slide-6 .founder-story__photo img { object-position: center 28%; }
.founder-story__media.is-slide-7 .founder-story__photo img { object-position: center 42%; }
.founder-story__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 24px rgba(28, 28, 28, 0.12);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s;
}
.founder-story__arrow:hover {
  background: var(--fg);
  color: #fff;
}
.founder-story__arrow--prev { left: 16px; }
.founder-story__arrow--next { right: 16px; }

.founder-story__dots {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.founder-story__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: width 0.2s, background 0.2s;
}
.founder-story__dot.is-active {
  width: 26px;
  border-radius: 9999px;
  background: #fff;
}

.founder-story__content {
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 640px) {
  .founder-story__content { padding: 48px; }
}
@media (min-width: 1200px) {
  .founder-story__content { padding: 64px; }
}
.founder-story__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 22px;
}
@media (min-width: 640px) {
  .founder-story__title { font-size: 42px; }
}
@media (min-width: 1024px) {
  .founder-story__title { font-size: 52px; }
}
.founder-story__text {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
@media (min-width: 640px) {
  .founder-story__text { font-size: 16px; }
}
.founder-story__text p + p { margin-top: 16px; }
.founder-story__text ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.founder-story__text li {
  position: relative;
  padding-left: 24px;
  color: var(--fg-muted);
}
.founder-story__text li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}
.founder-story__btn {
  align-self: flex-start;
  margin-top: 28px;
}

.modal__panel--founder {
  max-width: 980px;
}
.founder-modal__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 900px) {
  .founder-modal__content { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); }
}
.founder-modal__copy {
  padding: 24px 22px;
}
@media (min-width: 640px) {
  .founder-modal__copy { padding: 30px 34px; }
}
.founder-modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .founder-modal__title { font-size: 32px; }
}
.founder-modal__text {
  display: grid;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}
.founder-modal__cta {
  margin-top: 24px;
}
.founder-modal__video {
  position: relative;
  background: var(--fg);
  min-height: 300px;
}
.founder-modal__video video {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 68vh;
  object-fit: cover;
}
.founder-modal__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary);
  box-shadow: 0 14px 42px rgba(28, 28, 28, 0.24);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  z-index: 2;
}
.founder-modal__play:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.04);
}
.founder-modal__video.is-playing .founder-modal__play {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Trust
   ========================================================================== */
.trust {
  padding: var(--section-gap) 15px calc(var(--section-gap) * 0.55);
}
@media (min-width: 640px) {
  .trust { padding: var(--section-gap-lg) 20px 34px; }
}
.trust .container { max-width: var(--container-max); margin: 0 auto; }

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.trust__main { order: 1; }
.trust__author { order: 2; }
@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: 2fr 3fr;
    gap: 56px;
  }
  .trust__main, .trust__author { order: initial; }
}

/* author column */
.trust__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}
.trust__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Glass plate with quote overlaid on photo bottom */
.trust__quote-glass {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 24px rgba(28, 28, 28, 0.08);
}
.trust__quote {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.35;
  color: var(--fg);
  margin: 0 0 8px 0;
}
@media (min-width: 1024px) { .trust__quote { font-size: 16px; } }
.trust__author-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin: 0;
}

/* main column */
.trust__h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
}
@media (min-width: 640px) { .trust__h2 { font-size: 32px; } }
@media (min-width: 1024px) { .trust__h2 { font-size: 42px; } }

.trust__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .trust__cards { grid-template-columns: repeat(2, 1fr); } }

.trust-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
}
.trust-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.trust-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 8px;
}
.trust-card__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ==========================================================================
   Asia advantage
   ========================================================================== */
.asia-advantage {
  padding: 18px 15px var(--section-gap);
}
@media (min-width: 640px) {
  .asia-advantage { padding: 26px 20px var(--section-gap-lg); }
}
.asia-advantage__head {
  max-width: 840px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .asia-advantage__head { margin-bottom: 40px; }
}
.asia-advantage__lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
@media (min-width: 640px) {
  .asia-advantage__lead { font-size: 16px; }
}
.asia-advantage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .asia-advantage__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .asia-advantage__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.asia-card {
  padding: 24px;
  background: var(--bg-card);
}
@media (min-width: 1024px) {
  .asia-card { min-height: 280px; }
}
.asia-card__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.asia-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 10px;
}
.asia-card__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.asia-card--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: transparent;
}
.asia-card--accent .asia-card__num {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.asia-card--accent .asia-card__title,
.asia-card--accent .asia-card__body {
  color: #fff;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: var(--section-gap) 15px;
}
@media (min-width: 640px) {
  .faq { padding: var(--section-gap-lg) 20px; }
}
.faq__head {
  margin-bottom: 32px;
  text-align: left;
}
.faq__lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
}

.faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .faq__list { grid-template-columns: 1fr 1fr; }
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--border);
  box-shadow: 0 6px 24px -8px rgba(168, 85, 182, 0.08);
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg);
  font-weight: 500;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; }
@media (min-width: 640px) { .faq-item__q { padding: 26px 32px; font-size: 16px; } }

/* Plus / minus icon */
.faq-item__icon {
  flex-shrink: 0;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background 0.25s;
  margin-top: 2px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, background 0.25s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--primary-soft); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--primary-deep); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item__a {
  padding: 0 26px 24px 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  position: relative;
}
@media (min-width: 640px) { .faq-item__a { padding: 0 32px 28px 32px; } }
.faq-item__a::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, var(--primary), transparent);
  margin: 0 0 18px 0;
}

/* ── Final CTA ── */
.final-cta {
  padding: var(--section-gap) 15px;
}
@media (min-width: 640px) {
  .final-cta { padding: var(--section-gap-lg) 20px; }
}
.final-cta__card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 28px;
  background: var(--bg-soft);
  border-color: transparent;
}
@media (min-width: 768px) {
  .final-cta__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px 52px;
    gap: 48px;
  }
}
.final-cta__body {
  flex: 1;
  min-width: 0;
}
.final-cta__desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 520px;
}
.final-cta__script {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-script);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
}
@media (min-width: 640px) {
  .final-cta__script { font-size: 58px; }
}
.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .final-cta__actions { min-width: 280px; }
}
.final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  white-space: nowrap;
}

/* ── Footer ── */
.footer {
  background: var(--fg);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 15px 40px;
}
@media (min-width: 640px) {
  .footer { padding: 72px 20px 48px; }
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
  }
}
.footer__col { min-width: 0; }
.footer__brand .footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  text-decoration: none;
}
.footer__brand .footer__logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.footer__brand .footer__logo span {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  max-width: 320px;
}
.footer__copy {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}
.footer__copy a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__copy a:hover { color: #fff; }
.footer__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.footer__col:last-child .footer__nav {
  grid-template-columns: 1fr;
}
.footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s;
}
.footer__nav a:hover { color: #fff; }
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__contacts a:hover { color: #fff; }
.footer__legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}
.footer__legal-name {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

/* ── Legal pages ── */
.legal-page {
  padding-top: var(--header-height);
  overflow-x: hidden;
}
.legal-hero {
  padding: 56px 15px 28px;
}
@media (min-width: 768px) {
  .legal-hero {
    padding: 88px 20px 44px;
  }
}
.legal-hero__inner {
  max-width: 1040px;
}
.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 780px;
}
.legal-hero__lead {
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
  color: var(--fg);
}
.legal-hero__meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--fg-muted);
}
.legal-content {
  padding-top: 12px;
}
.legal-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1180px;
}
@media (min-width: 1024px) {
  .legal-content__grid {
    grid-template-columns: 280px 1fr;
    align-items: start;
    gap: 32px;
  }
}
.legal-toc {
  display: none;
}
@media (min-width: 1024px) {
  .legal-toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 45px rgba(28, 28, 28, 0.04);
  }
  .legal-toc a {
    font-size: 13px;
    line-height: 1.35;
    color: var(--fg-muted);
    transition: color 0.2s;
  }
  .legal-toc a:hover {
    color: var(--primary);
  }
}
.legal-card {
  min-width: 0;
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-card);
  box-shadow: 0 18px 60px rgba(28, 28, 28, 0.05);
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .legal-card {
    padding: 52px 60px;
  }
}
.legal-card section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
}
.legal-card h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.legal-card p {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.72;
}
.legal-card p + p {
  margin-top: 14px;
}
.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding-left: 0;
}
.legal-card li {
  position: relative;
  padding-left: 22px;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.62;
}
.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.legal-card a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-color: var(--primary-soft);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}
.legal-card strong {
  font-weight: 700;
}
@media (max-width: 480px) {
  .legal-hero {
    padding-top: 42px;
  }
  .legal-card {
    padding: 24px 20px;
    border-radius: 26px;
  }
  .legal-card h2 {
    font-size: 21px;
  }
}

/* ── 404 page ── */
.not-found-page {
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow-x: hidden;
}
.not-found {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - var(--header-height));
  padding: 48px 15px 56px;
}
@media (min-width: 768px) {
  .not-found {
    padding: 68px 20px 84px;
  }
}
.not-found__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}
@media (min-width: 900px) {
  .not-found__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 32px;
  }
}
.not-found__copy,
.not-found__visual {
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--bg-card);
  box-shadow: 0 22px 70px rgba(28, 28, 28, 0.06);
}
.not-found__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 34px 24px;
}
@media (min-width: 768px) {
  .not-found__copy {
    padding: 58px 64px;
  }
}
.not-found__title {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.not-found__lead {
  max-width: 650px;
  margin-top: 24px;
  color: var(--fg);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  overflow-wrap: break-word;
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.not-found__visual {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  place-items: center;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(240, 218, 244, 0.88), rgba(255, 255, 255, 0.72) 44%, rgba(248, 241, 237, 0.92)),
    var(--bg-card);
}
.not-found__visual::before {
  content: "404";
  position: absolute;
  top: 12px;
  left: 22px;
  color: rgba(168, 85, 182, 0.13);
  font-family: var(--font-display);
  font-size: clamp(110px, 15vw, 190px);
  line-height: 1;
}
.not-found__visual img {
  position: relative;
  z-index: 1;
  width: min(76%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(126, 63, 142, 0.24);
}
.not-found__badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}
@media (max-width: 520px) {
  .not-found {
    padding-top: 36px;
  }
  .not-found__copy,
  .not-found__visual {
    border-radius: 28px;
  }
  .not-found__title {
    font-size: clamp(34px, 10.5vw, 48px);
  }
  .not-found__actions .btn-gradient,
  .not-found__actions .btn-secondary {
    min-width: 0;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .not-found__visual {
    min-height: 340px;
  }
}

@supports (content-visibility: auto) {
  .ops,
  .pricing,
  .clinics,
  .surgeons,
  .hotel,
  .gallery,
  .founder-story,
  .trust,
  .asia-advantage,
  .faq,
  .final-cta,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}
