/* =========================================================
   MBprint — corporate site
   Standard HTML/CSS build, structured for an easy WordPress port later.
   ========================================================= */

:root{
  --red: #D2201F;
  --red-dark: #A9130F;
  --navy: #2A2748;
  --navy-2: #3E3A66;
  --ink: #222430;
  --ink-soft: #5B5E6D;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --bg-soft-2: #EFF0F4;
  --border: #E4E5EB;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(30, 24, 60, .08);
  --shadow-sm: 0 4px 14px rgba(30, 24, 60, .06);
  --container: 1180px;
  --gap: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0 0 .5em; line-height: 1.2; font-weight: 800; color: var(--navy); }
p{ margin: 0 0 1em; color: var(--ink-soft); }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section{ padding: clamp(48px, 8vw, 96px) 0; }
.section--soft{
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
}
.section--soft::before{
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg,
    rgba(42,39,72,.05) 0 1px,
    transparent 1px 15px);
  pointer-events: none;
}
.section--soft > .container{ position: relative; z-index: 1; }

/* Services block — faint pattern of service icons + logo mark, barely visible */
.services-pattern{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.section-head{
  max-width: 640px;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(26px, 3.4vw, 38px); }
.section-head p{ font-size: 17px; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(210, 32, 31, .28);
}
.btn--primary:hover{ background: var(--red-dark); }
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn--ghost:hover{ background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover{ background: var(--navy); color: var(--white); }
.btn--block{ width: 100%; }
.btn--sm{ padding: 10px 18px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
}
.topbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar__contacts{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__contacts a{ display: inline-flex; align-items: center; gap: 6px; }
.topbar__contacts a:hover{ color: #fff; }
.topbar__note{ opacity: .8; }
.topbar svg{ width: 15px; height: 15px; flex: none; }

/* ---------- Header ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ width: 44px; height: 44px; border-radius: 12px; }
.brand__name{ font-weight: 800; font-size: 19px; color: var(--navy); line-height: 1.1; }
.brand__tag{ font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.brand--logo img{ width: auto; height: 40px; border-radius: 0; }

.nav{ display: flex; align-items: center; gap: 28px; }
.nav a{
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a:hover{ color: var(--red); }
.nav a.is-active{ color: var(--red); }

.header__actions{ display: flex; align-items: center; gap: 14px; }
.header__phone{ font-weight: 800; font-size: 16px; color: var(--navy); white-space: nowrap; }
.header__phone span{ display:block; font-weight: 500; font-size: 12px; color: var(--ink-soft); }
.header__star{ font-style: normal; color: #F5A623; }

.burger{
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger span, .burger::before, .burger::after{
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.burger::before{ position: absolute; transform: translateY(-6px); }
.burger::after{ position: absolute; transform: translateY(6px); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 62%, #46406f 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(560px 320px at 88% 18%, rgba(210,32,31,.35), transparent 60%),
    radial-gradient(420px 300px at 100% 100%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
/* Diagonal corner accent — echoes the angular stripe motif from the design references,
   redrawn in the brand's own red/navy rather than copied. */
.hero::before, .page-hero::before{
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 44%);
  aspect-ratio: 1 / 1;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  background:
    repeating-linear-gradient(135deg,
      rgba(210,32,31,.9) 0 8px,
      rgba(210,32,31,0) 8px 26px),
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.16) 0 2px,
      rgba(255,255,255,0) 2px 26px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.page-hero::before{ width: min(240px, 38%); opacity: .5; }
.hero .container{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--gap);
  align-items: center;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1{
  color: #fff;
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 18px;
}
.hero h1 em{
  font-style: normal;
  color: var(--red);
  background: linear-gradient(180deg, transparent 62%, rgba(210,32,31,.45) 62%);
}
.hero p.lead{
  color: rgba(255,255,255,.82);
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
}
.hero__stats div b{
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.hero__stats div span{
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.hero__media{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.15);
}
.hero__media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero__media-badge{
  position: absolute;
  left: 18px; bottom: 18px;
  background: #fff;
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__media-badge svg{ width: 22px; height: 22px; color: var(--red); flex: none; }

/* ---------- Logos / trust bar ---------- */
.trustbar{
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.trustbar .container{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item{ display: flex; align-items: center; gap: 12px; }
.trust-item svg{ width: 30px; height: 30px; color: var(--red); flex: none; }
.trust-item b{ display: block; font-size: 15px; color: var(--navy); }
.trust-item span{ font-size: 13px; color: var(--ink-soft); }

/* ---------- Advantages ---------- */
.advantages{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.advantage{
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.advantage::before, .service-card::before, .review-card::before, .catalog-item::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 40%, var(--navy) 100%);
}
.advantage .ic{
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(210,32,31,.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.advantage .ic svg{ width: 24px; height: 24px; }
.advantage h3{ font-size: 17px; margin-bottom: 8px; }
.advantage p{ font-size: 14.5px; margin-bottom: 0; }

/* ---------- Services grid ---------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.service-card{
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .ic{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card .ic svg{ width: 26px; height: 26px; }
.service-card h3{ font-size: 18px; margin-bottom: 8px; }
.service-card p{ font-size: 14.5px; margin-bottom: 14px; flex: 1; }
.service-card__price{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
}
.service-card__link{
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__link svg{ width: 16px; height: 16px; transition: transform .15s ease; }
.service-card:hover .service-card__link svg{ transform: translateX(3px); }

.services-cta{
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Portfolio ---------- */
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.portfolio-item{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  border: 1px solid var(--border);
}
.portfolio-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.portfolio-item:hover img{ transform: scale(1.05); }
.portfolio-item__caption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(20,18,40,.82), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.reviews-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.review-card{
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card__stars{ color: #F5A623; font-size: 15px; letter-spacing: 2px; }
.review-card p{ font-size: 15px; color: var(--ink); margin-bottom: 0; }
.review-card__meta{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.review-card__avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex: none;
}
.review-card__name{ font-weight: 700; font-size: 14.5px; color: var(--navy); }
.review-card__service{ font-size: 12.5px; color: var(--ink-soft); }
.reviews-source{
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Steps / how it works ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
.step{ position: relative; padding-left: 4px; }
.step .num{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.step h3{ font-size: 16.5px; margin-bottom: 6px; }
.step p{ font-size: 14px; margin-bottom: 0; }

/* ---------- Price teaser ---------- */
.price-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table th, .price-table td{
  text-align: left;
  padding: 16px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.price-table th{
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price-table td:last-child, .price-table th:last-child{ text-align: right; white-space: nowrap; font-weight: 800; color: var(--red); }
.price-table tr:last-child td{ border-bottom: none; }
.price-note{
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

/* ---------- CTA band ---------- */
.cta-band{
  position: relative;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(32px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band::before{
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(255,255,255,.07) 0 16px,
    rgba(255,255,255,0) 16px 40px);
  pointer-events: none;
}
.cta-band h2{ color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cta-band p{ color: rgba(255,255,255,.9); margin-bottom: 0; }
.cta-band .btn--primary{ background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn--primary:hover{ background: #f2f2f2; }

/* ---------- Contacts ---------- */
.contacts-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: var(--gap);
  align-items: stretch;
}
.contact-card{
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-card h3{ color: #fff; font-size: 20px; margin-bottom: 2px; }
.contact-row{ display: flex; gap: 14px; align-items: flex-start; }
.contact-row .ic{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-row .ic svg{ width: 20px; height: 20px; color: #fff; }
.contact-row b{ display: block; font-size: 15.5px; }
.contact-row span, .contact-row a{ font-size: 14px; color: rgba(255,255,255,.75); }
.contact-row a:hover{ color: #fff; }
.contact-map{ border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.contact-social{ display: flex; gap: 12px; margin-top: auto; }
.contact-social a{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.contact-social a:hover{ background: rgba(255,255,255,.22); }
.contact-social svg{ width: 20px; height: 20px; color: #fff; }

.form-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-card h3{ font-size: 20px; }
.form-card p.hint{ font-size: 14px; margin-bottom: 22px; }
.field{ margin-bottom: 16px; }
.field label{ display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select{
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.field textarea{ resize: vertical; min-height: 100px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-agree{ font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 18px; }
.form-agree a{ color: var(--red); font-weight: 600; }

/* ---------- Footer ribbon ---------- */
.footer-ribbon{
  height: 34px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background: repeating-linear-gradient(135deg,
    var(--red) 0 22px,
    var(--navy) 22px 44px);
}

/* ---------- Footer ---------- */
.footer{ background: #1C1A33; color: rgba(255,255,255,.65); padding: 52px 0 0; }
.footer__top{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: var(--gap);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .brand__name, .footer .brand__tag{ color: #fff; }
.footer .brand__tag{ color: rgba(255,255,255,.55); }
.footer p{ color: rgba(255,255,255,.55); font-size: 14px; }
.footer h4{ color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer ul li{ margin-bottom: 11px; font-size: 14.5px; }
.footer ul a:hover{ color: #fff; }
.footer .contact-row .ic{ background: rgba(255,255,255,.08); }
.footer .contact-row b{ color: #fff; }
.footer__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: 13px;
}
.footer__bottom a:hover{ color: #fff; }

/* ---------- Breadcrumb / inner page hero ---------- */
.page-hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 40px 0 44px;
}
.page-hero .container{ position: relative; z-index: 1; }
.breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.breadcrumb a:hover{ color: #fff; }
.page-hero h1{ color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.page-hero p{ color: rgba(255,255,255,.75); max-width: 56ch; margin-bottom: 0; }

/* ---------- Catalog (services page) ---------- */
.catalog{ display: flex; flex-direction: column; gap: 20px; }
.catalog-item{
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  scroll-margin-top: 110px;
}
.catalog-item__media{ border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.catalog-item__media img{ width: 100%; height: 100%; object-fit: cover; }
.catalog-item__body{ display: flex; flex-direction: column; }
.catalog-item__head{ display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.catalog-item__head .ic{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.catalog-item__head .ic svg{ width: 22px; height: 22px; }
.catalog-item h3{ font-size: 20px; margin-bottom: 4px; }
.catalog-item__price{
  font-weight: 800;
  color: var(--red);
  font-size: 15px;
  white-space: nowrap;
  background: rgba(210,32,31,.08);
  padding: 8px 14px;
  border-radius: 999px;
}
.catalog-item ul.specs{ display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 14px; }
.catalog-item ul.specs li{
  font-size: 13px;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}
.catalog-item__actions{ margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.catalog-item--noimg{ grid-template-columns: 1fr; }

.catalog-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  position: sticky;
  top: 78px;
  background: #fff;
  padding: 14px 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}
.catalog-nav a{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}
.catalog-nav a:hover{ background: var(--navy); color: #fff; border-color: var(--navy); }

.faq{ display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}
.faq-item summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 20px;
  color: var(--red);
  flex: none;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ margin: 12px 0 0; font-size: 14.5px; }

/* ---------- Utilities ---------- */
.mt-0{ margin-top: 0; }
.center{ text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .advantages{ grid-template-columns: repeat(2, 1fr); }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .reviews-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .hero .container{ grid-template-columns: 1fr; }
  .hero__media{ order: -1; max-width: 480px; }
  .contacts-grid{ grid-template-columns: 1fr; }
  .footer__top{ grid-template-columns: 1fr 1fr; }
  .catalog-item{ grid-template-columns: 1fr; }
  .catalog-item__media{ aspect-ratio: 16/9; }
}

@media (max-width: 760px){
  .nav, .header__phone, .topbar__note{ display: none; }
  .burger{ display: flex; }
  .header.is-open .nav{
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .advantages{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .portfolio-grid{ grid-template-columns: 1fr; }
  .reviews-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .footer__top{ grid-template-columns: 1fr; gap: 28px; }
  .field-row{ grid-template-columns: 1fr; }
  .hero__stats{ grid-template-columns: repeat(3, auto); gap: 18px; }
  .cta-band{ flex-direction: column; align-items: flex-start; text-align: left; }
  .catalog-nav{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .catalog-nav::-webkit-scrollbar{ display: none; }
  .catalog-nav a{ flex: none; white-space: nowrap; }
}
