/* ============================================================
   PCservice — Design System
   Clean · light · minimalist · trust
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Neutrals — cool slate near-black on cool white (reads modern + trustworthy) */
  --bg:            #ffffff;
  --surface:       #f4f6fa;
  --surface-2:     #eaeef6;
  --ink:           #14202e;
  --ink-soft:      #3b4a5c;
  --muted:         #647183;
  --faint:         #9aa6b6;
  --line:          rgba(20, 32, 46, 0.10);
  --line-strong:   rgba(20, 32, 46, 0.16);

  /* Brand — derived from logo (blue mascot + orange wordmark) */
  --brand-blue:    #1f6fc4;
  --brand-orange:  #e8801c;

  /* Accent — tweakable. Default = brand blue. */
  --accent:        #1f6fc4;
  --accent-ink:    #ffffff;
  --accent-soft:   rgba(31, 111, 196, 0.10);
  --accent-2:      #e8801c;
  --accent-2-soft: rgba(232, 128, 28, 0.12);

  /* Geometry — tweakable */
  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     22px;

  /* Type scale */
  --font:          'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display:    clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --fs-h2:         clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  --fs-h3:         clamp(1.25rem, 1rem + 0.9vw, 1.6rem);
  --fs-lead:       clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  --fs-body:       1.0625rem;
  --fs-sm:         0.9375rem;
  --fs-xs:         0.8125rem;

  /* Layout */
  --container:     1440px;
  --gutter:        clamp(20px, 4vw, 64px);
  --section-y:     clamp(72px, 8vw, 132px);

  /* Motion */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm:     0 1px 2px rgba(20,32,46,0.05), 0 2px 8px rgba(20,32,46,0.05);
  --shadow-md:     0 4px 14px rgba(20,32,46,0.07), 0 18px 40px rgba(20,32,46,0.08);
  --shadow-lg:     0 12px 30px rgba(20,32,46,0.10), 0 40px 80px rgba(20,32,46,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--line-strong);
}

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--fs-h2); margin-top: 18px; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: 16px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px var(--pad-x);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }

/* Primary — fill sweep + lift */
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary:active { transform: translateY(-1px); }

/* Ghost / outline */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent-soft);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--ghost:hover::before { opacity: 1; }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--lg { padding: 18px 34px; font-size: var(--fs-body); }
.btn--block { width: 100%; }

/* Text link with animated underline */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink);
}
.tlink svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.tlink::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover svg { transform: translateX(4px); }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
[data-reveal="fade"] { transform: translateY(10px); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(0.92); filter: blur(10px); }
[data-reveal="up-lg"] { transform: translateY(64px); }
.is-visible[data-reveal] { opacity: 1; transform: none; filter: blur(0); }

/* Staggered groups — children cascade in one-by-one */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.75s var(--ease-out);
  will-change: opacity, transform, filter;
}
[data-stagger].is-visible > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition-delay: var(--stagger-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(26,25,23,0.02);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; max-width: none; display: block; }
.brand__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand b { font-weight: 800; }
.brand span { color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--fs-sm);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.header__phone svg { width: 17px; height: 17px; color: var(--muted); transition: transform 0.4s var(--ease); }
.header__phone:hover svg { transform: rotate(-12deg) scale(1.08); }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--gutter) 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 13px 8px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: clamp(118px, 14vw, 168px); padding-bottom: var(--section-y); }

/* ============================================================
   Hero interactive grid (cursor-reactive square field)
   Faint always-on grid; cell fills ripple in near the pointer.
   ============================================================ */
.hero__cells {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(115% 90% at 60% 8%, #000 45%, transparent 100%);
          mask-image: radial-gradient(115% 90% at 60% 8%, #000 45%, transparent 100%);
}
.hero__cells .cell {
  position: absolute; top: 0; left: 0;
  width: 26px; height: 26px;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 6px;
}
.hero__cells .cell::before {
  content: "";
  position: absolute; inset: 2px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--cell-delay, 0ms);
}
.hero__cells .cell.is-on::before { opacity: 0.16; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .hero__cells .cell::before { transition: none; }
}

/* ============================================================
   Page background system (seamless, fixed layer — no block seams)
   Switchable via [data-bg] on <html>
   ============================================================ */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
/* Сяйво — soft brand-tinted aurora (default) */
[data-bg="glow"] body::before {
  background:
    radial-gradient(820px 560px at 90% -4%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(720px 560px at 2% 22%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 26%);
}
/* Чистий — bright & minimal, one whisper-soft wash */
[data-bg="clean"] body::before {
  background: radial-gradient(1040px 700px at 100% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 62%);
}
/* Сітка — faint blueprint grid, smoothly faded */
[data-bg="grid"] body::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(1200px 820px at 82% -6%, #000, transparent 72%);
          mask-image: radial-gradient(1200px 820px at 82% -6%, #000, transparent 72%);
}
[data-bg="grid"] body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(820px 560px at 90% -4%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px var(--accent-soft);} 50% { box-shadow: 0 0 0 6px transparent;} }

.hero h1 { font-size: var(--fs-display); font-weight: 800; margin-top: 26px; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--accent); white-space: nowrap; }
.hero__lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 22px; max-width: 33ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero__trust > div { display: flex; flex-direction: column; gap: 2px; }
.hero__trust .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.hero__trust .l { font-size: var(--fs-xs); color: var(--muted); }

/* Hero media — single large photo */
.hero__media { position: relative; }
.hero__photo-wrap { position: relative; }
.hero__photo-wrap::before {
  content: "";
  position: absolute; right: -22px; bottom: -22px;
  width: 64%; height: 70%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero__photo {
  position: relative; z-index: 1;
  width: 100%;
  height: clamp(420px, 46vw, 560px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__float {
  position: absolute; left: -18px; bottom: 28px; z-index: 2;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  max-width: 250px;
}
.hero__float .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.hero__float .ico svg { width: 22px; height: 22px; }
.hero__float b { font-size: var(--fs-sm); display: block; }
.hero__float small { font-size: var(--fs-xs); color: var(--muted); }

/* Hero variant: centered */
[data-hero="centered"] .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
[data-hero="centered"] .hero__lead { max-width: 56ch; }
[data-hero="centered"] .hero__cta { justify-content: center; }
[data-hero="centered"] .hero__trust { justify-content: center; }
[data-hero="centered"] .hero__media { width: 100%; max-width: 940px; margin-top: 56px; }
[data-hero="centered"] .hero__photo { height: clamp(300px, 38vw, 460px); }
[data-hero="centered"] .hero__photo-wrap::after { display: none; }
[data-hero="centered"] .hero__float { left: 24px; }

/* Hero variant: form-forward (lead form card in hero) */
.hero__form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 34px);
}
.hero__form-card h3 { font-size: var(--fs-h3); }
.hero__form-card p { color: var(--muted); font-size: var(--fs-sm); margin-top: 6px; margin-bottom: 22px; }

/* Layout switching: default (photo) shows the photo, hides the form */
.hero__media--form { display: none; }
[data-hero="form"] .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
[data-hero="form"] .hero__media--photo { display: none; }
[data-hero="form"] .hero__media--form { display: block; }

/* ============================================================
   Form controls
   ============================================================ */
.field { position: relative; margin-bottom: 14px; }
.field label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23757069' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: var(--fs-xs); color: var(--faint); margin-top: 12px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; animation: popIn 0.5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(0.94);} to { opacity: 1; transform: none; } }
.form-success .check { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; }
.form-success .check svg { width: 30px; height: 30px; }

/* ============================================================
   Counters / stats strip
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--bg); padding: clamp(26px, 3.4vw, 42px) clamp(20px, 2.4vw, 32px); }
.stat .n { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat .n .suf { color: var(--accent); }
.stat .l { font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; }

/* ============================================================
   Services
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 22px); }
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  min-height: 280px;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-card__ico { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.svc-card:hover .svc-card__arrow { opacity: 1; transform: none; }
.svc-card__ico {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--surface-2); color: var(--ink);
  display: grid; place-items: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.svc-card__ico svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: var(--fs-h3); margin-top: 22px; }
.svc-card p { color: var(--muted); font-size: var(--fs-sm); margin-top: 10px; flex-grow: 1; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.svc-card .tag { font-size: var(--fs-xs); color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.svc-card__arrow { position: absolute; top: clamp(24px,2.4vw,32px); right: clamp(24px,2.4vw,32px); color: var(--ink); opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.svc-card__arrow svg { width: 22px; height: 22px; }

/* ============================================================
   Why-us / features
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.feat-list { display: flex; flex-direction: column; gap: 4px; }
.feat {
  display: flex; gap: 18px;
  padding: 22px 20px;
  border-radius: var(--radius);
  transition: background 0.35s var(--ease);
}
.feat:hover { background: var(--surface); }
.feat__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.feat__ico svg { width: 23px; height: 23px; }
.feat h3 { font-size: 1.15rem; }
.feat p { color: var(--muted); font-size: var(--fs-sm); margin-top: 6px; }
.why-media img { width: 100%; height: clamp(340px, 42vw, 520px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ============================================================
   Process / steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: var(--line-strong); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__n {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover .step__n, .step.is-active .step__n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.06); }
.step h3 { font-size: 1.1rem; margin-top: 22px; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin-top: 9px; }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 26px); }
.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 36px);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.price-card--wide { grid-column: 1 / -1; }
.price-card--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card--feature .price-row { border-color: rgba(255,255,255,0.12); }
.price-card--feature .price-row .name { color: #fff; }
.price-card--feature .price-row .val { color: #fff; }
.price-card--feature h3 { color: #fff; }
.price-card--feature .price-head p { color: rgba(255,255,255,0.6); }
.price-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.price-head > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.price-head h3 { line-height: 1.18; text-wrap: pretty; }
.price-head .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; }
.price-card--feature .price-head .ico { background: rgba(255,255,255,0.1); color: #fff; }
.price-head .ico svg { width: 23px; height: 23px; }
.price-head h3 { font-size: var(--fs-h3); }
.price-head p { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: none; }
.price-row .name { font-size: var(--fs-sm); color: var(--ink-soft); }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.price-row .val { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; letter-spacing: -0.01em; }
.price-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: var(--fs-sm); color: rgba(255,255,255,0.75); }
.price-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: #fff; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review .stars { display: flex; gap: 3px; color: #1a1917; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: var(--fs-body); margin-top: 18px; flex-grow: 1; line-height: 1.62; }
.review .who { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.review .ava { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.review .who b { font-size: var(--fs-sm); display: block; }
.review .who small { font-size: var(--fs-xs); color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.faq-icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq-a__inner { padding: 0 4px 26px; color: var(--muted); font-size: var(--fs-body); max-width: 60ch; }

/* ============================================================
   CTA / callback band
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 68px);
  overflow: hidden;
}
.cta-band__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { color: rgba(255,255,255,0.7); font-size: var(--fs-lead); margin-top: 16px; max-width: 42ch; }
.cta-band .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%); z-index: 0; }
.cta-form { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); }
.cta-form h3 { font-size: 1.2rem; margin-bottom: 16px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(44px, 5vw, 64px); }
.footer__brand p { color: var(--muted); font-size: var(--fs-sm); margin-top: 18px; max-width: 32ch; }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer__socials a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.footer__socials a svg { width: 19px; height: 19px; }
.footer__col h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 700; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a, .footer__col li { color: var(--ink-soft); font-size: var(--fs-sm); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__contact-item { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 16px; }
.footer__contact-item svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; margin-top: 3px; }
.footer__map { margin-top: 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 180px; filter: grayscale(1) contrast(0.95); transition: filter 0.5s var(--ease); }
.footer__map:hover { filter: grayscale(0); }
.footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer__bar { border-top: 1px solid var(--line); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer__bar p { font-size: var(--fs-xs); color: var(--muted); }
.footer__bar .links { display: flex; gap: 22px; }
.footer__bar .links a { font-size: var(--fs-xs); color: var(--muted); }
.footer__bar .links a:hover { color: var(--ink); }

/* ============================================================
   Floating contact dock (bottom-right)
   ============================================================ */
.contact-dock {
  position: fixed; right: clamp(16px, 1.6vw, 28px); bottom: clamp(16px, 1.6vw, 28px); z-index: 95;
  display: flex; align-items: center; gap: 12px;
}
.contact-dock__call {
  position: relative;
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.contact-dock__call svg { width: 23px; height: 23px; position: relative; z-index: 1; }
.contact-dock__call::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: dockPulse 2.6s var(--ease) infinite;
}
@keyframes dockPulse {
  0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 42%, transparent); }
  50%     { box-shadow: 0 0 0 13px color-mix(in srgb, var(--accent) 0%, transparent); }
}
.contact-dock__msg {
  display: inline-flex; align-items: center; gap: 16px;
  height: 58px; padding: 0 24px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.contact-dock__msg span { font-size: var(--fs-sm); font-weight: 600; line-height: 1.22; white-space: nowrap; }
.contact-dock__msg svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); }
.contact-dock__call:hover { transform: translateY(-3px); background: var(--accent); }
.contact-dock__msg:hover { transform: translateY(-3px); background: #1c2c3e; }

/* ============================================================
   Image-slot placeholder skin
   ============================================================ */
image-slot {
  --slot-bg: var(--surface-2);
  border-radius: var(--radius);
}

/* ============================================================
   About / company
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: clamp(340px, 40vw, 500px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; z-index: 1; }
.about-media::before { content: ""; position: absolute; left: -20px; top: -20px; width: 60%; height: 64%; border-radius: var(--radius-lg); background: var(--accent-soft); z-index: 0; }
.about-media .badge {
  position: absolute; right: -14px; bottom: 24px; z-index: 2;
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-lg); text-align: center; min-width: 130px;
}
.about-media .badge b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.about-media .badge b .suf { color: var(--accent); }
.about-media .badge small { display: block; font-size: var(--fs-xs); color: rgba(255,255,255,0.7); margin-top: 6px; }
.about-text p { color: var(--muted); margin-top: 16px; max-width: 52ch; }
.about-guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 28px; }
.about-guarantees li { display: flex; align-items: center; gap: 11px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); }
.about-guarantees .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.about-guarantees .tick svg { width: 15px; height: 15px; }

/* ============================================================
   Decorative section treatment + polish
   ============================================================ */
.section--tint { position: relative; }
.section--tint > .container { position: relative; z-index: 1; }
.review .stars { color: var(--accent-2); }
.svc-card::after { background: var(--accent); }
.svc-card:hover { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

/* Unified, gentle treatment so different stock photos read as one cohesive set */
.hero__photo,
.about-media img,
.why-media img { filter: saturate(1.03) contrast(1.03) brightness(1.005); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin-top: 48px; max-width: 720px; }
  [data-hero="form"] .hero__grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 640px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .cta-band__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav a { padding: 9px 10px; }
  .header__phone span { display: none; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn { display: none; }
}
@media (max-width: 760px) {
  .header__phone { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-guarantees { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-dock__msg { display: none; }
  .hero__float { position: static; margin-top: 16px; max-width: none; }
  [data-hero="centered"] .hero__float { transform: none; }
}
