/* ОкнаПластПенза — стили сайта. Чистый CSS, без сборщиков и фреймворков. */

/* ===== 1. Токены ===== */
:root {
  --radius: 0.75rem;
  --background: oklch(0.99 0.004 95);
  --foreground: oklch(0.21 0.02 160);
  --card: oklch(1 0 0);
  --primary: oklch(0.45 0.11 162);
  --primary-foreground: oklch(0.985 0.01 95);
  --secondary: oklch(0.96 0.012 150);
  --muted-foreground: oklch(0.5 0.02 150);
  --accent: oklch(0.74 0.15 75);
  --accent-foreground: oklch(0.24 0.04 70);
  --accent-ink: oklch(0.5 0.16 55);
  --coral: oklch(0.65 0.21 25);
  --coral-ink: oklch(0.5 0.21 25);
  --lime-ink: oklch(0.42 0.16 140);
  --destructive: oklch(0.58 0.22 25);
  --border: oklch(0.91 0.01 140);
  --amber-star: oklch(0.83 0.16 82);

  --shadow-soft: 0 1px 2px oklch(0.21 0.02 160 / 0.04), 0 8px 24px oklch(0.21 0.02 160 / 0.06);
  --shadow-lift: 0 20px 50px -12px oklch(0.21 0.02 160 / 0.18), 0 4px 12px oklch(0.21 0.02 160 / 0.06);
  --shadow-emerald: 0 10px 30px -8px oklch(0.45 0.11 162 / 0.4);
  --shadow-amber: 0 10px 30px -8px oklch(0.7 0.18 60 / 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== 2. База ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Атрибут hidden должен побеждать display у .lead-form / .form-success */
[hidden] { display: none !important; }

.container-x {
  margin-inline: auto;
  width: 100%;
  max-width: 80rem;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container-x { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-x { padding-inline: 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ic { width: 1.25rem; height: 1.25rem; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 1rem; height: 1rem; }
.ic-xs { width: 0.875rem; height: 0.875rem; }
.ic-lg { width: 1.75rem; height: 1.75rem; }

/* ===== 3. Градиенты и утилиты бренда ===== */
.gradient-emerald { background-image: linear-gradient(135deg, oklch(0.52 0.13 162) 0%, oklch(0.36 0.09 170) 100%); }
.gradient-amber   { background-image: linear-gradient(135deg, oklch(0.82 0.16 75) 0%, oklch(0.7 0.18 50) 100%); }
.gradient-coral   { background-image: linear-gradient(135deg, oklch(0.65 0.21 25) 0%, oklch(0.55 0.22 12) 100%); }
.gradient-lime    { background-image: linear-gradient(135deg, oklch(0.78 0.18 130) 0%, oklch(0.6 0.16 150) 100%); }

.gradient-hero {
  background-image:
    radial-gradient(1200px 500px at 82% -8%, oklch(0.82 0.16 75 / 0.28), transparent 60%),
    radial-gradient(900px 600px at -5% 12%, oklch(0.52 0.13 162 / 0.22), transparent 55%),
    radial-gradient(700px 500px at 60% 100%, oklch(0.7 0.2 25 / 0.12), transparent 55%),
    linear-gradient(180deg, oklch(0.995 0.003 95) 0%, oklch(0.975 0.006 120) 100%);
}
.gradient-mesh-dark {
  background-color: oklch(0.18 0.02 165);
  background-image:
    radial-gradient(at 15% 20%, oklch(0.52 0.13 162 / 0.5) 0px, transparent 45%),
    radial-gradient(at 85% 12%, oklch(0.82 0.16 75 / 0.4) 0px, transparent 40%),
    radial-gradient(at 70% 80%, oklch(0.7 0.2 25 / 0.35) 0px, transparent 50%),
    radial-gradient(at 5% 85%, oklch(0.78 0.18 130 / 0.3) 0px, transparent 45%);
}
.text-gradient-emerald {
  background: linear-gradient(120deg, oklch(0.45 0.11 162), oklch(0.55 0.13 150));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.bg-grid {
  background-image:
    linear-gradient(to right, oklch(0.45 0.11 162 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.45 0.11 162 / 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

.glass-card {
  background: oklch(1 0 0 / 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid oklch(1 0 0 / 0.5);
}

/* Декоративные пятна */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  filter: blur(48px);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: blob-morph 18s ease-in-out infinite;
}

/* ===== 4. Анимации ===== */
@keyframes blob-morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 58% 42% 38% 62% / 55% 47% 53% 45%; }
  66% { border-radius: 63% 37% 54% 46% / 47% 62% 38% 53%; }
}
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 oklch(0.45 0.11 162 / 0.4); }
  70% { box-shadow: 0 0 0 14px oklch(0.45 0.11 162 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.45 0.11 162 / 0); }
}
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes gradient-move { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }

.animate-float { animation: float-slow 6s ease-in-out infinite; }
.animate-fade-up { animation: fade-up 0.7s var(--ease) both; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 5. Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 1rem; padding: 1rem 1.75rem;
  font-size: 1rem; font-weight: 600; text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s, color 0.2s, background-color 0.2s;
}
.btn-primary { color: var(--primary-foreground); box-shadow: var(--shadow-emerald); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-amber { color: var(--accent-foreground); box-shadow: var(--shadow-amber); }
.btn-amber:hover { transform: translateY(-2px); }
.btn-outline {
  border: 2px solid oklch(0.21 0.02 160 / 0.1);
  background: var(--card); color: var(--foreground);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn .ic { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== 6. Шапка ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: oklch(0.99 0.004 95 / 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: oklch(0.91 0.01 140 / 0.6);
}
.header-bar { display: flex; height: 4rem; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo img { height: 2.25rem; width: auto; }
.header-nav { display: none; align-items: center; gap: 0.25rem; }
.header-nav a {
  border-radius: 999px; padding: 0.5rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  color: oklch(0.21 0.02 160 / 0.75);
  transition: background-color 0.2s, color 0.2s;
}
.header-nav a:hover { background: var(--secondary); color: var(--primary); }
.header-right { display: flex; align-items: center; gap: 0.5rem; }

.header-phone { display: none; align-items: center; gap: 0.5rem; }
.header-phone .pin {
  display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center;
  border-radius: 999px; background: oklch(0.45 0.11 162 / 0.1); color: var(--primary);
  transition: background-color 0.2s, color 0.2s;
}
.header-phone:hover .pin { background: var(--primary); color: var(--primary-foreground); }
.header-phone .txt { display: none; flex-direction: column; line-height: 1.2; }
.header-phone .num { font-size: 0.9375rem; font-weight: 700; }
.header-phone .hours { display: flex; align-items: center; gap: 0.25rem; font-size: 0.6875rem; color: var(--muted-foreground); }

.header-cta {
  display: none; align-items: center; border-radius: 999px;
  padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 600;
  color: var(--accent-foreground); box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}
.header-cta:hover { transform: scale(1.03); }

.burger {
  display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--border); background: oklch(1 0 0 / 0.7);
}

@media (min-width: 640px) { .header-phone { display: flex; } }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .header-bar { height: 5rem; }
  .header-logo img { height: 2.75rem; }
  .header-phone .txt { display: flex; }
  .header-right { gap: 1rem; }
}
@media (min-width: 1280px) {
  .header-nav { display: flex; }
  .burger { display: none; }
}

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s; }
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer-backdrop { position: absolute; inset: 0; background: oklch(0.21 0.02 160 / 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: 86%; max-width: 24rem;
  display: flex; flex-direction: column;
  background: var(--background); box-shadow: var(--shadow-lift);
  transform: translateX(100%); transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; }
.drawer-head img { height: 2.25rem; width: auto; }
.drawer-close { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); }
.drawer-nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; }
.drawer-nav a { border-radius: 0.75rem; padding: 0.75rem 1rem; font-weight: 500; color: oklch(0.21 0.02 160 / 0.8); transition: background-color 0.2s, color 0.2s; }
.drawer-nav a:hover { background: var(--secondary); color: var(--primary); }
.drawer-foot { margin-top: auto; display: grid; gap: 0.75rem; border-top: 1px solid var(--border); padding: 1.25rem; }
.drawer-foot .call { display: flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 0.75rem; background: var(--primary); padding: 0.75rem 1.25rem; font-weight: 700; color: var(--primary-foreground); }
.drawer-foot .measure { display: flex; align-items: center; justify-content: center; border-radius: 0.75rem; padding: 0.75rem 1.25rem; font-weight: 600; color: var(--accent-foreground); }
.drawer-foot p { text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* ===== 7. Секции и заголовки ===== */
.section { position: relative; padding-block: 5rem; }
.section-tinted { background: oklch(0.96 0.012 150 / 0.5); }
@media (min-width: 1024px) { .section { padding-block: 7rem; } }

.section-head { margin-inline: auto; max-width: 42rem; text-align: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid oklch(0.45 0.11 162 / 0.25);
  background: oklch(0.45 0.11 162 / 0.08);
  padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--primary);
}
.eyebrow .dot { height: 0.375rem; width: 0.375rem; border-radius: 999px; }
.section-head h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { margin-top: 1rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }

/* ===== 8. Hero ===== */
.hero { position: relative; overflow: hidden; padding-top: 7rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .hero { padding-top: 8rem; padding-bottom: 7rem; } }
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.06fr 0.94fr; gap: 2rem; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid oklch(0.45 0.11 162 / 0.25);
  background: oklch(0.45 0.11 162 / 0.08);
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.hero-badge .live { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.hero-badge .live::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: oklch(0.45 0.11 162 / 0.6); animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero-badge .live::after { content: ""; position: relative; height: 0.5rem; width: 0.5rem; border-radius: 999px; background: var(--primary); }

.hero h1 {
  margin-top: 1.25rem;
  font-size: 2.1rem; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.7rem; } }
.hero h1 .underlined { position: relative; white-space: nowrap; }
.hero h1 .underlined svg { position: absolute; bottom: -0.25rem; left: 0; width: 100%; height: 10px; }

.hero-lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; }
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }
.hero-lead strong { border-radius: 0.375rem; background: oklch(0.45 0.11 162 / 0.1); padding-inline: 0.375rem; color: var(--foreground); }

.hero-pills { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-pills li {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 999px; background: var(--card); padding: 0.375rem 0.75rem;
  font-size: 0.8125rem; font-weight: 600; box-shadow: var(--shadow-soft);
}
.hero-pills .dot { height: 0.625rem; width: 0.625rem; border-radius: 999px; }

.hero-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; align-items: center; } }

.hero-trust { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; font-size: 0.875rem; }
.rating-chip { display: flex; align-items: center; gap: 0.5rem; border-radius: 999px; background: var(--card); padding: 0.375rem 0.75rem; box-shadow: var(--shadow-soft); }
.stars { display: flex; }
.stars .ic { width: 1rem; height: 1rem; fill: var(--amber-star); stroke: var(--amber-star); }
.hero-trust .objects { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--muted-foreground); }
.hero-trust .objects .ic { color: var(--primary); }

.hero-media { position: relative; }
.hero-media-inner { position: relative; margin-inline: auto; max-width: 28rem; }
@media (min-width: 1024px) { .hero-media-inner { max-width: none; } }
.hero-frame {
  position: relative; overflow: hidden; border-radius: 2rem;
  border: 2px solid transparent; background-clip: padding-box;
  box-shadow: var(--shadow-lift);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 1;
  background: linear-gradient(135deg, oklch(0.52 0.13 162), oklch(0.82 0.16 75), oklch(0.65 0.21 25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
  pointer-events: none;
}
.hero-frame img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.hero-corner { position: absolute; right: -1rem; top: -1rem; height: 4rem; width: 4rem; color: var(--accent); }

.float-card {
  position: absolute; display: none; border-radius: 1rem; padding: 0.875rem;
  box-shadow: var(--shadow-lift); animation: float-slow 6s ease-in-out infinite;
}
@media (min-width: 640px) { .float-card { display: block; } }
.float-card.left { left: -0.5rem; top: 2rem; }
.float-card.right { right: -0.5rem; bottom: 2rem; animation-delay: 1.5s; }
.float-card .row { display: flex; align-items: center; gap: 0.75rem; }
.float-card .badge { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; color: var(--primary-foreground); }
.float-card .badge.amber { color: var(--accent-foreground); }
.float-card .label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.float-card .value { font-size: 0.875rem; font-weight: 800; }
.float-card .note { font-size: 0.6875rem; color: var(--muted-foreground); }

.hero-tiles {
  margin-top: 3.5rem; display: grid; gap: 1px; overflow: hidden;
  border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.6);
  background: oklch(0.91 0.01 140 / 0.6); box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .hero-tiles { grid-template-columns: repeat(3, 1fr); } }
.hero-tile { display: flex; height: 100%; align-items: center; gap: 0.875rem; background: var(--card); padding: 1.25rem; transition: background-color 0.2s; }
a.hero-tile:hover { background: oklch(1 0 0 / 0.6); }
.hero-tile .ico { display: flex; height: 3rem; width: 3rem; flex: none; align-items: center; justify-content: center; border-radius: 1rem; }
.hero-tile .ico.emerald { background: oklch(0.45 0.11 162 / 0.08); color: var(--primary); }
.hero-tile .ico.amber { background: oklch(0.74 0.15 75 / 0.12); color: var(--accent-ink); }
.hero-tile .ico.coral { background: oklch(0.65 0.2 25 / 0.1); color: var(--coral-ink); }
.hero-tile .label { font-size: 0.75rem; color: var(--muted-foreground); }
.hero-tile .value { font-size: 0.875rem; font-weight: 700; }
.hero-tile .value.coral { color: var(--coral-ink); }

.hero-mini { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hero-mini span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-mini .ic { color: var(--primary); }
.hero-mini .sep { display: none; color: var(--border); }
@media (min-width: 640px) { .hero-mini .sep { display: inline; } }

/* ===== 9. Бренды (бегущая строка) ===== */
.brands { position: relative; z-index: 10; margin-top: -1.5rem; padding-bottom: 0.5rem; }
.brands-inner {
  border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.6);
  background: oklch(1 0 0 / 0.8); padding: 1.25rem;
  box-shadow: var(--shadow-soft); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .brands-inner { padding-inline: 1.75rem; } }
@media (min-width: 1024px) { .brands-inner { flex-direction: row; justify-content: space-between; } }
.brands-label { text-align: center; font-size: 0.875rem; font-weight: 600; flex: none; }
.brands-label .muted { color: var(--muted-foreground); }
@media (min-width: 1024px) { .brands-label { text-align: left; } }
.marquee {
  position: relative; width: 100%; max-width: 42rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 100%);
  mask-image: linear-gradient(to right, #000 80%, transparent 100%);
}
.marquee-track { display: flex; gap: 0.75rem; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.brand-chip {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--primary-foreground); box-shadow: var(--shadow-soft);
}

/* ===== 10. Преимущества ===== */
.cards-3 { margin-top: 3rem; display: grid; gap: 1.25rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.adv-card {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 1.5rem; border: 2px solid oklch(0.91 0.01 140 / 0.6);
  background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
@media (min-width: 1024px) { .adv-card { padding: 1.75rem; } }
.adv-card .bar { position: absolute; inset-inline: 0; top: 0; height: 0.375rem; }
.adv-card .glow { position: absolute; right: -2.5rem; top: -1.5rem; height: 7rem; width: 7rem; border-radius: 999px; filter: blur(32px); opacity: 0.6; transition: opacity 0.3s; }
.adv-card:hover .glow { opacity: 1; }
.adv-card .body { position: relative; }
.adv-card .ico { display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem; transition: transform 0.3s; }
.adv-card:hover .ico { transform: scale(1.1); }
.adv-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.adv-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.tint-emerald .ico { background: oklch(0.45 0.11 162 / 0.12); color: var(--primary); }
.tint-emerald .bar { background: var(--primary); }
.tint-emerald .glow { background: oklch(0.45 0.11 162 / 0.25); }
.tint-emerald:hover { border-color: oklch(0.45 0.11 162 / 0.4); }
.tint-amber .ico { background: oklch(0.82 0.16 75 / 0.18); color: var(--accent-ink); }
.tint-amber .bar { background: var(--accent); }
.tint-amber .glow { background: oklch(0.74 0.15 75 / 0.3); }
.tint-amber:hover { border-color: oklch(0.74 0.15 75 / 0.5); }
.tint-coral .ico { background: oklch(0.65 0.2 25 / 0.14); color: var(--coral-ink); }
.tint-coral .bar { background: oklch(0.6 0.21 25); }
.tint-coral .glow { background: oklch(0.65 0.2 25 / 0.3); }
.tint-coral:hover { border-color: oklch(0.65 0.2 25 / 0.5); }
.tint-lime .ico { background: oklch(0.78 0.18 130 / 0.18); color: var(--lime-ink); }
.tint-lime .bar { background: oklch(0.6 0.16 140); }
.tint-lime .glow { background: oklch(0.78 0.18 130 / 0.3); }
.tint-lime:hover { border-color: oklch(0.78 0.18 130 / 0.5); }

.adv-cta {
  position: relative; display: flex; height: 100%; flex-direction: column; justify-content: space-between;
  overflow: hidden; border-radius: 1.5rem; padding: 1.75rem;
  color: var(--background); box-shadow: var(--shadow-lift);
}
.adv-cta .ico { display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem; color: var(--accent-foreground); box-shadow: var(--shadow-amber); }
.adv-cta h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 800; }
.adv-cta p { margin-top: 0.5rem; font-size: 0.875rem; color: oklch(0.99 0.004 95 / 0.85); }
.adv-cta .link {
  position: relative; margin-top: 1.5rem; display: inline-flex; width: fit-content; align-items: center; gap: 0.5rem;
  border-radius: 0.75rem; background: var(--background); padding: 0.625rem 1.25rem;
  font-size: 0.875rem; font-weight: 700; color: var(--foreground); transition: transform 0.2s;
}
.adv-cta .link:hover { transform: scale(1.03); }

/* ===== 11. Услуги ===== */
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative; display: flex; height: 100%; flex-direction: column; overflow: hidden;
  border-radius: 1.5rem; border: 2px solid oklch(0.91 0.01 140 / 0.6);
  background: var(--card); box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
@media (min-width: 640px) { .service-card { flex-direction: row; } }
.service-card .wm {
  position: absolute; right: 1rem; top: 0.5rem; z-index: 1;
  font-size: 4.5rem; font-weight: 900; color: oklch(0.21 0.02 160 / 0.04);
  user-select: none; pointer-events: none; line-height: 1;
}
@media (min-width: 640px) { .service-card .wm { font-size: 6rem; } }
.service-media { position: relative; flex: none; }
@media (min-width: 640px) { .service-media { width: 40%; } }
.service-media img { height: 12rem; width: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
@media (min-width: 640px) { .service-media img { height: 100%; } }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media .chip {
  position: absolute; left: 0.75rem; top: 0.75rem;
  display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
  border-radius: 1rem; color: var(--primary-foreground); box-shadow: var(--shadow-lift);
}
.service-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 1024px) { .service-body { padding: 1.75rem; } }
.service-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.service-title h3 { padding-right: 0.5rem; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.price-tag { flex: none; border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.price-emerald { background: oklch(0.45 0.11 162 / 0.1); color: var(--primary); }
.price-amber { background: oklch(0.74 0.15 75 / 0.15); color: var(--accent-ink); }
.price-coral { background: oklch(0.65 0.2 25 / 0.12); color: var(--coral-ink); }
.price-lime { background: oklch(0.78 0.18 130 / 0.15); color: var(--lime-ink); }
.service-short { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.service-desc { margin-top: 0.75rem; font-size: 0.875rem; color: oklch(0.21 0.02 160 / 0.75); }
.service-features { margin-top: 1rem; display: grid; gap: 0.375rem; }
.service-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: oklch(0.21 0.02 160 / 0.85); }
.service-features .tick {
  margin-top: 0.125rem; display: flex; height: 1rem; width: 1rem; flex: none;
  align-items: center; justify-content: center; border-radius: 999px; color: var(--primary-foreground);
}
.service-features .tick .ic { width: 0.75rem; height: 0.75rem; stroke-width: 3; }
.service-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); transition: gap 0.2s; }
.service-link:hover { gap: 0.625rem; }

.extra-services {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 1.5rem; border: 2px dashed oklch(0.45 0.11 162 / 0.25);
  background: oklch(0.45 0.11 162 / 0.04); padding: 1.5rem; text-align: center;
}
.extra-services .lead { margin-right: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.extra-services .pill {
  border-radius: 999px; padding: 0.375rem 0.875rem;
  font-size: 0.75rem; font-weight: 600; color: var(--primary-foreground); box-shadow: var(--shadow-soft);
}

/* ===== 12. Процесс ===== */
.process-wrap { position: relative; margin-top: 3.5rem; }
.process-line {
  position: absolute; inset-inline: 0; top: 1.75rem; height: 4px; display: none;
  background: linear-gradient(90deg, oklch(0.52 0.13 162), oklch(0.82 0.16 75), oklch(0.65 0.21 25), oklch(0.78 0.18 130), oklch(0.52 0.13 162));
}
@media (min-width: 1024px) { .process-line { display: block; } }
.process-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.process-card {
  position: relative; height: 100%; border-radius: 1.5rem;
  border: 1px solid oklch(0.91 0.01 140 / 0.7); background: var(--card);
  padding: 1.5rem; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.process-top { margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; }
.process-badge {
  position: relative; z-index: 1; display: flex; height: 3.5rem; width: 3.5rem;
  align-items: center; justify-content: center; border-radius: 1rem;
  color: var(--primary-foreground); box-shadow: var(--shadow-lift); transition: transform 0.3s;
}
.process-card:hover .process-badge { transform: scale(1.1); }
.process-badge .num {
  position: absolute; right: -0.25rem; top: -0.25rem;
  display: flex; height: 1.5rem; width: 1.5rem; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--card); font-size: 0.75rem; font-weight: 800; color: var(--foreground);
  box-shadow: var(--shadow-soft);
}
.process-wm { font-size: 3rem; font-weight: 900; color: oklch(0.21 0.02 160 / 0.05); line-height: 1; }
.process-card h3 { font-size: 1.125rem; font-weight: 700; }
.process-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== 13. Портфолио ===== */
.portfolio-grid { margin-top: 3rem; display: grid; gap: 1rem; grid-auto-rows: 200px; position: relative; z-index: 1; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; } }
.pf {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid oklch(0.91 0.01 140 / 0.6); box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s var(--ease), opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.pf:hover { box-shadow: var(--shadow-lift); }
@media (min-width: 1024px) {
  .pf-wide { grid-column: span 2; }
  .pf-big { grid-column: span 2; grid-row: span 2; }
}
.pf img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pf:hover img { transform: scale(1.1); }
.pf .veil { position: absolute; inset: 0; }
.pf .veil-1 { opacity: 0.9; }
.pf .veil-2 { background: linear-gradient(to top, oklch(0.21 0.02 160 / 0.8), transparent 60%); }
.pf-emerald .veil-1 { background: linear-gradient(to top, oklch(0.45 0.11 162 / 0.9), oklch(0.21 0.02 160 / 0.3) 55%, transparent); }
.pf-amber   .veil-1 { background: linear-gradient(to top, oklch(0.7 0.18 60 / 0.9), oklch(0.21 0.02 160 / 0.3) 55%, transparent); }
.pf-coral   .veil-1 { background: linear-gradient(to top, oklch(0.55 0.21 20 / 0.9), oklch(0.21 0.02 160 / 0.3) 55%, transparent); }
.pf-lime    .veil-1 { background: linear-gradient(to top, oklch(0.6 0.16 140 / 0.9), oklch(0.21 0.02 160 / 0.3) 55%, transparent); }
.pf .go {
  position: absolute; right: 1rem; top: 1rem;
  display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center;
  border-radius: 999px; background: oklch(0.99 0.004 95 / 0.9); color: var(--foreground);
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; box-shadow: var(--shadow-lift);
}
.pf:hover .go { opacity: 1; transform: none; }
.pf-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; color: var(--background); }
.pf-tags { margin-bottom: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pf-tags span {
  border-radius: 999px; background: oklch(0.99 0.004 95 / 0.2); padding: 0.125rem 0.625rem;
  font-size: 0.6875rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pf-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.pf-body .place { margin-top: 0.125rem; display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: oklch(0.99 0.004 95 / 0.8); }
.portfolio-foot { margin-top: 2.5rem; text-align: center; }

/* ===== 14. Цены и калькулятор ===== */
.calc-shell {
  margin-top: 3rem; border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.7);
  background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .calc-shell { padding: 2rem; } }
@media (min-width: 1024px) { .calc-shell { padding: 2.5rem; } }
.calc { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .calc { grid-template-columns: 1.4fr 1fr; } }
.calc-fields { display: grid; gap: 1.5rem; align-content: start; }
.field-label { margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.chips { display: grid; gap: 0.5rem; }
.chips-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .chips-4 { grid-template-columns: repeat(4, 1fr); } }
.chips-2 { grid-template-columns: repeat(2, 1fr); }
.chips-3 { grid-template-columns: repeat(3, 1fr); }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border-radius: 0.75rem; border: 1px solid var(--border); background: var(--background);
  padding: 0.625rem 0.75rem; font-size: 0.8125rem; font-weight: 500;
  color: oklch(0.21 0.02 160 / 0.7); transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
@media (min-width: 640px) { .chip { font-size: 0.875rem; } }
.chip:hover { border-color: oklch(0.45 0.11 162 / 0.4); color: var(--primary); }
.chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.toggles { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid var(--border); padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: oklch(0.21 0.02 160 / 0.6); transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.toggle .box { display: flex; height: 1rem; width: 1rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--muted-foreground); }
.toggle .box::after { content: ""; height: 0.375rem; width: 0.375rem; border-radius: 999px; background: var(--primary-foreground); opacity: 0; }
.toggle[aria-pressed="true"] { border-color: var(--primary); background: oklch(0.45 0.11 162 / 0.1); color: var(--primary); }
.toggle[aria-pressed="true"] .box { border-color: var(--primary); background: var(--primary); }
.toggle[aria-pressed="true"] .box::after { opacity: 1; }

.calc-result {
  display: flex; flex-direction: column; border-radius: 1rem; padding: 1.5rem;
  color: var(--primary-foreground); box-shadow: var(--shadow-emerald);
}
@media (min-width: 1024px) { .calc-result { padding: 2rem; } }
.calc-result .cap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: oklch(0.985 0.01 95 / 0.8); }
.calc-total { margin-top: 1rem; font-size: 2.25rem; font-weight: 800; line-height: 1.1; }
@media (min-width: 1024px) { .calc-total { font-size: 3rem; } }
.calc-note { margin-top: 0.5rem; font-size: 0.875rem; color: oklch(0.985 0.01 95 / 0.8); }
.calc-summary { margin-top: 1.5rem; display: grid; gap: 0.5rem; border-radius: 0.75rem; background: oklch(0.985 0.01 95 / 0.1); padding: 1rem; font-size: 0.875rem; }
.calc-summary div { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.calc-summary dt { color: oklch(0.985 0.01 95 / 0.7); }
.calc-summary dd { font-weight: 600; text-align: right; }
.calc-cta {
  margin-top: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.75rem; padding: 0.75rem 1.25rem; font-size: 1rem; font-weight: 600;
  color: var(--accent-foreground); transition: transform 0.2s;
}
.calc-cta:hover { transform: scale(1.02); }
.calc-reset { margin-top: 0.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.75rem; color: oklch(0.985 0.01 95 / 0.7); }
.calc-reset:hover { color: var(--primary-foreground); }

.table-wrap { margin-top: 2.5rem; overflow: hidden; border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.7); box-shadow: var(--shadow-soft); }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; min-width: 640px; text-align: left; font-size: 0.875rem; background: var(--card); }
.price-table thead { color: var(--primary-foreground); }
.price-table th { padding: 1rem 1.25rem; font-weight: 600; }
.price-table td { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }
.price-table tbody tr { transition: background-color 0.2s; }
.price-table tbody tr:hover { background: oklch(0.96 0.012 150 / 0.5); }
.price-table .name { font-weight: 700; }
.price-table .muted { color: var(--muted-foreground); }
.price-table .price { font-weight: 700; color: var(--primary); }
.table-note { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

/* ===== 15. Отзывы ===== */
.stats-bar {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem;
  border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.6);
  background: var(--card); padding: 1.25rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .stats-bar { gap: 0; } }
.stat { display: flex; min-width: 120px; flex: 1; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.5rem 1rem; }
@media (min-width: 640px) { .stat { padding-inline: 1.5rem; border-left: 1px solid oklch(0.91 0.01 140 / 0.6); } .stat:first-child { border-left: 0; } }
.stat .val { font-size: 1.875rem; font-weight: 800; }
@media (min-width: 1024px) { .stat .val { font-size: 2.25rem; } }
.stat .val.emerald { color: var(--primary); }
.stat .val.amber { color: var(--accent-ink); }
.stat .val.coral { color: var(--coral-ink); }
.stat .val.lime { color: var(--lime-ink); }
.stat .lbl { font-size: 0.75rem; line-height: 1.2; color: var(--muted-foreground); text-align: left; }
.stat .stars { margin-bottom: 0.125rem; }
.stat .stars .ic { width: 0.75rem; height: 0.75rem; }

.reviews-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  display: flex; height: 100%; flex-direction: column;
  border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.7);
  background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-top .quote { width: 2rem; height: 2rem; color: oklch(0.45 0.11 162 / 0.15); transition: color 0.2s; }
.review:hover .review-top .quote { color: oklch(0.45 0.11 162 / 0.25); }
.review blockquote { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; color: oklch(0.21 0.02 160 / 0.85); }
.review figcaption { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid oklch(0.91 0.01 140 / 0.6); padding-top: 1rem; }
.review .ava {
  display: flex; height: 2.75rem; width: 2.75rem; flex: none; align-items: center; justify-content: center;
  border-radius: 1rem; font-size: 0.875rem; font-weight: 700; color: var(--primary-foreground); box-shadow: var(--shadow-soft);
}
.review .who { min-width: 0; flex: 1; }
.review .nm { font-size: 0.875rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review .obj { font-size: 0.75rem; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review .dt { flex: none; font-size: 0.75rem; color: var(--muted-foreground); }

/* ===== 16. FAQ ===== */
.faq-list { margin-inline: auto; margin-top: 3rem; max-width: 48rem; display: grid; gap: 0.75rem; }
.faq-item {
  overflow: hidden; border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.7);
  background: var(--card); padding-inline: 1.25rem; box-shadow: var(--shadow-soft);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: oklch(0.45 0.11 162 / 0.3); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem; font-size: 1rem; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--muted-foreground); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--primary); }
.faq-item .answer { padding-bottom: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== 17. О компании / SEO ===== */
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.about-left .tag {
  display: inline-block; border-radius: 999px; border: 1px solid oklch(0.45 0.11 162 / 0.2);
  background: oklch(0.45 0.11 162 / 0.05); padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--primary);
}
.about-left h2 { margin-top: 1rem; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 640px) { .about-left h2 { font-size: 2.25rem; } }
.about-left > p { margin-top: 1rem; color: var(--muted-foreground); }
.about-photo { margin-top: 1.5rem; overflow: hidden; border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.6); box-shadow: var(--shadow-soft); }
.about-photo img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.about-stats { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.about-stat { border-radius: 0.75rem; border: 1px solid oklch(0.91 0.01 140 / 0.6); background: var(--card); padding: 0.75rem; text-align: center; box-shadow: var(--shadow-soft); }
.about-stat .v { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.about-stat .l { font-size: 0.75rem; color: var(--muted-foreground); }

.about-text { display: grid; gap: 1.25rem; font-size: 0.9375rem; line-height: 1.75; color: oklch(0.21 0.02 160 / 0.85); }
.about-text h3 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.about-text strong { color: var(--foreground); }
.about-text ul { display: grid; gap: 0.625rem; margin-left: 0.25rem; }
.about-text li { display: flex; gap: 0.625rem; }
.about-text li::before { content: ""; margin-top: 0.6rem; height: 0.375rem; width: 0.375rem; flex: none; border-radius: 999px; background: var(--primary); }
.about-callout { border-radius: 1rem; border: 1px solid oklch(0.45 0.11 162 / 0.2); background: oklch(0.45 0.11 162 / 0.05); padding: 1.25rem; }
.about-callout p { font-weight: 500; color: var(--foreground); }
.about-callout a { font-weight: 700; color: var(--primary); }
.about-callout a:hover { text-decoration: underline; }

/* ===== 18. CTA-баннер ===== */
.cta-section { padding-block: 3rem; }
@media (min-width: 1024px) { .cta-section { padding-block: 4rem; } }
.cta-banner {
  position: relative; overflow: hidden; border-radius: 2rem; padding: 2rem;
  color: var(--primary-foreground); box-shadow: var(--shadow-lift);
}
@media (min-width: 640px) { .cta-banner { padding: 3rem; } }
@media (min-width: 1024px) { .cta-banner { padding: 4rem; } }
.cta-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(120deg, oklch(0.42 0.12 165), oklch(0.55 0.2 25), oklch(0.7 0.18 60), oklch(0.42 0.12 165));
  background-size: 200% 200%; animation: gradient-move 8s ease infinite;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2rem; }
@media (min-width: 1024px) { .cta-inner { flex-direction: row; } }
.cta-text { max-width: 42rem; text-align: center; }
@media (min-width: 1024px) { .cta-text { text-align: left; } }
.cta-text h2 { font-size: 1.5rem; font-weight: 800; text-wrap: balance; }
@media (min-width: 640px) { .cta-text h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .cta-text h2 { font-size: 2.25rem; } }
.cta-text p { margin-top: 0.75rem; color: oklch(0.985 0.01 95 / 0.9); }
@media (min-width: 640px) { .cta-text p { font-size: 1.125rem; } }
.cta-actions { display: flex; width: 100%; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
@media (min-width: 1024px) { .cta-actions { width: auto; } }
.cta-call { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-lift); }
.cta-call .ic { color: var(--primary); }
.cta-call:hover { transform: scale(1.03); }
.cta-ghost {
  border: 2px solid oklch(0.99 0.004 95 / 0.4); background: oklch(0.99 0.004 95 / 0.1);
  color: var(--primary-foreground); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cta-ghost:hover { background: oklch(0.99 0.004 95 / 0.2); }

/* ===== 19. Контакты и форма ===== */
.contacts-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .contacts-grid { grid-template-columns: repeat(2, 1fr); } }
.form-card { border-radius: 1.5rem; border: 1px solid oklch(0.91 0.01 140 / 0.7); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-card h3 { font-size: 1.25rem; font-weight: 700; }
.form-card .hint { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }
.lead-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.lead-form label { margin-bottom: 0.375rem; display: block; font-size: 0.875rem; font-weight: 500; }
.lead-form label .req { color: var(--accent-ink); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form textarea {
  width: 100%; border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--background); padding: 0 1rem; font-size: 0.875rem;
  box-shadow: 0 1px 2px oklch(0.21 0.02 160 / 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input[type="text"], .lead-form input[type="tel"] { height: 3rem; }
.lead-form textarea { padding: 0.75rem 1rem; resize: vertical; min-height: 5.5rem; font-family: inherit; }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.45 0.11 162 / 0.2);
}
.lead-form ::placeholder { color: var(--muted-foreground); }
.service-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-chip {
  border-radius: 999px; border: 1px solid var(--border); background: var(--background);
  padding: 0.375rem 0.875rem; font-size: 0.75rem; font-weight: 500;
  color: oklch(0.21 0.02 160 / 0.7); transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.service-chip:hover { border-color: oklch(0.45 0.11 162 / 0.4); color: var(--primary); }
.service-chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.form-error { border-radius: 0.5rem; background: oklch(0.58 0.22 25 / 0.1); padding: 0.625rem 1rem; font-size: 0.875rem; color: var(--destructive); }
.form-submit {
  display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.75rem; padding: 0.875rem 1.5rem; font-size: 1rem; font-weight: 600;
  color: var(--primary-foreground); box-shadow: var(--shadow-emerald); transition: transform 0.2s, opacity 0.2s;
}
.form-submit:hover { transform: scale(1.01); }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-submit .spinner { animation: spin 1s linear infinite; }
.form-policy { text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
.form-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  border-radius: 1rem; border: 1px solid oklch(0.45 0.11 162 / 0.2);
  background: oklch(0.45 0.11 162 / 0.05); padding: 2rem; text-align: center;
}
.form-success .ok { display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 999px; background: oklch(0.45 0.11 162 / 0.1); color: var(--primary); }
.form-success .ok .ic { width: 2rem; height: 2rem; }
.form-success h3 { font-size: 1.25rem; font-weight: 700; }
.form-success p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.form-success a { font-weight: 600; color: var(--primary); }
.form-success button { margin-top: 0.5rem; border-radius: 999px; border: 1px solid var(--border); padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 500; }
.form-success button:hover { background: var(--secondary); }

.contacts-side { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-cards { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  display: flex; height: 100%; align-items: flex-start; gap: 0.75rem;
  border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.7);
  background: var(--card); padding: 1rem; box-shadow: var(--shadow-soft);
  transition: transform 0.2s, border-color 0.2s;
}
a.contact-card:hover { transform: translateY(-2px); border-color: oklch(0.45 0.11 162 / 0.3); }
.contact-card .ico { display: flex; height: 2.5rem; width: 2.5rem; flex: none; align-items: center; justify-content: center; border-radius: 0.75rem; background: oklch(0.45 0.11 162 / 0.1); color: var(--primary); transition: background 0.2s, color 0.2s; }
a.contact-card:hover .ico { background-image: linear-gradient(135deg, oklch(0.52 0.13 162), oklch(0.36 0.09 170)); color: var(--primary-foreground); }
.contact-card .t { font-size: 0.75rem; color: var(--muted-foreground); }
.contact-card .v { font-size: 0.875rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.contact-card .n { font-size: 0.75rem; color: var(--muted-foreground); }

.hours-card { border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.7); background: oklch(0.96 0.012 150 / 0.4); padding: 1.25rem; }
.hours-card .cap { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.hours-card .cap .ic { color: var(--primary); }
.hours-card ul { margin-top: 0.75rem; display: grid; gap: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hours-card li { display: flex; justify-content: space-between; gap: 1rem; }
.hours-card li span:last-child { font-weight: 500; color: var(--foreground); }

.map-card { overflow: hidden; border-radius: 1rem; border: 1px solid oklch(0.91 0.01 140 / 0.7); box-shadow: var(--shadow-soft); }
.map-card iframe { height: 16rem; width: 100%; border: 0; }
.map-card .route {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-top: 1px solid oklch(0.91 0.01 140 / 0.6); background: var(--card);
  padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--primary);
}
.map-card .route:hover { background: var(--secondary); }

/* ===== 20. Подвал ===== */
.site-footer { margin-top: auto; background: var(--foreground); color: var(--background); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand img { height: 2.75rem; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: oklch(0.99 0.004 95 / 0.7); }
.footer-badge {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid oklch(0.99 0.004 95 / 0.2);
  padding: 0.375rem 0.75rem; font-size: 0.75rem; color: oklch(0.99 0.004 95 / 0.8);
}
.footer-badge .ic { color: var(--accent); }
.site-footer h3 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: oklch(0.99 0.004 95 / 0.9); }
.site-footer nav ul, .footer-contacts { margin-top: 1rem; display: grid; gap: 0.625rem; font-size: 0.875rem; }
.footer-contacts { gap: 0.75rem; }
.site-footer a { color: oklch(0.99 0.004 95 / 0.7); transition: color 0.2s; }
.site-footer a:hover { color: var(--accent); }
.footer-contacts li { display: flex; align-items: flex-start; gap: 0.625rem; color: oklch(0.99 0.004 95 / 0.7); }
.footer-contacts li .ic { margin-top: 0.125rem; flex: none; color: var(--accent); }
.footer-contacts .phone { display: flex; align-items: flex-start; gap: 0.625rem; }
.footer-contacts .phone strong { font-size: 1rem; font-weight: 700; color: var(--background); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid oklch(0.99 0.004 95 / 0.15); padding-block: 1.5rem 2rem;
  text-align: center; font-size: 0.75rem; color: oklch(0.99 0.004 95 / 0.55);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom .links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 1rem; }
.footer-bottom .sep { color: oklch(0.99 0.004 95 / 0.3); }

/* ===== 21. Плавающая кнопка звонка ===== */
.floating-call {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40;
  display: flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 1rem 1.25rem;
  font-size: 0.875rem; font-weight: 700; color: var(--primary-foreground);
  box-shadow: var(--shadow-emerald);
  transform: translateY(4rem); opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.floating-call.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.floating-call .ring { position: absolute; inset: 0; border-radius: 999px; animation: pulse-ring 2.2s ease-out infinite; }
.floating-call .ic, .floating-call span:not(.ring) { position: relative; }
@media (min-width: 640px) { .floating-call { display: none; } }

/* ===== 22. Страница 404 ===== */
.page-404 { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 2rem 1rem; text-align: center; }
.page-404 .code { font-size: 5rem; font-weight: 900; line-height: 1; }
.page-404 h1 { font-size: 1.5rem; font-weight: 800; }
.page-404 p { max-width: 32rem; color: var(--muted-foreground); }
.page-404 .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
