:root {
  --bg: #ffffff;
  --text: #11202d;
  --muted: #5b6778;
  --line: #dbe3ee;
  --accent: #af2300;
  --accent-dark: #8c1c00;
  --brand-blue: #123067;
  --brand-blue-dark: #0c2248;
  --bg-dark: #11202d;
  --surface: #f1f1f1;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(17, 32, 45, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Exo 2", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 56px 0; }
.section--muted { background: var(--surface); }
.section__more { margin-top: 24px; }
.lead { color: var(--muted); font-size: 1.05rem; }

.site-header {
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo__text,
.site-header .header-contacts a,
.site-header .menu a {
  color: #fff;
}

.site-header .menu a:hover {
  color: #ffd4c8;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo__text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-contacts a { color: var(--text); font-weight: 600; }

.main-nav { padding-bottom: 12px; }

.menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  font-weight: 600;
  padding: 6px 0;
}

.menu a:hover { color: var(--accent); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }

.hero {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 55%, #1a4a8a 100%);
  background-image: var(--hero-bg, linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 55%, #1a4a8a 100%));
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 32, 45, 0.65);
}

.hero .container { position: relative; z-index: 1; }

.hero__inner { padding: 72px 0; }
.hero h1 { margin: 0 0 16px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.hero__subtitle { max-width: 720px; opacity: 0.95; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stats__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.stats__item strong { display: block; font-size: 1.5rem; color: var(--accent); }
.stats__item span { color: var(--muted); }

.catalog-hero { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; max-height: 280px; }
.catalog-hero__img { width: 100%; height: 280px; object-fit: cover; }

.catalog-subcats { margin: 28px 0; }
.catalog-subcats__title { font-size: 1.15rem; margin-bottom: 12px; }

.category-card__image,
.product-card__image {
  display: block;
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.category-card__image img,
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__placeholder,
.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(135deg, #eef2f7, #dfe6ef);
}

.category-card__title { margin: 0 0 8px; font-size: 1.05rem; }
.product-card__excerpt { color: var(--muted); font-size: 0.92rem; margin: 0 0 10px; }

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.product-tabs__btn {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
}

.product-tabs__btn.is-active,
.product-tabs__btn:hover {
  color: var(--accent);
  background: rgba(175, 35, 0, 0.08);
}

.product-tabs__panel[hidden] { display: none; }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.product-gallery__item img { border-radius: 8px; }

.related-products { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-products h2 { margin-top: 0; }

.single-product__thumb { border-radius: var(--radius); }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.entry-card,
.product-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-card__image,
.service-card__image { margin-bottom: 12px; border-radius: 8px; overflow: hidden; }

.product-card__price { font-weight: 700; color: var(--accent); }

.feature h3 { margin-top: 0; }

.breadcrumbs {
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs__sep { margin: 0 6px; }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.content h2, .content h3 { margin-top: 1.4em; }

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.request-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.form-success { color: #0a7a3f; font-weight: 600; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cta-block { background: var(--surface); }

.site-footer {
  background: var(--bg-dark, #11202d);
  color: #dbe7f7;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 40px 0 20px;
}

.footer-title { margin: 0 0 8px; color: #fff; }
.site-footer a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 14px 0 24px; font-size: 0.9rem; }

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: #dbe7f7; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 92%);
  margin: 8vh auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

.seo-text { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 900px) {
  .single-layout,
  .contacts-grid,
  .stats { grid-template-columns: 1fr; }
}

.logo__img { max-height: 48px; width: auto; }

.header-search {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 280px;
}

.header-search input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.header-search input::placeholder { color: rgba(255,255,255,0.7); }

.menu--primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.menu__item { position: relative; list-style: none; }

.menu__item--has-sub:hover .submenu,
.menu__item--has-sub.is-open .submenu { display: block; }

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 50;
  list-style: none;
  margin: 0;
}

.submenu a { color: var(--text); display: block; padding: 8px 14px; }

.menu__label { cursor: default; font-weight: 600; color: #fff; }

.menu__item--cta { margin-left: auto; }

.btn--nav { white-space: nowrap; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero__text { opacity: 0.92; max-width: 640px; }

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  text-align: center;
  margin-top: 16px;
}

.hero__badge-num { font-size: 2rem; font-weight: 700; line-height: 1; }

.about-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.about-split__media img { border-radius: var(--radius); width: 100%; }

.callout {
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}

.callout--blue { background: var(--brand-blue); color: #fff; }

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.direction-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}

.direction-card__circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), #1a4a8a);
}

.direction-card--quality {
  grid-column: span 1;
  justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.direction-card--quality p {
  color: #fff;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.section--dark { background: #111; color: #fff; }

.section--dark h2,
.section--dark a { color: #fff; }

.btn--light { border-color: #fff; color: #fff; }

.btn--light:hover { background: #fff; color: var(--text); }

.service-card__num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.service-card__image--round img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }

.catalog-categories--3 { grid-template-columns: repeat(3, 1fr); }

.catalog-seo--split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  margin-bottom: 24px;
}

.catalog-subtitle { margin: 0 0 20px; font-size: 1.2rem; }

.single-layout--product {
  grid-template-columns: 1.2fr 1fr;
}

.single-layout--product .single-layout__media { order: 2; }

.single-layout--product .single-layout__content { order: 1; }

.product-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }

.product-tab-empty { color: var(--muted); font-style: italic; }

.product-tabs__panel--specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-tabs__panel--specs th,
.product-tabs__panel--specs td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}

.product-tabs__panel--specs th { background: var(--surface); }

.product-video-embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 8px;
}

.review-card__scan img { width: 100%; border-radius: 8px; margin-bottom: 10px; }

.review-card__text.is-clamped {
  max-height: 120px;
  overflow: hidden;
}

.review-card__toggle {
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  font-weight: 600;
}

.review-card__meta cite { font-style: normal; font-weight: 700; display: block; }

.review-card__role { color: var(--muted); font-size: 0.9rem; }

.footer-grid--4 { grid-template-columns: repeat(4, 1fr); }

.footer-logo .logo__img { filter: brightness(0) invert(1); }

@media (max-width: 900px) {
  .hero__grid,
  .about-split,
  .catalog-seo--split,
  .directions-grid,
  .footer-grid--4,
  .catalog-categories--3,
  .single-layout--product { grid-template-columns: 1fr; }
  .single-layout--product .single-layout__media { order: 0; }
  .header-search { display: none; }
  .menu__item--cta { margin-left: 0; }
}

@media (max-width: 768px) {
  .burger { display: block; }
  .header-contacts { display: none; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .hero__inner { padding: 48px 0; }
  .submenu { position: static; box-shadow: none; background: transparent; }
  .submenu a { color: #fff; }
}

/* TZ design v1.4 */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.catalog-categories--2 {
  grid-template-columns: repeat(2, 1fr);
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card__image {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 5 / 3;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__date {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.news-card__title { margin: 0 0 8px; font-size: 1.05rem; }

.news-card__excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.portfolio-card__image {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 4 / 3;
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card__excerpt { color: var(--muted); margin: 0 0 12px; }

.category-card__excerpt { color: var(--muted); margin: 0 0 8px; }

.contacts-map {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contacts-map iframe { display: block; border: 0; }

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-blue), #1a4a8a);
  color: #fff;
  padding: 56px 0;
  margin-bottom: 0;
}

.page-hero--services { margin-bottom: 0; }

.page-hero--has-image {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero--has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,39,68,0.2), rgba(15,39,68,0.75));
  z-index: 1;
}

.page-hero--has-image .page-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0;
}

.page-hero__lead { max-width: 640px; opacity: 0.92; }

.single-portfolio__hero { margin: 16px 0 24px; }

.single-portfolio__thumb {
  width: 100%;
  border-radius: var(--radius);
}

.single-portfolio__specs { margin-top: 32px; }

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.related-news { margin-top: 40px; }

.error-404 { text-align: center; padding: 48px 0; }

.error-404__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

.error-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.scroll-top[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

body.lightbox-open {
  overflow: hidden;
}

.lightbox__img {
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.form-error { color: #b00020; margin: 0; }

.form-hint { color: #5b6670; font-size: 0.9em; margin: 0; }

.header-phones a { white-space: nowrap; }

.form-success.is-visible,
.form-success:not([hidden]) { color: #0a7a3f; font-weight: 600; }

body.modal-open { overflow: hidden; }

.product-tabs--accordion .product-tabs__nav { display: none; }

.product-tabs--accordion .product-tabs__panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 12px 14px;
}

.product-tabs--accordion .product-tabs__panel[hidden] {
  display: none;
}

@media (max-width: 1023px) {
  .product-grid,
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-categories--2 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .product-grid,
  .portfolio-grid,
  .news-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .post-navigation { flex-direction: column; }
}

/* Design 1:1 — developer tasks v1.5 */
.menu--primary > .menu__item > a,
.menu--primary > .menu__item > .menu__label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.btn--nav-cta {
  border-radius: 0;
  padding: 12px 18px;
}

.header-search {
  position: relative;
  max-width: 48px;
  flex: 0 0 auto;
}

.header-search__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.header-search:focus-within .header-search__input {
  position: static;
  width: 160px;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 8px 12px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn--hero-outline {
  border-color: #fff;
  color: #fff;
}

.btn--hero-outline:hover {
  background: #fff;
  color: var(--brand-blue);
}

.hero__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-bottom: 16px;
}

.hero__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.stats--home {
  background: transparent;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats--home .stats__item {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  text-align: center;
}

.stats--home .stats__item:last-child { border-right: 0; }

.stats--home .stats__item strong {
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.directions-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.direction-card__circle {
  background-size: cover;
  background-position: center;
  border: 3px solid var(--line);
}

.direction-card__category {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.section--why {
  background: var(--brand-blue);
  color: #fff;
}

.section--why h2,
.section--why h3,
.section--why p,
.section--why .why-subtitle { color: #fff; }

.why-intro {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.why-intro__left { flex: 0 0 38%; }

.why-intro__left h2 { margin-top: 0; }

.why-subtitle {
  font-style: italic;
  opacity: 0.9;
  margin-top: 12px;
}

.why-intro__right { flex: 1; }

.why-intro__right p { margin: 0 0 12px; }

.features--why .feature {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: var(--radius);
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  margin: 0 0 24px;
}

.cta-banner {
  background: var(--accent);
  padding: 52px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-banner p {
  flex: 1;
  min-width: 200px;
  color: #fff;
  margin: 0;
  opacity: 0.95;
}

.btn--white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 14px 32px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

.btn--white:hover {
  background: #fff;
  color: var(--accent);
}

.services-grid--home {
  grid-template-columns: repeat(3, 1fr);
}

.service-card--home .service-card__num { color: #ffd4c8; }

.modal .request-form { max-width: 100%; }

@media (max-width: 900px) {
  .directions-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why-intro { flex-direction: column; gap: 20px; }
  .why-intro__left { flex: none; }
  .services-grid--home { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .stats--home { grid-template-columns: 1fr; }
  .stats--home .stats__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats--home .stats__item:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .directions-grid--4 { grid-template-columns: 1fr; }
}

/* Homepage — align with rusgidravlik.ru screenshot */
.section--surface { background: var(--surface); }

.section--black {
  background: #111;
  color: #fff;
}

.section--black .section-head__title { color: #fff; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.section-head__btn { flex-shrink: 0; }

.hero__aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__badge {
  margin-top: 0;
}

.about-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-figure img { width: 100%; }

.about-figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 18px;
  background: var(--brand-blue);
  color: #fff;
}

.about-figure__caption p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-tile {
  text-align: center;
  color: #fff;
}

.service-tile__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.service-tile__thumb {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.service-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile__thumb--empty {
  background: linear-gradient(135deg, var(--brand-blue), #1a4a8a);
}

.service-tile__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.service-tile__title a { color: #fff; }

.service-tile__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.service-tile__link {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.service-tile__link:hover { color: #fff; }

.features--why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature--icon {
  text-align: center;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
}

.news-list-simple {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.news-item-simple time {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.news-item-simple h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.news-item-simple h3 a { color: var(--text); }

.news-item-simple h3 a:hover { color: var(--accent); }

.news-item-simple p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.reviews-grid--home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reviews-grid--home .review-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
}

.reviews-grid--home .review-card__scan {
  margin: 0;
}

.reviews-grid--home .review-card__body {
  min-width: 0;
}

@media (max-width: 900px) {
  .services-row { grid-template-columns: 1fr; }
  .features--why { grid-template-columns: repeat(2, 1fr); }
  .news-list-simple { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid--home { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .news-list-simple { grid-template-columns: 1fr; }
  .features--why { grid-template-columns: 1fr; }
  .reviews-grid--home .review-card { grid-template-columns: 1fr; }
}

/* v1.6 — markup from saved .ru HTML */
.hero--ru::before { background: rgba(0, 0, 0, 0.55); }

.hero__lead { max-width: 640px; line-height: 1.55; }

.hero__lead strong { display: block; margin-bottom: 8px; font-weight: 700; }

.hero__muted { display: block; color: rgba(255, 255, 255, 0.75); font-weight: 400; }

.hero__promo img { max-width: min(280px, 100%); margin-left: auto; }

.section-head__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-head--light .section-head__subtitle { color: rgba(255, 255, 255, 0.75); }

.section-head__text { flex: 1; min-width: 200px; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.tale-item--area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
  min-height: 140px;
}

.tale-item--area:hover {
  color: var(--accent);
  z-index: 1;
  box-shadow: var(--shadow);
}

.tale-item__label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.tale-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.tale-item-thumb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tale-item--quality {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: var(--brand-blue);
  color: #fff;
  min-height: 140px;
}

.tale-item--quality p {
  margin: 0;
  font-size: 0.88rem;
  color: #fff;
}

.hr-decor {
  width: 50%;
  height: 3px;
  background: var(--accent);
  margin-bottom: 16px;
}

.services-row--tale .tale-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.services-row--tale .tale-item:first-child { border-top: 0; }

.services-row--tale .tale-item-thumb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.btn-arrow::after {
  content: ' →';
}

.stats--home .stats__item small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.stats--home .stats__item span:empty { display: none; }

.cta-banner--ru .cta-banner__title { flex: 0 0 auto; }

.cta-banner--ru .cta-banner__text { flex: 1; }

.about-lead { font-size: 1.05rem; font-weight: 500; }

@media (max-width: 900px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .area-grid { grid-template-columns: 1fr; }
  .services-row--tale .tale-item { flex-direction: column; text-align: center; }
}
