@font-face {
  font-family: 'Liberation Sans Narrow';
  src: url('../fonts/liberation-sans-narrow-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Liberation Sans Narrow';
  src: url('../fonts/liberation-sans-narrow-bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Liberation Sans Narrow';
  src: url('../fonts/liberation-sans-narrow-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --red: #e30613;
  --dark: #08111b;
  --text: #121820;
  --muted: #5f6873;
  --line: #e2e7ec;
  --bg: #f8fafc;
  --max: 1280px;
  --font: 'Liberation Sans Narrow', 'Arial Narrow', 'Roboto Condensed', 'Segoe UI Condensed', Arial, sans-serif;
  --brand-strip-line: 3px;
  --brand-strip-height: calc(var(--brand-strip-line) * 3);
  --brand-strip-red: #ff0b17;
  --brand-strip-blue: #1630c2;
  --brand-strip-yellow: #f3b813;
  --title-accent-width: 4px;
  --title-accent-left: -16px;
  --title-accent-top: -2px;
  --title-accent-bottom: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 90px;
  background: #fff;
  border-bottom: 1px solid #d7dde4;
}

.header__inner {
  width: min(calc(100% - 56px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.brand {
  flex: 0 0 310px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 115px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-top: 35px;
}

.brand small {
  display: block;
  font: 600 14px/1.18 var(--font);
  text-transform: uppercase;
  letter-spacing: .1px;
  color: #111;
  text-align: center;
}

.brand small em {
  color: var(--red);
  font-style: normal;
  font-size: 35px;
  font-weight: 900;
  -webkit-text-stroke: 3px #000;
  letter-spacing: 3px;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.brand b {
  display: block;
  font: 600 28px/1 var(--font);
  color: var(--red);
  letter-spacing: .2px;
}

.menu {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.menu a {
  position: relative;
  padding: 49px 0 46px;
  font: 600 16px/1.15 var(--font);
  white-space: nowrap;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}

.header__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  display: grid;
  justify-items: end;
  text-align: right;
  white-space: nowrap;
}

.phone b {
  display: block;
  font: 600 26px/1.25 var(--font);
  letter-spacing: .05px;
  color: #050b12;
}

.phone span {
  display: block;
  width: 100%;
  text-align: right;
  font: 600 12px/1.25 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 2px 28px 0;
  border: 0;
  background: linear-gradient(180deg, #f01722, #d5000b);
  color: #fff;
  font: 600 18px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: pointer;
  transition: filter .2s ease;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 1), 0 -1px 0 rgba(255, 255, 255, .16);
}

.btn:hover {
  filter: brightness(110%);
}

.header-btn {
  height: 58px;
  min-width: 178px;
  text-align: center;
  border: 2px solid #000;
  box-sizing: border-box;
}

.btn--small {
  min-height: 48px;
}

.cabinet {
  min-width: 62px;
  display: grid;
  place-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
}

.cabinet img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.mobile-call {
  display: none;
  width: 42px;
  height: 42px;
  color: #111;
  align-items: center;
  justify-content: center;
}

.mobile-call svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.burger {
  display: none;
  width: 44px;
  height: 40px;
  margin-left: auto;
  border: 0;
  background: none;
}

.burger span {
  display: block;
  height: 3px;
  margin: 8px 0;
  background: #111;
}

.nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: 525px;
  min-height: 525px;
  overflow: hidden;
  background: #0c0c0a;
}

.hero__slider,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slider {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.hero__slider.is-dragging {
  cursor: grabbing;
}

.hero__slide {
  background-position: center center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity .45s ease;
  will-change: opacity;
}

.hero__slide--1 {
  background-image: url('../img/hero-slide-1.jpg');
}

.hero__slide--2 {
  background-image: url('../img/hero-slide-2.jpg');
}

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0c0c0a 0%, rgba(12, 12, 10, .74) 5%, rgba(12, 12, 10, .20) 13%, rgba(12, 12, 10, 0) 20%, rgba(12, 12, 10, 0) 80%, rgba(12, 12, 10, .20) 87%, rgba(12, 12, 10, .74) 95%, #0c0c0a 100%),
    linear-gradient(180deg, rgba(12, 12, 10, .18) 0%, rgba(12, 12, 10, 0) 12%, rgba(12, 12, 10, 0) 88%, rgba(12, 12, 10, .18) 100%);
}


.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  height: 398px;
  padding: 54px 64px 44px;
  margin-bottom: 48px;
  color: #fff;
  border: 1px solid rgba(125, 125, 125, 0.55);
  border-radius: 22px;
  background: rgba(16, 24, 32, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.red-corner {
  display: block;
  position: absolute;
  left: 36px;
  top: 50px;
  width: 4px;
  height: 104px;
  background: var(--red);
}

.hero-title {
  max-width: 620px;
  margin: 0 0 24px;
  color: #fff;
  font: 600 clamp(40px, 3vw, 48px)/1.08 var(--font);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}

.hero p,
.hero-subtitle {
  margin: 0 0 34px;
  font-weight: 400;
  color: rgba(255,255,255,.94);
  font-size: 22px;
  line-height: 1.28;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.hero__btn {
  min-width: 295px;
  height: 70px;
  font-size: 25px;
}

.hero__video {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #121820;
}

.hero__video span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  position: relative;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.hero__video span::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 11px;
  border-left: 11px solid var(--red);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.hero__video b {
  font: 600 16px/1.1 var(--font);
  text-transform: uppercase;
}

/* Hero metrics */
.hero-metrics {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  padding: 0;
}

.hero-metrics::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 39px);
  z-index: 1;
  height: var(--brand-strip-line);
  box-sizing: content-box;
  background: var(--brand-strip-yellow);
  border-top: var(--brand-strip-line) solid var(--brand-strip-blue);
  border-bottom: var(--brand-strip-line) solid var(--brand-strip-red);
  pointer-events: none;
}


.hero-metrics__inner {
  position: relative;
  z-index: 2;
  min-height: 96px;
  margin-top: -64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #fff;
  border: 1px solid #e1e5ea;
  box-shadow: 0 10px 30px rgba(12, 20, 28, .06);
}

.hero-metric {
  min-height: 100px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  border-left: 1px solid #dfe5eb;
}

.hero-metric:first-child {
  border-left: 0;
}

.hero-metric__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-metric__icon:not(img) {
  display: block;
  max-width: 42px;
  max-height: 42px;
}

.hero-metric__text b {
  display: block;
  color: #111;
  font: 600 31px/1 var(--font);
  white-space: nowrap;
}

.hero-metric__text span {
  display: block;
  margin-top: 4px;
  color: #242b33;
  font-size: 15px;
}

/* Sections */
.section {
  padding: 76px 0;
  background: #fff;
}

.section-title,
.calc-title h2,
.licenses-title,
.people-tech__title {
  position: relative;
}

.section-title::before,
.calc-title h2::before,
.licenses-title::before,
.people-tech__title::before {
  content: '';
  position: absolute;
  left: var(--title-accent-left);
  top: var(--title-accent-top);
  bottom: var(--title-accent-bottom);
  width: var(--title-accent-width);
  background: var(--red);
}

.section-title {
  margin: 0 0 30px;
  color: #0c1722;
  font: 600 clamp(28px, 2.5vw, 42px)/1.05 var(--font);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Services */
.services {
  padding-top: 60px;
  padding-bottom: 26px;
}

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

.service {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  background: #111;
  box-shadow: 0 5px 22px rgba(12, 20, 28, .08);
}

.service::after,
.object-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .70) 100%);
}

.service::before,
.object-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -45%;
  z-index: 3;
  display: block;
  width: 25%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,.34) 100%);
  transform: skewX(-25deg);
}

.service:hover::before,
.object-card:hover::before {
  animation: shine .75s ease;
}

.service:hover img,
.object-card:hover img {
  transform: scale(1.035);
}

@keyframes shine {
  0% { left: -45%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

.service img,
.object-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  will-change: transform;
}

.service h3 {
  position: absolute;
  left: 16px;
  right: 12px;
  bottom: 15px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font: 600 clamp(22px, 1.28vw, 24px)/1.14 var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 3px 10px rgba(0,0,0,.55);
}

/* Teasers */
.teasers {
  padding: 0 0 30px;
  background: #fff;
}

.teasers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.teaser {
  min-height: 82px;
  padding: 6px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: 1px solid #cfd7df;
}

.teaser:first-child {
  border-left: 0;
}

.teaser__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--red);
}

.teaser__icon svg,
.teaser__icon img {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teaser__icon img {
  object-fit: contain;
}

.teaser span {
  color: #101820;
  font: 600 14px/1.3 Arial, Helvetica, sans-serif;
}

/* Calculator */
.calc-band {
  background: linear-gradient(90deg, #07121d, #0d2032);
  color: #fff;
}

.calc-band__inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: center;
  padding: 0;
}

.calc-title {
  position: relative;
}


.calc-title h2 {
  margin: 0 0 12px;
  font: 600 34px/1.05 var(--font);
  text-transform: uppercase;
}

.calc-title p {
  margin: 0;
  color: #dbe4ed;
  font-size: 13px;
}


.form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.calc-band .form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) 180px;
}

.form input,
.form select {
  height: 50px;
  padding: 0 16px;
  border: 1px solid #cfd7df;
  background: #fff;
  color: #111;
  outline: none;
  width: 100%;
  min-width: 0;
}

.form button {
  min-width: 0;
}


.form input:focus,
.form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .13);
}

.agree {
  grid-column: 1 / -1;
  color: #dce4ec;
  font-size: 13px;
}

.agree input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.agree a {
  text-decoration: underline;
}

.calc-phone {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.3);
}

.calc-phone span {
  display: block;
  margin-bottom: 10px;
  font: 600 15px/1.2 var(--font);
  text-transform: uppercase;
}

.calc-phone b {
  display: block;
  font-size: 25px;
  line-height: 1.25;
}

/* Objects */
.object-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.object-card {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #111;
}

.object-type-card {
  height: auto;
  aspect-ratio: 596 / 424;
}

.object-type-card::after {
  display: none;
}

.object-type-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 38%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(9,17,25,.78) 100%);
}

.object-card h3 {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 102px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  font: 600 28px/1.12 var(--font);
  text-transform: uppercase;
}

.object-type-card__btn {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 7px 0 15px;
  background: var(--red);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 1), 0 -1px 0 rgba(255, 255, 255, .16);
}


.objects {
  padding-bottom: 40px;
}

/* Info section */
.info-section {
  padding: 0 0 70px;
  background: #fff;
}

.info-top {
  display: grid;
  grid-template-columns: 752px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Left MAX bot card (visual order) */
.bot-card {
  height: 453px;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 22px 20px 24px;
  overflow: hidden;
  background: #f6f6f6;
  border: 1px solid #eeeeee;
}

.bot-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.bot-phone img {
  width: 176px;
  max-width: 176px;
  max-height: 332px;
  object-fit: contain;
}

.bot-card__content {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bot-title {
  margin: 0 0 8px;
  color: #071019;
  font: 600 29px/1.08 var(--font);
  text-transform: uppercase;
  letter-spacing: .75px;
}

.bot-subtitle {
  margin: 0 0 14px;
  color: var(--red);
  font: 600 14px/1.12 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.bot-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.bot-list li {
  position: relative;
  padding-left: 20px;
  color: #111820;
  font: 400 14px/2.2 Arial, Helvetica, sans-serif;
}

.bot-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--red);
  font-weight: 600;
}

/* Messenger panel stays in the original text column; parent dimensions are unchanged. */
.bot-card .bot-messengers {
  width: 100%; min-width: 0; margin-top: auto; padding: 10px;
  background: #fff; border: 1px solid #dfe4e8; flex-shrink: 0;
}
.bot-messengers__title {
  margin: 0 0 10px; padding-left: 7px; border-left: 3px solid var(--red);
  color: #07121d; font: 700 18px/1.2 var(--font); text-transform: uppercase;
}
.bot-messengers__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.bot-messengers__link {
  display: flex; align-items: center; gap: 5px; min-width: 0; padding: 8px 6px;
  border: 1px solid #dfe4e8; border-radius: 2px; color: #101820;
  font: 700 16px/1.2 var(--font); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
a.bot-messengers__link:hover, a.bot-messengers__link:focus-visible { border-color: var(--red); box-shadow: 0 3px 12px #07121d12; }
.bot-messengers__icon { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
.bot-messengers__arrow { margin-left: auto; font: 22px/1 Arial,sans-serif; color: var(--red); }

/* Right trust card */
.trust-card {
  height: 453px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  align-items: start;
  padding: 26px 29px 29px;
  overflow: hidden;
  background: #fbfcfd;
  border: 1px solid rgba(222,222,222,.72);
  border-radius: 4px;
}

.trust-main {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.trust-title-row {
  margin: 0 0 14px;
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.title-accent {
  width: var(--title-accent-width);
  flex: 0 0 var(--title-accent-width);
  align-self: stretch;
  margin: var(--title-accent-top) 0 var(--title-accent-bottom);
  background: var(--red);
}

.trust-title {
  margin: 0;
  color: #071019;
  font: 600 29px/1.08 var(--font);
  text-transform: uppercase;
  letter-spacing: .7px;
}

.trust-text p {
  margin: 0 0 16px;
  color: #111820;
  font: 400 14px/1.38 Arial, Helvetica, sans-serif;
}

.trust-note {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f6f6f6;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.trust-note img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.trust-note b {
  display: block;
  color: #101820;
  font: 600 13px/1.15 Arial, Helvetica, sans-serif;
}

.trust-note span {
  display: block;
  margin-top: 3px;
  color: #101820;
  font: 400 11.5px/1.2 Arial, Helvetica, sans-serif;
}

.trust-features {
  margin: 0;
  padding: 0 0 0 20px;
  align-self: stretch;
  overflow: hidden;
  border-left: 1px solid #d9d9d9;
  list-style: none;
}

.trust-feature {
  min-height: 97px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #dddddd;
}

.trust-feature:last-child {
  border-bottom: 0;
}

.trust-feature img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.trust-feature b {
  display: block;
  color: #071019;
  font: 600 16px/1.08 var(--font);
  text-transform: uppercase;
  letter-spacing: .45px;
}

.trust-feature span {
  display: block;
  margin-top: 4px;
  color: #111820;
  font: 400 12.2px/1.26 Arial, Helvetica, sans-serif;
}


/* Licenses */
.licenses-section {
  background: #fff;
  padding: 58px 0 62px;
}

.licenses-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.licenses-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.licenses-info {
  min-width: 0;
}


.licenses-title {
  margin: 0 0 26px;
  color: #0c1722;
  font: 600 36px/1.05 var(--font);
  text-transform: uppercase;
  letter-spacing: .9px;
  white-space: nowrap;
}

.licenses-info p {
  margin: 0 0 18px;
  max-width: 310px;
  color: #1b242d;
  font: 400 14px/1.55 Arial, Helvetica, sans-serif;
}

.licenses-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #101820;
}

.proof-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--red);
}

.proof-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.licenses-proof strong {
  font: 600 15px/1.25 Arial, Helvetica, sans-serif;
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.license-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.license-image {
  min-height: 250px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e2e5e8;
  box-shadow: 0 6px 16px rgba(12, 20, 28, .045);
}

.license-image img {
  width: 100%;
  height: 235px;
  object-fit: contain;
}

.license-card h3 {
  min-height: 42px;
  margin: 14px 0 0;
  color: #101820;
  font: 500 15px/1.32 Arial, Helvetica, sans-serif;
}

.license-line {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 12px;
  background: var(--red);
}


/* People and equipment */
.people-tech {
  margin-top: 40px;
  padding: 42px 36px;
  display: grid;
  grid-template-columns: 210px 1fr 1fr 300px;
  gap: 28px;
  align-items: stretch;
  background: #f6f6f6;
}

.people-tech__intro {
  position: relative;
  display: flex;
  flex-direction: column;
}


.people-tech__title {
  margin: 0 0 24px;
  color: #111820;
  font: 600 32px/1.1 var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.people-tech__intro p {
  margin: 0 0 28px;
  color: #151b22;
  font-size: 15px;
  line-height: 1.55;
}

.people-tech__intro a {
  color: var(--red);
  font-weight: 600;
}

.people-tech__photo img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.people-tech__list {
  display: grid;
}

.people-tech__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0;
  border-top: 1px solid #d4dbe2;
}

.people-tech__item:first-child {
  border-top: 0;
}

.people-tech__item svg,
.people-tech__item img {
  width: 38px;
  height: 38px;
  stroke: #111820;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.people-tech__item img {
  object-fit: contain;
}

.people-tech__item span {
  font-size: 16px;
  line-height: 1.45;
}

/* Blog */
.blog {
  background: #f6f8fa;
}

.section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.blog-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d7dde4;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(.85);
}


.blog-card h3 {
  margin: 20px 22px;
  font: 400 18px/1.25 Arial, Helvetica, sans-serif;
}

.blog-card a {
  margin: auto 22px 24px;
  font-weight: 700;
  text-decoration: underline;
}

/* Bottom CTA */
.bottom-cta {
  color: #fff;
  background: linear-gradient(90deg, rgba(5,16,28,.96), rgba(5,16,28,.88));
  margin-bottom: 40px;
}

.bottom-cta__inner {
  min-height: 250px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.bottom-cta .section-title {
  color: #fff;
}

.cta-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 220px);
}

.cta-form .agree {
  grid-column: 1 / 4;
}

.cta-form .btn {
  grid-column: 4;
  grid-row: 1;
}

/* Footer */
.footer {
  background: #f6f8fa;
  position: relative;
  padding-top: var(--brand-strip-height);
}

.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: var(--brand-strip-line);
  box-sizing: content-box;
  background: var(--brand-strip-yellow);
  border-top: var(--brand-strip-line) solid var(--brand-strip-blue);
  border-bottom: var(--brand-strip-line) solid var(--brand-strip-red);
  pointer-events: none;
}


.footer-grid {
  padding: 50px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(320px, 1.2fr);
  gap: 34px;
}

.footer h4 {
  margin: 0 0 22px;
  font: 600 18px/1 var(--font);
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 11px;
  color: #1f2a35;
}

.footer .footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.footer-brand img {
  width: 105px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px;
}


.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  padding: 18px 22px;
  color: #fff;
  background: #0b1c2c;
  border-left: 5px solid var(--red);
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
  transform: translateY(120px);
  transition: .25s;
}

.toast.show {
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 1320px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header__inner {
    width: min(calc(100% - 32px), var(--max));
    gap: 16px;
  }

  .brand {
    flex-basis: 285px;
  }

  .brand small {
    font-size: 13px;
  }

  .brand b {
    font-size: 27px;
  }

  .menu {
    gap: 22px;
  }

  .menu a {
    font-size: 15px;
  }

  .phone b {
    font-size: 23px;
  }

  .phone span {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .header-btn {
    min-width: 150px;
    font-size: 17px;
  }

  .cabinet {
    min-width: 55px;
  }
}

@media (max-width: 1180px) {
  .calc-band__inner,
  .bottom-cta__inner,
  .info-top {
    grid-template-columns: 1fr;
  }

  .calc-band .form,
  .cta-form {
    grid-template-columns: 1fr 1fr;
  }

  .calc-phone {
    display: block;
  }

  .cta-form .agree,
  .cta-form .btn {
    grid-column: auto;
    grid-row: auto;
  }

  .bot-card {
    height: auto;
    grid-template-columns: 210px 1fr;
    padding: 28px 26px;
  }

  .trust-card {
    height: auto;
    grid-template-columns: 1fr;
  }

  .trust-features {
    border-left: 0;
    border-top: 1px solid #d9d9d9;
    padding: 20px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 0 24px;
  }

  .people-tech {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1041px) and (max-width: 1180px) {
  .header__inner {
    gap: 12px;
  }

  .brand {
    flex-basis: 255px;
    gap: 12px;
  }

  .brand img {
    height: 108px;
  }

  .brand small {
    font-size: 12px;
    line-height: 1.12;
  }

  .menu {
    gap: 16px;
  }

  .menu a {
    font-size: 14px;
  }

  .header__right {
    gap: 12px;
  }

  .phone b {
    font-size: 20px;
    line-height: 1.15;
  }

  .phone span {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .header-btn {
    min-width: 132px;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    font-size: 15px;
  }

  .cabinet {
    min-width: 48px;
    font-size: 9px;
  }
}

@media (max-width: 1040px) {
  .header {
    height: auto;
  }

  .header__inner {
    min-height: 86px;
  }

  .brand {
    flex: 0 1 auto;
  }

  .brand img {
    width: 60px;
    height: 70px;
    margin-top: 0;
  }

  .brand small {
    font-size: 13px;
  }

  .brand b {
    font-size: 24px;
  }

  .burger {
    display: block;
    margin-left: 0;
  }

  .mobile-call {
    margin-left: auto;
    display: flex;
  }


  .menu,
  .phone,
  .cabinet {
    display: none;
  }

  .header__right {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(12, 20, 28, .12);
  }

  .nav.open {
    display: block;
  }

  .nav__inner {
    padding: 18px 0;
    display: grid;
    gap: 0;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 600 18px/1.2 var(--font);
  }

  .nav .btn {
    margin-top: 14px;
  }

  .nav__contacts {
    margin-top: 16px;
    display: grid;
    gap: 2px;
    text-align: left;
  }

  .nav__phone {
    padding: 0 !important;
    border-bottom: 0 !important;
    color: #050b12;
    font: 600 22px/1.2 var(--font);
  }

  .nav__hours {
    color: var(--red);
    font: 400 12px/1.2 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
  }

  .hero {
    height: 560px;
    min-height: 560px;
  }

  .hero__slide {
    background-position: center top;
    background-size: auto 100%;
  }

  .hero__copy {
    max-width: 500px;
    height: 374px;
    padding: 56px 48px 42px;
    margin-bottom: 42px;
  }

  .hero-title {
    font-size: 44px;
  }

  .red-corner {
    top: 60px;
    height: 96px;
  }

  .hero p,
.hero-subtitle {
    font-size: 18px;
  }

  .hero-metrics__inner {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metric:nth-child(odd) {
    border-left: 0;
  }

  .hero-metric:nth-child(-n+2) {
    border-bottom: 1px solid #dfe5eb;
  }

  .licenses-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .licenses-title {
    font-size: 34px;
  }

  .licenses-info p {
    max-width: 640px;
  }

  .licenses-proof {
    margin-top: 22px;
  }

  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 641px) and (max-width: 900px) {
  .services-grid,
  .object-grid,
  .blog-grid,
  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service {
    aspect-ratio: 4 / 3;
  }

  .hero-metrics__inner,
  .teasers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 52px 0;
  }

  .header-btn {
    display: none;
  }

  .hero {
    height: 520px;
    min-height: 520px;
  }

  .hero__slide {
    background-position: 58% center;
  }

  .hero__slide::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .46) 55%, rgba(0, 0, 0, .14) 100%);
  }

  .hero__copy {
    max-width: 360px;
    height: auto;
    padding: 54px 28px 34px;
    margin-bottom: 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-title {
    max-width: 330px;
    color: #fff;
    font-size: 34px;
    line-height: 1.03;
  }

  .hero p,
.hero-subtitle {
    max-width: 320px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
  }

  .red-corner {
    left: 10px;
    top: 49px;
    height: 72px;
  }

  .hero__btn {
    min-width: 230px;
    height: 58px;
    font-size: 19px;
  }

  .teasers__grid,
  .hero-metrics__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaser {
    border-top: 1px solid #dfe5eb;
    border-left: 0;
    padding: 14px 8px;
  }

  .teaser:first-child {
    border-top: 0;
  }

  .calc-title h2,
  .section-title,
  .licenses-title,
  .people-tech__title {
    padding-left: 18px;
  }

  .section-title::before,
  .calc-title h2::before,
  .licenses-title::before,
  .people-tech__title::before {
    left: 0;
    top: var(--title-accent-top);
    bottom: var(--title-accent-bottom);
    height: auto;
  }

  .calc-band,
  .bottom-cta {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .licenses-section {
    padding: 46px 0 50px;
  }

  .licenses-container {
    padding: 0 14px;
  }

  .licenses-title {
    padding-left: 18px;
    margin-bottom: 22px;
    font-size: 30px;
  }

  .licenses-info p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .license-image {
    min-height: 250px;
  }

  .license-image img {
    height: 230px;
  }

  .license-card h3 {
    font-size: 14px;
  }

  .people-tech {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .people-tech__item {
    padding: 22px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 420px) {
  .hero-title {
    max-width: 330px;
    font-size: 31px;
  }

  .red-corner {
    top: 52px;
    height: 66px;
  }
}

/* WordPress integration and inner templates */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  color: #fff;
  background: #111;
}

.menu,
.nav__menu,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu .sub-menu,
.nav__menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li { position: relative; }
.menu .sub-menu {
  position: absolute;
  top: calc(100% - 22px);
  left: -18px;
  min-width: 230px;
  padding: 10px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(0,0,0,.12);
  transition: .2s ease;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu .sub-menu a { display: block; padding: 10px 0; }
.menu .sub-menu a::after { bottom: 4px; }
.nav__menu .sub-menu { padding-left: 18px; }

.footer__heading {
  margin: 0 0 22px;
  font: 600 18px/1 var(--font);
  text-transform: uppercase;
}
.footer-menu li { margin: 0; }

.hero__slide::after { z-index: 0; }
.hero__inner { z-index: 1; }
.hero__slider { z-index: 1; }
.hero-title { margin-top: 0; }
.hero-metric__text strong {
  display: block;
  font: 700 27px/1 var(--font);
  color: #111;
}
.calc-phone a {
  display: block;
  margin: 3px 0;
  font: 600 20px/1.15 var(--font);
}

.empty-section-notice,
.form-setup-notice {
  padding: 12px 16px;
  border-left: 4px solid var(--red);
  background: rgba(255,255,255,.12);
}

/* Contact Form 7 */
.shchit-cf7 { display: block; }
.shchit-cf7 .wpcf7 { width: 100%; }
.shchit-cf7 .wpcf7 { position: relative; }
.shchit-cf7 .wpcf7-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.shchit-cf7 .wpcf7-form > p,
.shchit-cf7 .shchit-form-fields > p { display: contents; }
.shchit-form-fields { display: contents; }
.shchit-cf7 label { display: block; min-width: 0; }
.shchit-cf7 .wpcf7-form-control-wrap { position: relative; display: block; }
.shchit-cf7 input:not([type="checkbox"]):not([type="submit"]),
.shchit-cf7 select,
.shchit-cf7 textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd7df;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 16px/1.3 Arial, Helvetica, sans-serif;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.shchit-cf7 input:not([type="checkbox"]):not([type="submit"]),
.shchit-cf7 select { height: 50px; padding: 0 16px; }
.shchit-cf7 textarea { min-height: 50px; padding: 13px 16px; resize: vertical; }
.form.shchit-cf7 .wpcf7 input.wpcf7-form-control:not([type="checkbox"]):not([type="submit"]),
.form.shchit-cf7 .wpcf7 select.wpcf7-form-control,
.form.shchit-cf7 .wpcf7 textarea.wpcf7-form-control {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd7df;
  border-radius: 0;
  background-color: #fff;
  color: #111;
  font: 16px/1.3 Arial, Helvetica, sans-serif;
}
.form.shchit-cf7 .wpcf7 input.wpcf7-form-control:not([type="checkbox"]):not([type="submit"]),
.form.shchit-cf7 .wpcf7 select.wpcf7-form-control {
  height: 50px;
  padding: 0 16px;
}
.form.shchit-cf7 .wpcf7 textarea.wpcf7-form-control {
  min-height: 50px;
  padding: 13px 16px;
}
.shchit-cf7 ::placeholder { color: #6b747d; opacity: 1; }
.shchit-cf7 select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #39434d 50%), linear-gradient(135deg, #39434d 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
.shchit-cf7 input.wpcf7-submit {
  width: 100%;
  min-height: 50px;
  padding: 2px 24px 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f01722, #d5000b);
  color: #fff;
  font: 600 18px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: pointer;
  text-shadow: 0 1px 1px #000, 0 -1px 0 rgba(255,255,255,.16);
}
.shchit-cf7 input.wpcf7-submit:hover { filter: brightness(110%); }
.shchit-cf7 input:focus,
.shchit-cf7 select:focus,
.shchit-cf7 textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.13); }
/* CF7 service nodes must never create empty grid rows. */
.shchit-cf7 .wpcf7-form { position: relative; align-items: start; }
.shchit-cf7 .wpcf7-form > .hidden-fields,
.shchit-cf7 .wpcf7-form > fieldset.hidden-fields,
.shchit-cf7 input[type="hidden"],
.shchit-cf7 .wpcf7-form > br,
.shchit-cf7 .wpcf7-form > p > br,
.shchit-cf7 .shchit-form-fields > br,
.shchit-cf7 .shchit-form-fields > p > br { display: none !important; }
.shchit-cf7 .wpcf7-spinner {
  position: absolute; right: 8px; bottom: -30px; margin: 0;
}
.calc-band__inner > .shchit-cf7,
.bottom-cta__inner > .shchit-cf7 { align-self: center; }
/* Hide field-error text visually while preserving accessible validation. */
.shchit-cf7 .wpcf7-not-valid-tip,
.shchit-cf7 .wpcf7-form.invalid .wpcf7-response-output,
.shchit-cf7 .wpcf7-form.unaccepted .wpcf7-response-output {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}
/* Match the base input selector, then add the invalid state so it wins the cascade. */
.form.shchit-cf7 .wpcf7 input.wpcf7-form-control.wpcf7-not-valid:not([type="checkbox"]):not([type="submit"]),
.form.shchit-cf7 .wpcf7 select.wpcf7-form-control.wpcf7-not-valid,
.form.shchit-cf7 .wpcf7 textarea.wpcf7-form-control.wpcf7-not-valid {
  border-color: #ff3347;
  outline: 2px solid #ff3347;
  outline-offset: 0;
  box-shadow: 0 0 0 1px #ff3347;
}
.shchit-cf7 .agree .wpcf7-not-valid input[type="checkbox"],
.shchit-cf7 .agree input[type="checkbox"][aria-invalid="true"],
.shchit-cf7 .wpcf7-form.unaccepted .agree input[type="checkbox"]:not(:checked) {
  outline: 2px solid #ef233c; outline-offset: 2px;
}
.shchit-cf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 10px 12px !important; }
.shchit-cf7 .wpcf7-response-output:empty { display: none !important; }
.shchit-cf7 .agree { grid-column: 1 / -1; margin: 0; }
.shchit-cf7 .agree > p { margin: 0; }
.shchit-cf7 .agree .wpcf7-list-item { margin: 0; }

.shchit-cf7 .agree label { display: flex; align-items: flex-start; gap: 8px; }
.shchit-cf7 .agree input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; }
.shchit-cf7 .agree input[type="checkbox"] {
  border: 1px solid #aeb8c1;
  border-radius: 2px;
  background: #fff;
  accent-color: var(--red);
}
.shchit-cf7 .agree a { text-decoration: underline; }
.calc-band .shchit-cf7 .wpcf7-form { grid-template-columns: repeat(3, minmax(0, 1fr)) 180px; }
.calc-band .shchit-cf7 .wpcf7-submit { grid-column: 4; grid-row: 1; }
.cta-form .wpcf7-form { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 220px); }
.cta-form .shchit-message-field textarea { height: 50px; min-height: 50px; }
.cta-form .shchit-message-field textarea {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cta-form .shchit-message-field textarea::-webkit-scrollbar { display: none; width: 0; height: 0; }
.cta-form .wpcf7-submit { grid-column: 4; grid-row: 1; }

/* Request modal */
body.modal-open { overflow: hidden; }
.request-modal[hidden] { display: none; }
.request-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}
.request-modal__backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(4,10,16,.78);
  backdrop-filter: blur(4px);
  transition: opacity .18s ease;
}
.request-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 38px;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  transition: opacity .18s ease, transform .18s ease;
}
.request-modal.is-open .request-modal__backdrop,
.request-modal.is-open .request-modal__dialog { opacity: 1; }
.request-modal.is-open .request-modal__dialog { transform: translateY(0) scale(1); }
.request-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #111;
  font: 400 34px/1 Arial, sans-serif;
  cursor: pointer;
}
.request-modal__heading { margin: 0 34px 24px 0; }
.request-modal__heading h2 { margin: 0 0 8px; font: 700 36px/1.05 var(--font); text-transform: uppercase; }
.request-modal__heading p { margin: 0; color: var(--muted); }
.request-modal .wpcf7-form { grid-template-columns: 1fr 1fr; }
.request-modal .shchit-message-field,
.request-modal .agree,
.request-modal .wpcf7-submit,
.request-modal .wpcf7-response-output { grid-column: 1 / -1; }
.request-modal .agree { color: #47525e; }
.request-modal .wpcf7-not-valid-tip { color: #b4000b; }
.toast:empty { visibility: hidden; }

/* Inner pages */
.inner-main { min-height: 60vh; padding: 44px 0 80px; }
.inner-container { width: min(calc(100% - 40px), 1120px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #63707c; font-size: 14px; }
.breadcrumbs a { color: #a9000a; text-decoration: underline; text-underline-offset: 3px; }
.entry { max-width: 1120px; margin: 0 auto; }
.entry__header { position: relative; margin: 0 0 30px; padding-left: 22px; }
.entry__header::before { content: ''; position: absolute; top: var(--title-accent-top); bottom: var(--title-accent-bottom); left: 0; width: 5px; background: var(--red); }
.entry__title,
.archive-header h1 { margin: 0; font: 600 42px/1.05 var(--font); text-transform: uppercase; letter-spacing: 1.2px; }
.entry__meta { margin: 0 0 8px; color: var(--red); font-weight: 700; }
.entry__hero { margin: 0 0 36px; }
.entry__hero img { width: 100%; max-height: 560px; object-fit: cover; }
.entry__content { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.45; }
.entry__content > *:first-child { margin-top: 0; }
.entry__content h2 { margin: 38px 0 14px; font: 600 32px/1.1 var(--font); letter-spacing: .6px; }
.entry__content h3 { margin: 28px 0 12px; font: 600 24px/1.15 var(--font); }
.entry__content a:not(.btn):not(.text-link) { color: #b4000b; text-decoration: underline; text-underline-offset: 3px; }
.entry__content .lead { color: #33404c; font: 400 18px/1.5 Arial, Helvetica, sans-serif; }
.entry__content blockquote { margin: 30px 0; padding: 22px 28px; border-left: 5px solid var(--red); background: #f5f7f9; }
.entry__content blockquote p { margin-top: 0; }
.entry__content blockquote cite { color: #5d6872; font-size: 15px; }
.entry__content ul,
.entry__content ol { padding-left: 25px; }
.entry__content li { margin-bottom: 8px; }
.entry__footer { margin-top: 34px; }
.post-navigation { display: flex; justify-content: space-between; gap: 30px; margin: 44px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-navigation span:last-child { text-align: right; }
.post-navigation a { font-weight: 700; color: #9d0009; }
.inner-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1120px; margin: 60px auto 0; padding: 30px 34px; color: #fff; background: linear-gradient(100deg, #07121d, #122c42); }
.inner-cta h2 { margin: 0 0 5px; font: 700 30px/1 var(--font); text-transform: uppercase; }
.inner-cta p { margin: 0; color: #d9e2ea; }

.inner-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 38px 0; }
.inner-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #dce2e7; background: #fff; box-shadow: 0 12px 34px rgba(12,20,28,.07); transition: transform .25s ease, box-shadow .25s ease; }
.inner-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(12,20,28,.13); }
.inner-card__image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #101820; }
.inner-card__image::after { content: ''; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(4,10,16,.28)); pointer-events: none; }
.inner-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; transition: transform .45s ease; }
.inner-card:hover .inner-card__image img { transform: scale(1.035); }
.inner-card__body { display: flex; flex: 1; flex-direction: column; padding: 25px 26px 27px; }
.inner-card__body h2 { margin: 0 0 10px; font-size: 25px; }
.inner-card__body p { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
.inner-card__body .text-link { margin-top: auto; }
.text-link { color: #a7000a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.contact-details__item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-left: 4px solid var(--red); background: #f3f5f7; }
.contact-details__item strong { font: 700 21px/1.1 var(--font); text-transform: uppercase; }
.contact-map { width: 100%; height: 300px; margin: 30px 0 38px; overflow: hidden; background: #eef1f3; }
.contact-map iframe { display: block; width: 100% !important; height: 300px !important; border: 0; }

.price-section { margin-top: 50px; }
.price-section h2 { margin: 0 0 12px; font: 700 36px/1.1 var(--font); text-transform: uppercase; }
.price-section__intro { max-width: 760px; color: #54616d; }
.price-table { margin: 24px 0; border-top: 1px solid #d9e0e5; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: center; padding: 20px 22px; border-bottom: 1px solid #d9e0e5; }
.price-row.is-featured { border-left: 5px solid var(--red); background: #f5f7f9; }
.price-row__service,
.price-row__value { display: flex; flex-direction: column; gap: 3px; }
.price-row__service strong { font-size: 18px; }
.price-row__service span,
.price-row__value span { color: #64717d; font-size: 14px; }
.price-row__value { text-align: right; }
.price-row__value strong { color: #b4000b; font: 700 24px/1 var(--font); }
.price-disclaimer { color: #64717d; font-size: 14px; }

.archive-header { margin: 0 0 38px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.archive-header p { max-width: 700px; margin: 12px 0 0; color: #5b6772; font-size: 18px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.archive-card { display: flex; flex-direction: column; min-height: 420px; border: 1px solid #d7dde4; background: #fff; }
.archive-card__image { display: block; height: 210px; overflow: hidden; }
.archive-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.archive-card:hover .archive-card__image img { transform: scale(1.035); }
.archive-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.archive-card__body h2 { margin: 6px 0 12px; font: 700 25px/1.15 var(--font); }
.archive-card__date { color: #9d0009; font-size: 13px; font-weight: 700; }
.archive-card__excerpt { color: #56626e; }
.archive-card__body .text-link { margin-top: auto; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid #d6dde3; }
.page-numbers.current { color: #fff; border-color: var(--red); background: var(--red); }
.search-form { display: flex; gap: 10px; max-width: 620px; margin-top: 22px; }
.search-field { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #cbd3da; font-size: 17px; }
.search-submit { min-height: 52px; }
.empty-state,
.error-404 { max-width: 760px; margin: 40px auto; text-align: center; }
.error-404__code { display: block; color: var(--red); font: 700 clamp(110px, 20vw, 210px)/.8 var(--font); }
.error-404 h1 { margin: 25px 0 12px; font: 700 48px/1 var(--font); text-transform: uppercase; }
.error-404 .search-form { margin: 28px auto; }

.blog-card h3 a { margin: 0; font-weight: inherit; text-decoration: none; }

@media (max-width: 1180px) {
  .calc-band .shchit-cf7 .wpcf7-form,
  .cta-form .wpcf7-form { grid-template-columns: 1fr 1fr; }
  .calc-band .shchit-cf7 .wpcf7-submit,
  .cta-form .wpcf7-submit { grid-column: auto; grid-row: auto; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .nav__menu > li > a { display: block; }
}

@media (max-width: 760px) {
  .request-modal__dialog { padding: 30px 22px 24px; }
  .request-modal .wpcf7-form,
  .calc-band .shchit-cf7 .wpcf7-form,
  .cta-form .wpcf7-form { grid-template-columns: 1fr; }
  .request-modal .shchit-message-field,
  .request-modal .agree,
  .request-modal .wpcf7-submit { grid-column: 1; }
  .inner-main { padding: 28px 0 60px; }
  .inner-container { width: min(calc(100% - 28px), 1120px); }
  .entry__title,
  .archive-header h1 { font-size: 36px; }
  .entry__content { font-size: 16px; }
  .entry__content .lead { font-size: 18px; }
  .inner-cta { align-items: flex-start; flex-direction: column; padding: 26px 22px; }
  .inner-card-grid { grid-template-columns: 1fr; }
  .inner-card__image { aspect-ratio: 16 / 10; }
  .contact-details,
  .archive-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; gap: 8px; padding: 17px 14px; }
  .price-row__value { text-align: left; }
  .post-navigation { flex-direction: column; }
  .post-navigation span:last-child { text-align: left; }
  .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 640px) {
  .services-grid,
  .object-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .calc-band .form,
  .cta-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics__inner,
  .teasers__grid {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    border-left: 0;
    border-bottom: 1px solid #dfe5eb;
  }

  .hero-metric:last-child {
    border-bottom: 0;
  }

  .bot-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .bot-phone img {
    width: 190px;
    max-width: 190px;
  }

  .trust-features {
    grid-template-columns: 1fr;
  }

  .object-type-card h3 {
    left: 20px;
    right: 84px;
    bottom: 18px;
    font-size: 22px;
  }

  .object-type-card__btn {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    font-size: 28px;
  }
}

/* v1.7: editorial service landings, packages and client messengers. */
.related-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 30px 0; }
.related-service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid #dce3e9; background: #fff; border-radius: 3px; overflow: hidden; }
.related-service__image { display: block; aspect-ratio: 1; align-self: start; overflow: hidden; }
.related-service__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.related-service__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; }
.related-service__body h2, .related-service__body h3, .alarm-kit h3 { margin: 0 0 10px; font: 700 23px/1.12 var(--font); text-transform: uppercase; }
.related-service__body p, .alarm-kit p { margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.landing-features { list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; line-height: 1.4; }
.landing-features li { position: relative; padding-left: 20px; margin: 0 0 6px; }
.landing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: bold; }
.related-service__body .btn { margin-top: auto; min-width: 0; padding: 12px 20px; min-height: 40px; font-size: 16px; }
.landing-section-title { position: relative; padding-left: 16px; margin: 32px 0 22px; font: 700 30px/1.15 var(--font); text-transform: uppercase; }
.landing-section-title::before { content: ''; position: absolute; left: 0; top: var(--title-accent-top); bottom: var(--title-accent-bottom); width: var(--title-accent-width); background: var(--red); }
.alarm-kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 36px; }
.alarm-kit { display: flex; flex-direction: column; min-width: 0; padding: 22px 16px 16px; border: 1px solid #dce3e9; background: #fff; }
.alarm-kit__image { margin-top: auto; padding: 12px 0; aspect-ratio: 1.5; display: flex; align-items: center; }
.alarm-kit__image img { width: 100%; height: 100%; object-fit: contain; }
.alarm-kit__price { text-align: center; font: 700 25px/1.2 var(--font); padding: 9px 4px; margin: 0 0 6px; background: #f3f5f7; }
.alarm-kit .btn { width: 100%; min-width: 0; min-height: 44px; padding: 12px 6px; font-size: 16px; }
.landing-after { margin-top: 36px; }
.chatbot-codes { display: flex; justify-content: space-between; gap: 140px; flex-wrap: wrap; margin: 44px 0; }
.chatbot-code { width: 280px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.chatbot-code h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 28px/1.2 var(--font); }
.chatbot-code h2 img { width: 42px; height: 42px; object-fit: contain; }
.chatbot-code__qr { display: block; padding: 16px; background: #fff; }
.chatbot-code__image { display: block; width: 240px; max-width: 100%; height: auto; }
.request-modal__heading .request-modal__selected-kit { color: #07121d; font-weight: 700; padding: 10px; background: #f3f5f7; }
@media (max-width: 1040px) { .related-services { grid-template-columns: 1fr; } .related-service { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }
@media (max-width: 760px) { .alarm-kits { grid-template-columns: 1fr; } .alarm-kit { max-width: 460px; width: 100%; margin: 0 auto; } .chatbot-codes { flex-direction: column; align-items: center; gap: 120px; } }
@media (max-width: 440px) { .related-service { grid-template-columns: 1fr; } .related-service__body { padding: 20px; } }

.alarm-kit__price.is-priced { color: #fff; background: var(--red); }

.related-service__body h2, .related-service__body h3 { font-size: 21px; }

/* v2.0: one inner grid, compact service illustrations and consultation phones. */
.inner-container .entry { width: 100%; max-width: 1120px; }
.inner-container .entry__title { overflow-wrap: anywhere; hyphens: auto; }
.inner-container .entry__content { display: flow-root; }
.entry__content .service-illustration { float: right; width: min(38%, 400px); margin: 6px 0 24px 30px; }
.service-illustration img { display: block; width: 100%; height: auto; border-radius: 3px; }
.inner-cta { width: 100%; }
.inner-cta .calc-band__inner { width: 100%; min-height: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 28px; }
.inner-cta .calc-phone { margin: 0; min-width: 0; text-align: left; }
.inner-cta .calc-phone a { display: block; margin: 0; color: #fff; white-space: nowrap; font-size: 25px; line-height: 1.15; }
.inner-cta .btn { flex-shrink: 0; white-space: nowrap; text-align: center; }
@media (max-width: 1040px) {
  .inner-cta .calc-band__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .inner-cta .calc-band__inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .entry__content .service-illustration { float: none; width: min(100%, 400px); margin: 22px auto; }
  .inner-cta .calc-band__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .inner-cta .btn { justify-self: start; max-width: 100%; white-space: normal; }
}

/* v2.2: original company photos, contained on every viewport. */
.entry__content .about-photo { max-width: 100%; }
.entry__content .about-photo img { display: block; width: 100%; max-width: 100%; height: auto; }
.entry__content .about-photo--fleet { width: 100%; margin: 26px 0 32px; }
.entry__content .about-photo--crew { float: right; width: min(42%, 400px); margin: 6px 0 22px 28px; }
@media (max-width: 600px) {
  .entry__content .about-photo--crew { float: none; width: 100%; margin: 24px 0; }
}
@media (max-width: 359px) {
  .footer .footer-contact { white-space: normal; }
}

/* v2.3: linked blog previews and the matching illustration in the article. */
.blog-card a.blog-card__image { display: block; flex: 0 0 auto; margin: 0; text-decoration: none; }
.entry__content .blog-article-image { width: min(100%, 760px); max-width: 100%; margin: 28px auto; }
.entry__content .blog-article-image img { display: block; width: 100%; height: auto; }

/* v2.5: inactive slide text and links stay outside layout and tab order. */
.hero__copy[hidden] { display: none !important; }
