/* =========================================================
   DEZPROKZ — Biotech Glassmorphism
   Deep navy · eco-green · tech-cyan · Plus Jakarta Sans
   Дизайн-система на базе Stitch «Pure Safety & Biotech»
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Navy / ink */
  --navy:        #0f172a;   /* deep trust navy — headings, dark sections */
  --navy-2:      #131b2e;
  --ink:         #191c1e;   /* body text */
  --muted:       #45464d;   /* secondary text */
  --muted-2:     #6a6c72;
  --outline:     #76777d;
  --hairline:    #c6c6cd;

  /* Surfaces */
  --bg:          #f7f9fb;
  --surface-low: #f2f4f6;
  --surface:     #eceef0;
  --white:       #ffffff;

  /* Brand accents */
  --green:       #006e2f;   /* deep eco green — links, prices */
  --green-mid:   #22c55e;   /* vibrant eco green */
  --green-lime:  #6bff8f;   /* highlight on dark */
  --cyan:        #06b6d4;
  --cyan-br:     #4cd7f6;
  --grad:        linear-gradient(135deg, #4cd7f6 0%, #6bff8f 100%);
  --grad-soft:   linear-gradient(135deg, rgba(76,215,246,.16), rgba(107,255,143,.16));

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  --maxw: 1280px;
  --section-gap: clamp(64px, 9vw, 120px);
  --card-pad: clamp(22px, 3vw, 34px);

  --glass-bg: rgba(255,255,255,.72);
  --glass-brd: rgba(255,255,255,.6);
  --shadow-card: 0 8px 30px rgba(15,23,42,.06);
  --shadow-lift: 0 24px 48px rgba(0,110,47,.12), 0 6px 16px rgba(15,23,42,.08);
  --glow-btn: 0 0 24px rgba(107,255,143,.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  position: relative; overflow-x: hidden;
}
/* Ambient biotech wash — gives glass surfaces something to blur */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 82% -6%, rgba(76,215,246,.14), transparent 60%),
    radial-gradient(52vw 52vw at 6% 12%, rgba(107,255,143,.14), transparent 60%),
    radial-gradient(46vw 46vw at 96% 92%, rgba(6,182,212,.10), transparent 60%);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 24px); }
.section { padding-block: var(--section-gap); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--surface-low), var(--bg)); }
.section--forest { background: var(--navy); color: #cdd6e6; }
.section--forest h2, .section--forest h3, .section--forest h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: rgba(107,255,143,.18);
  padding: 7px 15px; border-radius: var(--r-full);
  border: 1px solid rgba(0,110,47,.16);
}
.section--forest .eyebrow { color: var(--green-lime); background: rgba(107,255,143,.12); border-color: rgba(107,255,143,.25); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
h2.h2 { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 12px; letter-spacing: -0.025em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.65; }
.section--forest .lead { color: #aab6cc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-full);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad); color: var(--navy); box-shadow: 0 6px 18px rgba(6,182,212,.22); }
.btn--primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--glow-btn); }
.btn--lime { background: var(--green-mid); color: #04310f; }
.btn--lime:hover { background: var(--green-lime); transform: translateY(-2px) scale(1.03); box-shadow: 0 0 22px rgba(34,197,94,.4); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--navy); border-color: var(--hairline); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--navy); box-shadow: 0 0 0 3px rgba(6,182,212,.12); }
.section--forest .btn--ghost, .cta-band .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.section--forest .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: var(--cyan-br); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,249,251,.72);
  -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand__mark { width: 28px; height: 32px; flex: none; }
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.brand__name em { font-style: normal; color: var(--green); }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted); transition: background .2s, color .2s;
}
.nav__links > li > a:hover, .nav__links > li > a.is-active { color: var(--green); background: rgba(107,255,143,.16); }
.nav__links .caret { width: 12px; height: 12px; flex: none; transition: transform .2s; }
.has-dd { position: relative; }
.has-dd:hover > a .caret, .has-dd:focus-within > a .caret { transform: rotate(180deg); }

.dd {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 256px;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-brd); border-radius: var(--r-md);
  box-shadow: var(--shadow-lift); padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dd::before { content: ""; position: absolute; top: -14px; left: 0; width: 100%; height: 14px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.dd a:hover { background: rgba(107,255,143,.16); color: var(--green); }
.dd .dd__all { margin-top: 4px; border-top: 1px solid var(--hairline); border-radius: 0 0 10px 10px; font-weight: 700; color: var(--green); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-weight: 800; color: var(--navy); white-space: nowrap; font-size: 15px; }
.nav__phone span { display: block; font-size: 11px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,.6); align-items: center; justify-content: center; color: var(--navy); }
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after, .hero-fog {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); z-index: 0; will-change: transform;
}
.hero::before { width: 620px; height: 620px; top: -160px; right: -80px; background: radial-gradient(circle at 40% 40%, rgba(76,215,246,.5), transparent 68%); animation: blob-a 20s ease-in-out infinite alternate; }
.hero::after { width: 520px; height: 520px; bottom: -180px; left: -120px; background: radial-gradient(circle at 60% 60%, rgba(107,255,143,.5), transparent 70%); animation: blob-b 24s ease-in-out infinite alternate; }
.hero-fog { width: 380px; height: 380px; top: 20%; left: 34%; background: radial-gradient(circle, rgba(6,182,212,.28), transparent 70%); animation: blob-c 16s ease-in-out infinite alternate; }
@keyframes blob-a { to { transform: translate(-120px, 70px) scale(1.15); } }
@keyframes blob-b { to { transform: translate(140px, -60px) scale(1.2); } }
@keyframes blob-c { to { transform: translate(80px, 40px) scale(1.1); } }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.035em; line-height: 1.06; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--green) 0%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin: 22px 0 32px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 540px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; max-width: 480px; }
.hero__trust div {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-brd); border-radius: var(--r-md); box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.hero__trust div:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.hero__trust b { font-size: 23px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.hero__trust span { font-size: 12.5px; color: var(--muted-2); }

/* Hero form / glass card */
.hero__card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-brd); border-radius: var(--r-2xl); box-shadow: var(--shadow-lift);
  padding: var(--card-pad);
}
.hero__card h3 { font-size: 21px; margin-bottom: 4px; }
.hero__card p.muted { color: var(--muted-2); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
  border: 1px solid var(--hairline); border-radius: var(--r-md); background: rgba(255,255,255,.7);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.16); background: #fff;
}
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-note a { color: var(--green); text-decoration: underline; }

/* Chips */
.field__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
.chip span { display: inline-block; padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.65); border: 1px solid var(--hairline); border-radius: var(--r-full); transition: all .18s ease; }
.chip:hover span { border-color: var(--cyan); color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(6,182,212,.22); }

/* ---------- Trust badges bar ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }
.badge { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.badge svg { width: 26px; height: 26px; color: var(--green); flex: none; }

/* ---------- Glass cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card, .price-card, .review, .aside-card, .step, .contact-item, .feature {
  background: var(--glass-bg); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-card);
}
.card {
  border-radius: var(--r-2xl); padding: var(--card-pad);
  transition: transform .3s cubic-bezier(.175,.885,.32,1.1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-lift); border-color: rgba(6,182,212,.35); }
.card__icon {
  width: 60px; height: 60px; border-radius: var(--r-lg); background: var(--grad);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--navy);
  box-shadow: 0 8px 20px rgba(6,182,212,.28);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card__price { margin-top: 16px; font-weight: 800; color: var(--green); font-size: 18px; }
.card__price span { font-weight: 500; color: var(--muted-2); font-size: 13px; }
.card__link { margin-top: auto; padding-top: 20px; color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(5px); }
.service-card { position: relative; }
.service-card > a.stretched { position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 30px var(--card-pad) var(--card-pad); border-radius: var(--r-xl); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; left: var(--card-pad);
  width: 48px; height: 48px; border-radius: var(--r-md); background: var(--grad); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: 19px; box-shadow: 0 8px 18px rgba(6,182,212,.3);
}
.step h3 { font-size: 18px; margin: 10px 0 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-xl); transition: transform .3s cubic-bezier(.175,.885,.32,1.1), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(6,182,212,.3); }
.feature__ic { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--grad-soft); color: var(--green); display: grid; place-items: center; border: 1px solid rgba(6,182,212,.2); }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; margin-bottom: 4px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.section--forest .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--forest .feature__ic { background: rgba(107,255,143,.14); color: var(--green-lime); border-color: rgba(107,255,143,.25); }
.section--forest .feature p { color: #9fb0c8; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { border-radius: var(--r-2xl); padding: var(--card-pad); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.175,.885,.32,1.1), box-shadow .3s; }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.price-card.is-featured { border: 2px solid transparent; background:
    linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-lift); position: relative; }
.price-card.is-featured::after {
  content: "Рекомендуем"; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--grad); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 18px; border-radius: var(--r-full); white-space: nowrap; box-shadow: 0 6px 16px rgba(6,182,212,.3);
}
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin: 14px 0 4px; }
.price-card .price small { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.price-card .unit { font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.price-list { display: grid; gap: 12px; margin-bottom: 26px; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.price-list li svg { width: 18px; height: 18px; color: var(--green-mid); flex: none; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border-radius: var(--r-2xl); padding: var(--card-pad); transition: transform .3s, box-shadow .3s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.stars { display: flex; gap: 2px; margin-bottom: 16px; color: var(--cyan); }
.stars svg { width: 18px; height: 18px; }
.review p { font-size: 15px; color: var(--ink); font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--navy); display: grid; place-items: center; font-weight: 800; }
.review__author b { font-size: 15px; display: block; color: var(--navy); }
.review__author span { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; font-weight: 700; color: var(--navy); }
.faq__q .ic { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--grad-soft); border: 1px solid rgba(6,182,212,.2); display: grid; place-items: center; transition: background .2s, transform .3s; }
.faq__q .ic svg { width: 18px; height: 18px; color: var(--green); }
.faq__item.is-open .faq__q .ic { background: var(--grad); border-color: transparent; transform: rotate(45deg); }
.faq__item.is-open .faq__q .ic svg { color: var(--navy); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding-bottom: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); border-radius: var(--r-2xl);
  padding: clamp(34px, 5vw, 60px); color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; z-index: -1; background: radial-gradient(circle, rgba(6,182,212,.35), transparent 70%); }
.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -100px; width: 300px; height: 300px; z-index: -1; background: radial-gradient(circle, rgba(107,255,143,.25), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.cta-band p { color: #aebbcf; margin-top: 12px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #97a3b8; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__mark path[fill="#0f172a"] { fill: #fff; }
.footer__about { font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.footer h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a { font-size: 14.5px; transition: color .2s; }
.footer a:hover { color: var(--green-lime); }
.footer__contact li { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 13px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--green-lime); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: .04em; color: #6b7688; text-transform: uppercase; }
.footer__bottom a { color: #6b7688; text-decoration: underline; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-block: 22px 0; font-size: 13px; color: var(--muted-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { color: var(--hairline); }

/* ---------- Article / service pages ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 64px); }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; top: -220px; right: -80px; border-radius: 50%; pointer-events: none; filter: blur(60px); background: radial-gradient(circle at 40% 40%, rgba(76,215,246,.36), transparent 70%); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; bottom: -220px; left: -100px; border-radius: 50%; pointer-events: none; filter: blur(60px); background: radial-gradient(circle at 60% 60%, rgba(107,255,143,.3), transparent 72%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 50px); letter-spacing: -.03em; max-width: 820px; }
.page-hero .lead { margin-top: 18px; max-width: 640px; }
.page-hero .hero__actions { margin-top: 28px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 16px; letter-spacing: -.02em; }
.prose h3 { font-size: 21px; margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose ul.ticks { display: grid; gap: 12px; margin: 16px 0 24px; }
.prose ul.ticks li { display: flex; gap: 12px; color: var(--muted); }
.prose ul.ticks li svg { width: 20px; height: 20px; color: var(--green-mid); flex: none; margin-top: 3px; }
.prose strong { color: var(--navy); }
.prose a { color: var(--green); text-decoration: underline; }

.layout-2col { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 92px; border-radius: var(--r-2xl); padding: var(--card-pad); }
.aside-card h3 { font-size: 20px; margin-bottom: 6px; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-xl); }
.contact-item__ic { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--grad-soft); color: var(--green); display: grid; place-items: center; border: 1px solid rgba(6,182,212,.2); }
.contact-item__ic svg { width: 24px; height: 24px; }
.contact-item h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.contact-item a, .contact-item p { color: var(--muted); font-size: 16px; }
.contact-item a:hover { color: var(--green); }
.map-embed { border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--glass-brd); min-height: 320px; background: var(--surface); box-shadow: var(--shadow-card); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ---------- Floating buttons ---------- */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.float-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lift); transition: transform .2s ease, box-shadow .2s; }
.float-btn svg { width: 27px; height: 27px; }
.float-btn:hover { transform: translateY(-3px) scale(1.06); }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--navy); }
.float-btn--call:hover { box-shadow: 0 0 22px rgba(6,182,212,.5); }
.float-btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Media band (фото специалиста в стеклянной рамке) ---------- */
.media-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.media-frame {
  position: relative; border-radius: var(--r-2xl); padding: 10px;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-lift);
}
.media-frame img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xl);
  /* начальное «туманное» состояние — проявляется при появлении в кадре */
  opacity: 0; filter: blur(16px) grayscale(.5); transform: scale(1.06);
  transition: opacity 1s ease, filter 1.15s ease, transform 1.15s cubic-bezier(.2,.7,.3,1);
}
.media-frame.in-view img { opacity: 1; filter: grayscale(.22) contrast(1.02); transform: none; }
.media-frame.in-view:hover img { filter: grayscale(0); transform: scale(1.01); }
.media-badge {
  position: absolute; right: 26px; bottom: 26px; display: flex; gap: 11px; align-items: center;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-brd); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-card);
}
.media-badge svg { width: 30px; height: 34px; flex: none; }
.media-badge b { display: block; font-size: 13px; color: var(--navy); line-height: 1.2; }
.media-badge span { font-size: 11px; color: var(--muted-2); }
@media (max-width: 1024px) { .media-band { grid-template-columns: 1fr; } .media-band > div:last-child { order: -1; } }
@media (max-width: 760px) { .media-badge { right: 16px; bottom: 16px; padding: 10px 13px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(140%); background: var(--navy); color: #fff; padding: 15px 24px; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); font-weight: 600; font-size: 15px; z-index: 100; transition: transform .35s ease; display: flex; gap: 10px; align-items: center; border: 1px solid rgba(255,255,255,.1); }
.toast.is-show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--green-lime); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.hidden { display: none !important; }
.card.center { align-items: center; text-align: center; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 72px 0 0; background: rgba(247,249,251,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 40; transform: translateX(100%); transition: transform .3s ease; padding: 24px; overflow-y: auto; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 16px 4px; font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--hairline); color: var(--navy); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 540px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .reviews { grid-template-columns: 1fr; }
  .layout-2col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__phone span { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .grid--3, .grid--4, .grid--2, .grid--5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .float-contact { right: 14px; bottom: 14px; }
  .float-btn { width: 52px; height: 52px; }
}
@media (max-width: 480px) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero::before, .hero::after, .hero-fog { animation: none; }
  .media-frame img { opacity: 1; filter: grayscale(.22); transform: none; }
}
