/* ============== TOKENS ============== */
:root {
  --accent: #8B6F2E;
  --accent-soft: #EFE5C6;
  --accent-deep: #5E4818;
  /* Тёмное золото с переливом — насыщенные стопы */
  --accent-grad: linear-gradient(135deg, #B89139 0%, #8B6F2E 22%, #4F3D12 42%, #A88438 62%, #8B6F2E 82%, #5C4716 100%);
  --accent-grad-text: linear-gradient(120deg, #B89139 0%, #8B6F2E 30%, #5E4818 50%, #A88438 70%, #8B6F2E 100%);
  /* Синий — для кнопок и активных состояний */
  --accent-2: #3A54C5;
  --accent-2-deep: #2740A0;
  --accent-2-soft: #E0E5F8;
  --accent-2-grad: linear-gradient(135deg, #5670DC 0%, #3A54C5 50%, #2740A0 100%);
  --ink: #161B2C;
  --ink-2: #2A3146;
  --muted: #6B7185;
  --line: #E7E8EC;
  --line-2: #F2F2F4;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F5;
  --bg-card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(20,22,30,.04), 0 2px 8px rgba(20,22,30,.04);
  --shadow-md: 0 4px 14px rgba(20,22,30,.06), 0 16px 40px rgba(20,22,30,.06);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --f-display: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --f-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="dark"] {
  --ink: #F5F6FA;
  --ink-2: #DBDDE6;
  --muted: #9098AA;
  --line: #262A38;
  --line-2: #1B1E29;
  --bg: #0E1018;
  --bg-soft: #14171F;
  --bg-card: #181B25;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.4);
  --accent-soft: rgba(255,79,45,.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 16px; } }

/* ============== HEADER ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px;
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 50%);
}
.brand__name { font-family: var(--f-display); font-weight: 800; font-size: 17px; line-height: 1.1; letter-spacing: -0.01em; }
.brand__sub { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }
[data-theme="dark"] .nav a.active { background: var(--accent); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-block { text-align: right; white-space: nowrap; }
.phone-block__num { font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.phone-block__hours { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: transform .15s, background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.mobile-toggle { display: none; }
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .mobile-toggle { display: inline-flex; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; align-items: center; justify-content: center; }
  .phone-block { display: none; }
}

/* ============== HERO ============== */
.hero { padding: 64px 0 48px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); }
.h-display {
  font-size: clamp(36px, 5.6vw, 76px); line-height: .98;
  margin: 22px 0 18px; font-weight: 800; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stat__num { font-family: var(--f-display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; color: var(--ink); }
.hero-stat__lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--bg); padding: 16px 18px; border-radius: 18px;
  box-shadow: var(--shadow-md); display: flex; gap: 14px; align-items: center;
  max-width: 280px;
}
.hero-badge__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.hero-badge__title { font-weight: 700; font-size: 14.5px; }
.hero-badge__sub { font-size: 12.5px; color: var(--muted); }

/* ============== SECTION HEADERS ============== */
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }
.sect-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sect-head__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; max-width: 720px; }
.sect-head__title em { font-style: normal; color: var(--accent); }
.sect-head__desc { color: var(--muted); max-width: 420px; font-size: 15.5px; }

/* ============== CALCULATOR ============== */
.calc-wrap {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.calc-card {
  background: var(--bg-card); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 40px; border: 1px solid var(--line-2);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
}
@media (max-width: 900px) { .calc-card { grid-template-columns: 1fr; padding: 24px; gap: 28px; } }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .calc-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.field input, .field select {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 15.5px; font-weight: 500;
  transition: border-color .15s, background .15s; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; gap: 0; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { font-size: 22px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s; }
.stepper button:hover { background: var(--bg-soft); color: var(--accent); }
.stepper input { border: 0; text-align: center; padding: 14px 4px; font-weight: 700; font-size: 16px; background: transparent; outline: none; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .chip.is-active { background: var(--accent); border-color: var(--accent); }

.calc-result { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .35; }
.calc-result__label { font-size: 13px; opacity: .7; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.calc-result__price { font-family: var(--f-display); font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.calc-result__price small { font-size: 18px; font-weight: 500; opacity: .7; }
.calc-result__breakdown { display: flex; flex-direction: column; gap: 8px; font-size: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.calc-result__line { display: flex; justify-content: space-between; opacity: .85; }
.calc-result__line span:last-child { font-weight: 600; opacity: 1; }
.calc-result__phone { display: flex; gap: 8px; margin-top: auto; }
.calc-result__phone input { flex: 1; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 16px; color: #fff; outline: none; font-size: 15px; }
.calc-result__phone input::placeholder { color: rgba(255,255,255,.5); }
.calc-result__phone input:focus { border-color: var(--accent); background: rgba(255,255,255,.12); }

/* ============== CATEGORY GRIDS ============== */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cats-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  background: var(--bg-soft); cursor: pointer; transition: transform .25s ease;
  display: block;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; }
.cat-card__title { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.cat-card__meta { font-size: 12.5px; opacity: .85; margin-top: 4px; }

.cat-card.small { aspect-ratio: 5/4; }
.cat-card.tall { aspect-ratio: 3/5; }

/* ============== TYPE LIST (filter chips) ============== */
.type-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
.type-tile {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; transition: all .2s ease; cursor: pointer;
}
.type-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.type-tile__swatch { width: 100%; aspect-ratio: 16/10; border-radius: 10px; margin-bottom: 14px; background: linear-gradient(135deg, #ddd, #f0f0f0); position: relative; overflow: hidden; }
.type-tile__name { font-weight: 700; font-size: 15.5px; }
.type-tile__price { font-size: 13px; color: var(--muted); margin-top: 4px; }
.type-tile__price b { color: var(--accent); font-weight: 700; }

/* ============== PRICING TARIFFS ============== */
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tariffs { grid-template-columns: 1fr; } }
.tariff {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px;
  padding: 32px; position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.tariff:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tariff--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.tariff--featured h3, .tariff--featured .tariff__price { color: #fff; }
.tariff--featured .tariff__feat li { color: rgba(255,255,255,.85); }
.tariff--featured .tariff__feat li::before { background: var(--accent); }
.tariff__badge { position: absolute; top: 24px; right: 24px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tariff__manu { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.tariff__flag { width: 28px; height: 20px; border-radius: 3px; overflow: hidden; display: grid; }
.tariff__flag.de { background: linear-gradient(180deg, #000 33%, #DD0000 33% 66%, #FFCE00 66%); }
.tariff__flag.cn { background: #DE2910; position: relative; }
.tariff__flag.cn::after { content: "★"; position: absolute; left: 4px; top: 0; color: #FFDE00; font-size: 12px; line-height: 20px; }
.tariff__manu-name { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }
.tariff__manu-country { font-size: 12px; color: var(--muted); }
.tariff--featured .tariff__manu-country { color: rgba(255,255,255,.6); }
.tariff__name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.tariff__name em { font-style: normal; color: var(--accent); }
.tariff__desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.tariff--featured .tariff__desc { color: rgba(255,255,255,.7); }
.tariff__price { font-family: var(--f-display); font-size: 44px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.tariff__price small { font-size: 18px; font-weight: 500; opacity: .6; margin-left: 4px; }
.tariff__feat { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.tariff__feat li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.tariff__feat li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }
.tariff__feat li b { color: var(--ink); font-weight: 700; }
.tariff--featured .tariff__feat li b { color: #fff; }

/* ============== SERVICES ============== */
.service-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: all .2s; position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card.big { grid-row: 1 / span 2; }
.service-card__img { aspect-ratio: 4/3; background: var(--bg-soft); position: relative; overflow: hidden; }
.service-card.big .service-card__img { aspect-ratio: 4/5; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 20px; }
.service-card__body--ribbon::before { content: ""; position: absolute; left: 20px; top: 0; height: 3px; width: 36px; background: var(--accent); }
.service-card__name { font-weight: 700; font-size: 15.5px; }
.service-card__price { color: var(--accent); font-weight: 700; font-size: 18px; margin-top: 6px; letter-spacing: -0.01em; }
.service-card__price small { font-size: 13px; opacity: .8; font-weight: 500; }

/* ============== ADVANTAGES ============== */
.advantages { background: var(--bg-soft); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
.adv-card { background: var(--bg-card); border: 1px solid var(--line); padding: 28px 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.adv-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.adv-card__title { font-weight: 700; font-size: 17px; }
.adv-card__desc { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============== GALLERY ============== */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; grid-auto-rows: 160px; }
@media (max-width: 960px) { .gallery-grid { grid-auto-rows: 120px; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; } }
.g-item { border-radius: 16px; overflow: hidden; background: var(--bg-soft); position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item.t-1 { grid-column: span 5; grid-row: span 2; }
.g-item.t-2 { grid-column: span 4; grid-row: span 2; }
.g-item.t-3 { grid-column: span 3; grid-row: span 2; }
.g-item.t-4 { grid-column: span 4; grid-row: span 2; }
.g-item.t-5 { grid-column: span 4; grid-row: span 2; }
.g-item.t-6 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 600px) {
  .g-item.t-1, .g-item.t-2, .g-item.t-3, .g-item.t-4, .g-item.t-5, .g-item.t-6 { grid-column: span 3; grid-row: span 2; }
}

/* ============== TESTIMONIALS ============== */
.testimonials-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .testimonials-row { grid-template-columns: 1fr; } }
.review { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review__rating { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.review__text { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.review__person { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.review__name { font-weight: 700; font-size: 14.5px; }
.review__meta { font-size: 12.5px; color: var(--muted); }

/* ============== FAQ ============== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
.faq-q .plus { font-size: 26px; color: var(--accent); font-weight: 400; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a__inner { padding-bottom: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 720px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: var(--accent); color: #fff; border-radius: var(--r-xl);
  padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  align-items: center; position: relative; overflow: hidden;
}
@media (max-width: 900px) { .cta-banner { grid-template-columns: 1fr; padding: 32px; } }
.cta-banner::before {
  content: ""; position: absolute; right: -100px; bottom: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 60%);
}
.cta-banner__h { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.cta-banner__sub { opacity: .9; margin-top: 12px; font-size: 16px; }
.cta-form { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); padding: 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; backdrop-filter: blur(6px); }
.cta-form input { background: #fff; border: 0; padding: 16px 18px; border-radius: 12px; font-size: 15.5px; color: var(--ink); outline: none; }
.cta-form button { background: var(--ink); color: #fff; padding: 16px; border-radius: 12px; font-weight: 700; font-size: 15.5px; transition: background .15s; }
.cta-form button:hover { background: var(--ink-2); }
.cta-form__terms { font-size: 12px; opacity: .8; margin-top: 4px; line-height: 1.45; }
.cta-form__terms a { text-decoration: underline; }

/* ============== FOOTER ============== */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 32px; margin-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; opacity: .65; }
.foot-col a, .foot-col li { color: rgba(255,255,255,.85); font-size: 14.5px; text-decoration: none; padding: 4px 0; display: block; }
.foot-col a:hover { color: var(--accent); }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand__about { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }

/* ============== MODAL ============== */
.modal-back { position: fixed; inset: 0; background: rgba(10,14,26,.6); backdrop-filter: blur(4px); z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-back.open { display: flex; }
.modal { background: var(--bg); color: var(--ink); border-radius: 24px; padding: 36px; max-width: 460px; width: 100%; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; }
.modal h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.02em; }
.modal p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input { background: var(--bg-soft); border: 1.5px solid var(--line); padding: 14px 16px; border-radius: 12px; outline: none; }
.modal-form input:focus { border-color: var(--accent); }
.modal-form button { background: var(--accent); color: #fff; padding: 16px; border-radius: 12px; font-weight: 700; }
.modal-ok { text-align: center; padding: 16px 0; }
.modal-ok__icon { width: 72px; height: 72px; margin: 0 auto 16px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 32px; }

/* ============== UTILITIES ============== */
.hidden { display: none !important; }
.flex-1 { flex: 1; }
.text-center { text-align: center; }

/* ============== TWEAKS PANEL ============== */
.tweaks { position: fixed; right: 16px; bottom: 16px; z-index: 100; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 16px; min-width: 240px; display: none; }
.tweaks.open { display: block; }
.tweaks h5 { margin: 0 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tweaks__group { padding: 8px 0; border-top: 1px solid var(--line-2); }
.tweaks__group:first-of-type { border-top: 0; }
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tw-sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.tw-sw.active { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.tw-btn { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 12.5px; font-weight: 600; }
.tw-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============== V2 MODERN BOLD ============== */
.v2 { font-family: 'Onest', 'Manrope', sans-serif; }
.v2 .h-display { letter-spacing: -0.045em; font-weight: 800; }
.v2 .hero { padding: 32px 0 48px; }
.v2 .hero-mod {
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 56px 56px 32px;
  position: relative; overflow: hidden;
}
@media (max-width: 720px) { .v2 .hero-mod { padding: 32px 24px 24px; } }
.v2 .hero-mod::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: .15;
}
.v2 .hero-mod__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 32px; }
@media (max-width: 900px) { .v2 .hero-mod__top { grid-template-columns: 1fr; gap: 24px; } }
.v2 .hero-mod__h { font-size: clamp(40px, 6.5vw, 96px); line-height: .94; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.v2 .hero-mod__h em { font-style: normal; color: var(--accent); }
.v2 .hero-mod__lead { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 380px; }
.v2 .hero-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 720px) { .v2 .hero-row { grid-template-columns: 1fr 1fr; } }
.v2 .hero-stat-card {
  background: var(--bg-card); border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.v2 .hero-stat-card__num { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.v2 .hero-stat-card__num em { font-style: normal; color: var(--accent); }
.v2 .hero-stat-card__lbl { font-size: 13px; color: var(--muted); }
.v2 .hero-stat-card.action { background: var(--accent); color: #fff; cursor: pointer; transition: transform .15s; }
.v2 .hero-stat-card.action:hover { transform: translateY(-2px); }
.v2 .hero-stat-card.action .hero-stat-card__num { color: #fff; font-size: 22px; }
.v2 .hero-stat-card.action .hero-stat-card__lbl { color: rgba(255,255,255,.85); }

.v2 section { padding: 64px 0; }
.v2 .sect-head__title { font-size: clamp(32px, 4.2vw, 64px); letter-spacing: -0.035em; }
.v2 .tile-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 900px) { .v2 .tile-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .v2 .tile-cards { grid-template-columns: 1fr; } }
.v2 .tile {
  background: var(--bg-soft); border-radius: 22px; padding: 28px;
  min-height: 280px; display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.v2 .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.v2 .tile--accent { background: var(--accent); color: #fff; }
.v2 .tile--accent .muted, .v2 .tile--accent .tile__price { color: rgba(255,255,255,.9); }
.v2 .tile--dark { background: var(--ink); color: #fff; }
.v2 .tile--dark .muted, .v2 .tile--dark .tile__price { color: rgba(255,255,255,.9); }
.v2 .tile__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.v2 .tile__big { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.v2 .tile__img { margin: -28px -28px 0; aspect-ratio: 5/3; }
.v2 .tile__img img { width: 100%; height: 100%; object-fit: cover; }
.v2 .tile__price { color: var(--accent); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-top: auto; }

/* ============== V3 EDITORIAL ============== */
.v3 { font-family: 'Manrope', sans-serif; }
.v3 .h-display, .v3 .sect-head__title { font-family: 'Playfair Display', 'Manrope', serif; font-weight: 700; letter-spacing: -0.02em; color: #F5F6FA; }
.v3 h1, .v3 h2, .v3 h3, .v3 h4 { color: #F5F6FA; }
.v3 .light-section h1, .v3 .light-section h2, .v3 .light-section h3, .v3 .light-section h4, .v3 .light-section .sect-head__title { color: var(--ink); }
.v3 .h-display em { font-style: italic; color: var(--accent); }
.v3 .site-header { background: rgba(14,16,24,.9); border-color: rgba(255,255,255,.08); color: #fff; }
.v3 .site-header .brand__name, .v3 .site-header .phone-block__num { color: #fff; }
.v3 .site-header .nav a { color: rgba(255,255,255,.8); }
.v3 .site-header .nav a.active { background: var(--accent); color: #fff; }
.v3 body, .v3 { background: #0E1018; color: #F5F6FA; }
.v3 .hero-full {
  position: relative; min-height: 88vh; overflow: hidden;
  display: flex; align-items: flex-end; padding: 64px 0;
}
.v3 .hero-full__bg { position: absolute; inset: 0; }
.v3 .hero-full__bg img { width: 100%; height: 100%; object-fit: cover; }
.v3 .hero-full__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,24,.4) 0%, rgba(14,16,24,.95) 90%); }
.v3 .hero-full__inner { position: relative; z-index: 2; max-width: 900px; }
.v3 .eyebrow-w { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(255,79,45,.16); border: 1px solid rgba(255,79,45,.3); }
.v3 .hero-full__h { font-size: clamp(48px, 7vw, 110px); font-weight: 700; letter-spacing: -0.025em; line-height: .98; margin: 24px 0; color: #fff; font-family: 'Playfair Display', serif; }
.v3 .hero-full__h em { font-style: italic; color: var(--accent); }
.v3 .hero-full__lead { font-size: 19px; color: rgba(255,255,255,.85); max-width: 640px; line-height: 1.55; }
.v3 .hero-full__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.v3 .hero-full__cta .btn-primary { background: var(--accent); }
.v3 .hero-full__cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); backdrop-filter: blur(4px); }
.v3 section { padding: 96px 0; background: #0E1018; color: #F5F6FA; }
.v3 section.light-section { background: #F5F2EC; color: #161B2C; }
.v3 .panel-card { background: #14171F; border: 1px solid #1F2230; border-radius: 24px; padding: 36px; }
.v3 .panel-card--lt { background: #fff; border-color: var(--line); color: var(--ink); }
.v3 .chip { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.16); }
.v3 .chip.is-active { background: var(--accent); border-color: var(--accent); }
.v3 .field input, .v3 .field select, .v3 .stepper { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); color: #fff; }
.v3 .stepper button:hover { background: rgba(255,255,255,.08); }
.v3 .tariff { background: #14171F; border-color: #1F2230; color: #F5F6FA; }
.v3 .tariff h3, .v3 .tariff__price { color: #fff; }
.v3 .tariff__feat li { color: rgba(255,255,255,.85); }
.v3 .tariff__feat li b { color: #fff; }
.v3 .tariff--featured { background: var(--accent); border-color: var(--accent); }
.v3 .tariff--featured .tariff__feat li::before { background: rgba(255,255,255,.2); border-color: #fff; }
.v3 .review { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }
.v3 .review__text { color: rgba(255,255,255,.85); }
.v3 .review__person { border-top-color: rgba(255,255,255,.1); }
.v3 .faq-item { border-bottom-color: rgba(255,255,255,.12); }
.v3 .h-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 900px) { .v3 .h-block { grid-template-columns: 1fr; } }
.v3 .h-block__img { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; }
.v3 .h-block__img img { width: 100%; height: 100%; object-fit: cover; }
.v3 .badge-row { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.v3 .badge-row > div { display: flex; gap: 14px; align-items: center; }
.v3 .badge-row__num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.v3 .badge-row__lbl { font-size: 13.5px; opacity: .75; max-width: 130px; line-height: 1.3; }

/* page header banner for subpages */
.page-banner { padding: 56px 0 24px; }

/* ====================================================== */
/* ============ MOBILE OPTIMIZATIONS (≤960px) ============ */
/* ====================================================== */

/* Reduce overall vertical rhythm on small screens */
@media (max-width: 960px) {
  section { padding: 56px 0; }
  .sect-head { margin-bottom: 28px; gap: 16px; }
  .sect-head__title { font-size: clamp(26px, 6vw, 38px); }
  .sect-head__desc { font-size: 14.5px; }
}

@media (max-width: 720px) {
  section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .sect-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .sect-head .btn { width: 100%; justify-content: center; }
}

/* ----- Header ----- */
@media (max-width: 1024px) {
  .header-row { padding: 12px 0; gap: 12px; }
  .header-actions { gap: 8px; }
  /* Hide explainer hours, keep number */
  .phone-block__hours { display: none; }
}

@media (max-width: 720px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 15px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand__mark svg { width: 19px; height: 19px; }
  /* "Вызвать замерщика" button collapses to icon-only on mobile */
  .header-actions > .btn-primary {
    font-size: 0;
    padding: 0; width: 44px; height: 44px; border-radius: 14px;
    justify-content: center; gap: 0;
  }
  .header-actions > .btn-primary svg { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
  .brand__name { font-size: 13.5px; line-height: 1.2; }
  .brand__name em { display: block; font-size: 11px; }
  .header-row { gap: 8px; }
}

/* ----- Hero ----- */
@media (max-width: 720px) {
  .hero { padding: 32px 0 24px; }
  .h-display { font-size: clamp(32px, 9vw, 48px); margin: 14px 0 14px; }
  .lead { font-size: 15.5px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn-lg { padding: 14px 20px; font-size: 14.5px; flex: 1; justify-content: center; min-width: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 32px; padding-top: 24px; }
  .hero-stats > div:nth-child(3) { grid-column: span 2; }
  .hero-stat__num { font-size: 26px; }
  .hero-stat__lbl { font-size: 12px; }
  .hero-visual { aspect-ratio: 4/3; border-radius: 18px; }
  .hero-badge { left: 14px; bottom: 14px; padding: 12px 14px; max-width: 230px; }
  .hero-badge__icon { width: 36px; height: 36px; }
  .hero-badge__title { font-size: 13.5px; }
  .hero-badge__sub { font-size: 11.5px; }
}

/* ----- Calculator ----- */
@media (max-width: 720px) {
  .calc-card { padding: 18px; border-radius: 18px; gap: 20px; }
  /* Chip-row becomes horizontally scrollable so price tags remain visible */
  .calc-card .chip-row {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin: 0 -18px; padding-left: 18px; padding-right: 18px;
    scrollbar-width: none;
  }
  .calc-card .chip-row::-webkit-scrollbar { display: none; }
  .calc-card .chip { flex-shrink: 0; font-size: 13px; padding: 8px 12px; }
  .calc-row { gap: 12px; }
  .field input, .field select, .stepper input { font-size: 16px; padding: 12px 14px; }
  .stepper { grid-template-columns: 38px 1fr 38px; }
  .stepper button { font-size: 20px; }
  .calc-result { padding: 22px; border-radius: 16px; }
  .calc-result__price { font-size: 38px; }
}

/* ----- Tariffs ----- */
@media (max-width: 720px) {
  .tariff { padding: 24px; }
  .tariff__price { font-size: 36px; }
  .tariff__name { font-size: 22px; }
  .tariff__feat li { font-size: 14px; }
  .tariff__badge { top: 20px; right: 20px; }
}

/* ----- Category grids — already responsive, fine-tune ----- */
@media (max-width: 540px) {
  .cats-grid { gap: 10px; }
  .cat-card__body { padding: 14px; }
  .cat-card__title { font-size: 15px; }
  .cat-card__meta { font-size: 11.5px; }
}

/* ----- Type tiles ----- */
@media (max-width: 540px) {
  .type-grid { gap: 10px; }
  .type-tile { padding: 14px; border-radius: 14px; }
  .type-tile__name { font-size: 14.5px; }
  .type-tile__price { font-size: 12.5px; }
}

/* ----- Type filter chips horizontally scrollable on mobile ----- */
@media (max-width: 720px) {
  .type-filter {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin: 0 -16px 24px; padding-left: 16px; padding-right: 16px;
    scrollbar-width: none;
  }
  .type-filter::-webkit-scrollbar { display: none; }
  .type-filter .chip { flex-shrink: 0; }
}

/* ----- Color palette on tipy: switch to 4 columns on mobile ----- */
@media (max-width: 720px) {
  .container > section > div[style*="grid-template-columns:repeat(8,1fr)"],
  div[style*="grid-template-columns:repeat(8,1fr)"] { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 380px) {
  div[style*="grid-template-columns:repeat(8,1fr)"] { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ----- Advantages 4 -> 2 -> 1 ----- */
@media (max-width: 540px) {
  .adv-grid { grid-template-columns: 1fr; gap: 12px; }
  .adv-card { padding: 22px; }
}

/* ----- Service grid stacking ----- */
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card.big { grid-row: auto; }
  .service-card__img, .service-card.big .service-card__img { aspect-ratio: 16/10; }
  .service-card__body { padding: 16px; }
}

/* ----- Generic inline-style grid breakdowns (subpages) ----- */
@media (max-width: 900px) {
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 540px) and (max-width: 900px) {
  /* keep 2 cols on small tablets where it fits */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 540px) {
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ----- Tables in cены page (must scroll, not overflow page) ----- */
@media (max-width: 720px) {
  table { font-size: 13.5px; }
  table td { padding: 12px 16px !important; }
}

/* ----- CTA banner ----- */
@media (max-width: 720px) {
  .cta-banner { padding: 28px 20px; border-radius: 22px; gap: 20px; }
  .cta-banner__h { font-size: clamp(22px, 6.5vw, 30px); }
  .cta-banner__sub { font-size: 14.5px; }
  .cta-form { padding: 18px; gap: 10px; }
  .cta-form input, .cta-form select { padding: 14px 16px; font-size: 15px; }
  .cta-form button { padding: 14px; }
  /* Stats inside CTA banner: row of 3 wraps */
  .cta-banner div[style*="display:flex"][style*="gap:24px"] { gap: 14px !important; }
  .cta-banner div[style*="display:flex"][style*="gap:24px"] > div { flex: 1; min-width: 80px; }
  .cta-banner div[style*="display:flex"][style*="gap:24px"] > div > div:first-child { font-size: 24px !important; }
}

/* ----- Gallery ----- */
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; gap: 10px; }
  .g-item.t-1, .g-item.t-4, .g-item.t-5, .g-item.t-6 { grid-column: span 6; }
  .g-item.t-2, .g-item.t-3 { grid-column: span 3; }
  .g-item { border-radius: 12px; }
}

/* ----- Reviews ----- */
@media (max-width: 720px) {
  .review { padding: 22px; border-radius: 18px; }
  .review__text { font-size: 14.5px; }
}

/* ----- FAQ ----- */
@media (max-width: 720px) {
  .faq-q { padding: 18px 0; font-size: 15.5px; gap: 16px; }
  .faq-a__inner { font-size: 14.5px; padding-bottom: 18px; }
}

/* ----- Footer ----- */
@media (max-width: 720px) {
  .site-footer { padding: 48px 0 28px; margin-top: 32px; }
  .foot-grid { gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; margin-top: 32px; padding-top: 24px; }
}

/* ----- Modal ----- */
@media (max-width: 540px) {
  .modal { padding: 24px 22px; border-radius: 20px; }
  .modal h3 { font-size: 20px; }
  .modal p { font-size: 13.5px; }
  .modal-form input { padding: 13px 14px; font-size: 15.5px; }
  .modal__close { top: 12px; right: 12px; width: 32px; height: 32px; }
}

/* ----- Tweaks panel mobile: avoid overlapping CTA forms ----- */
@media (max-width: 720px) {
  .tweaks {
    right: 12px; left: 12px; bottom: 12px;
    min-width: 0; max-width: none; padding: 14px;
  }
  [data-tweaks-toggle] {
    left: auto !important; right: 12px; bottom: 12px;
    width: 44px !important; height: 44px !important;
  }
}

/* ----- Page banner ----- */
@media (max-width: 720px) {
  .page-banner { padding: 36px 0 16px; }
  .page-banner h1 { font-size: clamp(28px, 8vw, 40px); }
  .crumbs { font-size: 12.5px; margin-bottom: 12px; }
}

/* ----- V3 hero adjustments ----- */
@media (max-width: 720px) {
  .v3 .hero-full { min-height: 80vh; padding: 48px 0 32px; }
  .v3 .hero-full__h { font-size: clamp(40px, 11vw, 64px); }
  .v3 .hero-full__lead { font-size: 16px; }
  .v3 section { padding: 56px 0; }
  .v3 .panel-card { padding: 22px; }
  .v3 .badge-row { gap: 14px; }
  .v3 .badge-row__num { font-size: 36px; }
}

/* ----- V2 hero adjustments ----- */
@media (max-width: 720px) {
  .v2 .hero-mod { padding: 28px 22px 22px; border-radius: 22px; }
  .v2 .hero-mod__h { font-size: clamp(34px, 10vw, 52px); }
  .v2 .hero-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .v2 .hero-stat-card { padding: 16px; border-radius: 14px; }
  .v2 .hero-stat-card__num { font-size: 22px; }
  .v2 .tile { min-height: 220px; padding: 22px; }
  .v2 .tile__big { font-size: 24px; }
  .v2 section { padding: 56px 0; }
}

/* ====================================================== */
/* =========== BRAND: GOLD SHIMMER + BLUE CTA =========== */
/* ====================================================== */

/* PRIMARY BUTTONS → blue (clear CTA) */
.btn-primary,
.modal-form button,
.cta-form button,
.calc-result__phone button.btn-primary {
  background: var(--accent-2-grad);
  background-color: var(--accent-2);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--accent-2-deep);
  filter: brightness(1.06) saturate(1.08);
}

/* TARIFF BADGE → gold premium */
.tariff__badge {
  background-image: var(--accent-grad);
  background-color: var(--accent);
  color: #2A2110;
  text-shadow: 0 1px 1px rgba(255,240,180,.5);
}

/* MODAL OK ICON → blue (success state) */
.modal-ok__icon {
  background: var(--accent-2-grad);
  color: #fff;
}

/* V2 ACCENT TILE → gold gradient with subtle inner shine */
.v2 .tile--accent {
  background-image: var(--accent-grad);
  background-color: var(--accent);
  color: #2A2110;
}
.v2 .tile--accent .tile__num { color: rgba(40,32,16,.7); }
.v2 .tile--accent .muted, .v2 .tile--accent p { color: rgba(40,32,16,.85) !important; }
.v2 .tile--accent .tile__price { color: #2A2110 !important; }

/* V2 hero action card → blue */
.v2 .hero-stat-card.action {
  background: var(--accent-2-grad);
  color: #fff;
}
.v2 .hero-stat-card.action .hero-stat-card__lbl { color: rgba(255,255,255,.85); }
.v2 .hero-stat-card.action .hero-stat-card__num { color: #fff; }
.v2 .hero-stat-card.action .hero-stat-card__num em { color: #fff !important; background: none; -webkit-text-fill-color: #fff; }

/* CTA BANNER → gold gradient with shimmer highlight */
.cta-banner {
  background: var(--accent-grad);
  position: relative;
  color: #2A2110;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255,250,220,.4), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(60,46,16,.45), transparent 60%);
  pointer-events: none; border-radius: inherit;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__h, .cta-banner__sub { color: #1F1808; text-shadow: 0 1px 2px rgba(255,245,200,.3); }
.cta-banner .cta-form { background: rgba(20,16,4,.18); border-color: rgba(20,16,4,.16); }
.cta-banner .cta-form input { background: #fff; color: var(--ink); }
.cta-banner .cta-form button {
  background: var(--accent-2-grad); color: #fff;
}
.cta-banner__sub a, .cta-form__terms a { color: #1F1808; }
.cta-form__terms { color: rgba(31,24,8,.8); }
.cta-banner div[style*="font-size:32px"] { color: #1F1808 !important; }

/* V3 final accent CTA section — golden background */
.v3 section[style*="background:var(--accent)"],
.v3 section[style*="background: var(--accent)"] {
  background: var(--accent-grad) !important;
  position: relative; overflow: hidden;
}
.v3 section[style*="background:var(--accent)"]::before,
.v3 section[style*="background: var(--accent)"]::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,250,220,.4), transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 80%, rgba(60,46,16,.5), transparent 70%);
  pointer-events: none;
}
.v3 section[style*="background:var(--accent)"] > *,
.v3 section[style*="background: var(--accent)"] > * { position: relative; z-index: 1; }
.v3 section[style*="background:var(--accent)"] h2,
.v3 section[style*="background: var(--accent)"] h2 { color: #1F1808 !important; }
.v3 section[style*="background:var(--accent)"] p,
.v3 section[style*="background: var(--accent)"] p { color: rgba(31,24,8,.85); }
.v3 section[style*="background:var(--accent)"] .btn,
.v3 section[style*="background: var(--accent)"] .btn { background: var(--accent-2-grad); color: #fff !important; }

/* V3 featured tariff (was solid accent) → gold gradient */
.v3 .tariff--featured {
  background-image: var(--accent-grad);
  background-color: var(--accent);
  color: #1F1808;
}
.v3 .tariff--featured h3, .v3 .tariff--featured .tariff__name em { color: #1F1808 !important; -webkit-text-fill-color: #1F1808 !important; background: none; }
.v3 .tariff--featured .tariff__price { color: #1F1808 !important; }
.v3 .tariff--featured .tariff__manu-name, .v3 .tariff--featured .tariff__manu-country { color: rgba(31,24,8,.8) !important; }
.v3 .tariff--featured .tariff__feat li { color: rgba(31,24,8,.85); }
.v3 .tariff--featured .tariff__feat li b { color: #1F1808; }
.v3 .tariff--featured .tariff__feat li::before { background: rgba(31,24,8,.2); border-color: #1F1808; }
.v3 .tariff--featured .tariff__badge { background: #1F1808 !important; color: #E5D580 !important; }
.v3 .tariff--featured .btn { background: var(--accent-2-grad) !important; color: #fff !important; }

/* === SHIMMER TEXT for accent emphasis (gold gradient) === */
.h-display em,
.sect-head__title em,
.hero-mod__h em,
.hero-full__h em,
.v2 .tile__big em,
.v2 .hero-stat-card__num em:not(.no-shimmer),
.brand__name em,
.tariff__name em,
h3 em.shimmer,
.shimmer {
  background-image: var(--accent-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmerSlide 8s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Bullets in tariff feat — gold dot */
.tariff__feat li::before {
  background: var(--accent-grad);
  border-color: var(--accent-deep);
}

/* FAQ plus icon - gold */
.faq-q .plus { color: var(--accent-deep); }
[data-theme="dark"] .faq-q .plus, .v3 .faq-q .plus { color: #E5D580; }

/* Service card price color */
.service-card__price { color: var(--accent-deep); }
[data-theme="dark"] .service-card__price, .v3 .service-card__price { color: #E5D580; }

/* Chip active → use dark ink (keep), but add a blue version for v3 */
.v3 .chip.is-active { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

/* Brand mark — gold gradient */
.brand__mark { background-image: var(--accent-grad); background-color: var(--accent); }

/* Tweaks toggle — blue */
[data-tweaks-toggle] { background: var(--accent-2) !important; }

/* Eyebrows on dark backgrounds — gold tint */
.v3 .eyebrow-w {
  color: #E5D580;
  background: rgba(197,171,58,.16);
  border-color: rgba(229,213,128,.35);
}

/* Eyebrows on light — gold */
.eyebrow { color: var(--accent-deep); background: var(--accent-soft); }

/* Field focus → blue */
.field input:focus, .field select:focus { border-color: var(--accent-2); }
.modal-form input:focus { border-color: var(--accent-2); }

/* Phone block on header — keep dark for legibility */

/* Calc result phone input border on focus → blue */
.calc-result__phone input:focus { border-color: var(--accent-2); background: rgba(255,255,255,.16); }

/* Inline-styled "accent" colors in subpages (var(--accent) used directly) keep gold */

/* Footer "Заказать звонок" — full-width within its column */
.foot-col > .btn { display: flex; width: 100%; justify-content: center; padding-left: 0; padding-right: 0; }
.page-banner h1 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }
