/* ============================================
   Центр печати — Люберцы
   Основные стили
   ============================================ */

:root{
  /* Цвета */
  --ink:#15171C;
  --ink-70:#3D4350;
  --ink-50:#6B7280;
  --line:#E4E7EC;
  --line-soft:#F0F2F5;
  --surface:#FFFFFF;
  --surface-2:#F6F7F9;
  --brand:#1E4FD8;
  --brand-dark:#1740B0;
  --brand-soft:#EEF3FE;
  --accent:#FF5A1F;
  --accent-soft:#FFF1EB;
  --green:#0FA45F;
  --green-soft:#E9F8F1;
  --star:#FFB020;

  /* Типографика */
  --font-display:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Раскладка */
  --wrap:1200px;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(21,23,28,.04), 0 4px 16px rgba(21,23,28,.06);
  --shadow-lg:0 4px 12px rgba(21,23,28,.06), 0 16px 40px rgba(21,23,28,.10);
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--surface);
  -webkit-font-smoothing:antialiased;
  padding-bottom:0;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.02em;
  margin:0;
}
h1{font-size:clamp(28px,4vw,44px)}
h2{font-size:clamp(24px,3vw,34px)}
h3{font-size:clamp(18px,2vw,22px)}
h4{font-size:17px;font-weight:600}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ============ ВЕРХНЯЯ ПОЛОСА ============ */
.topbar{
  background:var(--ink);
  color:rgba(255,255,255,.72);
  font-size:13px;
  padding:9px 0;
}
.topbar__in{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.topbar__loc{display:flex;align-items:center;gap:7px}
.topbar__nav{display:flex;gap:20px}
.topbar a{transition:color .15s}
.topbar a:hover{color:#fff}
.topbar svg{flex-shrink:0;opacity:.7}

/* ============ ШАПКА ============ */
.header{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}
.header__in{
  display:flex;
  align-items:center;
  gap:24px;
  padding:16px 20px;
  max-width:var(--wrap);
  margin:0 auto;
}
.logo{
  font-family:var(--font-display);
  font-size:22px;
  font-weight:800;
  letter-spacing:-.03em;
  white-space:nowrap;
  flex-shrink:0;
}
.logo span{color:var(--brand)}
.logo small{
  display:block;
  font-family:var(--font-body);
  font-size:11px;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--ink-50);
  margin-top:1px;
}

.header__spacer{flex:1}

.header__phone{display:flex;flex-direction:column;gap:1px;flex-shrink:0}
.phone-link{
  font-family:var(--font-display);
  font-size:19px;
  font-weight:700;
  letter-spacing:-.01em;
  white-space:nowrap;
  transition:color .15s;
}
.phone-link:hover{color:var(--brand)}
.header__hours{font-size:12px;color:var(--ink-50)}

/* Кнопки мессенджеров */
.messengers{display:flex;gap:8px;flex-shrink:0}
.msg-btn{
  width:40px;height:40px;
  border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  transition:transform .15s, box-shadow .15s;
  overflow:hidden;
}
.msg-btn:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(21,23,28,.16)}
.msg-btn svg{width:22px;height:22px}
.msg-btn img{width:100%;height:100%;object-fit:cover;display:block;border-radius:11px}
.msg-btn--max{background:none;padding:0}
.msg-btn--tg{background:#2AABEE}
.msg-btn--vk{background:#0077FF}

/* Рейтинг Яндекс */
.rating{
  display:flex;align-items:center;gap:10px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  transition:border-color .15s, box-shadow .15s;
  flex-shrink:0;
}
.rating:hover{border-color:var(--brand);box-shadow:0 4px 12px rgba(30,79,216,.10)}
.rating__ya{width:24px;height:24px;flex-shrink:0;border-radius:50%;object-fit:cover;display:block}
.rating__body{line-height:1.25}
.rating__top{display:flex;align-items:center;gap:6px}
.rating__score{font-family:var(--font-display);font-size:16px;font-weight:700}
.rating__stars{color:var(--star);font-size:12px;letter-spacing:-1.5px}
.rating__count{font-size:11.5px;color:var(--ink-50)}

/* Бургер */
.burger{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--surface);
  cursor:pointer;
  align-items:center;justify-content:center;
  flex-shrink:0;
}
.burger span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;position:relative;transition:.2s}
.burger span::before,.burger span::after{content:'';position:absolute;left:0;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:.2s}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

/* ============ НАВИГАЦИЯ ============ */
.nav{background:var(--surface-2);border-bottom:1px solid var(--line)}
.nav__list{
  display:flex;
  list-style:none;
  margin:0;padding:0;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav__list::-webkit-scrollbar{display:none}
.nav__list a{
  display:block;
  padding:14px 16px;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink-70);
  white-space:nowrap;
  border-bottom:2px solid transparent;
  transition:color .15s, border-color .15s;
}
.nav__list a:hover{color:var(--brand)}
.nav__list a[aria-current="page"]{color:var(--brand);border-bottom-color:var(--brand)}

/* ============ ГЕРОЙ ============ */
.hero{
  background:linear-gradient(180deg, var(--brand-soft) 0%, var(--surface) 100%);
  padding:56px 0 44px;
  border-bottom:1px solid var(--line);
}
.hero__grid{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13px;font-weight:600;
  color:var(--brand);
  background:var(--surface);
  border:1px solid rgba(30,79,216,.18);
  padding:6px 13px;
  border-radius:999px;
  margin-bottom:18px;
}
.hero h1{margin-bottom:16px}
.hero__lead{font-size:17.5px;color:var(--ink-70);max-width:520px;margin-bottom:26px}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 26px;
  border-radius:12px;
  font-family:var(--font-display);
  font-size:15.5px;font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .15s, border-color .15s, transform .1s;
}
.btn:active{transform:scale(.98)}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-dark)}
.btn--ghost{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--brand);color:var(--brand)}
.btn--accent{background:var(--accent);color:#fff}
.btn--accent:hover{background:#E64E17}
.btn svg{width:18px;height:18px}

/* Плашки-факты в герое */
.hero__facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.fact{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}
.fact__num{
  font-family:var(--font-display);
  font-size:27px;font-weight:800;
  letter-spacing:-.03em;
  color:var(--brand);
  line-height:1.1;
}
.fact__label{font-size:13px;color:var(--ink-50);margin-top:4px;line-height:1.35}

/* ============ ЗАГОЛОВКИ СЕКЦИЙ ============ */
.section{padding:56px 0}
.section--alt{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section__head{margin-bottom:28px}
.section__eyebrow{
  font-size:12.5px;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--brand);
  margin-bottom:9px;
}
.section__sub{color:var(--ink-50);font-size:16px;margin-top:9px;max-width:640px}

/* ============ КАТАЛОГ УСЛУГ ============ */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  display:flex;flex-direction:column;
  transition:border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover{border-color:var(--brand);box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.card__icon{
  width:46px;height:46px;
  border-radius:12px;
  background:var(--brand-soft);
  color:var(--brand);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:15px;
}
.card__icon svg{width:24px;height:24px}
.card h3{font-size:17.5px;margin-bottom:7px}
.card__desc{font-size:14px;color:var(--ink-50);line-height:1.5;flex:1;margin-bottom:16px}
.card__foot{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid var(--line-soft)}
.card__price{font-family:var(--font-display);font-size:16px;font-weight:700}
.card__price small{font-size:12px;font-weight:500;color:var(--ink-50);display:block;letter-spacing:0}
.card__arrow{font-size:14px;font-weight:600;color:var(--brand)}

/* ============ ПРЕИМУЩЕСТВА ============ */
.perks{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.perk{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
}
.perk__icon{
  width:44px;height:44px;border-radius:12px;
  background:var(--green-soft);color:var(--green);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.perk__icon svg{width:22px;height:22px}
.perk h4{margin-bottom:6px}
.perk p{font-size:14px;color:var(--ink-50);line-height:1.55}

/* ============ ПРАЙС-ТАБЛИЦА ============ */
.pricelist{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.price-row{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:16px 22px;
  border-bottom:1px solid var(--line-soft);
}
.price-row:last-child{border-bottom:none}
.price-row:hover{background:var(--surface-2)}
.price-row__name{font-weight:500;font-size:15px}
.price-row__note{font-size:13px;color:var(--ink-50);margin-top:2px;line-height:1.4}
.price-row__val{
  font-family:var(--font-display);
  font-size:17px;font-weight:700;
  white-space:nowrap;
  color:var(--brand);
}
.price-row__val small{font-size:12px;font-weight:500;color:var(--ink-50);display:block;text-align:right}

/* ============ ИНФОБЛОК / КОНТАКТЫ ============ */
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:start}
.infocard{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
}
.infocard h3{margin-bottom:18px}
.info-row{display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--line-soft)}
.info-row:last-child{border-bottom:none;padding-bottom:0}
.info-row:first-of-type{padding-top:0}
.info-row__ic{
  width:38px;height:38px;flex-shrink:0;
  border-radius:10px;
  background:var(--surface-2);
  color:var(--brand);
  display:flex;align-items:center;justify-content:center;
}
.info-row__ic svg{width:19px;height:19px}
.info-row__lb{font-size:12.5px;color:var(--ink-50);margin-bottom:2px}
.info-row__vl{font-weight:500;font-size:15px;line-height:1.45}
.info-row__vl a:hover{color:var(--brand)}

/* ============ БЛОК С КАРТОЙ ============ */
.mapcard{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.mapcard__head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 20px;
  border-bottom:1px solid var(--line-soft);
}
.mapcard__title{display:flex;align-items:center;gap:10px}
.mapcard__title-ic{
  width:34px;height:34px;border-radius:10px;
  background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.mapcard__title-ic svg{width:18px;height:18px}
.mapcard__title h3{font-size:15.5px;margin-bottom:1px}
.mapcard__title span{font-size:12.5px;color:var(--ink-50)}
.mapcard__link{
  font-size:13.5px;font-weight:600;color:var(--brand);
  display:flex;align-items:center;gap:5px;white-space:nowrap;
}
.mapcard__link:hover{color:var(--brand-dark)}
.mapcard iframe{display:block;width:100%;border:0;filter:grayscale(.08)}

.prose p{color:var(--ink-70);font-size:16px;line-height:1.75}
.prose h2{margin-bottom:16px}
.prose h3{margin:28px 0 12px}
.prose ul{padding-left:0;list-style:none;margin:0 0 20px}
.prose ul li{
  position:relative;padding-left:28px;margin-bottom:10px;
  color:var(--ink-70);font-size:15.5px;line-height:1.6;
}
.prose ul li::before{
  content:'';position:absolute;left:0;top:8px;
  width:8px;height:8px;border-radius:3px;
  background:var(--brand);
}

/* ============ ОТЗЫВЫ ============ */
.reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.review{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
}
.review__head{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.review__ava{
  width:40px;height:40px;border-radius:50%;
  background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:15px;
  flex-shrink:0;
}
.review__name{font-weight:600;font-size:14.5px}
.review__meta{font-size:12.5px;color:var(--ink-50)}
.review__stars{color:var(--star);font-size:13px;letter-spacing:-1px;margin-bottom:9px}
.review__text{font-size:14.5px;color:var(--ink-70);line-height:1.6}

/* ============ CTA-ПОЛОСА ============ */
.cta-band{
  background:var(--ink);
  color:#fff;
  border-radius:var(--radius);
  padding:38px 40px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  flex-wrap:wrap;
}
.cta-band h2{color:#fff;margin-bottom:8px}
.cta-band p{color:rgba(255,255,255,.66);font-size:15.5px;max-width:480px}
.cta-band__btns{display:flex;gap:12px;flex-wrap:wrap}
.cta-band .btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.24)}
.cta-band .btn--ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}

/* ============ ПОДВАЛ ============ */
.footer{background:var(--surface-2);border-top:1px solid var(--line);padding:44px 0 26px;margin-top:0}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:32px;margin-bottom:32px}
.footer h4{font-size:14px;font-weight:600;margin-bottom:14px}
.footer ul{list-style:none;margin:0;padding:0}
.footer li{margin-bottom:9px}
.footer a{font-size:14.5px;color:var(--ink-50);transition:color .15s}
.footer a:hover{color:var(--brand)}
.footer__about{font-size:14px;color:var(--ink-50);line-height:1.65;margin-top:14px;max-width:290px}
.footer__bottom{
  border-top:1px solid var(--line);
  padding-top:20px;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:13px;color:var(--ink-50);
}
.footer__msg{display:flex;gap:9px;margin-top:16px}

/* ============ НИЖНЯЯ ПАНЕЛЬ (МОБИЛЬНАЯ) ============ */
.mobile-bar{
  display:none;
  position:fixed;bottom:0;left:0;right:0;
  background:var(--surface);
  border-top:1px solid var(--line);
  padding:9px 12px;
  padding-bottom:calc(9px + env(safe-area-inset-bottom));
  z-index:200;
  gap:9px;
  box-shadow:0 -3px 16px rgba(21,23,28,.08);
}
.mobile-bar a{
  flex:1;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:7px 4px;
  border-radius:10px;
  font-size:11px;font-weight:500;
  color:var(--ink-50);
}
.mobile-bar a svg{width:21px;height:21px}
.mobile-bar a.is-call{background:var(--brand);color:#fff;flex:1.5}

/* ============ АДАПТИВ ============ */
@media (max-width:1080px){
  .hero__grid{grid-template-columns:1fr;gap:32px}
  .split{grid-template-columns:1fr;gap:26px}
  .footer__grid{grid-template-columns:1fr 1fr;gap:26px}
}

@media (max-width:900px){
  .header__in{gap:14px;padding:13px 20px;flex-wrap:wrap}
  .rating{display:none}
  .messengers{order:5}
  .burger{display:flex}
  .nav{display:none}
  .nav.is-open{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--surface);z-index:150;overflow-y:auto;padding-top:70px}
  .nav.is-open .nav__list{flex-direction:column;overflow:visible}
  .nav.is-open .nav__list a{padding:16px 4px;font-size:17px;border-bottom:1px solid var(--line-soft)}
}

@media (max-width:720px){
  body{padding-bottom:70px}
  .topbar__nav{display:none}
  .topbar{font-size:12px}
  .mobile-bar{display:flex}
  .header{position:static}
  .header__phone{display:none}
  .section{padding:40px 0}
  .hero{padding:36px 0 32px}
  .cta-band{padding:28px 24px}
  .cta-band__btns{width:100%}
  .cta-band__btns .btn{flex:1}
  .footer__grid{grid-template-columns:1fr;gap:24px}
  .price-row{padding:14px 16px}
  .card{padding:18px}
  .infocard{padding:20px}
  .mapcard iframe{height:260px}
  .mapcard__head{padding:14px 16px}
}

@media (max-width:420px){
  .hero__facts{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
}

/* ============ ДОСТУПНОСТЬ ============ */
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}
