/* =========================================================
   СделаюРемонт.рф — Евгений Бычков, ремонт квартир и домов
   ========================================================= */

:root{
  --navy: #0f2f4f;
  --navy-dark: #0a2138;
  --orange: #ff7a1a;
  --orange-dark: #e8650a;
  --orange-text: #b84d00; /* WCAG AA-compliant orange for text on light backgrounds (>=4.5:1) */
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1c2a36;
  --muted: #5b6b78;
  --border: #e3e7eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15,47,79,.08);
  --shadow-cta: 0 10px 24px rgba(232,101,10,.32);
  --max: 1140px;
}

*{box-sizing:border-box;}
a, button{-webkit-tap-highlight-color:rgba(255,122,26,.22);}
/* Скип-ссылка для клавиатурной навигации — скрыта, пока не получит фокус (Tab) */
.skip-link{
  position:absolute; left:-9999px; top:0; width:1px; height:1px; overflow:hidden;
  background:var(--navy); color:#fff; padding:14px 22px; border-radius:0 0 10px 0;
  z-index:200; font-weight:700; text-decoration:none;
}
.skip-link:focus{left:0; width:auto; height:auto; overflow:visible;}
html{scroll-behavior:smooth;}
html, body{max-width:100%; overflow-x:hidden;} /* защита от случайного горизонтального скролла на мобильных */

/* =========================================================
   Motion: скролл-появление контента и микро-анимации.
   Класс html.js-anim добавляется инлайн-скриптом в <head> ДО
   первой отрисовки — поэтому элементы скрыты с самого начала
   и не "мигают" (сначала видно, потом прячется, потом опять
   появляется). Без JS (html без .js-anim) всё остаётся видимым —
   это честный progressive enhancement, а не обязательное условие.
   ========================================================= */
@keyframes revealUp{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes heroFade{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes waPulse{
  0%,100%{box-shadow:0 10px 24px rgba(37,211,102,.45);}
  50%{box-shadow:0 10px 24px rgba(37,211,102,.45), 0 0 0 10px rgba(37,211,102,.16);}
}
@keyframes badgePulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.07);}
}
@keyframes popIn{
  from{opacity:0; transform:translateY(10px) scale(.97);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

html.js-anim .section-head,
html.js-anim .card,
html.js-anim .package,
html.js-anim .step,
html.js-anim .related-card,
html.js-anim .gallery-item,
html.js-anim .contact-card,
html.js-anim .faq-item,
html.js-anim .price-block,
html.js-anim .cta-band,
html.js-anim .usp-item,
html.js-anim .calc-type-card,
html.js-anim .fact,
html.js-anim .notice{
  opacity:0;
}
html.js-anim .is-visible{
  animation-name:revealUp;
  animation-duration:.6s;
  animation-timing-function:ease;
  animation-fill-mode:both;
}
/* Каскад: чем позже элемент в своём ряду, тем позже он появляется */
html.js-anim .is-visible:nth-child(2){animation-delay:.06s;}
html.js-anim .is-visible:nth-child(3){animation-delay:.12s;}
html.js-anim .is-visible:nth-child(4){animation-delay:.18s;}
html.js-anim .is-visible:nth-child(5){animation-delay:.24s;}
html.js-anim .is-visible:nth-child(6){animation-delay:.30s;}
html.js-anim .is-visible:nth-child(7){animation-delay:.36s;}

/* Появление шапки-героя при загрузке страницы (не завязано на скролл) */
.hero h1, .hero p.lead, .hero-actions, .hero-badges, .hero-card,
.page-hero h1, .page-hero p, .page-hero .hero-price{
  animation:heroFade .7s ease both;
}
.hero p.lead{animation-delay:.08s;}
.hero-actions{animation-delay:.16s;}
.hero-badges{animation-delay:.24s;}
.hero-card{animation-delay:.12s;}
.page-hero p{animation-delay:.08s;}
.page-hero .hero-price{animation-delay:.16s;}

/* Уважаем настройку "уменьшить анимацию" в ОС/браузере */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  html{scroll-behavior:auto !important;}
  html.js-anim .section-head, html.js-anim .card, html.js-anim .package,
  html.js-anim .step, html.js-anim .related-card, html.js-anim .gallery-item,
  html.js-anim .contact-card, html.js-anim .faq-item, html.js-anim .price-block,
  html.js-anim .cta-band, html.js-anim .usp-item, html.js-anim .calc-type-card,
  html.js-anim .fact, html.js-anim .notice{
    opacity:1 !important;
  }
}
body{
  margin:0;
  font-family:'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0; list-style:none;}
h1,h2,h3,h4{line-height:1.2; margin:0 0 14px; font-weight:800; letter-spacing:-.01em;}
p{margin:0 0 14px;}
.container{max-width:var(--max); margin:0 auto; padding:0 20px;}
section{padding:64px 0;}
.section-tag{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--orange-text);
  background:#fff1e6;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:14px;
}
.section-head{max-width:640px; margin-bottom:36px;}
.section-head p{color:var(--muted);}
.muted{color:var(--muted);}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  border:2px solid transparent;
  cursor:pointer;
  transition:.2s ease;
}
.btn-primary{background:var(--orange); color:var(--navy-dark); box-shadow:var(--shadow-cta);}
.btn-primary:hover{background:var(--orange-dark); transform:translateY(-2px); box-shadow:0 14px 28px rgba(232,101,10,.4);}
.btn-outline{border-color:#ffffff55; color:#fff;}
.btn-outline:hover{background:#ffffff1a;}
.btn-navy{background:var(--navy); color:#fff;}
.btn-navy:hover{background:var(--navy-dark);}
.btn-block{width:100%; justify-content:center;}
.btn-sm{padding:10px 18px; font-size:14px;}
.btn:active{transform:scale(.96);}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:3px solid var(--orange-text); outline-offset:2px; border-radius:6px;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .25s ease;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
  transition:height .25s ease;
}
/* При прокрутке шапка слегка сжимается и получает тень — экономит место и подсказывает, что страница листается */
.site-header.scrolled{box-shadow:0 6px 22px rgba(15,47,79,.10);}
.site-header.scrolled .container{height:62px;}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; font-size:18px;}
.brand-mark{
  width:42px; height:42px; border-radius:10px;
  background:linear-gradient(135deg, var(--navy), var(--orange));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:900;
}
.brand-text span{display:block; font-size:12px; font-weight:600; color:var(--muted);}

.main-nav ul{display:flex; gap:28px;}
.main-nav a{font-weight:600; font-size:15px; color:var(--text); position:relative; padding:4px 0;}
.main-nav a.active, .main-nav a:hover{color:var(--orange-text);}
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background:var(--orange); transition:right .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{right:0;}
.header-actions{display:flex; align-items:center; gap:14px;}
.phone-link{font-weight:800; font-size:16px; white-space:nowrap;}
.phone-link small{display:block; font-weight:600; font-size:11px; color:var(--muted);}
.burger{display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:44px; height:44px; background:none; border:0; cursor:pointer; padding:0; margin:-4px;}
.burger span{width:24px; height:2px; background:var(--navy); border-radius:2px;}

/* Hero */
.hero{
  background:radial-gradient(1100px 500px at 80% -10%, #16436e 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color:#fff;
  padding:72px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero .container{position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center;}
.hero h1{font-size:44px; margin-bottom:18px;}
.hero h1 em{font-style:normal; color:var(--orange);}
.hero p.lead{font-size:18px; color:#d7e2ec; max-width:520px;}
.hero-actions{display:flex; gap:14px; margin-top:28px; flex-wrap:wrap;}
.hero-badges{display:flex; gap:22px; margin-top:40px; flex-wrap:wrap;}
.hero-badge{display:flex; align-items:center; gap:10px; font-size:14px; color:#d7e2ec;}
.hero-badge b{display:block; font-size:22px; color:#fff;}
.hero-card{
  background:#ffffff10;
  border:1px solid #ffffff26;
  border-radius:var(--radius);
  padding:26px;
  backdrop-filter:blur(6px);
}
.hero-card h3{color:#fff; font-size:18px;}
.hero-card ul li{display:flex; gap:10px; padding:8px 0; border-bottom:1px dashed #ffffff26; font-size:14px; color:#e7edf3;}
.hero-card ul li:last-child{border-bottom:0;}
.hero-card .dot{width:8px; height:8px; border-radius:50%; background:var(--orange); margin-top:6px; flex-shrink:0;}

/* USP strip */
.usp-strip{background:#fff; border-bottom:1px solid var(--border);}
.usp-strip .container{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:36px 20px;
}
.usp-item{display:flex; gap:12px; align-items:flex-start;}
.usp-icon{
  width:44px; height:44px; border-radius:10px; background:#fff1e6; color:var(--orange-text);
  display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;
}
.usp-item h4{font-size:15px; margin-bottom:4px;}
.usp-item p{font-size:13px; color:var(--muted); margin:0;}

/* Cards grid (services) */
.cards-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow); transition:.2s;
}
.card:hover{transform:translateY(-4px); border-color:#ffd7b0; box-shadow:0 16px 34px rgba(15,47,79,.12);}
.card .num{font-size:13px; font-weight:800; color:var(--orange-text); margin-bottom:10px;}
.card h3{font-size:19px;}
.card p{color:var(--muted); font-size:14.5px;}
.card .price-tag{
  display:inline-block; margin-top:6px; font-weight:800; color:var(--orange-text);
  background:#fff4ea; padding:6px 12px; border-radius:8px; font-size:14px;
}

/* Steps */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step;}
.step{position:relative; padding-top:10px;}
.step::before{
  counter-increment:step; content:counter(step);
  width:46px; height:46px; border-radius:50%;
  background:var(--navy); color:#fff; font-weight:800; font-size:18px;
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.step h4{font-size:16px;}
.step p{color:var(--muted); font-size:14px;}

/* Portfolio */
.gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.gallery-item{
  aspect-ratio:4/3; border-radius:var(--radius); overflow:hidden; position:relative;
  background:#eef1f4; border:1px solid var(--border);
}
.gallery-item img{width:100%; height:100%; object-fit:cover; transition:transform .35s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-placeholder{
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; color:#9aa8b3; border:2px dashed #cfd8de; border-radius:var(--radius);
}
.gallery-placeholder .icon{font-size:26px;}
.gallery-placeholder span{font-size:12px; text-align:center; padding:0 14px;}

.notice{
  background:#fff8ec; border:1px solid #f6dfb0; color:#7a5410;
  border-radius:var(--radius); padding:18px 22px; font-size:14.5px;
}

/* Pricing table */
.price-block{margin-bottom:40px;}
.price-block h3{
  font-size:20px; padding-bottom:12px; border-bottom:2px solid var(--orange);
  display:inline-block;
}
/* Таблица оборачивается скроллом по горизонтали, если не помещается на узком экране —
   так вёрстка никогда не "ломается" и не создаёт горизонтальный скролл всей страницы */
.price-block{overflow-x:auto; -webkit-overflow-scrolling:touch;}
table.price-table{width:100%; min-width:420px; border-collapse:collapse; margin-top:16px; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
table.price-table th, table.price-table td{padding:13px 18px; text-align:left; font-size:14.5px;}
table.price-table th{background:var(--navy); color:#fff; font-weight:700;}
table.price-table tr:nth-child(even){background:#f8fafc;}
table.price-table tr{transition:background .15s ease;}
table.price-table tr:hover{background:#fff4ea;}
table.price-table td:last-child{font-weight:800; color:var(--orange-text); white-space:nowrap; text-align:right;}
table.price-table td:first-child{color:var(--text);}

.packages-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:50px;}
.package{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:28px;
  box-shadow:var(--shadow); position:relative; transition:.2s;
}
.package:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(15,47,79,.12);}
.package.featured{border:2px solid var(--orange);}
.package .badge{
  position:absolute; top:-13px; right:20px; background:var(--orange); color:var(--navy-dark);
  font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px;
  animation:badgePulse 2s ease-in-out 5; /* пару секунд привлекает внимание, потом останавливается */
}
.package h3{font-size:18px;}
.package .price{font-size:28px; font-weight:900; color:var(--orange-text); margin:6px 0 14px;}
.package .price span{font-size:14px; font-weight:600; color:var(--muted);}
.package ul{margin:14px 0; display:flex; flex-direction:column; gap:8px;}
.package ul li{font-size:14px; color:var(--muted); display:flex; gap:8px;}
.package ul li::before{content:"✓"; color:var(--orange-text); font-weight:900;}

/* Testimonial / about */
.about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center;}
.about-photo{
  aspect-ratio:3/4; border-radius:var(--radius); background:linear-gradient(160deg,#dfe7ee,#c7d3dd);
  display:flex; align-items:center; justify-content:center; color:#7c8b98; font-weight:700; text-align:center; padding:24px;
  border:1px solid var(--border);
}
.fact-row{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:26px;}
.fact{background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px; text-align:center; transition:transform .2s ease, border-color .2s ease;}
.fact:hover{transform:translateY(-3px); border-color:#ffd7b0;}
.fact b{display:block; font-size:24px; color:var(--navy);}
.fact span{font-size:12.5px; color:var(--muted);}

/* CTA band */
.cta-band{
  background:linear-gradient(120deg, var(--navy), var(--navy-dark));
  color:#fff; border-radius:var(--radius); padding:44px; text-align:center; margin-top:10px;
}
.cta-band h2{color:#fff;}
.cta-band p{color:#d7e2ec;}
.cta-actions{display:flex; justify-content:center; gap:14px; margin-top:20px; flex-wrap:wrap;}

/* Contacts page */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:36px;}
.contact-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow);}
.contact-row{display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--border);}
.contact-row:last-child{border-bottom:0;}
.contact-row .ic{
  width:42px; height:42px; border-radius:10px; background:#fff1e6; color:var(--orange-text);
  display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0;
}
.contact-row h4{margin:0 0 2px; font-size:15px;}
.contact-row p{margin:0; color:var(--muted); font-size:14px;}
.map-box{
  border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; min-height:340px;
}
.map-box iframe{width:100%; height:100%; min-height:340px; border:0; display:block;}

form.lead-form{display:flex; flex-direction:column; gap:14px;}
form.lead-form input, form.lead-form textarea, form.lead-form select{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--border);
  font-family:inherit; font-size:16px; background:#f9fafb;
  /* font-size не меньше 16px — иначе Safari на iOS автоматически зумит страницу при фокусе на поле */
}
form.lead-form label{font-size:13px; font-weight:700; color:var(--muted); margin-bottom:-8px;}
form.lead-form .agree{font-size:12px; color:var(--muted); display:flex; gap:8px; align-items:flex-start;}

/* Калькулятор стоимости ремонта */
.calc-types{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:26px;}
.calc-type-card{
  position:relative; border:2px solid var(--border); border-radius:12px; padding:16px 18px;
  cursor:pointer; display:flex; flex-direction:column; gap:6px; background:#fff; transition:.15s ease;
}
.calc-type-card input{position:absolute; opacity:0; width:1px; height:1px;}
.calc-type-card:hover{border-color:#ffd2ac;}
.calc-type-card.is-checked{border-color:var(--orange); background:#fff6ef; box-shadow:0 4px 14px rgba(232,101,10,.14);}
.calc-type-card:has(input:focus-visible){outline:3px solid var(--orange-text); outline-offset:2px;}
.calc-type-title{font-weight:800; font-size:15px;}
.calc-type-price{font-size:13px; color:var(--orange-text); font-weight:700;}

.calc-area-row{display:flex; flex-direction:column; gap:6px; max-width:280px; margin-bottom:24px;}
.calc-area-row label{font-size:13px; font-weight:700; color:var(--muted);}
.calc-area-row input{padding:13px 16px; border-radius:10px; border:1px solid var(--border); font-family:inherit; font-size:16px; background:#f9fafb;}

.calc-result{margin-top:28px; background:#fff; border:2px solid var(--orange); border-radius:var(--radius); padding:30px; text-align:center;}
.calc-result:not([hidden]){animation:popIn .4s ease both;}
.calc-result-label{font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:8px;}
.calc-result-value{font-size:34px; font-weight:900; color:var(--navy); margin-bottom:10px;}
.calc-result-note{color:var(--muted); font-size:14px; max-width:480px; margin:0 auto 20px;}
.calc-result .cta-actions{justify-content:center;}

/* Footer */
.site-footer{background:var(--navy-dark); color:#c9d5df; padding:50px 0 24px;}
.footer-grid{display:grid; grid-template-columns:1.1fr .9fr .9fr .9fr .9fr; gap:30px; margin-bottom:34px;}
.footer-brand .brand{color:#fff;}
.footer-brand p{color:#94a6b3; font-size:14px; margin-top:10px;}
.site-footer h4{color:#fff; font-size:15px; margin-bottom:14px;}
.site-footer ul li{margin-bottom:10px; font-size:14px;}
.site-footer a:hover{color:var(--orange);}
.footer-bottom{border-top:1px solid #1c3b58; padding-top:20px; font-size:12.5px; color:#7f92a1; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* Sticky WhatsApp button */
.wa-float{
  position:fixed; right:22px; z-index:60;
  bottom:calc(22px + env(safe-area-inset-bottom)); /* не залезает под системную полосу-индикатор на iPhone */
  width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(37,211,102,.45); font-size:28px;
  transition:transform .2s ease;
  animation:waPulse 2.6s ease-in-out 4; /* несколько пульсаций при заходе на страницу, потом успокаивается — не раздражает */
}
.wa-float:hover{transform:scale(1.08);}
.wa-float:active{transform:scale(.95);}
@media (max-width:480px){
  .wa-float{width:52px; height:52px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); font-size:24px;}
}

/* Breadcrumb / page hero */
.page-hero{background:var(--navy); color:#fff; padding:46px 0;}
.page-hero .container{}
.page-hero h1{margin-bottom:8px; font-size:32px;}
.page-hero p{color:#c7d5e0; margin:0;}

/* Responsive
   Брейкпоинты подобраны под реальные устройства:
   980px  — планшеты в портретной ориентации (iPad 768-834px и небольшие ноутбуки/сплит-скрин)
   680px  — крупные телефоны и маленькие планшеты
   480px  — компактные телефоны (iPhone SE/mini, Android 360-390px)
*/
@media (max-width: 980px){
  .hero .container{grid-template-columns:1fr;}
  .hero-card{order:-1;}
  .usp-strip .container{grid-template-columns:repeat(2,1fr);}
  .cards-grid, .packages-grid{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .about-grid, .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .calc-types{grid-template-columns:repeat(2,1fr);}

  /* Меню-бургер включаем уже с планшетов: полный набор из 5 пунктов навигации,
     телефона и кнопки CTA физически не помещается в шапку на ширине 681-980px —
     раньше здесь оставалось десктопное меню, и шапка расползалась/схлопывалась. */
  .main-nav, .header-actions .phone-link{display:none;}
  .burger{display:flex;}
}
@media (max-width: 680px){
  .hero h1{font-size:32px;}
  .usp-strip .container{grid-template-columns:1fr;}
  .cards-grid, .packages-grid, .steps{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;}
  .calc-types{grid-template-columns:1fr;}
  .calc-result-value{font-size:26px;}
  section{padding:44px 0;}
  .cta-band{padding:30px 20px;}
  .brand-text span{display:none;} /* подпись под логотипом убираем — экономим место в шапке */
  .page-hero{padding:36px 0;}
  .page-hero h1{font-size:26px;}
}
@media (max-width: 480px){
  .header-actions .btn-sm{display:none;} /* на самых узких экранах оставляем только бургер, чтобы шапка гарантированно помещалась */
  .hero h1{font-size:27px;}
  .hero p.lead{font-size:16px;}
  .brand-text{font-size:15px;}
  .brand-mark{width:36px; height:36px; font-size:15px;}
  .btn{padding:13px 20px; font-size:14px;}
  .cta-band{padding:26px 16px;}
  .cta-band h2{font-size:22px;}
}

/* Breadcrumbs */
.breadcrumbs{background:#0c2947; padding:14px 0;}
.breadcrumbs ol{display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.breadcrumbs li{display:flex; align-items:center; gap:6px; font-size:13px; color:#9fb3c5;}
.breadcrumbs a{color:#c7d5e0;}
.breadcrumbs a:hover{color:var(--orange);}
.breadcrumbs li:not(:last-child)::after{content:"/"; margin-left:6px; color:#4c6478;}
.breadcrumbs li[aria-current]{color:#fff; font-weight:700;}

/* FAQ accordion */
.faq-list{display:flex; flex-direction:column; gap:12px; max-width:820px;}
.faq-item{background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:border-color .2s ease;}
.faq-item:hover{border-color:#ffd7b0;}
.faq-q{
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  padding:18px 20px; font-weight:700; font-size:15.5px; color:var(--text);
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q::after{
  content:"+"; font-size:22px; color:var(--orange-text); font-weight:400; flex-shrink:0;
  display:inline-block; transition:transform .3s ease;
}
.faq-item.open .faq-q::after{transform:rotate(45deg);} /* "+" плавно превращается в "×" */
.faq-a{max-height:0; overflow:hidden; transition:max-height .3s ease; padding:0 20px;}
.faq-item.open .faq-a{max-height:400px; padding:0 20px 18px;}
.faq-a p{color:var(--muted); font-size:14.5px; margin:0;}

/* Related services */
.related-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.related-card{
  background:#fff; border:1px solid var(--border); border-radius:12px; padding:16px 18px;
  font-weight:700; font-size:14px; transition:.2s;
}
.related-card:hover{border-color:var(--orange); color:var(--orange-text);}
.related-card span{display:block; font-weight:500; color:var(--muted); font-size:12.5px; margin-top:4px;}

/* Included / checklist */
.check-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin:18px 0 28px;}
.check-grid li{display:flex; gap:10px; font-size:14.5px; color:var(--text);}
.check-grid li::before{content:"✓"; color:var(--orange-text); font-weight:900; flex-shrink:0;}

/* Small service hero variant with price pill */
.page-hero .hero-price{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  background:#ffffff1a; border:1px solid #ffffff33; padding:8px 16px; border-radius:999px;
  font-weight:800; font-size:15px;
}

@media (max-width:980px){
  .related-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:680px){
  .check-grid{grid-template-columns:1fr;}
  .related-grid{grid-template-columns:1fr;}
}

/* Mobile nav open state */
body.nav-open .main-nav{
  display:block; position:fixed; inset:76px 0 0 0; background:#fff; padding:24px 20px; z-index:49; overflow-y:auto;
}
body.nav-open .main-nav ul{flex-direction:column; gap:6px;}
body.nav-open .main-nav a{display:block; padding:14px 6px; border-bottom:1px solid var(--border); font-size:17px;}
body.nav-open .wa-float{display:none;} /* не даём плавающей кнопке перекрывать открытое мобильное меню */
@media (min-width:981px){ body.nav-open .main-nav{position:static; display:block; inset:auto; padding:0;} }
