/* =========================================================
   Dr. Məhəmməd — əsas variant
   Variant 1-in quruluşu (scroll ilə açılan hero, "fokus" hərəkəti)
   + Variant 3-ün ağ-qızılı rəngləri
   + Figma elementləri, parallaks, iPhone mockup-da qəbul formu.
   ========================================================= */

@property --sh { syntax: '<number>'; inherits: true; initial-value: 0; }

/* LuxeSmile saytındakı kimi Montserrat — saytın öz faylı, Azərbaycan əlifbası üçün kəsilmiş */
@font-face { font-family: 'Montserrat'; src: url("../assets/fonts/montserrat-az.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0130-0131, U+011E-011F, U+015E-015F, U+018F, U+0259, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20BC; }
@font-face { font-family: 'Montserrat'; src: url("../assets/fonts/montserrat-italic-az.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+0130-0131, U+011E-011F, U+015E-015F, U+018F, U+0259, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20BC; }
/* Kiril (RU) — yalnız səhifədə rus mətni olanda yüklənir */
@font-face { font-family: 'Montserrat'; src: url("../assets/fonts/montserrat-cyr.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; src: url("../assets/fonts/montserrat-italic-cyr.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --white: #FFFFFF;
  --pearl: #FCFBF7;
  --champagne: #F6EFE0;
  --sand: #EAE0C8;
  --gold: #C2994B;
  --gold-hi: #EAD29B;
  --gold-deep: #8A6526;
  --ink: #2A2218;
  --muted: #776B5B;
  --line: rgba(194, 153, 75, .28);
  --figma: #0D99FF;              /* Figma seçim rəngi */
  --gold-grad: linear-gradient(110deg, #8A6526 0%, #C2994B 22%, #EAD29B 45%, #C2994B 62%, #9A722E 82%, #8A6526 100%);

  --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  /* məzmunun maksimal eni: adi ekranlarda 1240px, böyük monitorlarda 1600px-ə qədər açılır */
  --maxw: 1240px;
  /* menyu və hero yazılarının sol/sağ kənarı — aşağıdakı bölmələrin kənarı ilə eyni xətt */
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); background: var(--pearl); }

*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }
html.i18n-wait body { visibility: hidden; }
::selection { background: var(--gold-hi); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- Scroll Progress & Custom Gold Cursor ---------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2.5px; width: 100%; z-index: 90; pointer-events: none;
  background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--sp-all, 0));
  box-shadow: 0 0 10px rgba(194, 153, 75, .45);
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(194, 153, 75, .65);
  background: radial-gradient(circle, rgba(234, 210, 155, .14), transparent 70%);
  display: grid; place-items: center; opacity: 0;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, border-color .3s, opacity .3s;
  will-change: transform;
}
.cursor span { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: var(--gold); background: rgba(234, 210, 155, .2); }
.cursor.is-label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(255, 255, 255, .92); border-color: var(--gold); backdrop-filter: blur(8px); }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 1440px) {
  :root { --maxw: clamp(1240px, 84vw, 1600px); }
  body { font-size: 17px; }
}
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }

/* ---------- Düymələr ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: box-shadow .35s, color .3s, border-color .3s, background-color .3s, translate .5s var(--ease-out);
}
/* animasiya fasiləsi üzərinə gəldikdə — hover qradiyenti sabit görünsün */
.btn--gold:hover { animation-play-state: paused; }
.btn--gold {
  color: #fff; background: var(--gold-grad); background-size: 240% 100%;
  animation: sheen 7s linear infinite;
  box-shadow: 0 14px 30px -16px rgba(122, 90, 36, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
/* parıltı zolağı: üzərinə gələndə soldan sağa keçir */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg) translateX(0); opacity: 0;
}
.btn:hover::after { opacity: 1; transform: skewX(-20deg) translateX(420%); transition: transform .85s var(--ease-out), opacity .2s; }
.btn > * { position: relative; z-index: 2; }
.btn--gold:hover {
  background-image: linear-gradient(110deg, #9C7A3C 0%, #D9BB7E 30%, #F3E1B5 50%, #D9BB7E 70%, #9C7A3C 100%);
  box-shadow: 0 22px 40px -16px rgba(122, 90, 36, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
  color: #3A2C14;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 240% 0; } }
.btn--line { color: var(--gold-deep); border: 1px solid var(--gold); background: rgba(255, 255, 255, .6); transition: color .45s var(--ease), border-color .45s, translate .5s var(--ease-out), box-shadow .45s; }
/* xətli düymə: qızılı qradiyent soldan dolur */
.btn--line::before {
  content: ""; position: absolute; inset: 0; background: var(--gold-grad); background-size: 200% 100%;
  z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.btn--line:hover { color: #fff; border-color: transparent; box-shadow: 0 18px 34px -18px rgba(122, 90, 36, .9); }
.btn--line:hover::before { transform: scaleX(1); }
.btn--wide { width: 100%; }
.round { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--gold-deep); transition: background .3s, color .3s, border-color .3s; }
.round:hover { background: var(--gold-grad); background-size: 200% 100%; color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px rgba(122, 90, 36, .8); }
.round:disabled { opacity: .35; pointer-events: none; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--edge) 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav.is-scrolled { padding-top: calc(env(safe-area-inset-top, 0px) + 8px); padding-bottom: 8px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav[data-tone="dark"] { color: #fff; }
.nav.is-scrolled[data-tone="dark"] { background: rgba(42, 34, 24, .45); box-shadow: none; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.nav__brand img { width: 46px; height: auto; }
.nav__brand-text { display: flex; flex-direction: column; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; }
.nav__brand-text small { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.nav[data-tone="dark"] .nav__brand-text small { color: var(--gold-hi); }
/* alt yazının ilk hərfi "Dr."-in D xətti ilə eyni şaquldə: yumru S/С bir az sola çıxdığı üçün düzəliş */
.nav__brand-text small { padding-left: .125em; }
html[lang="en"] .nav__brand-text small { padding-left: .075em; }
.nav__links { position: relative; display: flex; gap: 4px; font-size: 15px; }
.nav__links a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; transition: color .3s; }
.nav__pill { position: absolute; left: 0; top: 0; height: 100%; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 999px; background: rgba(184, 145, 79, .14); border: 1px solid rgba(184, 145, 79, .45); opacity: var(--o, 0); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__cta { height: 44px; padding: 0 22px; font-size: 15px; }

/* ---------- Dil seçicisi ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .06em; color: inherit;
  transition: border-color .3s, background .3s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--gold); background: rgba(194, 153, 75, .1); }
.lang__chev { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 100%; z-index: 5;
  display: grid; gap: 2px; padding: 6px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(90, 64, 20, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease-out), visibility 0s; }
.lang__menu a {
  display: block; padding: 8px 14px; border-radius: 10px; text-align: center;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink);
  transition: background .25s, color .25s;
}
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--gold-grad); background-size: 200% 100%; color: #fff; }
.lang__menu a[aria-current="true"] { display: none; }
.nav.is-menu .lang { visibility: hidden; }

.drawer__lang { display: flex; gap: 8px; }
.drawer__lang a {
  display: grid; place-items: center; height: 42px; min-width: 58px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .06em;
}
.drawer__lang a[aria-current="true"] { background: var(--gold-grad); background-size: 200% 100%; color: #fff; border-color: transparent; }
.nav__burger { display: none; justify-self: end; width: 46px; height: 46px; position: relative; z-index: 60; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span { top: 22.5px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav.is-menu, .nav.is-menu[data-tone="dark"] { color: var(--ink); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--pearl); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(env(safe-area-inset-top, 0px) + 100px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px);
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease);
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer nav a { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; font-size: clamp(34px, 9vw, 56px); line-height: 1.15; opacity: 0; transform: translateY(20px); filter: blur(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s; }
.drawer.is-open nav a { opacity: 1; transform: none; filter: none; }
.drawer.is-open nav a:nth-child(1) { transition-delay: .18s; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .24s; }
.drawer.is-open nav a:nth-child(3) { transition-delay: .30s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .36s; }
.drawer.is-open nav a:nth-child(5) { transition-delay: .42s; }
.drawer__cta { align-self: flex-start; }

/* ---------- Video Intro ---------- */
.hero-intro { position: relative; height: 145vh; background: var(--pearl); }
.hero-intro__stick {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; background: var(--pearl);
}
.hero-intro__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.03 - var(--iv, 0) * .14));
  /* radius sabitdir: scroll zamanı dəyişəndə video hər kadrda yenidən çəkilirdi.
     Başlanğıcda video 3% böyükdür, künclər ekrandan kənarda qalır */
  border-radius: 28px;
  opacity: calc(1 - var(--iv, 0) * 1.15);
  box-shadow: 0 40px 90px -30px rgba(122, 90, 36, .35);
  will-change: transform, opacity;
}
.hero-intro__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 16, 10, .35) 0%, transparent 24%, transparent 78%, rgba(252, 251, 247, .9) 100%);
  opacity: calc(1 - var(--iv, 0));
}
.hero-intro__cue {
  position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); width: 1.5px; height: 56px;
  background: rgba(234, 210, 155, .45); overflow: hidden;
  opacity: calc(1 - var(--iv, 0) * 3);
}
.hero-intro__cue span {
  position: absolute; left: 0; top: 0; width: 100%; height: 42%;
  background: var(--gold-hi); animation: cue 2.2s var(--ease) infinite;
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 250vh; background: var(--pearl); color: var(--ink); }
.hero__stick {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  /* A quruluşu: solda yazı, ad və mətn; sağda tağ */
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(40px, 5vw, 96px); align-items: start;
  padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--edge) calc(5vh + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(60% 50% at 50% 52%, rgba(234, 210, 155, .38), rgba(255, 255, 255, .6) 55%, var(--white) 100%);
}
.hero__stick::after { /* nöqtəli Figma kətanı */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(184, 145, 79, .3) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 75%);
  translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 6px);
  opacity: calc(1 - var(--p, 0) * 3);
}
.hero__kicker {
  position: relative; grid-column: 1; grid-row: 2; margin-bottom: 2.6em; z-index: 3;
  font-family: var(--display); font-style: italic; font-weight: 400; font-size: 17px; color: var(--gold-deep); line-height: 1.4;
  translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -6px);
}
.js.is-ready .hero__kicker.intro { opacity: calc(1 - var(--p, 0) * 3); }
.hero__name { position: relative; z-index: 1; grid-column: 1; grid-row: 3; font-family: var(--display); font-weight: 600; }
.hero__row { display: block; }
.hero__cell { display: inline-block; position: relative; translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -8px); }
.hero__dr { position: absolute; left: .2em; bottom: 100%; font-style: italic; font-weight: 400; font-size: clamp(20px, 2.1vw, 32px); line-height: 1; color: var(--gold-deep); margin-bottom: .2em; opacity: calc(1 - var(--p, 0) * 2.4); }
.hero__word { display: block; white-space: nowrap; font-size: clamp(48px, 6.4vw, 128px); line-height: 1; letter-spacing: -.045em; padding-bottom: .06em; will-change: transform; animation: shimmer 9s linear infinite; }
.hero__word--l { transform: translateX(calc(var(--e, 0) * -24vw)); opacity: calc(1 - var(--e, 0) * 2.6); }
@keyframes shimmer { to { --sh: 1; } }
/* hər hərf öz qızılı fonunu sözün eninə görə götürür (JS --bx/--ww verir), parıltı bütün söz boyu axır */
.hero__word .ch {
  color: var(--gold-deep);
  background-image: var(--gold-grad); background-repeat: repeat-x;
  background-size: var(--ww, 100%) 100%;
  background-position: calc(var(--bx, 0px) - var(--sh) * var(--ww, 0px)) 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__slot { position: relative; grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: end; width: clamp(300px, 36vw, 620px); height: min(76vh, 720px); }
.hero__frame {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  border-radius: var(--r, 1000px) var(--r, 1000px) 6px 6px;
  overflow: hidden; background: var(--champagne); z-index: 2;
  border: 1px solid rgba(194, 153, 75, .35);
  box-shadow: 0 50px 90px -40px rgba(90, 64, 20, .55);
}
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 34, 24, .1) 25%, rgba(30, 24, 16, .86)); opacity: var(--ov, 0); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { object-position: 50% 18%; }
/* çərçivəsiz hero şəkli: tağ, xətt və kölgə yoxdur, kənarlar fona əriyir (sol və yuxarı az — loqo və yazı silinməsin).
   Genişləndikcə (--e → 1) kənar solğunluğu yox olur və şəkil tam ekranı tutur. */
.hero__frame--open {
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,var(--e, 0)) 0, #000 4%, #000 93%, rgba(0,0,0,var(--e, 0)) 100%), linear-gradient(180deg, rgba(0,0,0,var(--e, 0)) 0, #000 3%, #000 74%, rgba(0,0,0,var(--e, 0)) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,var(--e, 0)) 0, #000 4%, #000 93%, rgba(0,0,0,var(--e, 0)) 100%), linear-gradient(180deg, rgba(0,0,0,var(--e, 0)) 0, #000 3%, #000 74%, rgba(0,0,0,var(--e, 0)) 100%);
  mask-composite: intersect;
}
.hero__img--a.hero__img--wall { object-position: 50% 0%; }   /* yuxarıdakı loqo və "LuxeSmile" yazısı kadrda qalsın */
.about__clinic { object-position: 88% 25%; }
.hero__img--b { object-position: 50% 42%; opacity: var(--b, 0); filter: sepia(.25); }

.hero__side { position: relative; grid-column: 1; grid-row: 4; margin-top: 32px; max-width: 440px; z-index: 3; opacity: calc(1 - var(--p, 0) * 3.2); }
.hero__side p { color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__cue { position: absolute; right: var(--edge); bottom: calc(6vh + env(safe-area-inset-bottom, 0px)); width: 1px; height: 72px; background: var(--line); overflow: hidden; opacity: calc(1 - var(--p, 0) * 4); }
.hero__cue span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.hero__reveal {
  position: absolute; left: var(--edge); right: var(--edge); bottom: calc(10vh + env(safe-area-inset-bottom, 0px)); z-index: 3; color: #fff;
  opacity: var(--rv, 0); filter: blur(calc((1 - var(--rv, 0)) * 12px)); transform: translateY(calc((1 - var(--rv, 0)) * 30px)); pointer-events: none;
}
.hero__statement { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 68px); line-height: 1.08; max-width: 18ch; letter-spacing: -.035em; text-wrap: balance; margin-bottom: clamp(28px, 4vw, 48px); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(230, 203, 147, .55); min-width: 150px; }
.hero__facts strong { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(26px, 2.6vw, 38px); color: var(--gold-hi); }
.hero__facts span { font-size: 15px; color: rgba(255, 255, 255, .78); }

/* ---------- Lent ---------- */
.marquee { overflow: hidden; background: var(--champagne); border-block: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.02em; color: var(--gold-deep); white-space: nowrap; }
.marquee__track i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ---------- Haqqında ---------- */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__text .h2 { margin-bottom: 36px; max-width: 11ch; }
.about__text p { max-width: 58ch; color: var(--muted); }
.about__text .lead { color: var(--ink); margin-bottom: 18px; }
.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 500; font-size: 15px; color: var(--gold-deep); }
.facts dd { font-weight: 500; }
/* ünvan: qızılı konum ikonu, xəritəni açır */
.facts__addr { display: inline; }
.facts__addr .ico { display: inline-block; width: 20px; height: 20px; margin-left: 8px; vertical-align: -4px; color: var(--gold); }
.facts__addr span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.facts__addr:hover span { background-size: 100% 1px; }
.about__media { position: relative; padding-bottom: 12%; }
.arch { border-radius: 1000px 1000px 6px 6px; overflow: hidden; background: var(--champagne); border: 1px solid var(--line); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax-img] img { transform: scale(1.12) translateY(var(--py, 0px)); will-change: transform; }
.arch--tall { position: relative; width: 78%; aspect-ratio: 3 / 4.2; }
.arch--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; box-shadow: 0 30px 50px -30px rgba(90, 64, 20, .5); }

.steps { margin-top: clamp(96px, 12vw, 160px); position: relative; }
.steps__title { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 44px; }
/* xətt scroll-u izləyir: parlayan qızılı şüa, mərhələ nöqtələri şüa çatanda yanır */
.steps__line { position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); margin-top: 30px; }
.steps__line span {
  position: absolute; left: 0; right: 0; top: -.5px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold) 70%, #F6E3B4);
  box-shadow: 0 0 12px 1px rgba(234, 210, 155, .95), 0 0 2px rgba(194, 153, 75, .9);
  transform-origin: left; transform: scaleX(var(--sp, 0));
}
.steps__list li { position: relative; }
.steps__list li::before {
  content: ""; position: absolute; left: -5px; top: 24.5px; z-index: 1; width: 11px; height: 11px; border-radius: 50%;
  background: var(--white); border: 1.5px solid rgba(194, 153, 75, .55); transition: background .5s, border-color .5s, box-shadow .5s, scale .5s var(--ease);
}
.steps__list li.is-lit::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(234, 210, 155, .45), 0 0 14px rgba(234, 210, 155, .9); scale: 1.1; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps__n { display: inline-block; margin-left: 14px; font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 1; color: var(--gold); background: var(--white); padding-right: 14px; margin-bottom: 20px; }
.steps__list h4 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.steps__list p { color: var(--muted); font-size: 16px; max-width: 30ch; }

/* ---------- Xidmətlər ---------- */
.services { background: var(--pearl); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.services__head p { max-width: 38ch; color: var(--muted); }
.shades {
  display: grid; grid-template-rows: minmax(0, 1fr) 104px; gap: 10px; height: clamp(600px, 78vh, 720px);
  transition: grid-template-rows .9s var(--ease);
}
/* aktiv xidmət ikinci sıradadırsa, sıralar yer dəyişir */
.shades:has(.shades__row + .shades__row .shade.is-active) { grid-template-rows: 104px minmax(0, 1fr); }
.shades__row { display: flex; gap: 10px; min-height: 0; }
.shade { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; border-radius: 14px 14px 50% 50% / 14px 14px 11% 11%; background: var(--sand); color: #fff; transition: flex-grow .9s var(--ease), height .9s var(--ease); }
.shade.is-active { flex-grow: 7; }
.shade > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) sepia(.45) brightness(.62); transform: scale(1.12); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.shade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 34, 24, 0) 35%, rgba(42, 34, 24, .86)); }
.shade.is-active > img { filter: none; transform: scale(1); }
.shade:not(.is-active):hover > img { filter: grayscale(.3) sepia(.25) brightness(.72); }
/* nazik (aktiv olmayan) sıra: yazılar üfüqi, aşağıda solda */
.shades__row:not(:has(.is-active)) .shade { border-radius: 14px 14px 26px 26px; }
.shades__row:not(:has(.is-active)) .shade__tab span { writing-mode: horizontal-tb; transform: none; left: 18px; right: 14px; bottom: 16px; white-space: normal; line-height: 1.25; font-size: 15px; }
.shade__tab { position: absolute; inset: 0; width: 100%; text-align: left; }
.shade__tab span { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap; font-size: 16px; font-weight: 500; transition: opacity .4s, filter .4s; }
.shade.is-active .shade__tab span { opacity: 0; filter: blur(6px); }
.shade__tab:focus-visible { outline-offset: -4px; border-radius: 14px; }
.shade__body { position: absolute; left: clamp(24px, 3vw, 40px); bottom: clamp(56px, 7vw, 84px); width: min(440px, calc(100% - 48px)); z-index: 2; opacity: 0; filter: blur(10px); transform: translateY(16px); transition: opacity .5s, filter .5s, transform .5s var(--ease-out); pointer-events: none; }
.shade.is-active .shade__body { opacity: 1; filter: none; transform: none; transition-delay: .4s; pointer-events: auto; }
.shade__body h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; margin-bottom: 14px; }
.shade__body p { color: rgba(255, 255, 255, .86); margin-bottom: 22px; max-width: 40ch; }
.shade__link { display: inline-flex; color: var(--gold-hi); font-weight: 500; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size .5s var(--ease); }
.shade__link:hover { background-size: 100% 1px; }

/* ---------- Nəticələr ---------- */
.results { background: var(--white); }
.results__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: var(--pearl); user-select: none; touch-action: pan-y; cursor: ew-resize; outline: 1px solid var(--gold); outline-offset: 10px; }
.ba__layer { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__after.is-empty { background: linear-gradient(160deg, #FFFFFF, #F1EDE4); }
.ba__before.is-empty { background: linear-gradient(160deg, #E2D6B8, #C8B68D); }
.ba__empty-note { position: absolute; left: 50%; top: 34%; transform: translateX(-50%); z-index: 3; white-space: nowrap; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, .85); padding: 8px 14px; border-radius: 999px; pointer-events: none; }
.ba__tag { position: absolute; bottom: 22px; z-index: 3; font-weight: 500; font-size: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: var(--gold-deep); }
.ba__tag--l { left: 22px; } .ba__tag--r { right: 22px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1.5px; margin-left: -.75px; z-index: 4; background: #fff; pointer-events: none; }
.ba__handle .ico { position: absolute; top: 58%; left: 50%; width: 52px; height: 52px; padding: 14px; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 10px 24px -8px rgba(122, 90, 36, .7); transition: transform .3s var(--ease-out); }
.ba.is-dragging .ba__handle .ico { transform: translate(-50%, -50%) scale(1.12); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; margin: 0; }
.ba:has(.ba__range:focus-visible) { outline-width: 2px; }
.results__text .h2 { margin-bottom: 20px; }
.results__text > p { color: var(--muted); max-width: 42ch; }
.case { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); min-height: 210px; }
.case > * { transition: opacity .35s, filter .35s, transform .35s var(--ease-out); }
.case.is-swapping > * { opacity: 0; filter: blur(6px); transform: translateY(8px); }
.case__title { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-bottom: 10px; }
.case__note { color: var(--muted); margin-bottom: 20px; }
.case__meta { display: flex; gap: 40px; }
.case__meta dt { font-size: 14px; color: var(--gold-deep); }
.case__meta dd { font-weight: 600; }
.case-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.case-nav button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.case-nav button:hover { border-color: var(--gold); background: rgba(184, 145, 79, .1); }
.case-nav button[aria-selected="true"] { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Vloq ---------- */
.vlog { background: var(--pearl); overflow: hidden; }
.vlog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.vlog__head p { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.vlog__controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; transition: background .35s var(--ease), color .35s, border-color .35s; }
.chips button:hover { border-color: var(--gold); background: rgba(184, 145, 79, .1); }
.chips button[aria-selected="true"] { background: var(--gold); color: #fff; border-color: var(--gold); }
.arrows { display: flex; gap: 8px; }
.reel-track { --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 6px var(--pad) 24px; scrollbar-width: none; cursor: grab; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.reel-track.is-grabbing .reel { pointer-events: none; }
.reel { position: relative; flex: 0 0 clamp(230px, 23vw, 300px); aspect-ratio: 9 / 16; scroll-snap-align: start; border-radius: 22px; overflow: hidden; text-align: left; color: #fff; background: var(--sand); isolation: isolate; box-shadow: 0 30px 50px -40px rgba(90, 64, 20, .6); }
.reel[hidden] { display: none; }
.reel__media { position: absolute; inset: 0; z-index: -1; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 42%, rgba(42, 34, 24, .88)); }
.reel:hover .reel__media img { transform: scale(1.06); }
.reel__play { position: absolute; left: 50%; top: 44%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .5s var(--ease-out), background .4s, border-color .4s; }
.reel__play .ico { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel__play, .reel:focus-visible .reel__play { transform: scale(1.12); background: var(--gold); border-color: var(--gold); }
.reel__info { position: absolute; left: 20px; right: 20px; bottom: 22px; }
.reel__cat { font-weight: 500; font-size: 13px; color: var(--gold-hi); margin-bottom: 6px; display: block; }
.reel__title { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.reel__soon { position: absolute; top: 16px; left: 16px; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--gold-deep); }
.reel:focus-visible { outline-offset: 4px; border-radius: 22px; }
.vlog__foot { margin-top: 28px; }
.link-ig { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-deep); font-weight: 500; }

.player { margin: auto; border: 0; padding: 0; background: transparent; color: var(--ink); width: min(92vw, 1040px); max-height: 92svh; overflow: visible; }
.player::backdrop { background: rgba(250, 247, 241, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.player__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(90, 64, 20, .6); }
.player.is-vertical { width: auto; }
.player.is-vertical .player__frame { height: min(80svh, 780px); width: auto; aspect-ratio: 9 / 16; margin-inline: auto; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__msg { position: absolute; inset: auto 0 0; padding: 60px 24px 24px; text-align: center; color: #fff; background: linear-gradient(180deg, transparent, rgba(42, 34, 24, .9)); }
.player__bar { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.player.is-vertical .player__bar { max-width: calc(min(80svh, 780px) * 9 / 16); margin-inline: auto; }
.player__title { flex: 1; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.player__ext { font-size: 14px; color: var(--gold-deep); white-space: nowrap; }
.player__ext[hidden] { display: none; }
.player-fallback { animation: pop .45s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.94); filter: blur(8px); } }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }

/* ---------- Bloq ---------- */
.blog { background: var(--white); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 32px; margin-bottom: 44px; }
.blog__head p { max-width: 40ch; color: var(--muted); margin-top: 12px; }
.blog__more { display: flex; justify-content: center; margin-top: 40px; }
.post { cursor: pointer; text-align: left; }
.post[hidden] { display: none; }

.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--pearl); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s; }
a.post:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -36px rgba(90, 64, 20, .6); }
.post__cover { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--champagne), var(--sand)); overflow: hidden; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
a.post:hover .post__cover img { transform: scale(1.05); }
.post__body { padding: 22px 22px 26px; display: grid; gap: 10px; }
.post__meta { font-size: 13px; font-weight: 500; color: var(--gold-deep); }
.post__title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.post__excerpt { color: var(--muted); font-size: 15px; }
/* boş kart: skelet xətlər və yavaş parıltı */
.post--empty .post__cover, .post__line { position: relative; overflow: hidden; }
.post__line { display: block; height: 12px; border-radius: 6px; background: var(--champagne); width: 92%; }
.post__line--s { width: 34%; height: 10px; }
.post__line--m { width: 64%; }
.post--empty .post__cover::after, .post__line::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  animation: skeleton 2.4s ease-in-out infinite;
}
@keyframes skeleton { to { transform: translateX(100%); } }
.post__soon { position: absolute; top: 16px; left: 16px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--gold-deep); }
.blog__empty { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid .h2 { font-size: clamp(34px, 4vw, 58px); max-width: 9ch; }
/* sol sütun: başlıq + əlaqə kartı, scroll zamanı ekranda qalır */
.faq__aside { position: sticky; top: calc(var(--nav-h, 80px) + 40px); align-self: start; }
.faq__card { margin-top: 40px; padding: 26px; border-radius: 22px; background: var(--pearl); border: 1px solid var(--line); max-width: 380px; display: grid; gap: 10px; justify-items: start; }
.faq__card-title { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.faq__card p:not(.faq__card-title) { color: var(--muted); margin-bottom: 8px; }
.faq__card .btn { gap: 10px; }
.faq__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-top: 4px; }
.faq__tel .ico { width: 18px; height: 18px; color: var(--gold); }
@media (hover: hover) { .faq__tel:hover { color: var(--gold-deep); } }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { width: 26px; height: 26px; color: var(--gold); transition: transform .5s var(--ease); }
.qa[open] summary .ico { transform: rotate(135deg); }
.qa__body p { color: var(--muted); padding-bottom: 26px; max-width: 60ch; }
.qa__tel { color: var(--gold-deep); font-weight: 600; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .55s var(--ease), content-visibility .55s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- Əlaqə + iPhone mockup ---------- */
.contact { background: radial-gradient(60% 60% at 75% 50%, var(--champagne), transparent 70%), var(--pearl); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.contact__text .h2 { margin-bottom: 18px; }
.contact__intro { color: var(--muted); max-width: 42ch; margin-bottom: 30px; }
.info { list-style: none; display: grid; gap: 14px; margin-bottom: 36px; }
.info li { display: flex; align-items: center; gap: 14px; }
.info .ico { color: var(--gold); }
.info a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.info a:hover { background-size: 100% 1px; }
.arch--clinic { width: min(340px, 72%); aspect-ratio: 795 / 1024; border-radius: 50% 50% 10px 10px / 12% 12% 10px 10px; }
.arch--clinic img { object-position: 50% 0; }

.stage { position: relative; display: grid; place-items: center; padding: 40px; perspective: 1400px; }
.stage__ring { position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); animation: breathe 9s ease-in-out infinite; pointer-events: none; }
.stage__ring--2 { width: 112%; animation-delay: -4.5s; border-style: dashed; }
@keyframes breathe { 50% { transform: scale(1.04); opacity: .5; } }

.phone {
  --w: 340px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .165);
  padding: calc(var(--w) * .034);
  background: linear-gradient(145deg, #EFE3CC 0%, #CDB385 28%, #F4E9D3 50%, #B89B68 72%, #E9DABD 100%); /* açıq qızılı çərçivə */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .7),
    inset 0 0 0 3px rgba(122, 90, 36, .25),
    0 60px 90px -40px rgba(90, 64, 20, .55),
    0 20px 40px -24px rgba(90, 64, 20, .45);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out);
}
@keyframes hover { 50% { translate: 0 -12px; } }
.phone__btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #A88A57, #E6D3AD); }
.phone__btn--action { left: -3px; top: 17%; height: 5%; }
.phone__btn--up { left: -3px; top: 25%; height: 8%; }
.phone__btn--down { left: -3px; top: 35%; height: 8%; }
.phone__btn--power { right: -3px; top: 27%; height: 12%; }
.phone__btn--cam { right: -2px; top: 58%; height: 7%; width: 3px; }

.phone__screen {
  position: relative; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden;
  background: linear-gradient(180deg, #FFFDF9, var(--pearl));
  box-shadow: 0 0 0 calc(var(--w) * .012) #0E0C09;
  display: flex; flex-direction: column;
}
.phone__island { position: absolute; left: 50%; top: calc(var(--w) * .03); width: 33%; height: calc(var(--w) * .092); translate: -50% 0; background: #0E0C09; border-radius: 999px; z-index: 7; transition: width .5s var(--ease-out), height .5s var(--ease-out); }
.phone__island { display: grid; place-items: center; overflow: hidden; }
.phone.is-sending .phone__island { width: 78%; height: calc(var(--w) * .14); }
.phone__live { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 500 13.5px/1 var(--sans); white-space: nowrap; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--ease-out); }
.phone__live .ico { width: 18px; height: 18px; color: #3DBE6B; }
.phone.is-sending .phone__live { opacity: 1; transform: none; transition-delay: .2s; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--w) * .05) calc(var(--w) * .085) 0; height: calc(var(--w) * .15); font: 600 15px/1 var(--sans); flex: none; }
.phone__sys { display: flex; align-items: center; gap: 6px; }
.phone__sys svg { height: 11px; width: auto; fill: var(--ink); }
.phone__bat { width: 24px; height: 12px; border: 1.5px solid rgba(42, 34, 24, .45); border-radius: 4px; padding: 1.5px; position: relative; }
.phone__bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(42, 34, 24, .45); }
.phone__bat i { display: block; width: 78%; height: 100%; background: var(--ink); border-radius: 1.5px; }
.phone__home { position: absolute; left: 50%; bottom: 8px; width: 36%; height: 5px; translate: -50% 0; border-radius: 999px; background: var(--ink); opacity: .85; z-index: 5; }

.app { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.app__head { display: flex; align-items: center; gap: 12px; padding: 10px 18px 14px; border-bottom: 1px solid var(--line); }
.app__ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #2A2218; flex: none; }
.app__ava img { width: 30px; }
.app__head strong { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.1; }
.app__head small { font-size: 12.5px; color: var(--muted); }
.app__online { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #3DBE6B; box-shadow: 0 0 0 3px rgba(61, 190, 107, .2); }
.app__scroll { flex: 1; overflow-y: auto; padding: 16px 18px 30px; scrollbar-width: none; }
.app__scroll::-webkit-scrollbar { display: none; }
.app__bubble { font-size: 14.5px; line-height: 1.45; background: var(--white); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 10px 14px; margin-bottom: 16px; max-width: 88%; box-shadow: 0 8px 18px -14px rgba(90, 64, 20, .5); }

.form { display: grid; gap: 10px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 14px;
  padding: 22px 14px 8px; font-size: 16px; outline: none; resize: none;
  transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(-45deg, transparent 50%, var(--gold) 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field label { position: absolute; left: 15px; top: 15px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 145, 79, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field--select label { transform: translateY(-8px) scale(.78); color: var(--gold-deep); }
.field.is-invalid input { border-color: #B4492F; }
.app__note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.app__note a { color: var(--gold-deep); font-weight: 500; white-space: nowrap; }
.form__error { font-size: 13.5px; color: #B4492F; }
.form__error:empty { display: none; }
.form .btn { height: 50px; margin-top: 4px; }

.app__toast { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* ekran oxuyucu üçün */

/* ---------- Footer ---------- */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0 40px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { width: 72px; height: auto; }
.foot__brand strong { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.foot__brand span { color: var(--muted); font-size: 15px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.foot__nav a:hover { color: var(--gold-deep); }
.foot__social { display: flex; gap: 10px; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.foot__base a { color: var(--gold-deep); }

.fab { position: fixed; right: calc(var(--gutter) - 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 14px 30px -12px rgba(122, 90, 36, .8); transform: translateY(120px) scale(.8); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.fab .ico { width: 26px; height: 26px; }
.fab:hover { box-shadow: 0 18px 36px -12px rgba(122, 90, 36, .95); background-position: 100% 0; transition: transform .6s var(--ease), opacity .4s, background-position .6s var(--ease), box-shadow .4s; }
.fab.is-visible { transform: none; opacity: 1; }

/* =========================================================
   Hərəkət: "fokus" — bulanıqdan kəskinə
   ========================================================= */
.js .intro { opacity: 0; filter: blur(14px); transform: translateY(14px); }
.js.is-ready .intro { opacity: 1; filter: none; transform: none; transition: opacity 1s var(--ease-out) var(--d, 0s), filter 1.1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js.is-ready .hero__side.intro { opacity: calc(1 - var(--p, 0) * 3.2); }
.js.is-ready .hero__cue.intro { opacity: calc(1 - var(--p, 0) * 4); }
.js.is-ready .hero__dr.intro { opacity: calc(1 - var(--p, 0) * 2.4); }
.intro-done .hero .intro { transition: none; }

.ch { display: inline-block; }
.js .ch { opacity: 0; filter: blur(16px); transform: translateY(.18em); }
.js.is-ready .ch { opacity: 1; filter: none; transform: none; transition: opacity .9s var(--ease-out) var(--d), filter 1s var(--ease-out) var(--d), transform 1s var(--ease-out) var(--d); }
.js .hero__frame { clip-path: inset(100% 0 0 0 round 1000px 1000px 6px 6px); }
.js .hero__frame--open { clip-path: inset(100% 0 0 0); }
.js .hero__img--a { transform: scale(1.18); }
.js.is-ready .hero__frame { clip-path: inset(0 0 0 0 round 0); transition: clip-path 1.5s var(--ease) .45s; }
.js.is-ready .hero__img--a { transform: scale(1); transition: transform 1.9s var(--ease-out) .45s; }

.w { display: inline-block; }
.js .js-words .w { opacity: 0; filter: blur(12px); transform: translateY(.25em); }
.js .js-words.in .w { opacity: 1; filter: none; transform: none; transition: opacity .8s var(--ease-out) var(--d), filter .9s var(--ease-out) var(--d), transform .9s var(--ease-out) var(--d); }
.js [data-focus] { opacity: 0; filter: blur(10px); transform: translateY(18px); }
.js [data-focus].in { opacity: 1; filter: none; transform: none; transition: opacity .9s var(--ease-out) var(--d, .1s), filter 1s var(--ease-out) var(--d, .1s), transform 1s var(--ease-out) var(--d, .1s); }
.js [data-reveal] { clip-path: inset(100% 0 0 0); }
.js [data-reveal] img { transform: scale(1.15); }
.js [data-reveal].in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease) var(--d, 0s), translate .2s linear; }
.js [data-reveal].in img { transform: none; transition: transform 1.8s var(--ease-out) var(--d, 0s); }
/* telefon görünüşə girəndə aşağıdan qalxır, sonra yüngülcə üzür */
.js .stage .phone { opacity: 0; translate: 0 70px; }
.js .stage.in .phone { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out), transform .8s var(--ease-out); }
.js.is-ready .stage.in .phone { animation: hover 7s ease-in-out 1.4s infinite; }

/* ---------- Məqalə səhifəsi (blog/<slug>/) ---------- */
.article { background: var(--white); padding: calc(env(safe-area-inset-top, 0px) + clamp(112px, 12vw, 150px)) 0 clamp(72px, 9vw, 120px); }
.article__wrap { max-width: 860px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.crumbs li { min-width: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs [aria-current] { color: var(--ink); }
.article__meta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.article__title { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; margin: 14px 0 18px; }
.article__lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--ink); max-width: 62ch; }
.article__cover { margin: clamp(28px, 4vw, 44px) 0; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--champagne); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.article__body { display: grid; gap: 18px; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 68ch; }
.article__author { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding: 22px 0; border-block: 1px solid var(--line); }
.article__author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
.article__author small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.article__author strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.article__author span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.article__cta { margin-top: 44px; padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: var(--pearl); border: 1px solid var(--line); display: grid; gap: 10px; }
.article__cta h2 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.article__cta p { color: var(--muted); max-width: 52ch; }
.article__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.article__btns .btn .ico { margin-right: 8px; }
.article__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; color: var(--gold-deep); font-weight: 500; }
.article__back .ico { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.article__back:hover .ico { transform: translateX(-4px); }
.related { background: var(--pearl); border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 110px); }
.related .h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 36px; }
.related .post { background: var(--white); }
/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; background: var(--pearl); }
.notfound__code { font-family: var(--display); font-weight: 300; font-size: clamp(88px, 16vw, 180px); line-height: 1; letter-spacing: -.05em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; margin: 12px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* =========================================================
   Responsiv
   ========================================================= */
@media (max-width: 1020px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__end { gap: 8px; }
  .lang__btn { height: 38px; padding: 0 10px 0 12px; }
  .nav__burger { display: block; }
  /* planşet və telefonda şaquli zaman xətti: şüa yuxarıdan aşağı dolur */
  .steps__list { grid-template-columns: 1fr; row-gap: 40px; padding-left: 36px; }
  .steps__line { left: calc(var(--gutter) + 5px); right: auto; width: 1px; margin-top: 0; }
  .steps__line span { left: -.5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--sp, 0)); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%, #F6E3B4); }
  .steps__list li::before { left: -35.5px; top: 14px; }
  .steps__n { margin-left: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .phone { --w: 300px; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero-intro { height: 130vh; }
  .hero { height: 210vh; }
  /* Telefonda hero şaquli axındır: yazı → ad → tağ → mətn və düymələr.
     Tağ yalnız qalan yeri tutur, ona görə qısa ekranda və ya böyük şriftdə mətnin üstünə düşmür. */
  .hero__stick {
    display: flex; flex-direction: column; align-items: stretch;
    padding: calc(env(safe-area-inset-top, 0px) + 84px) 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .hero__kicker { position: relative; left: auto; top: auto; flex: none; padding-inline: var(--gutter); margin-bottom: 2.2em; font-size: 17px; }
  .hero__name { flex: none; text-align: center; }
  .hero__slot {
    flex: 1 1 0; min-height: 0; margin-top: 34px; align-self: center;
    height: auto; max-height: min(42svh, 400px);
    width: auto; aspect-ratio: 4 / 5; max-width: min(88vw, 380px);
  }
  .hero__word { font-size: clamp(40px, 12.4vw, 96px); }
  .hero__word--l { transform: translateX(calc(var(--e, 0) * -30vw)); }
  .hero__side { position: relative; inset: auto; flex: none; margin-top: auto; padding-top: 18px; padding-inline: var(--gutter); max-width: none; }
  .hero__side p { margin-bottom: 16px; font-size: 15px; }
  .hero__ctas .btn { flex: 1 1 auto; height: 48px; padding: 0 18px; }
  .hero__cue { display: none; }
  .faq__aside { display: contents; }
  .faq__card { order: 2; margin-top: 8px; max-width: none; }
  .hero__reveal { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .hero__facts { gap: 18px; }
  .hero__facts li { min-width: 0; flex: 1 1 40%; }

  .about__grid, .results__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 520px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .shades { display: flex; flex-direction: column; height: auto; gap: 8px; }
  .shades__row { display: contents; }
  .shades__row:not(:has(.is-active)) .shade { border-radius: 14px 14px 50% 50% / 14px 14px 22px 22px; }
  .shades__row:not(:has(.is-active)) .shade__tab span { left: 22px; right: auto; bottom: auto; top: 26px; white-space: nowrap; font-size: 16px; }
  .shade { flex: none; height: 78px; border-radius: 14px 14px 50% 50% / 14px 14px 22px 22px; }
  .shade.is-active { height: 460px; }
  .shade__tab span { writing-mode: horizontal-tb; transform: none; left: 22px; bottom: auto; top: 26px; }
  .shade__body { bottom: 44px; left: 22px; width: calc(100% - 44px); }
  .ba { max-width: 460px; outline-offset: 6px; }
  .case { min-height: 0; }
  .vlog__head, .blog__head { flex-direction: column; align-items: flex-start; }
  .blog__grid { grid-template-columns: 1fr; }
  .arrows { display: none; }
  .reel { flex-basis: 66vw; }
  .foot__base { flex-direction: column; }
  .crumbs li[aria-current] { display: none; }   /* telefonda başlıq onsuz da aşağıdadır */

  /* telefon mobil ekranda: ekranın eninə uyğunlaşır, forma rahat doldurulur */
  .arch--clinic { display: none; }
  .info { margin-bottom: 0; }
  .stage { padding: 20px 0 0; }
  .phone { --w: min(86vw, 360px); }
  .stage__ring { width: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-intro { height: auto; }
  .hero-intro__stick { position: relative; height: 75svh; }
  .hero { height: auto; }
  .hero__stick { position: relative; min-height: 100svh; height: auto; }
  .hero__reveal { display: none; }
  .js .intro, .js .ch, .js .w, .js [data-focus], .js [data-reveal], .js [data-reveal] img, .js .hero__frame, .js .hero__img--a, .js .hero__video, .js .stage .phone {
    opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important; translate: none !important;
  }
  .hero__word--l { transform: none !important; opacity: 1 !important; }
}

/* Vimeo örtüyü ehtiyat fotonun üstünə yumşaq keçidlə gəlir */
.reel__media { position: absolute; inset: 0; z-index: -1; }
.reel__media img { position: absolute; inset: 0; }
.reel__media img.is-vimeo { opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.reel__media img.is-vimeo.is-in { opacity: 1; }


/* =========================================================
   Vloq və bloq kartlarının hərəkəti (JS: initCardMotion)
   ========================================================= */
.reel-track { position: relative; perspective: 1400px; }
.reel {
  transform: perspective(1000px) rotateY(calc(var(--cy, 0deg) + var(--ty, 0deg))) rotateX(var(--tx, 0deg)) scale(var(--cf, 1));
  transition: transform .5s var(--ease-out), box-shadow .5s;
  will-change: transform;
}
/* qızılı parıltı kursoru izləyir */
.reel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 236, 196, .38), transparent 48%);
  box-shadow: inset 0 0 0 1px rgba(234, 210, 155, .0);
  opacity: 0; transition: opacity .45s, box-shadow .45s;
  mix-blend-mode: soft-light;
}
.reel__info, .reel__play, .reel__soon { z-index: 1; }
.reel:hover { box-shadow: 0 40px 60px -34px rgba(90, 64, 20, .7), 0 0 0 1px rgba(234, 210, 155, .55); }
.reel:hover::before { opacity: 1; }
.reel__title { transition: transform .5s var(--ease-out); }
.reel:hover .reel__title { transform: translateY(-4px); }
.reel__play::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .6s var(--ease-out);
}
.reel:hover .reel__play::after { opacity: 1; transform: scale(1); animation: ring 1.8s var(--ease-out) infinite .3s; }
@keyframes ring { to { transform: scale(1.35); opacity: 0; } }

.blog__grid { position: relative; }
.post {
  transform: perspective(1200px) rotateY(var(--ty, 0deg)) rotateX(var(--tx, 0deg));
  transition: transform .55s var(--ease-out), box-shadow .55s, border-color .4s;
  will-change: transform;
}
a.post:hover {
  transform: perspective(1200px) translateY(-8px) rotateY(var(--ty, 0deg)) rotateX(var(--tx, 0deg));
  box-shadow: 0 34px 56px -36px rgba(90, 64, 20, .65); border-color: rgba(194, 153, 75, .6);
}
.post__cover { position: relative; }
.post__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 220, .45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0s;
}
a.post:hover .post__cover::after { transform: translateX(120%); transition: transform 1.1s var(--ease-out); }
.post__cover img { transition: transform 1.1s var(--ease-out); }
a.post:hover .post__cover img { transform: scale(1.07); }
.post__title span {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .6s var(--ease-out), color .4s;
  padding-bottom: 2px;
}
a.post:hover .post__title span { background-size: 100% 1.5px; color: var(--gold-deep); }
.post__read {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep);
  opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease-out);
}
.post__read::before { content: ""; width: 22px; height: 1.5px; background: currentColor; transition: width .5s var(--ease-out); }
a.post:hover .post__read { opacity: 1; transform: none; }
a.post:hover .post__read::before { width: 34px; }
@media (hover: none) { .post__read { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reel, .post { transform: none !important; }
}

/* =========================================================
   Rəylər
   ========================================================= */
.reviews { background: var(--pearl); overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 40px; margin-bottom: 48px; }
.reviews__head p { max-width: 44ch; color: var(--muted); margin-top: 14px; }
.reviews__score {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 20px 40px -32px rgba(90, 64, 20, .5);
}
.reviews__score strong { grid-row: 1 / 3; font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.04em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: .06em .02em; }
.reviews__stars { display: flex; gap: 2px; color: var(--gold); }
.reviews__stars .ico { width: 18px; height: 18px; }

.reviews__rows { display: grid; gap: 18px; }
.rev-row {
  overflow: hidden; padding: 14px 0 22px; cursor: grab; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rev-row.is-drag { cursor: grabbing; }
.rev-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.rev {
  position: relative; flex: none; width: clamp(280px, 26vw, 360px); margin: 0; padding: 22px 22px 24px;
  border-radius: 22px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 18px 36px -30px rgba(90, 64, 20, .45);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
/* iri, solğun dırnaq işarəsi */
.rev::after {
  content: "\201D"; position: absolute; right: 18px; bottom: -22px; font-family: var(--display); font-weight: 700; font-size: 84px; line-height: 1;
  color: var(--gold); opacity: .12; transition: opacity .45s, transform .6s var(--ease-out);
}
.rev:hover { transform: translateY(-6px); border-color: rgba(194, 153, 75, .6); box-shadow: 0 30px 50px -30px rgba(90, 64, 20, .6), 0 0 0 4px rgba(234, 210, 155, .18); }
.rev:hover::after { opacity: .32; transform: translateY(-4px) rotate(-6deg); }
.rev__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rev__ava {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 19px; color: #fff; background: var(--c);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px rgba(194, 153, 75, .35);
  transition: transform .5s var(--ease-out);
}
.rev:hover .rev__ava { transform: scale(1.08) rotate(-4deg); }
.rev__who { display: grid; gap: 3px; min-width: 0; }
.rev__name { font-weight: 600; font-size: 16px; line-height: 1.2; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rev__stars { display: flex; gap: 1px; color: var(--gold); }
.rev__stars .ico { width: 15px; height: 15px; }
.rev:hover .rev__stars .ico { animation: starPop .5s var(--ease-out) both; }
.rev:hover .rev__stars .ico:nth-child(2) { animation-delay: .05s; }
.rev:hover .rev__stars .ico:nth-child(3) { animation-delay: .1s; }
.rev:hover .rev__stars .ico:nth-child(4) { animation-delay: .15s; }
.rev:hover .rev__stars .ico:nth-child(5) { animation-delay: .2s; }
@keyframes starPop { 40% { transform: scale(1.3); } }
.rev__text { margin: 0; font-size: 15px; line-height: 1.6; color: #4A4034; }

@media (max-width: 820px) {
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .rev { width: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  .rev-row { overflow-x: auto; }
}

/* ---------- Giriş videosu: şaquli ekranda (telefon, planşet) video kəsilmədən, tam görünür ---------- */
@media (max-aspect-ratio: 1/1) {
  .hero-intro { height: auto; padding-top: calc(env(safe-area-inset-top, 0px) + 76px); background: var(--pearl); }
  .hero-intro__stick { position: relative; height: auto; display: block; overflow: visible; background: transparent; }
  .hero-intro__video {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
    transform: none; opacity: 1; border-radius: 0; box-shadow: none; will-change: auto;
    background: #e9e7e3;
  }
  .hero-intro__vignette, .hero-intro__cue { display: none; }
}

/* ---------- Ekrandan kənarda olan sonsuz animasiyalar dayanır (JS .is-off əlavə edir) ---------- */
.hero.is-off .hero__word, .btn--gold.is-off, .is-off .stage__ring, .is-off .phone { animation-play-state: paused; }

/* ---------- Yüngül rejim: zəif cihazlarda bulanıqlıq və arxa fon bulanıqlığı söndürülür ----------
   (html.lite: az yaddaş / az nüvə / "Save-Data" və ya scroll zamanı kadrlar ləng gələndə) */
.lite .ch, .lite .intro, .lite .js-words .w, .lite [data-focus], .lite .drawer nav a, .lite .shade__body,
.lite .shade__tab span, .lite .case.is-swapping > *, .lite .hero__reveal, .lite .reel, .lite .post { filter: none !important; }
.lite .nav.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .nav.is-scrolled:not([data-tone="dark"]) { background: rgba(255, 255, 255, .96); }
.lite .nav.is-scrolled[data-tone="dark"] { background: rgba(42, 34, 24, .78); }
.lite .reel__play, .lite .cursor.is-label, .lite .player::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .hero__word, .lite .btn--gold, .lite .stage__ring, .lite.is-ready .stage.in .phone { animation: none; }

/* telefonda düymələr həmişə yan-yana — alt-alta düşüb tağın yerini almasın */
@media (max-width: 820px) {
  .hero__ctas { flex-wrap: nowrap; }
  .hero__ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; white-space: nowrap; }
}
/* qısa telefon ekranları (məs. brauzer panelləri ilə ~620px): boşluqlar sıxılır ki, tağ böyük qalsın */
@media (max-width: 820px) and (max-height: 720px) {
  .hero__stick { padding-top: calc(env(safe-area-inset-top, 0px) + 76px); padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .hero__kicker { font-size: 15px; margin-bottom: 2em; }
  .hero__slot { margin-top: 16px; }
  .hero__word { font-size: clamp(36px, 11vw, 96px); }
  .hero__side { padding-top: 12px; }
  .hero__side p { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
  .hero__ctas .btn { height: 44px; }
}
/* hərəkət azaldılmış rejimdə telefonda hero hündürlüyü avtomatikdir — tağa sabit hündürlük */
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .hero__slot { flex: none; height: min(42svh, 400px); }
}
