/* ============================================================
   INVOLVE — Variable Font
   ============================================================ */
@font-face {
  font-family: 'Involve';
  src: url('fonts/Involve-VF.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS — RA|RÉ cream editorial system
   Main bg: #FBFAF3 · Muted: #79796D · Accent: warm gold
   ============================================================ */
:root {
  /* Surfaces */
  --bg:           #FBFAF3;
  --bg-alt:       #F3F1E8;
  --pale:         #EAE7D8;
  --dark-bg:      #1e1b16;

  /* Borders */
  --border:       rgba(121, 121, 109, 0.22);
  --border-light: rgba(121, 121, 109, 0.12);

  /* Typography */
  --dark:         #1e1b16;
  --text:         #2a231a;
  --text-mid:     #79796D;
  --text-muted:   #79796D;
  --text-light:   #a09890;
  --white:        #ffffff;

  /* Accent */
  --accent:       #c9a97a;
  --accent-light: #e8ddd2;

  /* Fonts */
  --font-serif:   'Involve', Georgia, serif;
  --font-sans:    'Involve', 'Helvetica Neue', Arial, sans-serif;

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --tr:           0.3s var(--ease);

  /* Layout */
  --max-w:        1440px;
  --gutter:       clamp(24px, 6vw, 96px);
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}

.site-header.scrolled {
  background: rgba(251, 250, 243, 0.96);
  padding: 16px var(--gutter);
  box-shadow: 0 1px 0 rgba(121, 121, 109, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--tr);
}
.site-header.scrolled .logo { color: var(--dark); }

.header-contact { flex: 1; }

.header-phone {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--tr);
}
.site-header.scrolled .header-phone { color: var(--text-muted); }
.header-phone:hover { color: var(--white); }
.site-header.scrolled .header-phone:hover { color: var(--dark); }

.nav-main {
  display: flex;
  flex: 1;
  gap: 36px;
  align-items: center;
  justify-content: center;
}

.nav-main a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--tr);
}
.nav-main a:hover { color: var(--white); }
.site-header.scrolled .nav-main a { color: var(--text-muted); }
.site-header.scrolled .nav-main a:hover { color: var(--dark); }

.nav-main a.active {
  color: var(--white);
  position: relative;
}
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.site-header.scrolled .nav-main a.active { color: var(--dark); }

.nav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--tr);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover > a::after {
  transform: rotate(225deg) translateY(-2px);
}
.nav-dropdown > a:hover,
.nav-dropdown:hover > a { color: var(--white); }

.site-header.scrolled .nav-dropdown > a { color: var(--text-muted); }
.site-header.scrolled .nav-dropdown > a:hover,
.site-header.scrolled .nav-dropdown:hover > a { color: var(--dark); }

.nav-dropdown > a.active {
  color: var(--white);
  position: relative;
}
.nav-dropdown > a.active::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.site-header.scrolled .nav-dropdown > a.active { color: var(--dark); }

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--bg, #FBFAF3);
  border: 1px solid rgba(121, 121, 109, 0.18);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(10, 8, 5, 0.14), 0 2px 8px rgba(10, 8, 5, 0.06);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu li { display: block; }
.nav-dropdown__menu a {
  display: block;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown__menu a:hover {
  color: var(--accent);
  background: var(--bg-alt);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid currentColor;
  border-radius: 9999px;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  cursor: pointer;
  white-space: nowrap;
}

/* over dark backgrounds */
.btn--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--outline {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.site-header.scrolled .btn--outline {
  color: var(--text-muted);
  border-color: var(--border);
}
.site-header.scrolled .btn--outline:hover {
  background: var(--pale);
  color: var(--dark);
}

/* cream pill nav CTA */
.btn--nav-filled {
  background: var(--accent-light);
  color: var(--dark);
  border-color: var(--accent-light);
}
.btn--nav-filled:hover {
  background: var(--white);
  border-color: var(--white);
}
.site-header.scrolled .btn--nav-filled {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.site-header.scrolled .btn--nav-filled:hover {
  background: var(--text-mid);
  border-color: var(--text-mid);
}

/* on light backgrounds */
.btn--outline-dark {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn--filled-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--filled-dark:hover {
  background: var(--text-mid);
  border-color: var(--text-mid);
}

/* footer */
.btn--outline-light {
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.20) 52%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(56px, 9vh, 108px);
  max-width: 680px;
  text-align: left;
  align-self: flex-end;
  margin-left: 0;
  margin-right: auto;
}

.hero__eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.hero__sub {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 44px;
  letter-spacing: 0.03em;
  font-weight: 300;
  text-align: left;
}

/* ============================================================
   SECTION HELPERS — editorial typography
   ============================================================ */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.05;
}

.section-subheading {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-muted);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 52px;
  font-weight: 300;
}
.section-subheading--wide { max-width: 680px; }

.section-footer {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   ABOUT TEXT
   ============================================================ */
.about-text-section {
  background: var(--bg);
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--border-light);
}

.about-text-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1100px;
  margin: 0 auto;
}

.about-text__para {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 300;
}

/* ============================================================
   PROMOS
   ============================================================ */
.promos-section {
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 0;
}
.promos-section .section-heading { margin-bottom: 48px; }

.promos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.promo-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--bg-alt);
  cursor: pointer;
  text-decoration: none;
}

/* full-bleed photo — default visible */
.promo-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.55s var(--ease);
}
.promo-card:hover .promo-card__bg { opacity: 0; }

/* gradient scrim on default state */
.promo-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(to top, rgba(10,8,5,0.55) 0%, transparent 60%);
  transition: opacity 0.4s ease;
  z-index: 2;
}
.promo-card:hover .promo-card__face { opacity: 0; }

.promo-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.14);
  padding: 5px 14px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}

.promo-card__title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

/* hover back — clean bg + quote */
.promo-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 3;
}
.promo-card:hover .promo-card__back { opacity: 1; }

.promo-card__quote {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ============================================================
   SERVICES — full-bleed tile grid
   ============================================================ */
.services-section {
  background: var(--bg);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.services-section .section-heading { margin-bottom: 8px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 48px;
}

.service-tile {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.service-tile--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.service-tile__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}
.service-tile:hover .service-tile__bg { transform: scale(1.05); }

.service-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.74) 0%, rgba(10,10,10,0.04) 60%);
  transition: background var(--tr);
}
.service-tile:hover .service-tile__overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.18) 60%);
}

.service-tile__name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(14px, 2vw, 22px);
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ============================================================
   CLINIC — (legacy, overridden below in new section)
   ============================================================ */

.clinic-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  color: var(--accent);
  opacity: 1;
}
.clinic-feature__icon svg {
  width: 100%;
  height: 100%;
}

.clinic-feature__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1.6;
}

.clinic-quote-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.clinic-quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.clinic-quote {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 28px;
}

.clinic-quote__author {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.clinic-quote-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--pale);
}

.clinic-quote-logo {
  position: absolute;
  bottom: 22px;
  right: 26px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   Я ХОЧУ — interactive filter tags
   ============================================================ */
.iwant-section {
  background: var(--bg);
  padding: clamp(80px, 10vw, 128px) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.iwant-section .section-heading { margin-bottom: 40px; }

.iwant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.iwant-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  background: transparent;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
  display: flex;
  align-items: center;
  gap: 8px;
}
.iwant-tag::before {
  content: '';
  width: 13px;
  height: 13px;
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
  transition: all var(--tr);
}
.iwant-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}
.iwant-tag.active {
  background: var(--accent-light);
  color: var(--dark);
  border-color: var(--accent-light);
}
.iwant-tag.active::before {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 13 13' fill='none' stroke='white' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5l3 3 4-5'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ============================================================
   SPECIALISTS — portrait cards
   ============================================================ */
.specialists-section {
  background: var(--bg);
  padding: clamp(80px, 10vw, 128px) 0;
}

.specialists-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 8px;
}

.specialist-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--pale);
  margin-bottom: 18px;
  position: relative;
  border-radius: 16px;
}
.specialist-card__photo .ph {
  transition: transform 0.65s var(--ease);
}
.specialist-card:hover .specialist-card__photo .ph {
  transform: scale(1.04);
}


.specialist-card__name {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.specialist-card__role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-section {
  background: var(--bg-alt);
  padding: clamp(80px, 10vw, 128px) 0;
}

.ba-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.ba-track { flex: 1; }

.ba-slide { display: none; }
.ba-slide.active { display: block; }

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.ba-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 16px;
}

.ba-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.90);
  padding: 5px 12px;
  border-radius: 100px;
}
.ba-badge--after {
  background: var(--dark);
  color: var(--white);
}

.ba-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.ba-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  flex-shrink: 0;
  cursor: pointer;
  background: var(--bg-alt);
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.ba-arrow:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--dark);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  background: var(--bg);
  padding: clamp(80px, 10vw, 128px) 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
  margin-top: 8px;
}

.review-card {
  padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--border);
}

.review-card__stars {
  font-size: 13px;
  color: var(--accent);
  opacity: 1;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.review-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
}

.review-card__text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
}

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts-section {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 500px;
}

.contacts-card {
  background: var(--bg-alt);
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-light);
}

.contacts-section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 40px;
}

.contacts-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.contacts-detail:last-of-type { border-bottom: none; }

.contacts-detail__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contacts-detail__value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 300;
}
.contacts-detail__value a:hover { color: var(--text-mid); }

.contacts-btn { margin-top: auto; align-self: flex-start; }

.contacts-map {
  position: relative;
  overflow: hidden;
}
.contacts-map iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER — dark editorial
   ============================================================ */
.site-footer { background: var(--dark-bg); }

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo--footer {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  letter-spacing: 0.26em;
}
.logo--footer:hover { opacity: 0.6; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--tr);
}
.footer-nav a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 32px;
}

.footer-copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.06em;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.18);
  transition: color var(--tr);
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   PLACEHOLDERS / STOCK IMAGES
   ============================================================ */
.ph {
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Promo cards */
.ph--promo-1 {
  background-image: url('../assets/photos/promo-1.png');
  background-color: #C8B09A;
}
.ph--promo-2 {
  background-image: url('../assets/photos/promo-2.png');
  background-color: #C0A88A;
}
.ph--promo-3 {
  background-image: url('../assets/photos/promo-3.png');
  background-color: #D0BCA8;
}
.ph--promo-4 {
  background-image: url('../assets/photos/promo-4.jpg');
  background-color: #C8B49A;
}

/* Service tiles */
.ph--service-1 {
  background-image: url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?auto=format&fit=crop&w=800&q=80');
  background-color: #2A1810;
}
.ph--service-2 {
  background-image: url('https://images.unsplash.com/photo-1604480132736-44c188fe4d20?auto=format&fit=crop&w=800&q=80');
  background-color: #341C10;
}
.ph--service-3 {
  background-image: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=800&q=80');
  background-color: #281410;
}
.ph--service-4 {
  background-image: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=800&q=80');
  background-color: #1E1410;
}
.ph--service-5 {
  background-image: url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=800&q=80');
  background-color: #201810;
}
.ph--service-6 {
  background-image: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=800&q=80');
  background-color: #2C180E;
}
.ph--service-7 {
  background-image: url('https://images.unsplash.com/photo-1614289371518-722f2615943d?auto=format&fit=crop&w=800&q=80');
  background-color: #181418;
}
.ph--service-8 {
  background-image: url('https://images.unsplash.com/photo-1609207925177-1e3f16e0b2c2?auto=format&fit=crop&w=800&q=80');
  background-color: #241810;
}
.ph--service-9 {
  background-image: url('https://images.unsplash.com/photo-1598440947619-2c35fc9aa908?auto=format&fit=crop&w=800&q=80');
  background-color: #201410;
}
.ph--service-10 {
  background-image: url('https://images.unsplash.com/photo-1556228578-8c89e6adf883?auto=format&fit=crop&w=1200&q=80');
  background-color: #241C14;
}

/* Specialist portraits */
.ph--spec-1 {
  background-image: url('https://images.unsplash.com/photo-1594824388453-f28e83a2b0c3?auto=format&fit=crop&w=600&q=80');
  background-position: center top;
  background-color: #D8C8B4;
}
.ph--spec-2 {
  background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=600&q=80');
  background-position: center top;
  background-color: #D0C0AA;
}
.ph--spec-3 {
  background-image: url('https://images.unsplash.com/photo-1607748862144-a97b9c51b8b2?auto=format&fit=crop&w=600&q=80');
  background-position: center top;
  background-color: #D8CCC0;
}

/* Founder */
.ph--founder {
  background-image: url('https://images.unsplash.com/photo-1567515004441-9f22e21d4e71?auto=format&fit=crop&w=800&q=80');
  background-position: center top;
  background-color: #D4C4B0;
}

/* Before/After */
.ph--ba-before-1 {
  background-image: url('https://images.unsplash.com/photo-1552248523-a785534f3b5a?auto=format&fit=crop&w=600&q=80');
  background-color: #C0A890;
}
.ph--ba-after-1 {
  background-image: url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=600&q=80');
  background-color: #D0BCA8;
}
.ph--ba-before-2 {
  background-image: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=600&q=80');
  background-color: #B8A08A;
}
.ph--ba-after-2 {
  background-image: url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?auto=format&fit=crop&w=600&q=80');
  background-color: #D4C4B0;
}
.ph--ba-before-3 {
  background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=600&q=80');
  background-color: #BCA890;
}
.ph--ba-after-3 {
  background-image: url('https://images.unsplash.com/photo-1608248543803-ba3b3f4c35e6?auto=format&fit=crop&w=600&q=80');
  background-color: #D0C4B8;
}

/* Map placeholder */
.ph--map {
  background-image: url('https://images.unsplash.com/photo-1569336415962-a4bd9f69c6fc?auto=format&fit=crop&w=1200&q=80');
  background-color: #D0D8C8;
}

/* ============================================================
   PULLQUOTE — intro strip
   ============================================================ */
.pullquote-section {
  background: #FBFAF3;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  text-align: center;
}

.pullquote__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.pullquote__icon {
  width: 52px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.88;
}

.pullquote__text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 300;
  line-height: 1.72;
  color: #1e1b16;
  letter-spacing: 0em;
}

/* ============================================================
   SERVICE CATEGORY CARDS
   ============================================================ */
.svc-section {
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 0;
}
.svc-section__head { margin-bottom: 48px; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.svc-card {
  position: relative;
  height: clamp(260px, 32vw, 460px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.4s ease;
}
.svc-card:nth-child(even) { margin-top: clamp(32px, 4vw, 56px); }

.svc-card__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-card:hover .svc-card__bg { opacity: 1; }

.svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,5,0.25) 0%, rgba(10,8,5,0.62) 100%);
  opacity: 0;
  transition: opacity 0.55s ease;
}
.svc-card:hover .svc-card__overlay { opacity: 1; }

.svc-card__content { position: relative; z-index: 2; }

.svc-card__num {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 14px;
  transition: color 0.35s ease;
}
.svc-card:hover .svc-card__num { color: rgba(255,255,255,0.55); }

.svc-card__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color 0.35s ease;
}
.svc-card:hover .svc-card__title { color: var(--white); }

.svc-card__arrow {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}
.svc-card:hover .svc-card__arrow {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   CLINIC FEATURES — icon strip (Image #3 style)
   ============================================================ */
.clinic-section {
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clinic-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  border: none;
  margin: 0;
}

.clinic-feature {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px);
  text-align: center;
  border-left: 1px solid var(--border-light);
}
.clinic-feature:first-child { border-left: none; }

.clinic-feature__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  opacity: 1;
}
.clinic-feature__icon svg { width: 100%; height: 100%; }

.clinic-feature__label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  line-height: 1.55;
}

/* ============================================================
   FOUNDER SECTION — two-panel (Image #4 style)
   ============================================================ */
.founder-section {
  background: var(--bg);
  padding: clamp(72px, 9vw, 120px) 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.founder-photo {
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
}

.founder-card__brand {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.founder-card__quote {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
  letter-spacing: 0em;
  margin-bottom: 20px;
}

.founder-card__name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
  flex: 1;
}

.founder-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

/* ============================================================
   INNER PAGES — hero banner + sub-nav tabs
   ============================================================ */
.inner-hero {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
}
.inner-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.18) 60%,
    transparent 100%
  );
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(36px, 5vh, 64px);
}

.inner-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.0;
}

/* Sub-nav page tabs */
.page-tabs {
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 69px;
  z-index: 50;
}

.page-tabs__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-tabs__inner::-webkit-scrollbar { display: none; }

.page-tab {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 20px 24px;
  white-space: nowrap;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -1px;
  transition: color var(--tr), border-color var(--tr);
  text-decoration: none;
  display: inline-block;
}
.page-tab:hover { color: var(--text); }
.page-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Prices table */
.prices-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg);
}

.price-category {
  border-top: 1px solid var(--border-light);
  padding-top: 48px;
  margin-top: 48px;
}
.price-category:first-child { margin-top: 0; border-top: none; }

.price-category__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background var(--tr);
}
.price-table tr:hover { background: var(--bg-alt); }
.price-table td {
  padding: 22px 16px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--text);
}
.price-table td:first-child { padding-right: 24px; }
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--text-mid);
  font-weight: 400;
}
.price-table .price-note {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

/* Certificates gallery */
.certs-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-top: 48px;
}

.cert-card {
  aspect-ratio: 3/4;
  background: var(--pale);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 24px;
}

/* Full-width promos page grid */
.promos-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

/* About page specifics */
.about-intro {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.about-intro__lead {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.about-intro__body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-mid);
  font-weight: 300;
}
.about-intro__body p + p { margin-top: 16px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 2px;
}

.about-value {
  background: var(--bg-alt);
  padding: clamp(28px, 3.5vw, 48px);
}

.about-value__num {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-value__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-value__text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 900px) {
  .about-intro__grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .promos-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .promos-page-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeUp 0.9s var(--ease) both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.26s; }
.delay-3 { animation-delay: 0.42s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-tile--wide { grid-column: span 1; aspect-ratio: 3/4; }
}

@media (max-width: 1024px) {
  .clinic-quote-block { grid-template-columns: 1fr; }
  .clinic-quote-image { max-width: 400px; margin: 0 auto; aspect-ratio: 4/3; }
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .header-contact { display: none; }

  .about-text-inner { grid-template-columns: 1fr; gap: 20px; }
  .promos-grid { grid-template-columns: 1fr; }
  .promo-card { min-height: 160px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-features { grid-template-columns: repeat(2, 1fr); }
  .specialists-row { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contacts-section { grid-template-columns: 1fr; }
  .contacts-map { min-height: 320px; }
  .footer-main { flex-direction: column; text-align: center; gap: 24px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .service-tile--wide { grid-column: span 2; aspect-ratio: 16/9; }
  .clinic-features { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .specialists-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .ba-pair { gap: 2px; }
  .footer-nav { gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
