/* ============================================================
   Artel Dental Clinic — Style Sheet
   Apple Aesthetic + Premium Typography
   Display: Manrope (Cyrillic) | Body: Geist (Cyrillic)
   ============================================================ */

/* ── Font-Face: Manrope (Display / Headings) — Cyrillic first ── */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-052F;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-CyrExt.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0300-036F, U+1E00-1EFF;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-LatExt.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F;
}

/* ── Font-Face: Geist (Body / UI) — Cyrillic first ── */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-052F;
}

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-LatExt.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F;
}

/* Fallbacks to prevent CLS */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial');
  size-adjust: 106.5%;
  ascent-override: 93%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist Fallback';
  src: local('Arial');
  size-adjust: 104.5%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}


/* ── Design Tokens — Apple (AirPods Pro ES) ───────────────── */

:root {
  /* ── Brand Colors ── */
  --color-gold:           #B6906B;
  --color-gold-light:     #C9A882;
  --color-gold-dark:      #9E7A58;
  --color-plum:           #996895;
  --color-plum-light:     #AD80AA;
  --color-plum-dark:      #7D5479;

  /* ── Canvas & Surface Colors ── */
  --color-white-canvas:       #ffffff;
  --color-light-mist:         #f5f5f7;
  --color-frost-gray:         #e8e8ed;
  --color-jet-black:          #1d1d1f;
  --color-steel-gray:         #474747;
  --color-medium-gray:        #707070;
  --color-silver-whisper:     #d6d6d6;

  --gradient-iridescent-spectra: linear-gradient(60deg, var(--color-gold) 0%, var(--color-plum) 50%, var(--color-gold-light) 100%);

  /* ── Legacy alias tokens ── */
  --c-bg:              var(--color-white-canvas);
  --c-bg-alt:          var(--color-light-mist);
  --c-bg-dark:         var(--color-jet-black);
  --c-bg-dark-alt:     #2d2d2f;
  --c-bg-dark-subtle:  var(--color-steel-gray);
  --c-surface:         var(--color-white-canvas);
  --c-surface-warm:    var(--color-light-mist);
  --c-surface-alt:     var(--color-frost-gray);
  --c-accent:          var(--color-gold);
  --c-accent-light:    var(--color-gold-light);
  --c-accent-lighter:  var(--color-plum-light);
  --c-accent-bright:   var(--color-gold);
  --c-accent-dark:     var(--color-gold-dark);
  --c-accent-darker:   var(--color-plum-dark);
  --c-accent-muted:    rgba(182, 144, 107, 0.15);
  --c-accent-glow:     rgba(182, 144, 107, 0.25);
  --c-text:            var(--color-jet-black);
  --c-text-secondary:  var(--color-steel-gray);
  --c-text-muted:      var(--color-medium-gray);
  --c-text-light:      var(--color-light-mist);
  --c-text-light-secondary: var(--color-medium-gray);
  --c-text-light-muted:     var(--color-medium-gray);
  --c-border:          rgba(0, 0, 0, 0.08);
  --c-border-warm:     rgba(182, 144, 107, 0.20);
  --c-border-cool:     rgba(153, 104, 149, 0.15);
  --c-divider:         var(--color-silver-whisper);
  --c-success:         #00c866;
  --c-success-bg:      rgba(0, 200, 102, 0.10);
  --c-warning:         #ed6300;
  --c-warning-bg:      rgba(237, 99, 0, 0.10);
  --c-error:           #ed4545;
  --c-error-bg:        rgba(237, 69, 69, 0.10);
  --c-info:            var(--color-gold);
  --c-info-bg:         rgba(182, 144, 107, 0.10);

  /* ── Overlay Gradients ── */
  --gradient-hero:       linear-gradient(135deg, rgba(29,29,31,0.85) 0%, rgba(29,29,31,0.60) 50%, rgba(29,29,31,0.80) 100%);
  --gradient-hero-split: linear-gradient(90deg, rgba(29,29,31,0.90) 0%, rgba(29,29,31,0.50) 60%, rgba(29,29,31,0.25) 100%);
  --gradient-section:    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
  --gradient-accent-line: linear-gradient(90deg, transparent 0%, var(--c-accent) 50%, transparent 100%);

  /* ── Font Families (taste-skill: no SF Pro, use Manrope+Geist) ── */
  --f-heading:  'Manrope', 'Manrope Fallback', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body:     'Geist', 'Geist Fallback', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ── Font Sizes (Apple type scale) ── */
  --f-2xs:   10px;
  --f-xs:    12px;
  --f-sm:    17px;
  --f-base:  20px;
  --f-md:    24px;
  --f-lg:    32px;
  --f-xl:    56px;
  --f-2xl:   72px;
  --f-3xl:   80px;
  --f-4xl:   96px;
  --f-5xl:   56px;
  --f-6xl:   96px;

  /* ── Font Weights ── */
  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;

  /* ── Line Heights (taste-skill: tight headings) ── */
  --lh-tight:    1.04;
  --lh-heading:  1.07;
  --lh-body:     1.47;
  --lh-relaxed:  1.5;
  --lh-loose:    1.83;

  /* ── Letter Spacing (taste-skill: tracking-tighter on display) ── */
  --ls-tight:    -0.030em;
  --ls-normal:   -0.010em;
  --ls-wide:     0.02em;
  --ls-wider:    0.05em;
  --ls-widest:   0.15em;

  /* ── Spacing (Apple 4px base) ── */
  --spacing-4:    4px;
  --spacing-8:    8px;
  --spacing-12:   12px;
  --spacing-16:   16px;
  --spacing-20:   20px;
  --spacing-24:   24px;
  --spacing-28:   28px;
  --spacing-32:   32px;
  --spacing-36:   36px;
  --spacing-40:   40px;
  --spacing-44:   44px;
  --spacing-48:   48px;
  --spacing-52:   52px;
  --spacing-76:   76px;
  --spacing-80:   80px;
  --spacing-100:  100px;
  --spacing-160:  160px;

  /* ── Shorthand spacing aliases ── */
  --s-3xs:   var(--spacing-4);
  --s-2xs:   var(--spacing-8);
  --s-xs:    var(--spacing-12);
  --s-sm:    var(--spacing-16);
  --s-md:    var(--spacing-20);
  --s-lg:    var(--spacing-24);
  --s-xl:    var(--spacing-28);
  --s-2xl:   var(--spacing-32);
  --s-3xl:   var(--spacing-40);
  --s-4xl:   var(--spacing-48);
  --s-5xl:   var(--spacing-80);

  /* ── Layout ── */
  --section-gap:   40px;
  --card-padding:  28px;
  --element-gap:   10px;
  --section-py:    var(--s-3xl);
  --container-px:  var(--s-xl);

  /* ── Border Radius ── */
  --radius-lg:     10px;
  --radius-2xl:    18px;
  --radius-3xl:    24px;
  --radius-3xl-2:  28px;
  --radius-3xl-3:  32px;
  --radius-3xl-4:  36px;
  --radius-full:   980px;
  --radius-full-2: 999px;

  /* ── Named Radii ── */
  --r-sm:          var(--radius-lg);
  --r-md:          var(--radius-2xl);
  --r-lg:          var(--radius-3xl);
  --r-xl:          var(--radius-3xl-2);
  --r-pill:        var(--radius-full-2);
  --r-full:        50%;
  --radius-cards:  var(--radius-3xl-2);
  --radius-links:  var(--radius-lg);
  --radius-badges: var(--radius-3xl-4);
  --radius-images: var(--radius-3xl-2);
  --radius-buttons: var(--radius-full-2);

  /* ── Shadows (minimal, Apple-style) ── */
  --shadow-ambient:      0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-ambient-lg:   0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-elevated:     0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card:         none;
  --shadow-card-hover:   0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-focus:        0 0 0 4px var(--c-accent-muted);
  --shadow-hero-image:   0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-header:       0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-glow:    0 4px 16px rgba(182, 144, 107, 0.08), 0 0 0 1px rgba(182, 144, 107, 0.1);
  --shadow-accent-glow-sm: 0 0 24px rgba(182, 144, 107, 0.25);
  --shadow-accent-glow-lg: 0 0 40px rgba(182, 144, 107, 0.45);
  --shadow-accent-glow:  0 4px 24px rgba(182, 144, 107, 0.08);
  --shadow-glass:        0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-glass-header: 0 1px 2px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-header-scrolled: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);

  /* ── Duration (emil-design: cap interface movement at 300ms) ── */
  --dur-fast:    200ms;
  --dur-base:    300ms;
  --dur-slow:    500ms;
  --dur-reveal:  800ms;

  /* ── Easing (emil-design: spring physics, no sluggish ease-in) ── */
  --ease-spring:  cubic-bezier(0.32, 0.72, 0, 1);
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-tactile: cubic-bezier(0.32, 0.72, 0, 1);

  /* ── Shorthand ── */
  --t-fast:   var(--dur-fast) var(--ease-default);
  --t-base:   var(--dur-base) var(--ease-spring);
  --t-slow:   var(--dur-slow) var(--ease-spring);
  --t-reveal: var(--dur-reveal) var(--ease-spring);
  --t-spring: 0.7s var(--ease-spring);

  /* ── Container ── */
  --container-max:  1080px;
  --container-wide: 1200px;

  /* ── Z-index ── */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ── Responsive Token Overrides ── */

@media (min-width: 768px) {
  :root {
    --section-py:   var(--s-4xl);
    --container-px: var(--s-lg);
  }
}

@media (min-width: 1024px) {
  :root {
    --section-py:   var(--s-5xl);
    --container-px: var(--s-xl);
  }
}


/* ── Reset ─────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light dark;
}

body {
  font-family: var(--f-body);
  font-size: var(--f-sm);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: var(--ls-normal);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1, h2, h3 {
  scroll-margin-top: 100px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}


/* ── Base Typography (taste-skill: tight tracking, tight leading) ── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-text);
}

h1 { font-size: var(--f-3xl); }
h2 { font-size: var(--f-xl); }
h3 { font-size: var(--f-lg); }
h4 { font-size: var(--f-md); }

@media (min-width: 768px) {
  h1 { font-size: var(--f-4xl); }
  h2 { font-size: var(--f-xl); }
}

/* Italic descender clearance (taste-skill) */
:where(h1, h2, h3, h4, h5, h6) em {
  font-style: normal;
  font-style: italic;
  padding-left: 0.05em;
}


/* ── Focus Styles ───────────────────────────────────────────── */

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ── Skip Link ──────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: var(--z-toast);
  padding: var(--s-sm) var(--s-md);
  background: var(--c-accent);
  color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: 0 0 var(--r-md) 0;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 0;
}


/* ── Layout: Container ──────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--c-bg-alt);
}

.section--dark {
  background-color: var(--c-bg-dark);
  color: var(--c-text-light);
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.services,
.team,
.appointment,
.faq,
.contacts,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}


/* ── Component: Eyebrow Tag ────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--f-xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-secondary);
  padding: var(--s-3xs) var(--s-sm);
  border-radius: var(--radius-badges);
  background: var(--c-bg-alt);
  margin-bottom: var(--s-md);
}

.eyebrow--light {
  color: var(--c-text-light-secondary);
  background: rgba(255, 255, 255, 0.1);
}


/* ── Component: Section Heading ─────────────────────────────── */

.section__title {
  font-family: var(--f-heading);
  font-size: var(--f-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--s-sm);
}

.section__title--light {
  color: var(--c-text-light);
}

.section__subtitle {
  font-family: var(--f-body);
  font-size: var(--f-base);
  color: var(--c-text-secondary);
  max-width: 60ch;
  margin-bottom: var(--s-lg);
  line-height: var(--lh-body);
}

.section--dark .section__subtitle {
  color: var(--c-text-light-secondary);
}


/* ── Component: Apple Divider ──────────────────────────────── */

.section__divider {
  width: 40px;
  height: 1px;
  background: var(--c-divider);
  border: none;
  margin-bottom: var(--s-xl);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition:
    transform 0.6s var(--ease-spring),
    opacity 0.4s var(--ease-spring);
}

.section__divider.reveal--visible {
  transform: scaleX(1);
  opacity: 1;
  background: var(--gradient-iridescent-spectra);
  height: 2px;
  width: 80px;
  animation: gradient-shift 4s ease infinite;
  background-size: 200% 100%;
}


/* ── Component: Card Grid ───────────────────────────────────── */

.card-grid {
  display: grid;
  gap: var(--s-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4col { grid-template-columns: repeat(4, 1fr); }
}


/* ── Component: Split Layout ────────────────────────────────── */

.split-layout {
  display: flex;
  flex-direction: column;
  gap: var(--s-2xl);
}

@media (min-width: 1024px) {
  .split-layout {
    flex-direction: row;
    align-items: stretch;
  }
  .split-layout > *:first-child {
    flex: 0.6;
  }
  .split-layout > *:last-child {
    flex: 0.4;
  }
}


/* ── Component: Apple Buttons (emil-design: tactile scale 0.97) ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  padding: var(--s-xs) var(--s-xl);
  font-family: var(--f-body);
  font-size: var(--f-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-normal);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-buttons);
  cursor: pointer;
  min-height: 44px;
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    transform var(--t-fast);
  will-change: transform;
}

.btn__icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--r-full);
  transition: transform var(--t-fast);
}

.btn__icon-wrapper svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Filled Primary — Ocean Blue */
.btn--primary {
  background: var(--c-accent);
  color: #FFFFFF;
  font-weight: var(--fw-semibold);
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--c-accent-dark);
  }
}

/* Tactile click feedback (emil-design) */
.btn--primary:active {
  transform: scale(0.97);
}

/* Ghost Button — minimal presence */
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  padding: 0 var(--s-xl);
}

@media (hover: hover) {
  .btn--ghost:hover {
    color: var(--c-accent);
  }
}

.btn--ghost:active {
  transform: scale(0.97);
}

/* Outline Button — secondary action */
.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--r-xl);
  padding: var(--s-xs) var(--s-xl);
}

@media (hover: hover) {
  .btn--outline:hover {
    background: var(--c-accent-muted);
  }
}

.btn--outline:active {
  transform: scale(0.97);
}


/* ── Component: Header (Premium Island Nav) ───── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
}

.header__accent-line {
  height: 2px;
  background: var(--gradient-iridescent-spectra);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
  width: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  margin-top: var(--s-md);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-ambient);
  transition:
    background-color var(--t-base),
    box-shadow var(--t-base);
}

@media (min-width: 768px) {
  .header__nav {
    padding: 0.75rem 2rem;
    margin-top: 1rem;
  }
}

.header--scrolled .header__nav {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-header);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo-icon {
  height: 1.5rem;
  width: auto;
  flex-shrink: 0;
}

.header__logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: -0.01em;
}

.header__menu {
  display: none;
  align-items: center;
  gap: var(--s-2xl);
}

@media (min-width: 1024px) {
  .header__menu {
    display: flex;
  }
}

.header__link {
  font-family: var(--f-body);
  font-size: var(--f-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  color: var(--c-text-secondary);
  transition: color var(--t-fast);
  position: relative;
  text-decoration: none;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-iridescent-spectra);
  border-radius: 1px;
  transition: width 0.3s var(--ease-spring);
}

.header__link:hover::after {
  width: 100%;
}

@media (hover: hover) {
  .header__link:hover {
    color: var(--c-text);
  }
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--s-md);
}

@media (min-width: 768px) {
  .header__actions {
    display: flex;
  }
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--s-2xs);
  font-family: var(--f-body);
  font-size: var(--f-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
}

.lang-toggle__btn {
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-sm);
  color: var(--c-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.lang-toggle__btn--active {
  color: var(--c-accent);
  background: var(--c-accent-muted);
  border-color: rgba(182, 144, 107, 0.15);
}

@media (hover: hover) {
  .lang-toggle__btn:hover {
    color: var(--c-text-secondary);
  }
}

/* Hamburger */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
}

.header__burger-line {
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s var(--ease-spring);
  transform-origin: center;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.header__mobile-menu {
  position: fixed;
  inset: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-xl);
  padding: var(--s-xl);
  padding-top: 4rem;
  transform: translateY(-100%);
  opacity: 0;
  overscroll-behavior: contain;
  transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-slow) var(--ease-spring);
}

.mobile-menu__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top, 1rem));
  right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast);
}

.mobile-menu__close:hover,
.mobile-menu__close:active {
  background: rgba(0, 0, 0, 0.05);
}

.header__mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
}

.header__mobile-menu .mobile-link {
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.5s var(--ease-spring);
  font-family: var(--f-heading);
  font-size: var(--f-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}

.header__mobile-menu--open .mobile-link:nth-child(1) { transition-delay: 100ms; }
.header__mobile-menu--open .mobile-link:nth-child(2) { transition-delay: 150ms; }
.header__mobile-menu--open .mobile-link:nth-child(3) { transition-delay: 200ms; }
.header__mobile-menu--open .mobile-link:nth-child(4) { transition-delay: 250ms; }
.header__mobile-menu--open .mobile-link:nth-child(5) { transition-delay: 300ms; }

.header__mobile-menu--open .mobile-link {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile menu divider */
.mobile-menu__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-divider), transparent);
  margin: var(--s-md) 0;
}

/* Mobile menu bottom area */
.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  align-items: center;
}

/* Mobile CTA */
.header__mobile-menu .btn {
  max-width: fit-content;
}


/* ── Component: Hero (Premium Split Layout) ────────────────── */

.hero {
  min-height: 100dvh;
  background-color: var(--c-bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Animated Background Blobs ── */
.hero__bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.15;
  top: -15%;
  right: -5%;
  animation: blob-float-x 9s ease-in-out infinite;
}

.hero__blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-plum) 0%, transparent 70%);
  opacity: 0.10;
  bottom: -10%;
  left: 10%;
  animation: blob-float-y 11s ease-in-out infinite reverse;
}

.hero__blob--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-plum-light) 0%, transparent 70%);
  opacity: 0.08;
  top: 40%;
  right: 30%;
  animation: blob-float-x 7s ease-in-out infinite 2s;
}

@keyframes blob-float-x {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -20px) scale(1.05); }
  66% { transform: translate(-30px, 15px) scale(0.95); }
}

@keyframes blob-float-y {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 35px) scale(1.08); }
  66% { transform: translate(20px, -25px) scale(0.92); }
}

/* Hero background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/hero/hero-bg.svg');
  background-size: cover;
  background-position: center right;
  opacity: 0.4;
  z-index: 0;
}

/* ── Hero Video Background ── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(240,245,250,0.10) 100%);
  z-index: 2;
}

/* Hide backgrounds when video is present */
.hero:has(.hero__video) .hero__bg-layer,
.hero:has(.hero__video)::before,
.hero:has(.hero__video) .hero__video-overlay {
  display: none;
}

.hero__container {
  position: relative;
  z-index: 3;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 8rem var(--container-px) 5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

/* Eyebrow on hero */
.eyebrow--hero {
  background: rgba(182, 144, 107, 0.15);
  color: var(--c-accent-light);
  border: 1px solid rgba(182, 144, 107, 0.2);
  width: fit-content;
  animation: none; /* Override global eyebrow float animation */
}

.hero__title {
  font-family: var(--f-heading);
  font-size: var(--f-3xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-text-light);
  margin: 0;
}

@media (min-width: 768px) {
  .hero__title { font-size: var(--f-4xl); }
}

@media (min-width: 1024px) {
  .hero__title { font-size: var(--f-4xl); }
}

/* Gradient text animation */
.hero__title {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-gold-light) 50%, var(--color-plum-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-gradient 5s ease infinite;
}

@keyframes hero-gradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero__subtitle {
  font-family: var(--f-body);
  font-size: var(--f-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0;
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: var(--f-md); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: var(--s-sm);
}

/* Glass button for hero secondary action */
.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-text-light);
  padding: 0 var(--s-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-buttons);
  min-height: 44px;
  font-family: var(--f-body);
  font-size: var(--f-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-normal);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

@media (hover: hover) {
  .btn--glass:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.btn--glass:active {
  transform: scale(0.97);
}

/* Enhanced glow on hero CTA */
.btn--hero {
  box-shadow: var(--shadow-accent-glow-sm);
}

@media (hover: hover) {
  .btn--hero:hover {
    box-shadow: var(--shadow-accent-glow-lg);
  }
}

/* ── Trust Badges ── */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-2xs);
  font-family: var(--f-body);
  font-size: var(--f-xs);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: var(--ls-wide);
}

.hero__trust-icon {
  width: 16px;
  height: 16px;
  color: var(--c-accent-light);
  flex-shrink: 0;
}

/* ── Hero Visual ── */
.hero__visual {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__visual {
    display: flex;
  }
}

/* Image frame with glass border */
.hero__image-frame {
  position: relative;
  border-radius: var(--radius-3xl-3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-hero-image);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-spring);
}

@media (hover: hover) {
  .hero__image-frame:hover .hero__img {
    transform: scale(1.02);
  }
}

/* ── Floating Stat Cards ── */
.hero__stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--s-sm) var(--s-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: float-card 6s ease-in-out infinite;
  will-change: transform;
  z-index: 2;
}

.hero__stat-card--1 {
  bottom: 15%;
  left: -8%;
  animation-delay: 0s;
}

.hero__stat-card--2 {
  top: 10%;
  right: -5%;
  animation-delay: 2s;
}

@media (max-width: 1200px) {
  .hero__stat-card--1 { left: 0; }
  .hero__stat-card--2 { right: 0; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__stat-number {
  font-family: var(--f-heading);
  font-size: var(--f-md);
  font-weight: var(--fw-extrabold);
  color: var(--c-text-light);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}

.hero__stat-label {
  font-family: var(--f-body);
  font-size: var(--f-xs);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: var(--ls-wide);
}

.hero__stat-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.hero__stat-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
}

.hero__stat-rating {
  font-family: var(--f-heading);
  font-size: var(--f-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-light);
}

/* ── Scroll Indicator ── */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2xs);
  color: var(--c-accent-light);
  opacity: 0.5;
  animation: float 2.5s infinite var(--ease-spring);
  z-index: 2;
}

.hero__scroll-text {
  font-family: var(--f-body);
  font-size: var(--f-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-indicator { animation: none; }
  .hero__blob { animation: none !important; }
  .hero__stat-card { animation: none !important; }
}

/* Hero visual reveal override */
.hero__visual--reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}


/* ── Component: Service Card (Apple flat cards) ────────────── */

.service-card__shell {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--s-xs);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition:
    transform var(--t-spring),
    box-shadow var(--t-spring);
  will-change: transform;
}

.service-card__core {
  background: var(--c-surface);
  border-radius: calc(var(--radius-cards) - var(--s-xs));
  padding: var(--card-padding);
}

@media (hover: hover) {
  .service-card__shell:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

/* Tactile click (emil-design) */
.service-card__shell:active {
  transform: scale(0.97);
}

.service-card__title {
  font-family: var(--f-heading);
  font-size: var(--f-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-sm);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.service-card__desc {
  font-family: var(--f-body);
  font-size: var(--f-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--s-md);
}

.service-card__price-block {
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-sm);
}

.service-card__price {
  font-family: var(--f-heading);
  font-size: var(--f-md);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}

/* ── Component: Services Accordion ──────────────────────────── */

.services__group {
  margin-top: var(--s-lg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.services__group:first-of-type {
  margin-top: 0;
}

.services__group--open {
  border-color: var(--c-accent);
}

.services__group--flagship {
  border-color: var(--c-accent);
  border-width: 1.5px;
}

.services__group--flagship.services__group--open {
  border-color: var(--c-accent-dark);
  box-shadow: var(--shadow-ambient-lg);
}

/* Header button (clickable row) */
.services__group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-md) var(--s-xl);
  background: var(--c-surface);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--t-base);
}

.services__group-header:hover {
  background: var(--c-bg-alt);
}

.services__group--flagship .services__group-header {
  background: var(--c-bg-alt);
}

.services__group--flagship .services__group-header:hover {
  background: var(--c-surface-warm);
}

.services__category-title {
  font-family: var(--f-heading);
  font-size: var(--f-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin: 0;
  pointer-events: none;
  letter-spacing: var(--ls-tight);
}

.services__group--flagship .services__category-title {
  color: var(--c-accent);
  font-size: var(--f-lg);
}

/* Chevron icon */
.services__chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--c-text-muted);
  transition: transform var(--t-slow) var(--ease-spring);
}

.services__group--open .services__chevron {
  color: var(--c-accent);
  transform: rotate(180deg);
}

/* Body (expandable) */
.services__group-body {
  padding: 0 var(--s-xl) var(--s-xl);
  overflow: hidden;
}

.services__group-body[hidden] {
  display: none;
}

.service-card__shell--flagship {
  border-color: var(--c-accent-muted);
}

.service-card__shell--flagship .service-card__core {
  background: linear-gradient(135deg, var(--c-surface) 0%, rgba(182, 144, 107, 0.03) 100%);
}

@media (min-width: 1024px) {
  .card-grid--services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.services__disclaimer {
  text-align: center;
  font-size: var(--f-xs);
  color: var(--c-text-muted);
  margin-top: var(--s-lg);
  font-style: italic;
}

.reviews__disclaimer {
  text-align: center;
  font-size: var(--f-xs);
  color: var(--c-text-muted);
  margin-top: var(--s-lg);
  font-style: italic;
}

.footer__license {
  font-size: var(--f-xs);
  color: var(--c-text-light-muted);
  margin: var(--s-xs) 0;
}


/* ── Component: Team Card (Apple flat) ──────────────────────── */

.team__card {
  background: var(--c-surface);
  border-radius: var(--radius-cards);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform var(--t-spring), box-shadow var(--t-spring);
  will-change: transform;
}

@media (hover: hover) {
  .team__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.team__card:active {
  transform: scale(0.98);
}

.team__photo-wrapper {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bg-alt);
}

.team__photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

@media (hover: hover) {
  .team__card:hover .team__photo-wrapper img {
    transform: scale(1.03);
  }
}

.team__info {
  padding: var(--s-md);
}

.team__name {
  font-family: var(--f-heading);
  font-size: var(--f-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-2xs);
  letter-spacing: var(--ls-tight);
}

.team__specialty {
  display: block;
  font-size: var(--f-sm);
  color: var(--c-accent);
  font-weight: var(--fw-medium);
  margin-bottom: var(--s-2xs);
}

.team__experience {
  display: block;
  font-size: var(--f-xs);
  color: var(--c-text-muted);
}


/* ── Component: Review Card (Apple on dark) ────────────────── */

.reviews__carousel {
  position: relative;
}

.reviews__scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: var(--s-md);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.reviews__scroll::-webkit-scrollbar {
  display: none;
}

.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full-2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(29, 29, 31, 0.7);
  color: var(--c-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
}

.reviews__arrow svg {
  width: 20px;
  height: 20px;
}

.reviews__arrow:hover {
  background: rgba(29, 29, 31, 0.9);
  border-color: var(--c-accent);
}

.reviews__arrow:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.reviews__arrow:active {
  transform: translateY(-50%) scale(0.97);
}

.reviews__arrow--prev {
  left: -8px;
}

.reviews__arrow--next {
  right: -8px;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: var(--s-xs);
  margin-top: var(--s-md);
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full-2);
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.reviews__dot--active {
  background: var(--c-accent);
  transform: scale(1.25);
}

.reviews__dot:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .reviews {
    overflow: visible;
  }
  .reviews__arrow {
    display: none;
  }
  .reviews__scroll {
    padding: 0;
    margin: 0 calc(-1 * var(--s-md));
  }
  .review-card__shell {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scroll-snap-align: center;
    margin: 0;
    padding: 0 var(--s-md);
    box-sizing: border-box;
  }
  .review-card__core {
    padding: var(--s-sm);
    width: 100%;
    box-sizing: border-box;
  }
  .reviews__text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: var(--s-sm);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .reviews__author {
    font-size: 14px;
  }
  .reviews__verified {
    font-size: 11px;
    margin-top: var(--s-2xs);
  }
  .reviews__source {
    font-size: 11px;
  }
  .reviews__stars svg {
    width: 0.875rem;
    height: 0.875rem;
  }
  .reviews__dots {
    margin-top: var(--s-sm);
  }
  .reviews__carousel {
    overflow: visible;
  }
}

@media (max-width: 380px) {
  .review-card__shell {
    padding: 0 var(--s-sm);
  }
  .review-card__core {
    padding: var(--s-xs);
  }
  .reviews__text {
    font-size: 13px;
    line-height: 1.5;
  }
  .reviews__author {
    font-size: 13px;
  }
  .reviews__verified {
    font-size: 10px;
  }
  .reviews__source {
    font-size: 10px;
  }
}

.review-card__shell {
  min-width: 85%;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.review-card__core {
  max-width: 640px;
  width: 100%;
  background: var(--c-bg-dark-alt);
  border-radius: var(--radius-cards);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  padding: var(--s-lg);
}

.reviews__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--s-sm);
}

.reviews__stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--c-accent);
}

.reviews__text {
  font-family: var(--f-body);
  font-size: var(--f-sm);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-md);
  font-style: normal;
}

.reviews__author {
  font-family: var(--f-heading);
  font-size: var(--f-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-light);
  font-style: normal;
  letter-spacing: var(--ls-tight);
}

.reviews__verified {
  display: block;
  font-size: var(--f-xs);
  color: var(--c-accent-light);
  margin-top: var(--s-2xs);
}

.reviews__source {
  display: inline-block;
  margin-top: var(--s-2xs);
  padding: 0.15em 0.5em;
  background: rgba(182, 144, 107, 0.12);
  color: var(--c-accent);
  font-size: var(--f-xs);
  border-radius: 4px;
}


/* ── Component: Appointment Form (Apple flat) ──────────────── */

.form-shell {
  background: var(--c-surface);
  padding: var(--s-xl);
  border-radius: var(--radius-cards);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-ambient);
}

.form-core {
  background: var(--c-surface);
  border-radius: var(--r-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2xs);
  margin-bottom: var(--s-md);
}

.form__row {
  display: flex;
  gap: var(--s-md);
  flex-direction: column;
}

@media (min-width: 768px) {
  .form__row {
    flex-direction: row;
  }
  .form__row > * { flex: 1; }
}

.form__label {
  display: block;
  font-family: var(--f-body);
  font-size: var(--f-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  letter-spacing: var(--ls-normal);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--s-xs) var(--s-md);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--f-sm);
  min-height: 44px;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}

.form__input::placeholder {
  color: var(--c-text-muted);
}

.form__input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: var(--shadow-focus);
  background: var(--c-surface);
}

.form__input--valid {
  border-color: var(--c-success);
}

.form__input--invalid {
  border-color: var(--c-error);
}

.form__error {
  display: block;
  font-family: var(--f-body);
  font-size: var(--f-xs);
  color: var(--c-error);
  margin-top: var(--s-2xs);
}

.form__error[hidden] {
  display: none;
}

.form__consent {
  margin-top: var(--s-md);
}

.form__consent-label {
  font-family: var(--f-body);
  font-size: var(--f-xs);
  color: var(--c-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
}

.form__checkbox {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  accent-color: var(--c-accent);
  margin-top: 2px;
}

.form__success {
  padding: var(--s-md);
  background: var(--c-success-bg);
  border: 1px solid var(--c-success);
  border-radius: var(--r-md);
  color: var(--c-success);
  margin-top: var(--s-md);
}

.form__success[hidden] {
  display: none;
}


/* ── Component: FAQ Accordion ──────────────────────────────── */

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-lg) var(--s-lg) var(--s-lg) 0;
  background: none;
  border: none;
  font-family: var(--f-heading);
  font-size: var(--f-md);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
  gap: var(--s-md);
  min-height: 48px;
  letter-spacing: var(--ls-tight);
  transition: color var(--t-fast);
}

@media (hover: hover) {
  .faq__question:hover {
    color: var(--c-accent);
  }
}

.faq__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease-spring);
  color: var(--c-accent);
}

.faq__item--open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height var(--dur-slow) var(--ease-spring),
    opacity var(--dur-base) var(--ease-spring);
  padding-bottom: 0;
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}

.faq__item--open .faq__answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: var(--s-md);
}


/* ── Component: Contacts ───────────────────────────────────── */

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  padding: 0;
  line-height: 1.3;
}

.contacts__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-accent);
  flex-shrink: 0;
}

.contacts__link {
  font-family: var(--f-body);
  font-size: var(--f-sm);
  color: var(--c-text);
  transition: color var(--t-fast);
}

@media (hover: hover) {
  .contacts__link:hover {
    color: var(--c-accent);
  }
}

.contacts__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--f-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-full-2);
  margin-left: var(--s-sm);
  white-space: nowrap;
}

.contacts__status--open {
  background: var(--c-success-bg);
  color: var(--c-success);
}

.contacts__status--closed {
  background: var(--c-warning-bg);
  color: var(--c-warning);
}

.contacts__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full-2);
  background: currentColor;
}

.contacts__status--open::before {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .contacts__status--open::before { animation: none; }
}

.contacts__socials {
  display: flex;
  gap: var(--s-md);
  margin-top: var(--s-sm);
}

.contacts__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full-2);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  transition: background var(--t-fast), border-color var(--t-fast);
}

@media (hover: hover) {
  .contacts__social:hover {
    background: var(--c-accent-muted);
    border-color: var(--c-accent);
  }
}

.contacts__social svg,
.contacts__social img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.contacts__map {
  border-radius: var(--radius-cards);
  overflow: hidden;
  max-height: 300px;
  border: 1px solid var(--c-border);
  margin-top: -106px;
}

@media (min-width: 1024px) {
  .contacts__map {
    max-height: 350px;
  }
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 120px;
  border: 0;
}



/* ── Component: Footer (Premium Multi-column) ───────────── */

.footer {
  background-color: var(--c-bg-dark);
  color: var(--c-text-light);
  padding-block: var(--s-3xl);
  position: relative;
}

.footer__accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-iridescent-spectra);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
  padding-bottom: var(--s-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--s-xl);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer__logo-icon {
  height: 1.75rem;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--c-bg-dark-alt);
  padding: 2px;
}

.footer__logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-text-light);
  letter-spacing: -0.01em;
}

.footer__tagline {
  font-size: var(--f-xs);
  color: var(--c-text-light-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .footer__nav {
    align-items: flex-start;
  }
}

.footer__nav-title {
  font-size: var(--f-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-light);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--s-2xs);
  display: block;
}

.footer__nav a {
  font-size: var(--f-xs);
  color: var(--c-text-light-secondary);
  transition: color var(--t-fast);
  text-decoration: none;
  letter-spacing: var(--ls-wider);
}

@media (hover: hover) {
  .footer__nav a:hover {
    color: var(--c-accent-light);
  }
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-text-light-secondary);
  text-decoration: none;
  font-size: var(--f-xs);
  transition: color var(--t-fast);
}

.footer__contact-link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

@media (hover: hover) {
  .footer__contact-link:hover {
    color: var(--c-accent-light);
  }
}

.footer__address {
  font-size: var(--f-xs);
  color: var(--c-text-light-secondary);
  line-height: var(--lh-relaxed);
}

.footer__socials {
  display: flex;
  gap: var(--s-sm);
  margin-top: var(--s-xs);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background var(--t-fast), transform var(--t-fast);
}

.footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: var(--c-text-light-secondary);
  transition: fill var(--t-fast);
}

@media (hover: hover) {
  .footer__social:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
  }

  .footer__social:hover svg {
    fill: var(--c-accent-light);
  }
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  padding-top: var(--s-md);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  font-size: var(--f-xs);
  color: var(--c-text-light-muted);
  align-items: center;
}

.footer__legal a {
  color: var(--c-text-light-secondary);
  transition: color var(--t-fast);
  text-decoration: none;
}

@media (hover: hover) {
  .footer__legal a:hover {
    color: var(--c-accent-light);
  }
}

.footer__license-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}

.footer__license {
  font-size: var(--f-xs);
  color: var(--c-text-light-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.footer__disclaimer {
  font-size: var(--f-xs);
  color: var(--c-text-light-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}


/* ── Utility: Scroll Reveal ────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition:
    opacity var(--dur-reveal) var(--ease-spring),
    transform var(--dur-reveal) var(--ease-spring),
    filter var(--dur-reveal) var(--ease-spring);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-group .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-group .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-group .reveal:nth-child(4) { transition-delay: 300ms; }
.reveal-group .reveal:nth-child(5) { transition-delay: 400ms; }
.reveal-group .reveal:nth-child(6) { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .reveal-group .reveal:nth-child(n) {
    transition-delay: 0;
  }
}


/* ════════════════════════════════════════════════════════════
   LIQUID GLASS EFFECTS
   ════════════════════════════════════════════════════════════ */

/* ── Hero: Animated Gradient Blobs ── */
/* All blob animations now live in the main hero section CSS above */

/* ── Frosted Glass Cards ── */

.service-card__shell,
.team__card,
.review-card__core {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Glass shimmer on cards */
.service-card__shell::before,
.team__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card__shell:hover::before,
.team__card:hover::before {
  left: 100%;
}

/* ── Glassmorphism Header (enhanced) ── */

.header__nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    var(--shadow-glass-header);
}

.header--scrolled .header__nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow:
    var(--shadow-header-scrolled);
}

/* ── Form Glass ── */

.form-shell {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    var(--shadow-glass);
}

/* ── Section Background Blobs ── */

.section--alt {
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section--alt::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    opacity: 0.04;
    filter: blur(120px);
    pointer-events: none;
    animation: blob-pulse 12s ease-in-out infinite;
    will-change: transform;
  }
}

@keyframes blob-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.04; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.06; }
}

/* ── Button Shimmer Effect ── */

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn--primary:hover::before {
  animation-duration: 1s;
}

/* ── Iridescent Accent Line ── */

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Card Hover: Glass Glow ── */

@media (hover: hover) {
  .service-card__shell:hover {
    box-shadow:
      var(--shadow-card-glow);
  }

  .team__card:hover {
    box-shadow:
      var(--shadow-card-glow);
  }
}

/* ── Floating Elements ── */

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.eyebrow {
  /* no animation — floating labels distract from content scanning */
}

/* ── Page Load: Fade In ── */

@keyframes page-load {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: page-load 0.6s ease-out;
}

/* ════════════════════════════════════════════════════════════
   ENHANCED SECTIONS — Services, Team, Reviews, Appointment, FAQ, Contacts
   ════════════════════════════════════════════════════════════ */

/* ── Services Section: Blob Backgrounds ── */

.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(100px);
  pointer-events: none;
}

.services::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-plum) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(80px);
  pointer-events: none;
}

/* Services accordion enhancements */
.services__group {
  position: relative;
  overflow: hidden;
}

.services__group::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0;
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.services__group--open::before {
  opacity: 0.04;
}

.services__group--flagship::before {
  opacity: 0.03;
  animation: services-blob-pulse 8s ease-in-out infinite;
}

@keyframes services-blob-pulse {
  0%, 100% { opacity: 0.03; transform: scale(1); }
  50% { opacity: 0.05; transform: scale(1.05); }
}


/* Service card price accent */
.service-card__price {
  position: relative;
}

.service-card__price::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-iridescent-spectra);
  background-size: 200% 100%;
  animation: price-glow 3s ease infinite;
  border-radius: 1px;
}

@keyframes price-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Services group open animation */
.services__group--open {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-accent-glow);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

/* ── Team Section: Enhanced Cards ── */

.team {
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.04;
  filter: blur(120px);
  pointer-events: none;
  animation: team-blob 10s ease-in-out infinite;
}

@keyframes team-blob {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.04; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 0.06; }
}

.team__card {
  position: relative;
  overflow: hidden;
}

.team__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(182, 144, 107, 0.04) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base);
}

.team__card:hover::after {
  opacity: 1;
}

.team__photo-wrapper {
  position: relative;
}

.team__photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.team__info {
  position: relative;
}

.team__specialty {
  position: relative;
}

.team__specialty::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-iridescent-spectra);
  border-radius: 1px;
}

/* ── Reviews Section: Enhanced Dark ── */

.reviews {
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.06;
  filter: blur(100px);
  pointer-events: none;
  animation: reviews-blob 12s ease-in-out infinite;
}

@keyframes reviews-blob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.06; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.08; }
}

.reviews__carousel {
  position: relative;
}

.reviews__carousel::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-plum) 0%, transparent 70%);
  opacity: 0.06;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: reviews-glow 8s ease-in-out infinite reverse;
}

@keyframes reviews-glow {
  0%, 100% { opacity: 0.06; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.1); }
}

.review-card__core {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(45, 45, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Enhanced star ratings */
.reviews__stars svg {
  filter: drop-shadow(0 0 4px rgba(182, 144, 107, 0.3));
}

.review-card__shell {
  transition: transform var(--t-spring);
}

.review-card__shell:active {
  transform: scale(0.98);
}

/* ── Appointment Section: Enhanced Form ── */

.appointment {
  position: relative;
  overflow: hidden;
}

.appointment::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(100px);
  pointer-events: none;
}

.appointment::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-plum) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(80px);
  pointer-events: none;
}

.form-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.form-shell::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.04;
  filter: blur(60px);
  pointer-events: none;
}

.form-core {
  position: relative;
  z-index: 1;
}

/* Enhanced form inputs */
.form__input,
.form__select,
.form__textarea {
  position: relative;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  background: var(--c-surface);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-focus);
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-xs) center;
  padding-right: var(--spacing-36);
}

/* Form checkbox enhancement */
.form__checkbox {
  accent-color: var(--c-accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form__consent-label {
  cursor: pointer;
}

/* ── FAQ Section: Enhanced Accordion ── */

.faq {
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(100px);
  pointer-events: none;
}

.faq__item {
  position: relative;
  overflow: hidden;
  padding-left: var(--s-md);
  transition: background var(--t-base);
}

.faq__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-iridescent-spectra);
  background-size: 200% 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-slow) var(--ease-spring);
  border-radius: 0 2px 2px 0;
}

.faq__item--open::before {
  transform: scaleY(1);
  animation: gradient-shift 3s ease infinite;
}

.faq__question {
  position: relative;
}

.faq__question::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.faq__item--open .faq__question::after {
  opacity: 1;
}

.faq__answer {
  transition:
    max-height var(--t-slow) var(--ease-spring),
    opacity var(--t-base) var(--ease-spring);
}

/* ── Contacts Section: Enhanced Layout ── */

.contacts {
  position: relative;
  overflow: hidden;
}

.contacts::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.03;
  filter: blur(100px);
  pointer-events: none;
}

.contacts__item {
  position: relative;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.contacts__item:hover {
  background: var(--c-bg-alt);
}

.contacts__map {
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t-base);
}

.contacts__map:hover {
  box-shadow: var(--shadow-elevated);
}

/* Social button enhancements */
.contacts__social {
  position: relative;
  overflow: hidden;
}

.contacts__social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-iridescent-spectra);
  opacity: 0;
  transition: opacity var(--t-fast);
  border-radius: inherit;
}

.contacts__social:hover::before {
  opacity: 0.1;
}

.contacts__social svg,
.contacts__social img {
  position: relative;
  z-index: 1;
}

/* ── Footer: Enhanced Glass ── */

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.04;
  filter: blur(100px);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  z-index: 1;
}

.footer__bottom {
  position: relative;
  z-index: 1;
}

.footer__social {
  position: relative;
  overflow: hidden;
}

.footer__social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-iridescent-spectra);
  opacity: 0;
  transition: opacity var(--t-fast);
  border-radius: inherit;
}

.footer__social:hover::before {
  opacity: 0.15;
}

.footer__social svg {
  position: relative;
  z-index: 1;
}

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
  .hero__blob,
  .services__group::before,
  .services__group--flagship::before,
  .team::before,
  .reviews::before,
  .reviews__carousel::before,
  .appointment::before,
  .appointment::after,
  .form-shell::before,
  .faq::before,
  .contacts::before,
  .footer::before,
  .section--alt::before {
    animation: none !important;
  }
}

/* ── Service Card Image Hover ── */
/* Handled by enhanced service card styles above */

/* ── Smooth Scroll Progress ── */

html {
  scroll-behavior: smooth;
}

/* ── Reduced Motion Fallback ── */

@media (prefers-reduced-motion: reduce) {
  .btn--primary::before,
  .section--alt::before,
  .section__divider,
  .eyebrow {
    animation: none !important;
  }

  body {
    animation: none;
  }
}

/* ── Clinic photo placeholder ── */

.clinic__photo {
  border-radius: var(--radius-cards);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-bg-alt) 0%, var(--c-frost-gray) 100%);
  border: 1px solid var(--c-border);
}

.clinic__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Cookie Banner ────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-jet-black, #1d1d1f);
  color: var(--c-text-light, #f5f5f7);
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--c-accent-light, #C9A882);
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  color: var(--c-accent, #B6906B);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__extra {
  width: 100%;
  order: -1;
  margin-bottom: 0.25rem;
}

.cookie-banner__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cookie-banner__checkbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-accent, #B6906B);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cookie-banner__btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--c-accent, #B6906B);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.cookie-banner__btn--accept {
  background: var(--c-accent, #B6906B);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: var(--c-accent-dark, #9E7A58);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--c-text-light, #f5f5f7);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner__text {
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}
