/* ==========================================================
   Пандерма — лазерен и дерматологичен център
   Палитра от херо снимката (праскова/пясък) и логото (мед, лазер).
   ========================================================== */

:root {
  --cream: #fbf5ef;
  --paper: #fffcf9;
  --peach: #f1d6c1;
  --peach-2: #e9c2a4;
  --sand: #d6a582;
  --copper: #b0643f;
  --copper-2: #de9b73;
  --gold: #f6cfae;
  --ink: #1c1216;
  --ink-2: #2b1c22;
  --plum: #4b2b39;
  --text: #2a1e22;
  --muted: #7a6763;
  --line: rgba(42, 30, 34, .1);
  --laser: #ff3d2e;
  --grad: linear-gradient(120deg, #f7cba9 0%, #e39871 45%, #b0643f 100%);
  --r: 24px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(75, 43, 57, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 76px;
}

@property --a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
@media (max-width: 760px) { .wrap { width: calc(100% - 32px); } }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { box-shadow: 0 18px 40px -16px rgba(176, 100, 63, .7); }
.btn-dark { --bg: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { color: #fff; }
.btn-glass {
  --bg: rgba(255, 255, 255, .45); --fg: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.btn-glass:hover { color: #fff; }
.btn-outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-outline-light svg { fill: currentColor; stroke: none; }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 0 rgba(255, 61, 46, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 61, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 46, 0); } }

/* ---------- главният бутон „Запази час“ ---------- */
.btn-cta {
  padding: 18px 28px 18px 22px; font-size: 16px; font-weight: 800;
  background: linear-gradient(110deg, #1c1216 0%, #3b2230 30%, #8a4a2e 62%, #d98b61 80%, #1c1216 100%);
  background-size: 260% 100%;
  box-shadow: 0 16px 36px -14px rgba(176, 100, 63, .85), inset 0 0 0 1px rgba(255, 255, 255, .14);
  animation: ctaFlow 6s ease-in-out infinite, ctaGlow 2.6s ease-in-out infinite;
  overflow: visible;
}
.btn-cta::before { display: none; }
.btn-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  animation: ctaShine 3.4s 1.2s ease-in-out infinite;
}
.btn-cta .cal {
  position: relative; width: 30px; height: 30px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.btn-cta .cal svg { width: 17px; height: 17px; stroke: #fff; animation: none; }
.btn-cta .cal::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulseG 1.8s infinite;
}
.btn-cta > svg:last-child { animation: nudge 1.6s ease-in-out infinite; }
.btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px -16px rgba(227, 152, 113, .95), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-cta:active { transform: scale(.97); }
@keyframes ctaFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 16px 36px -14px rgba(176, 100, 63, .85), 0 0 0 0 rgba(227, 152, 113, .45), inset 0 0 0 1px rgba(255, 255, 255, .14); } 50% { box-shadow: 0 16px 36px -14px rgba(176, 100, 63, .85), 0 0 0 10px rgba(227, 152, 113, 0), inset 0 0 0 1px rgba(255, 255, 255, .14); } }
@keyframes ctaShine { 0% { background-position: 150% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ---------- светеща следа на курсора (десктоп) ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 190, 150, .35), rgba(246, 190, 150, 0) 65%);
  mix-blend-mode: multiply;
  opacity: 0; transition: opacity .6s;
  will-change: transform;
}
body.has-mouse .cursor-glow { opacity: 1; }

/* ---------- хедър ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--head-h);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 245, 239, .78);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 42px; width: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: 15px; border-radius: 999px;
  transition: background .3s, color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

@media (max-width: 960px) {
  :root { --head-h: 66px; }
  .nav, .header-cta { display: none; }
  .brand img { height: 34px; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: var(--ink); position: relative; z-index: 60;
  }
  .burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

.mnav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 28px 40px;
  clip-path: circle(0 at calc(100% - 40px) 33px);
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  visibility: hidden;
}
.mnav::before {
  content: ""; position: absolute; width: 480px; height: 480px; right: -160px; bottom: -160px;
  background: radial-gradient(circle, rgba(227, 152, 113, .45), transparent 65%);
}
.menu-open .mnav { clip-path: circle(150% at calc(100% - 40px) 33px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .site-header { z-index: 70; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .burger { background: #fff; }
.menu-open .burger span { background: var(--ink); }
.menu-open .brand { opacity: 0; }
.mnav nav { display: flex; flex-direction: column; gap: 4px; position: relative; }
.mnav nav a {
  font-size: clamp(34px, 10vw, 54px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2;
  display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .6s var(--ease);
}
.mnav nav a i { font-style: normal; font-size: 13px; color: var(--copper-2); font-weight: 600; }
.menu-open .mnav nav a { opacity: 1; transform: none; }
.menu-open .mnav nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .mnav nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .mnav nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mnav nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .mnav nav a:nth-child(5) { transition-delay: .35s; }
.mnav-foot { margin-top: 40px; display: grid; gap: 6px; color: rgba(255, 255, 255, .7); position: relative; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #e7c3a5;
  isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: left center; animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 20% 45%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(255, 236, 220, .55), transparent 70%),
    linear-gradient(180deg, rgba(251, 245, 239, 0) 70%, var(--cream) 100%);
}

/* лазерният лъч от логото */
.laser { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.beam {
  position: absolute; left: -5%; top: 4%;
  width: 46%; height: 2px;
  background: linear-gradient(90deg, rgba(255, 61, 46, 0), rgba(255, 61, 46, .9) 60%, #fff);
  box-shadow: 0 0 12px 2px rgba(255, 61, 46, .55);
  transform-origin: left center;
  transform: rotate(24deg) scaleX(0);
  animation: beam 1.3s .6s var(--ease) forwards, beamflicker 3.2s 2s ease-in-out infinite;
}
@keyframes beam { to { transform: rotate(24deg) scaleX(1); } }
@keyframes beamflicker { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18) 60%, rgba(255, 255, 255, .35) 88%, transparent);
  mix-blend-mode: soft-light;
  transform: translateY(-100%);
  animation: scan 7s 2.4s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(380%); } }

.sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sparkles i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .8);
  opacity: 0; animation: twinkle var(--d, 4s) var(--dl, 0s) ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.5); } 50% { opacity: .9; transform: translateY(-18px) scale(1); } }

.chip-float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.25;
  opacity: 0; animation: chipIn .9s var(--ease) forwards;
}
.chip-float b { display: block; font-size: 15px; }
.chip-a { left: 24%; top: 58%; animation-delay: 2.1s; }
.chip-a b { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip-b { left: 5%; bottom: 13%; animation-delay: 2.4s; }
.chip-b img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@keyframes chipIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }

.hero-in { position: relative; z-index: 3; display: flex; justify-content: flex-end; padding-top: var(--head-h); }
.hero-copy { width: min(660px, 54%); padding-block: 30px 70px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(28, 18, 22, .88); color: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 30px -14px rgba(28, 18, 22, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
h1.eyebrow { margin: 0; line-height: 1.3; }
.eyebrow b { color: var(--gold); font-weight: 800; letter-spacing: .02em; }
.eyebrow .sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }
.eyebrow .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 0 rgba(255, 61, 46, .6); animation: pulse 1.8s infinite; }
.hero-title {
  margin: 22px 0 22px;
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span, .hero-title .line > em { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > * { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
.rotator {
  position: relative; display: inline-grid !important;
  font-size: 1.12em; font-weight: 600; letter-spacing: -.01em;
  overflow: hidden; vertical-align: bottom;
  padding: .02em .12em .16em 0; margin-bottom: -.16em;
}
.rotator span {
  grid-area: 1 / 1;
  background: linear-gradient(100deg, #8d4a2b, #d98b61 45%, #b0643f 75%, #6d3520);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%);
  transition: transform .85s var(--ease);
}
.rotator span.is-on { transform: none; }
.rotator span.is-out { transform: translateY(-110%); }
.rotator::after {
  content: ""; position: absolute; left: 0; right: .12em; bottom: .12em; height: 3px; border-radius: 3px;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
  animation: underline 2.6s 1.2s var(--ease) infinite;
}
@keyframes underline { 0% { transform: scaleX(0); transform-origin: left; } 35%, 65% { transform: scaleX(1); transform-origin: left; } 66% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.hero-sub { font-size: clamp(16px, 1.3vw, 19px); color: #4a3a36; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: clamp(20px, 3vw, 44px); }
.hero-stats li { display: grid; grid-template-columns: auto auto; align-items: start; }
.hero-stats b { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero-stats sup { font-size: 20px; font-weight: 700; color: var(--copper); line-height: 1; margin-left: 2px; }
.hero-stats span { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(28, 18, 22, .35); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--ink); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 760px) {
  .site-header { background: rgba(251, 245, 239, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding-top: var(--head-h); background: linear-gradient(180deg, #e7c3a5, var(--cream)); }
  .hero-bg { position: relative; height: 50svh; min-height: 330px; max-height: 470px; }
  .hero-bg img { position: absolute; object-position: 30% 26%; }
  .hero-veil { top: var(--head-h); background: linear-gradient(180deg, rgba(236, 201, 173, 0) 0%, rgba(239, 210, 188, .55) 16%, rgba(240, 213, 192, .86) 30%, #f1d8c4 44%, #f3dcc9 62%, var(--cream) 100%); }
  .hero-in { padding-top: 0; margin-top: calc(-1 * (clamp(330px, 50svh, 470px) - 70px)); }
  .hero-copy { width: 100%; padding: 0 0 34px; }
  .hero-title { font-size: clamp(46px, 13.6vw, 62px); margin: 14px 0 12px; }
  .hero-sub { font-size: 15.5px; }
  .hero-cta { margin-top: 20px; }
  .beam { top: calc(var(--head-h) + 10px); width: 70%; transform: rotate(22deg) scaleX(0); animation-name: beamM, beamflicker; }
  @keyframes beamM { to { transform: rotate(22deg) scaleX(1); } }
  .chip-a { left: auto; right: 14px; top: calc(var(--head-h) + 16px); padding: 8px 12px 8px 10px; font-size: 12px; }
  .chip-a b { font-size: 18px; }
  .chip-a, .chip-b, .scroll-cue, .laser { display: none; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; max-width: 34ch; }
  .hero-cta { justify-content: center; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { justify-content: center; gap: 34px; }
  .hero-stats li { justify-items: center; }
  .rotator::after { left: .06em; right: .18em; }
  .scan { top: var(--head-h); height: 22%; }
}

/* ---------- ЛЕНТИ ПОД ХЕРОТО ---------- */
.ribbons { position: relative; height: 150px; overflow: hidden; margin-top: -30px; z-index: 4; pointer-events: none; }
.ribbon {
  position: absolute; left: -5%; right: -5%; top: 50%;
  display: flex; align-items: center; overflow: hidden;
  pointer-events: auto;
}
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap; will-change: transform; padding-right: 26px; }
.r1 {
  height: 66px; margin-top: -33px;
  background: var(--ink); color: #fff;
  transform: rotate(-2.2deg);
  box-shadow: 0 20px 40px -20px rgba(28, 18, 22, .6);
}
.r1 span { font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 500; transition: color .3s; }
.r1 span:hover { color: var(--gold); }
.r1 .sep {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 62% 38%, #fff 0 10%, transparent 30%), radial-gradient(circle at 38% 40%, #fbd9bd, #e5a27b 40%, #a45a37 75%, #5c2c1c);
  box-shadow: 0 0 12px rgba(227, 152, 113, .7);
}
.r2 {
  height: 50px; margin-top: -25px;
  background: var(--grad); color: #fff;
  transform: rotate(2.6deg);
}
.r2 span { font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.r2 i { font-style: normal; font-size: 12px; opacity: .8; }
@media (max-width: 760px) {
  .ribbons { height: 104px; margin-top: -10px; }
  .r1 { height: 48px; margin-top: -24px; }
  .r1 span { font-size: 22px; }
  .r1 .sep { width: 10px; height: 10px; }
  .r2 { height: 34px; margin-top: 0; top: 14%; transform: rotate(3deg); }
  .r1 { top: 60%; transform: rotate(-3deg); }
  .r2 span { font-size: 11px; }
  .ribbon-track { gap: 18px; padding-right: 18px; }
}

/* ---------- секции ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 860px; margin-bottom: clamp(30px, 4vw, 50px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
}
.kicker span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; letter-spacing: 0; }
.sec-head h2 { margin: 16px 0 14px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.04em; }
.sec-head h2 em { font-size: 1.1em; color: var(--copper); }
.sec-lead { color: var(--muted); font-size: clamp(15.5px, 1.2vw, 18px); max-width: 600px; }
.sec-head.light { color: #fff; }
.sec-head.light .sec-lead { color: rgba(255, 255, 255, .68); }
.sec-head.light .kicker, .sec-head.light h2 em { color: var(--copper-2); }

/* поява при скрол */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal-card { opacity: 0; transform: translateY(50px) scale(.97); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.in { opacity: 1 !important; transform: none !important; }
.hero .reveal-up { animation: fadeUp 1s var(--ease) forwards; transition: none; }
.hero .eyebrow.reveal-up { animation-delay: .05s; }
.hero .hero-sub.reveal-up { animation-delay: .45s; }
.hero .hero-cta.reveal-up { animation-delay: .6s; }
.hero .hero-stats.reveal-up { animation-delay: .75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* хоризонтален скрол на мобилни */
.swipe-hint { display: none; }
@media (max-width: 760px) {
  [data-scroller] {
    display: flex !important; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scroll-padding-inline: 16px;
    touch-action: pan-x pan-y;
    margin-inline: -16px; padding: 6px 16px 14px;
    scrollbar-width: none;
  }
  [data-scroller]::-webkit-scrollbar { display: none; }
  [data-scroller] > * { scroll-snap-align: start; flex: 0 0 78%; }
  .swipe-hint {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .swipe-hint span { width: 34px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
  .swipe-hint span::after { content: ""; position: absolute; inset: 0; background: var(--copper); animation: swipe 1.8s infinite var(--ease); }
  .swipe-hint.light { color: rgba(255, 255, 255, .5); }
  .swipe-hint.light span { background: rgba(255, 255, 255, .15); }
  @keyframes swipe { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
}

/* ---------- ПРОЦЕДУРИ ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 232px; gap: 18px; }
.proc-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.proc-grid > .proc-cta { grid-column: 1 / -1; height: 150px; }
.proc-grid > :first-child h3 { font-size: clamp(26px, 2.6vw, 38px); }
.proc-grid > :first-child .proc-body { padding: 30px; }
.proc-grid > :not(:first-child):not(.proc-cta) .proc-body p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.proc-grid > :not(:first-child):not(.proc-cta):hover .proc-body p { max-height: 60px; opacity: 1; }
.proc-grid > :not(:first-child):not(.proc-cta) .more { display: none; }
.proc-card {
  position: relative; overflow: hidden;
  border-radius: var(--r);
  background: var(--peach);
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), opacity .9s var(--ease);
}
.proc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .8s; }
.proc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 18, 22, 0) 35%, rgba(28, 18, 22, .82) 100%);
  transition: opacity .6s;
}
.proc-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 214, 180, .35), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.proc-card:hover::after { opacity: 1; }
.proc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.proc-card:hover img { transform: scale(1.08); }
.proc-no {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.proc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.proc-body h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; letter-spacing: -.03em; margin: 12px 0 6px; }
.proc-body p { font-size: 14.5px; color: rgba(255, 255, 255, .8); max-width: 34ch; }
.price-pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 13px;
}
.more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 700; font-size: 14px;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease);
}
.more svg, .promo-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proc-card:hover .more, .proc-card:focus-visible .more { opacity: 1; transform: none; }
@media (hover: none) { .more { opacity: 1; transform: none; } }

.proc-cta { background: var(--ink); color: #fff; display: block; }
.proc-cta .mesh {
  position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(35% 35% at 30% 30%, rgba(227, 152, 113, .85), transparent 70%),
    radial-gradient(30% 30% at 75% 60%, rgba(176, 100, 63, .9), transparent 70%),
    radial-gradient(40% 40% at 40% 85%, rgba(75, 43, 57, 1), transparent 70%);
  filter: blur(20px);
  animation: mesh 12s ease-in-out infinite alternate;
}
@keyframes mesh { 0% { transform: rotate(0) scale(1); } 100% { transform: rotate(40deg) scale(1.15); } }
.proc-cta::before { background: none; }
.proc-cta .proc-body { top: 0; display: flex; align-items: center; gap: 28px; padding: 24px 32px 24px 90px; }
.proc-cta .proc-body > div { flex: 1; }
.proc-cta h3 { font-size: clamp(22px, 2vw, 30px); margin: 0 0 4px; }
.proc-cta p { max-width: 60ch; }
.proc-cta .proc-no { top: 50%; translate: 0 -50%; left: 26px; }

@media (max-width: 1000px) {
  .proc-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .proc-grid > :first-child { grid-row: span 1; }
  .proc-cta .proc-body { padding-left: 24px; }
  .proc-cta .proc-no { display: none; }
}
@media (max-width: 760px) {
  .proc-grid > * { height: 300px; flex-basis: 70% !important; }
  .proc-grid > .proc-cta { height: 300px; }
  .proc-cta .proc-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 20px; }
  .proc-body { padding: 18px; }
  .proc-body h3 { font-size: 20px; margin-top: 10px; }
  .proc-body p { font-size: 13.5px; }
  .proc-grid > :not(:first-child):not(.proc-cta) .proc-body p { max-height: none; opacity: 1; }
}

/* ---------- ПРОМОЦИИ ---------- */
.promos { background: var(--ink); color: #fff; overflow: hidden; }
.promo-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.promo-glow.g1 { width: 520px; height: 520px; left: -160px; top: -120px; background: #b0643f; animation: drift 16s ease-in-out infinite alternate; }
.promo-glow.g2 { width: 460px; height: 460px; right: -140px; bottom: -160px; background: #6d2f4a; animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(120px, 80px) scale(1.2); } }
.promos .wrap { position: relative; }

.promo-grid {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 14px 4px 10px; margin: -14px -4px 0;
  scrollbar-width: none; perspective: 1400px;
  cursor: grab;
}
.promo-grid::-webkit-scrollbar { display: none; }
.promo-grid.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.promo-grid.drag * { pointer-events: none; }
.promo-grid > .promo { flex: 0 0 calc((100% - 40px) / 3.25); scroll-snap-align: start; }
.car-nav { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.m-only-flex { display: none !important; }
.car-nav.dark .car-btn { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -14px rgba(75, 43, 57, .5); }
.car-nav.dark .car-btn svg { stroke: var(--ink); }
.car-nav.dark .car-btn:hover { background: var(--ink); }
.car-nav.dark .car-btn:hover svg { stroke: #fff; }
.car-nav.dark .car-prog { background: rgba(28, 18, 22, .1); }
.car-btn {
  flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: background .3s, transform .4s var(--ease);
}
.car-btn:hover { background: var(--copper); transform: scale(1.08); }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.car-prog { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.car-prog span { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--grad); transition: width .4s var(--ease), margin .4s var(--ease); }
.promo {
  position: relative;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  padding: 10px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), opacity .9s var(--ease);
  isolation: isolate;
}
.promo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--a), rgba(255, 255, 255, .08) 0 60%, #f6cfae 75%, #e0453a 82%, rgba(255, 255, 255, .08) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
.promo-hot::before { animation-duration: 3s; }
@keyframes spin { to { --a: 360deg; } }
.promo-img { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo:hover .promo-img img { transform: scale(1.08); }
.promo-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%);
  transform: translateX(-120%);
}
.promo:hover .promo-img::after { transition: transform 1s var(--ease); transform: translateX(120%); }
.badge {
  position: absolute; top: 14px; right: 14px;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--laser);
  color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 10px 30px -6px rgba(255, 61, 46, .7);
  animation: wobble 4s ease-in-out infinite;
}
.badge::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .7);
  animation: rotate 12s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }
.hot {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.promo-body { padding: 18px 12px 12px; }
.promo-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-2); }
.promo-body h3 { margin: 8px 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.promo-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.promo-price s { color: rgba(255, 255, 255, .45); font-size: 17px; text-decoration-color: var(--laser); text-decoration-thickness: 2px; }
.promo-price strong {
  font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(100deg, #fff, #f6cfae 60%, #e39871);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promo-price small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.promo-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .8); transition: gap .4s var(--ease), color .3s; }
.promo:hover .promo-more { gap: 14px; color: #fff; }
@media (max-width: 1000px) { .promo-grid > .promo { flex-basis: calc((100% - 20px) / 2.2); } }
@media (max-width: 760px) {
  .promo-grid { gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .promo-grid > .promo { flex-basis: 74%; }
  .promo-body { padding: 14px 8px 8px; }
  .promo-body h3 { font-size: 19px; margin: 6px 0 10px; }
  .promo-more { margin-top: 10px; }
  .car-nav { margin-top: 18px; }
  .car-btn { width: 42px; height: 42px; }
  .promo-price strong { font-size: 36px; }
  .badge { width: 62px; height: 62px; font-size: 17px; }
}

/* ---------- ЦЕНИ ---------- */
.prices { background: linear-gradient(180deg, var(--cream), #f7ebe0); }
.prices-in > * { min-width: 0; }
.prices-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.prices-side { position: sticky; top: calc(var(--head-h) + 30px); }
.search {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 8px 6px 20px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(75, 43, 57, .5);
  transition: box-shadow .3s;
}
.search:focus-within { box-shadow: 0 0 0 2px var(--copper), 0 20px 40px -24px rgba(176, 100, 63, .6); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; border: 0; background: none; padding: 12px 0; font: inherit; font-size: 16px; color: var(--text); outline: none; min-width: 0; }
.price-note { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 420px; }

.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  position: relative; margin-bottom: 18px;
}
.tab {
  position: relative; z-index: 1;
  border: 0; background: rgba(255, 255, 255, .7);
  padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .3s, background .3s, transform .3s;
}
.tab:hover { color: var(--ink); transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tab .n { font-size: 11px; opacity: .6; margin-left: 4px; }

.price-list {
  background: #fff; border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  padding: 8px 26px;
  overflow: hidden;
  transition: height .6s var(--ease);
}
.prow {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  opacity: 0; transform: translateX(-14px);
  animation: rowIn .6s var(--ease) forwards;
}
.prow:last-child { border-bottom: 0; }
.prow .pn { font-weight: 600; font-size: 15.5px; }
.prow .pb { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.prow .pp {
  grid-row: 1 / span 2; grid-column: 2;
  font-weight: 800; font-size: 17px; letter-spacing: -.02em; white-space: nowrap;
  padding: 6px 12px; border-radius: 12px;
  background: linear-gradient(120deg, #fbeee3, #f6dcc8);
  color: #7a3a1d;
}
.prow .pc { grid-column: 1; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.prow mark { background: rgba(227, 152, 113, .35); color: inherit; border-radius: 3px; padding: 0 2px; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.price-empty { padding: 30px 0; text-align: center; color: var(--muted); }
.price-toggle {
  margin: 16px auto 0; display: flex; align-items: center; gap: 8px;
  border: 0; background: none; font-weight: 700; color: var(--copper); padding: 10px 16px; border-radius: 999px;
}
.price-toggle:hover { background: rgba(176, 100, 63, .08); }
.price-toggle[hidden] { display: none; }
.price-toggle::after { content: "↓"; transition: transform .4s var(--ease); }
.price-toggle.open::after { transform: rotate(180deg); }

@media (max-width: 900px) {
  .prices-in { grid-template-columns: 1fr; }
  .prices-side { position: static; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .price-list { padding: 4px 18px; }
  .prow .pn { font-size: 15px; }
  .prow .pp { font-size: 15px; }
}

/* ---------- ЕКИП ---------- */
.team-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; margin-bottom: clamp(30px, 4vw, 50px); }
.team-top .sec-head { margin-bottom: 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.values li {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 18px;
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.values li:hover { transform: translateX(6px); box-shadow: 0 0 0 1px rgba(176, 100, 63, .3), var(--shadow); }
.v-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.v-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.values b { display: block; font-size: 15.5px; }
.values span { font-size: 13.5px; color: var(--muted); }

.team-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { perspective: 1000px; aspect-ratio: 3 / 4; cursor: pointer; }
.flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.member:hover .flip, .member.flipped .flip, .member:focus-visible .flip { transform: rotateY(180deg); }
@media (hover: none) {
  .member:hover .flip, .member.flipped .flip, .member:focus-visible .flip { transform: none; }
  .back { display: none; }
}
.sheet-body .quals { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.face { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front img { width: 100%; height: 100%; object-fit: cover; }
.front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(28, 18, 22, .8)); }
.m-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; }
.m-cap b { display: block; font-size: 15.5px; line-height: 1.25; }
.m-cap span { font-size: 12.5px; opacity: .8; }
.flip-ic {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .85); color: var(--ink); font-weight: 700; font-size: 18px;
}
.back {
  transform: rotateY(180deg);
  background: var(--grad); color: #fff;
  padding: 22px 18px;
  display: flex; flex-direction: column;
}
.back b { font-size: 17px; margin-bottom: 10px; }
.back ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; line-height: 1.35; }
.back li { padding-left: 16px; position: relative; }
.back li::before { content: "✦"; position: absolute; left: 0; font-size: 10px; top: 2px; }
@media (max-width: 1000px) {
  .team-top { grid-template-columns: 1fr; align-items: start; }
  .team-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .team-row > * { flex-basis: 62%; }
}

/* ---------- ФУТЪР ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: rgba(255, 255, 255, .68);
  padding: clamp(60px, 7vw, 90px) 0 28px; font-size: 15px;
}
.foot-blobs { position: absolute; inset: 0; z-index: -1; filter: blur(90px); pointer-events: none; }
.foot-blobs i { position: absolute; border-radius: 50%; }
.foot-blobs i:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -200px; background: rgba(176, 100, 63, .55); animation: drift 18s ease-in-out infinite alternate; }
.foot-blobs i:nth-child(2) { width: 460px; height: 460px; right: -140px; top: 30%; background: rgba(109, 47, 74, .6); animation: drift 22s ease-in-out infinite alternate-reverse; }
.foot-blobs i:nth-child(3) { width: 380px; height: 380px; left: 40%; bottom: -220px; background: rgba(227, 152, 113, .35); animation: drift 16s ease-in-out infinite alternate; }

/* голямата карта с покана */
.foot-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.foot-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--a), transparent 0 65%, #f6cfae 78%, #ff3d2e 84%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite;
}
.fc-copy { position: relative; z-index: 1; max-width: 640px; }
.fc-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); }
.foot-cta h2 { margin-top: 14px; color: #fff; font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.foot-cta h2 em { color: var(--gold); font-size: 1.1em; }
.fc-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fc-phone { display: grid; color: #fff; }
.fc-phone small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.fc-phone b { font-size: 24px; letter-spacing: -.02em; background: linear-gradient(90deg, #fff, #f6cfae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-orb {
  position: absolute; right: 26%; top: -60px; z-index: 0; width: 150px; height: 150px; border-radius: 50%; opacity: .9;
  background: radial-gradient(circle at 62% 42%, #fff 0 7%, rgba(255, 255, 255, .5) 12%, transparent 26%), radial-gradient(circle at 35% 38%, #fbd9bd, #e5a27b 35%, #a45a37 70%, #5c2c1c);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  animation: float 7s ease-in-out infinite;
}
.fc-beam {
  position: absolute; left: -10%; top: 0; z-index: 0; width: 70%; height: 2px;
  background: linear-gradient(90deg, rgba(255, 61, 46, 0), rgba(255, 61, 46, .8) 70%, #fff);
  box-shadow: 0 0 10px 2px rgba(255, 61, 46, .45);
  transform-origin: left; transform: rotate(-4deg) scaleX(0);
  animation: fbeam 6s ease-in-out infinite;
}
@keyframes fbeam { 0%, 10% { transform: rotate(-4deg) scaleX(0); opacity: 1; } 40%, 70% { transform: rotate(-4deg) scaleX(1); opacity: 1; } 90%, 100% { transform: rotate(-4deg) scaleX(1); opacity: 0; } }

/* колони */
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1.1fr .8fr; gap: 40px; margin-top: clamp(44px, 5vw, 70px); }
.foot-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background .35s, transform .45s var(--ease);
}
.socials a:hover { background: var(--copper); transform: translateY(-4px) rotate(-6deg); }
.socials svg { width: 19px; height: 19px; fill: #fff; }
.socials svg.st { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.fl { display: grid; padding: 8px 0; color: #fff; font-weight: 600; transition: color .3s, transform .4s var(--ease); }
.fl span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.fl small { font-weight: 500; color: rgba(255, 255, 255, .5); font-size: 13px; }
.fl:hover { color: var(--gold); transform: translateX(4px); }
.fweek { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.fweek li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 10px; margin-inline: -10px; border-radius: 10px; transition: background .4s; }
.fweek b { color: #fff; font-weight: 600; }
.fweek li.off, .fweek li.off b { color: rgba(255, 255, 255, .4); }
.fweek li.today { background: rgba(255, 255, 255, .08); box-shadow: inset 2px 0 0 var(--copper-2); }
.fweek li.today span { color: var(--gold); font-weight: 700; }
.foot-nav a { display: block; padding: 5px 0; transition: color .3s, transform .4s var(--ease); }
.foot-nav a:hover { color: var(--gold); transform: translateX(4px); }

/* огромният надпис */
.foot-mega {
  --fx: 50%; --fy: 50%;
  margin: clamp(40px, 5vw, 70px) 0 0; line-height: .8; text-align: center; user-select: none;
  font-size: clamp(64px, 17.4vw, 250px); font-weight: 800; letter-spacing: -.06em;
}
.foot-mega span {
  display: block;
  background:
    radial-gradient(420px circle at var(--fx) var(--fy), #ffe6d2, #e39871 25%, rgba(176, 100, 63, .5) 45%, transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
  transform: translateY(20%); opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1.2s;
}
.foot-mega.in span { transform: none; opacity: 1; }

.foot-bottom {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px;
}
.foot-bottom a { transition: color .3s; }
.foot-bottom a:hover { color: var(--gold); }
.to-top {
  position: relative; width: 52px; height: 52px; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .06);
  transition: background .3s, transform .45s var(--ease);
}
.to-top:hover { background: var(--copper); transform: translateY(-4px); }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.to-top .prog { stroke: var(--copper-2); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }
.to-top .arr { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.open-state { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); text-transform: none; }
.open-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a8a86; }
.open-state.is-open { color: #9ff0c0; background: rgba(60, 200, 120, .12); }
.open-state.is-open::before { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulseG 1.8s infinite; }
@keyframes pulseG { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- плаващ бутон за обаждане ---------- */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--grad); box-shadow: 0 14px 30px -10px rgba(176, 100, 63, .9);
  transform: scale(0); transition: transform .5s var(--ease);
}
.fab-call.show { transform: scale(1); }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--copper-2); animation: ring 2s infinite; }
.fab-call svg { width: 24px; height: 24px; fill: #fff; animation: shake 3s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 96% { transform: rotate(8deg); } }
@media (max-width: 960px) { .fab-call { display: grid; } }

/* ---------- модален лист с детайли ---------- */
.sheet {
  padding: 0; border: 0; max-width: 980px; width: calc(100% - 40px); max-height: calc(100svh - 40px);
  border-radius: 28px; background: var(--paper); color: var(--text);
  box-shadow: 0 40px 120px -20px rgba(28, 18, 22, .6);
  overflow: hidden;
}
.sheet::backdrop { background: rgba(28, 18, 22, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet[open] { animation: sheetIn .6s var(--ease); }
.sheet[open]::backdrop { animation: fade .4s ease; }
.sheet.closing { animation: sheetOut .35s ease forwards; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.sheet-in { display: grid; grid-template-columns: 5fr 6fr; max-height: calc(100svh - 40px); }
.sheet-media { position: relative; min-height: 100%; overflow: hidden; background: var(--peach); }
.sheet-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.sheet-body { padding: 44px 40px 36px; overflow-y: auto; }
.sheet-x {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); font-size: 26px; line-height: 1; color: var(--ink);
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .3);
  transition: transform .4s var(--ease);
}
.sheet-x:hover { transform: rotate(90deg); }
.sheet-body .kicker { margin-bottom: 10px; }
.sheet-body h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.sheet-body .lead { color: #4f403c; margin-bottom: 18px; }
.sheet-body ul.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.sheet-body ul.ticks li { position: relative; padding-left: 30px; font-size: 15px; opacity: 0; animation: rowIn .6s var(--ease) forwards; }
.sheet-body ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.sheet-body ul.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mini-prices { border-radius: 18px; background: #fbf1e8; padding: 6px 18px; margin-bottom: 22px; }
.mini-prices div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(122, 58, 29, .2); font-size: 14.5px; }
.mini-prices div:last-child { border: 0; }
.mini-prices b { color: #7a3a1d; white-space: nowrap; }
.sheet-note { font-size: 13px; color: var(--muted); margin: -8px 0 20px; }
.sheet-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sheet-price s { color: var(--muted); font-size: 20px; text-decoration-color: var(--laser); text-decoration-thickness: 2px; }
.sheet-price strong { font-size: 54px; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheet-price .save { padding: 6px 12px; border-radius: 999px; background: var(--laser); color: #fff; font-weight: 800; font-size: 13px; }
.sheet-actions { display: flex; gap: 10px; align-items: center; }
.sheet-actions .btn-dark { flex: 0 1 auto; }
.btn-round { width: 54px; height: 54px; padding: 0; justify-content: center; flex: none; }
.btn-round svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: #fff; }
@media (max-width: 760px) {
  .sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92svh; }
  .sheet[open] { animation: sheetUp .6s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
  .sheet-in { grid-template-columns: 1fr; max-height: 92svh; overflow-y: auto; }
  .sheet-media { height: 200px; min-height: 0; }
  .sheet-body { padding: 26px 20px 30px; overflow: visible; }
  .sheet-price strong { font-size: 44px; }
  .sheet-actions .btn-dark { flex: 1 1 auto; justify-content: center; }
  .sheet-actions .btn-ghost:not(.btn-round) { flex: 0 0 auto; }
}

/* ---------- вътрешни страници ---------- */
.page-top { padding-top: var(--head-h); }
.site-header.solid { background: rgba(251, 245, 239, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; margin: 20px 0 26px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.02em; }
.prose p, .prose li { color: #4f403c; margin-bottom: 10px; }

/* ---------- сбита мобилна версия ---------- */
.m-only { display: none; }
@media (max-width: 760px) {
  .d-only { display: none; }
  .m-only { display: inline; }
  .m-only-flex { display: flex !important; }
  .car-nav { margin-top: 12px; gap: 12px; }
  .section { padding: 50px 0; }
  .sec-head { margin-bottom: 22px; }
  .sec-head h2 { font-size: clamp(30px, 8.6vw, 40px); margin: 12px 0 8px; }
  .sec-lead { font-size: 14.5px; }
  .kicker { font-size: 11.5px; }
  .kicker span { width: 28px; height: 28px; }
  .swipe-hint { display: none; }

  .eyebrow { font-size: 12px; padding: 8px 14px 8px 11px; gap: 8px; }
  .hero-sub { font-size: 15px; line-height: 1.55; }
  .hero-cta { flex-wrap: nowrap; gap: 10px; }
  .hero-cta .btn { flex: 1 1 0; padding: 15px 12px; font-size: 14.5px; }
  .hero-stats { margin-top: 22px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 12px; }

  .prices-side .sec-head { margin-bottom: 16px; }
  .price-note { font-size: 12px; margin-top: 10px; margin-bottom: 18px; }
  .prow { padding: 12px 0; }

  .team-top { gap: 18px; margin-bottom: 20px; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .values li { flex-direction: column; text-align: center; gap: 8px; padding: 12px 8px; }
  .values li:hover { transform: none; }
  .values b { font-size: 12.5px; line-height: 1.25; }
  .values span:not(.v-ic) { display: none; }
  .v-ic { width: 38px; height: 38px; border-radius: 12px; }
  .team-row > * { flex-basis: 46% !important; }
  .m-cap { left: 12px; right: 12px; bottom: 10px; }
  .m-cap b { font-size: 13.5px; }
  .back { padding: 14px 12px; }
  .back b { font-size: 14px; margin-bottom: 6px; }
  .back ul { font-size: 11.5px; gap: 5px; }

  .site-footer { padding: 40px 0 96px; font-size: 14px; }
  .foot-cta { padding: 26px 20px 22px; border-radius: 26px; gap: 20px; }
  .foot-cta h2 { font-size: 32px; }
  .fc-actions { width: 100%; gap: 14px; }
  .fc-actions .btn { flex: 1 1 100%; justify-content: center; }
  .fc-phone { width: 100%; text-align: center; }
  .fc-orb { width: 90px; height: 90px; right: -20px; top: -30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; margin-top: 34px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p, .foot-nav { display: none; }
  .foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .foot-brand img { margin: 0; height: 34px; }
  .socials { margin: 0; gap: 8px; }
  .socials a { width: 38px; height: 38px; border-radius: 12px; }
  .site-footer h4 { margin-bottom: 10px; font-size: 12px; }
  .fl { padding: 5px 0; font-size: 13.5px; }
  .fweek { font-size: 12.5px; }
  .fweek li { padding: 3px 8px; margin-inline: -8px; }
  .fweek li b { font-weight: 600; }
  .foot-mega { margin-top: 30px; }
  .foot-bottom { margin-top: 14px; font-size: 12px; }
  .to-top { width: 44px; height: 44px; }
}

/* ---------- намалено движение ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-up, .reveal-card { opacity: 1; transform: none; }
  .hero-title .line > * { transform: none; }
  .chip-float { opacity: 1; transform: none; }
  .beam { transform: rotate(24deg) scaleX(1); }
}

/* ---------- 404 ---------- */
.nf { min-height: 70svh; display: flex; align-items: center; }
.nf h1 { font-size: clamp(40px, 7vw, 90px); font-weight: 800; letter-spacing: -.045em; margin: 18px 0; }
.nf h1 em { color: var(--copper); }
.inner .prose .kicker span { font-size: 14px; }
