/* =========================================================
   АКВАТЕРМ — тема «Aqua Noir Gold»
   Чёрный премиум-фон + золотой акцент. Заголовки — Montserrat (uppercase),
   текст — Manrope. Единая тёмная тема (без переключателя).
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800;900&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
  /* --- Палитра --- */
  --gold: #c9973f;
  --gold-bright: #e2b768;
  --gold-dim: #8a6b2e;

  --bg: #0a0a0b;
  --bg-alt: #111113;
  --panel: #141416;
  --panel-2: #18181b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --text: #f4f2ec;
  --muted: #9c9ca2;
  --muted-2: #6d6d73;
  --on-gold: #17130a;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1240px;
  --font: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Montserrat", "Segoe UI", Roboto, Arial, system-ui, sans-serif;
  --font-heading: "Playfair Display", "Georgia", "Times New Roman", serif;

  --shadow: 0 2px 6px rgba(0,0,0,.3), 0 14px 30px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 10px 24px rgba(0,0,0,.4), 0 40px 70px -28px rgba(0,0,0,.75);
}

/* ---------- База ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); line-height: 1.65; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -.01em; line-height: 1.16; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: rgba(201,151,63,.32); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 100px 0; }
.section--tight { padding-top: 0; }
.section--alt { background: var(--bg-alt); }

/* Короткая золотая линия — фирменный маркер перед заголовками */
.gold-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); border-radius: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); font-family: var(--font);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; font-family: var(--font); text-transform: none; letter-spacing: 0; }
.center { text-align: center; margin-inline: auto; }

/* Плавное появление секций при прокрутке */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 4px; font-weight: 700; font-size: 13.5px;
  border: 1px solid transparent; cursor: pointer; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .1em;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn::after { content: "→"; font-family: var(--font); font-weight: 600; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn-lg { padding: 18px 34px; font-size: 14.5px; }
.btn-primary { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--on-gold);
  box-shadow: 0 10px 26px -10px rgba(201,151,63,.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(201,151,63,.8); }
.btn-ghost, .btn-on-dark { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-ghost:hover, .btn-on-dark:hover { background: var(--gold); color: var(--on-gold); transform: translateY(-2px); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .1em; font-size: 18px; color: var(--text); font-family: var(--font-display); text-transform: uppercase; }
.brand .mark { width: 10px; height: 10px; border-radius: 2px; flex: none; background: var(--gold); transform: rotate(45deg); }
.brand .logo-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 3px 8px rgba(201,151,63,.28)); }
.brand .brand-name { display: inline-block; }
.main-nav { display: flex; gap: 32px; font-size: 13.5px; color: var(--muted); font-weight: 700; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-nav li { margin: 0; }
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; font-size: 18px; white-space: nowrap; color: var(--gold); font-family: var(--font-display); letter-spacing: .01em; transition: color .2s ease; }
.header-phone:hover { color: var(--gold-bright); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 4px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; font-size: 20px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-130%); transition: transform .3s ease; z-index: 40;
  }
  .main-nav.open { transform: translateY(0); box-shadow: var(--shadow-lg); }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; align-items: stretch; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 15px 26px; font-size: 15px; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

/* ---------- Hero (главная) ---------- */
.hero { position: relative; background: var(--bg); color: var(--text); overflow: hidden; }
.hero .container { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; max-width: none; margin: 0; padding: 0 clamp(26px, 4.5vw, 88px); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 48px 0; pointer-events: auto; transform: translateY(-80px); }
.hero-content .gold-line { width: 76px; height: 3px; margin-bottom: 40px; }
.hero-photo { position: relative; z-index: 1; font-size: 0; }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.92) 24%, rgba(10,10,11,.45) 48%, rgba(10,10,11,.05) 70%, transparent 84%); }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46%;
  background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 12%, rgba(10,10,11,.6) 46%, transparent 100%); }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; margin: 0 0 42px; line-height: 1.12; }
.hero .lead { font-size: clamp(17px, 1.55vw, 21px); color: var(--muted); max-width: 32em; margin-bottom: 78px; line-height: 1.7; font-family: var(--font); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 84px; }

/* Ряд из 4 преимуществ с иконками */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature-row > div { padding: 0 22px; position: relative; }
.feature-row > div:first-child { padding-left: 0; }
.feature-row > div + div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-strong); }
.feature-row .fi { width: 36px; height: 36px; margin-bottom: 18px; }
.feature-row .fi svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.feature-row b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; color: var(--text); }
@media (max-width: 720px) {
  .feature-row { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .feature-row > div:nth-child(3) { padding-left: 0; }
  .feature-row > div:nth-child(odd)::before { display: none; }
}
@media (max-width: 900px) {
  .hero .container { position: static; inset: auto; display: block; padding: 24px 26px 56px; pointer-events: auto; }
  .hero-content { padding: 0; max-width: none; transform: none; }
  .hero-photo { margin: 0; }
  .hero-photo::before { display: none; }
  .hero-photo::after { height: 40%; background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 8%, transparent 100%); }
}

/* ---------- Внутренний hero ---------- */
.page-hero { position: relative; background: var(--bg-alt); color: var(--text); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; padding: 74px 26px 70px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 16px 0 16px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 42em; line-height: 1.6; font-family: var(--font); text-transform: none; letter-spacing: 0; }
.breadcrumbs { font-size: 12.5px; color: var(--muted-2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Сетки/карточки ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.service-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,151,63,.4); }
.service-card .ic { width: 44px; height: 44px; margin-bottom: 20px; }
.service-card .ic svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: .02em; }
.service-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; line-height: 1.55; font-family: var(--font); text-transform: none; }
.service-card .rule { width: 30px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.service-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.service-card li { font-size: 14px; padding-left: 22px; position: relative; color: var(--text); font-family: var(--font); }
.service-card li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; background: var(--gold); }

/* ---------- Процесс ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 26px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--gold); }
.step .n { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold); font-family: var(--font-display); }
.step h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; font-family: var(--font); text-transform: none; }

/* ---------- Тёмный баннер («Почему мы») ---------- */
.band { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px; overflow: hidden; }
.band .band-title { color: var(--text); font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; margin: 16px 0 38px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.feature h3 .dot { width: 8px; height: 8px; background: var(--gold); flex: none; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.55; font-family: var(--font); }

/* ---------- Отзывы ---------- */
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.quote p { font-size: 15.5px; margin-bottom: 18px; line-height: 1.6; font-family: var(--font); font-style: italic; text-transform: none; }
.quote .who { font-size: 13.5px; color: var(--muted); }
.quote .who b { color: var(--text); display: block; }
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }

/* ---------- Прайс ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-wrap { overflow-x: auto; }
.price-table th, .price-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-family: var(--font); }
.price-table th { background: var(--panel-2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.price-table tbody tr { transition: background .2s ease; }
.price-table tbody tr:hover { background: var(--panel-2); }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--gold); }
.price-table tr:last-child td { border-bottom: none; }

/* ---------- Список контактов (страница «Контакты») ---------- */
.contact-list { display: flex; flex-direction: column; }
.contact-row { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-row:first-child { padding-top: 0; }
.contact-row .cr-ic { width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; }
.contact-row .cr-ic svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.contact-row .cr-k { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: var(--font-display); margin-bottom: 8px; }
.contact-row .cr-v { display: block; font-size: clamp(20px, 2.2vw, 25px); font-weight: 700; font-family: var(--font-display); letter-spacing: .01em; margin-bottom: 6px; text-transform: uppercase; }
a.contact-row .cr-v { transition: color .2s ease; }
a.contact-row:hover .cr-v { color: var(--gold); }
.contact-row .cr-note { display: block; font-size: 14px; color: var(--muted); font-family: var(--font); }

/* ---------- CTA-карта (общая) ---------- */
.cta-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 50px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: start; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; padding: 32px; } }
.cta-card h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.cta-card > div > p { color: var(--muted); margin-bottom: 24px; line-height: 1.6; font-family: var(--font); text-transform: none; }

/* ---------- CTA-полоса (вместо формы) ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; }
.cta-band h2 { color: var(--text); font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 16px 0 16px; }
.cta-band p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 28px; max-width: 34em; font-family: var(--font); text-transform: none; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-contacts { display: flex; flex-direction: column; gap: 18px; }
.cta-contacts > div { display: flex; flex-direction: column; }
.cta-contacts .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: var(--font-display); }
.cta-contacts .v, .cta-contacts a { font-size: 19px; font-weight: 700; font-family: var(--font-display); color: var(--text); letter-spacing: .01em; text-transform: uppercase; }
.cta-contacts a:hover { color: var(--gold); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 34px; gap: 30px; } }

.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); filter: grayscale(.3) invert(.92) contrast(.9); }

/* ---------- «Почему нас выбирают» (полоса) ---------- */
.why-strip { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 50px; }
.why-strip .eyebrow { display: flex; justify-content: center; margin-bottom: 26px; }
.why-strip .feature-row > div { text-align: center; }
.why-strip .feature-row .fi { margin-inline: auto; }
.why-strip .feature-row > div + div::before { display: none; }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 0; color: var(--muted); font-size: 14px; background: var(--bg-alt); font-family: var(--font); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer p { line-height: 1.6; margin-top: 4px; max-width: 34em; }
.site-footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Портфолио ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 10px 20px; border-radius: 2px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: inherit; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease; }
.filter-btn:hover { border-color: var(--gold); color: var(--text); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }
.work { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  transition: transform .25s ease, box-shadow .3s ease; background: var(--panel); border: 1px solid var(--line); }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-img { position: absolute; inset: 0; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover .work-img img { transform: scale(1.06); }
.work-img span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-2); font-size: 13px; font-family: var(--font); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 40%, transparent 70%); pointer-events: none; }
.work-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.work-tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: 8px; font-family: var(--font-display); }
.work-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.work-body p { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; line-height: 1.5; font-family: var(--font); text-transform: none; }
.work-meta { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-family: var(--font); }
.work-meta b { color: var(--text); }
.is-hidden { display: none !important; }

/* ---------- Прочее ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 4px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.prose { color: var(--text); font-family: var(--font); }
.prose p { margin-bottom: 1em; }

/* ---------- Страница «Услуги»: hero с фото ---------- */
.uslugi-hero { position: relative; background: var(--bg-alt); overflow: hidden; }
.uslugi-hero .uh-photo { position: absolute; inset: 0; z-index: 0; }
.uslugi-hero .uh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.uslugi-hero .uh-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.9) 38%, rgba(10,10,11,.35) 70%, transparent 100%); }
.uslugi-hero .container { position: relative; z-index: 2; padding: 84px clamp(26px, 4.5vw, 88px); max-width: none; margin: 0; }
.uslugi-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.uslugi-hero p { max-width: 34em; }

/* ---------- Карточки услуг с фото ---------- */
.uslugi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .uslugi-grid { grid-template-columns: 1fr; } }
.uservice { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px;
  display: flex; align-items: center; border: 1px solid var(--line); background: var(--panel);
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease; }
.uservice:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,151,63,.4); }
.uservice-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s ease; }
.uservice:hover .uservice-bg { transform: scale(1.05); }
.uservice::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.9) 34%, rgba(10,10,11,.45) 62%, rgba(10,10,11,.08) 100%); }
.uservice-content { position: relative; z-index: 2; padding: 34px; max-width: 76%; }
.uservice .ic { width: 42px; height: 42px; margin-bottom: 18px; }
.uservice .ic svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.uservice h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 17px; margin-bottom: 12px; line-height: 1.25; }
.uservice p { color: var(--muted); font-size: 14.5px; line-height: 1.55; font-family: var(--font); text-transform: none; }
.uslugi-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
@media (max-width: 720px) {
  .uservice { min-height: 280px; }
  .uservice::after { background: linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.85) 58%, rgba(10,10,11,.5) 100%); }
  .uservice-content { max-width: 90%; }
}

/* ---------- Страница «Контакты» ---------- */
.kontakty-hero { position: relative; background: var(--bg); overflow: hidden; }
.kontakty-hero .kh-photo { position: absolute; inset: 0; z-index: 0; }
.kontakty-hero .kh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.kontakty-hero .kh-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10,10,11,.94) 32%, rgba(10,10,11,.5) 60%, rgba(10,10,11,.1) 100%); }
.kontakty-hero .container { position: relative; z-index: 2; max-width: none; margin: 0; padding: 76px clamp(26px, 4.5vw, 88px); }
.kh-info { max-width: 640px; }
.kh-info h1 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 16px; }
.kh-sub { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 30em; margin-bottom: 36px; font-family: var(--font); }
.kh-info .contact-list { margin-bottom: 34px; }
.kh-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .kontakty-hero .kh-photo { position: relative; height: 220px; }
  .kontakty-hero .kh-photo::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 55%); }
  .kontakty-hero .container { position: static; padding: 30px 26px 48px; }
  .kh-info { max-width: none; }
}

/* Карта (меньше) + «почему нас выбирают» (больше), во всю ширину */
.kontakty-bottom { padding: 62px 0 0; }
.kontakty-map-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; align-items: stretch; padding: 0 clamp(26px, 4.5vw, 88px); }
@media (max-width: 900px) { .kontakty-map-grid { grid-template-columns: 1fr; } }
.km-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 400px; }
.km-map .map-embed { height: 100%; min-height: 400px; border-radius: 0; }
.km-why { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 50px 60px; display: flex; flex-direction: column; justify-content: center; }
.km-why .feature-row { grid-template-columns: 1fr 1fr; row-gap: 42px; column-gap: 48px; margin-top: 30px; }
.km-why .feature-row > div { padding: 0; }
.km-why .feature-row > div + div::before { display: none; }
.km-why .feature-row .fi { width: 42px; height: 42px; margin-bottom: 16px; }
.km-why .feature-row b { font-size: 15px; }
.km-why .feature-row small { display: block; color: var(--muted); font-size: 14px; font-family: var(--font); text-transform: none; letter-spacing: 0; line-height: 1.5; margin-top: 6px; }
@media (max-width: 560px) { .km-why { padding: 34px; } .km-why .feature-row { column-gap: 22px; row-gap: 30px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }