:root {
  --blue-950: #062b4f;
  --blue-900: #083b70;
  --blue-800: #0a4d8f;
  --blue-700: #1167b1;
  --sky-500: #45b7e8;
  --sky-100: #dff3ff;
  --sky-50: #f6fbff;
  --white: #ffffff;
  --ink: #102033;
  --muted: #5a6b7f;
  --line: #d8e6f1;
  --shadow: 0 20px 45px -28px rgba(8, 59, 112, 0.32);
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Arial", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  text-wrap: pretty;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--blue-900);
  color: var(--white);
  padding: 10px 14px;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 230, 241, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px -28px rgba(8, 59, 112, 0.5);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.nav-link,
.footer-links a {
  color: #3c5067;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-900);
  background: var(--sky-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-socials,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-socials a,
.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-800);
  background: var(--white);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.header-socials a:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--blue-800);
}

.social-icon,
.social-icon svg,
.social-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

.social-icon img,
.qr-link-icon img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.social-icon svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.mobile-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mobile-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--sky-50);
  font-size: 14px;
  font-weight: 800;
}

.header-phone {
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    color 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: var(--white);
  background: var(--blue-800);
  border-color: var(--blue-800);
  box-shadow: 0 14px 24px -18px rgba(8, 59, 112, 0.8);
}

.btn-primary:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--sky-100);
  border-color: #b9def1;
}

.btn-secondary:hover {
  background: #caecfb;
}

.btn-ghost {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #a9d6ee;
  background: var(--sky-50);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0;
  place-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0;
  border-radius: 3px;
  background: var(--blue-900);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: calc(100dvh - 78px);
  display: grid;
  align-items: center;
  padding: 70px 0 82px;
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.95), rgba(255, 255, 255, 0.92) 46%),
    radial-gradient(circle at 76% 22%, rgba(69, 183, 232, 0.18), transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 62px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--sky-500);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 21px;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.hero p,
.page-hero p {
  max-width: 720px;
  font-size: 19px;
}

.hero-actions,
.card-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.page-image,
.contact-note img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky-50);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
  box-shadow: 0 18px 36px -28px rgba(8, 59, 112, 0.8);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.2;
}

.section {
  padding: 92px 0;
}

.soft-section {
  background: var(--sky-50);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.hero-grid > *,
.page-hero-grid > *,
.split-section > *,
.regions-grid > *,
.section-head > *,
.contact-layout > *,
.detail-grid > *,
.cta-inner > *,
.footer-grid > * {
  min-width: 0;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 720px;
}

.text-link {
  color: var(--blue-800);
  font-weight: 800;
  align-self: center;
}

.advantages-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: var(--advantages-bg);
  background-position: center;
  background-size: cover;
}

.advantages-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 43, 79, 0.94) 0%, rgba(6, 43, 79, 0.78) 55%, rgba(6, 43, 79, 0.54) 100%),
    linear-gradient(180deg, rgba(6, 43, 79, 0.12), rgba(6, 43, 79, 0.54));
}

.advantages-section .section-head h2 {
  color: var(--white);
}

.advantages-section .eyebrow {
  color: #9edcf6;
}

.advantages-section .advantage {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 40px -28px rgba(2, 25, 47, 0.7);
  backdrop-filter: blur(8px);
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.05fr;
  gap: 18px;
}

.advantage {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 16px 34px -31px rgba(8, 59, 112, 0.48);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.advantage:hover {
  transform: translateY(-5px);
  border-color: #a9d6ee;
  box-shadow: var(--shadow);
}

.advantage-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--sky-100);
  font-size: 13px;
  font-weight: 900;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.catalog-link {
  display: grid;
  grid-template-columns: auto auto 22px;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 54px;
  border: 1px solid #b7dced;
  border-radius: var(--radius);
  color: var(--blue-950);
  background: var(--sky-100);
  padding: 9px 12px 9px 18px;
  font-weight: 800;
  transition: transform 0.28s var(--ease), color 0.28s var(--ease), background 0.28s var(--ease);
}

.catalog-link:hover {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--blue-800);
}

.catalog-link-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-link:hover .catalog-link-count {
  color: #d9edf8;
}

.catalog-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-services {
  background: var(--white);
}

.home-services-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.home-machinery-grid,
.home-products-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.home-services-grid .service-card:first-child,
.home-machinery-grid .service-card:first-child,
.home-products-grid .service-card:first-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
}

.catalog-link-light {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100%;
  border: 1px solid var(--line);
  border-left: 5px solid var(--sky-500);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 34px -32px rgba(8, 59, 112, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #a8d8ef;
  border-left-color: var(--blue-800);
  box-shadow: var(--shadow);
}

.card-grid.compact .service-card {
  grid-template-columns: 1fr;
}

.card-media {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: var(--sky-50);
  border-right: 1px solid var(--line);
  padding: 8px;
}

.card-grid.compact .card-media {
  min-height: 170px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 28px;
}

.card-content p {
  font-size: 15px;
  line-height: 1.65;
}

.card-content ul,
.detail-block ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.card-content li,
.detail-block li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #385068;
  font-size: 14px;
  line-height: 1.45;
}

.card-content li::before,
.detail-block li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--sky-500);
}

.regions-grid p + .btn,
.contact-note p + .btn,
.detail-block p + .btn {
  margin-top: 20px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-price span,
.detail-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card-price strong,
.detail-price strong {
  color: var(--blue-900);
  font-size: 18px;
  font-weight: 800;
}

.card-actions {
  margin-top: 16px;
}

.card-actions .btn {
  min-height: 42px;
  padding-inline: 14px;
}

.detail-price {
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.regions-section {
  background: linear-gradient(180deg, var(--white), var(--sky-50));
}

.regions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-900);
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px -30px rgba(8, 59, 112, 0.5);
}

.page-hero {
  padding: 86px 0 58px;
  background: linear-gradient(180deg, var(--sky-50), var(--white));
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 64px;
  align-items: center;
}

.page-hero-note,
.contact-panel,
.detail-block,
.contact-note,
.region-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-hero-note {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.page-hero-note strong {
  color: var(--blue-950);
  font-size: 22px;
  line-height: 1.2;
}

.page-hero-note span {
  color: var(--muted);
}

.contact-panel,
.contact-note,
.detail-block {
  padding: 30px;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line strong {
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-layout,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-direct .btn {
  margin-top: 24px;
}

.contact-note img {
  margin-bottom: 24px;
}

.region-page-list {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
}

.region-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 24px;
}

.region-card:nth-child(3n) {
  grid-column: span 2;
}

.region-card span {
  color: var(--sky-500);
  font-weight: 900;
}

.region-card h2 {
  margin: 0;
  font-size: 28px;
}

.detail-media-section {
  background: var(--sky-50);
}

.detail-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.detail-media-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.media-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 12px;
}

.media-gallery-single {
  grid-template-columns: 1fr;
}

.media-photo {
  min-height: 180px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.media-photo-main {
  min-height: 380px;
}

.media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-photo:not(.media-photo-main) img {
  object-fit: contain;
}

.detail-video,
.video-placeholder {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-950);
  overflow: hidden;
}

.detail-video {
  object-fit: cover;
}

.video-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 28px;
  color: var(--white);
  background-image:
    linear-gradient(180deg, rgba(6, 43, 79, 0.2), rgba(6, 43, 79, 0.9)),
    var(--video-poster);
  background-position: center;
  background-size: cover;
}

.video-placeholder strong {
  display: block;
  font-size: 22px;
}

.video-placeholder p {
  max-width: 34ch;
  color: #d7e8f4;
  font-size: 14px;
}

.video-play {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--blue-900);
  background: var(--white);
}

.video-play svg {
  width: 24px;
  fill: currentColor;
}

.cta-band {
  padding: 58px 0;
  background: var(--blue-950);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-inner p {
  color: #c6dced;
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0 30px;
  background: #071f38;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1.1fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--blue-900);
}

.site-footer h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 15px;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #c6dced;
}

.site-footer p,
.site-footer a {
  font-size: 14px;
  line-height: 1.5;
}

.site-footer p {
  max-width: 38ch;
}

.footer-links {
  display: grid;
  justify-items: start;
  gap: 1px;
}

.footer-links a {
  padding: 3px 0;
}

.site-footer a[href^="tel"],
.site-footer a[href^="mailto"] {
  display: block;
  margin-bottom: 8px;
}

.footer-socials {
  margin-top: 14px;
}

.footer-socials a {
  border-color: rgba(198, 220, 237, 0.3);
  color: #d8eaf5;
  background: rgba(255, 255, 255, 0.06);
}

.footer-socials a:hover {
  color: var(--blue-950);
  background: var(--white);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.qr-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 43, 79, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.qr-dialog {
  position: relative;
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
  box-shadow: 0 28px 70px -30px rgba(6, 43, 79, 0.72);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.qr-modal.is-open .qr-dialog {
  transform: translateY(0) scale(1);
}

.qr-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.qr-dialog h2 {
  margin: 8px 0 6px;
  font-size: 32px;
}

.qr-dialog > p {
  margin-bottom: 22px;
}

.qr-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--white);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.qr-close:hover {
  background: var(--sky-50);
  transform: translateY(-2px);
}

.qr-close svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.qr-links {
  display: grid;
  gap: 10px;
}

.qr-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 13px;
  align-items: center;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px 9px 10px;
  color: var(--blue-950);
  background: var(--sky-50);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.qr-link:hover {
  transform: translateY(-2px);
  border-color: #9dcfe9;
  background: var(--sky-100);
}

.qr-link-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue-800);
}

.qr-link-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.qr-link-icon .qr-icon-outline {
  fill: none;
}

.qr-link-arrow {
  width: 20px;
  fill: none;
  stroke: var(--blue-800);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 19;
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-800);
  box-shadow: 0 18px 34px -18px rgba(8, 59, 112, 0.8);
}

.floating-call svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--index, 0) * 80ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal-complete {
  transition-delay: 0s;
}

.reveal.is-visible.advantage:hover {
  transform: translateY(-5px);
}

.reveal.is-visible.service-card:hover {
  transform: translateY(-6px);
}

.reveal.is-visible.region-pill:hover,
.reveal.is-visible.region-card:hover,
.reveal.is-visible.detail-block:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-content: end;
  }

  .header-socials {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 18px;
    max-height: calc(100dvh - 78px);
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    padding: 18px 20px 26px;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
  }

  .menu-open .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav {
    display: grid;
    gap: 4px;
  }

  .mobile-nav .nav-link {
    padding: 14px;
    font-size: 16px;
  }

  .mobile-call {
    width: 100%;
  }

  .hero-grid,
  .page-hero-grid,
  .regions-grid,
  .split-section,
  .contact-layout,
  .detail-grid,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-machinery-grid,
  .home-products-grid {
    grid-template-columns: 1fr;
  }

  .home-services-grid .service-card:first-child,
  .home-machinery-grid .service-card:first-child,
  .home-products-grid .service-card:first-child {
    grid-column: auto;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  }

  .detail-media-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  }
}

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

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small,
  .header-phone,
  .header-call {
    display: none;
  }

  .mobile-menu {
    inset: 70px 0 auto 0;
    max-height: calc(100dvh - 70px);
  }

  .hero {
    min-height: auto;
    padding: 42px 0 56px;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 34px;
  }

  .page-hero {
    padding: 42px 0;
  }

  h1 {
    font-size: clamp(31px, 10.6vw, 41px);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(26px, 9vw, 34px);
  }

  .hero p,
  .page-hero p,
  p {
    font-size: 16px;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .card-actions .btn {
    width: 100%;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head,
  .advantages-grid,
  .card-grid,
  .card-grid.compact,
  .home-machinery-grid,
  .home-services-grid,
  .home-products-grid,
  .home-machinery-grid .service-card:first-child,
  .home-services-grid .service-card:first-child,
  .home-products-grid .service-card:first-child,
  .service-card,
  .region-page-list {
    grid-template-columns: 1fr;
  }

  .section-more {
    justify-content: center;
  }

  .catalog-link {
    width: min(100%, 430px);
    grid-template-columns: minmax(0, 1fr) auto 22px;
  }

  .service-card {
    border-left-width: 4px;
  }

  .card-media {
    min-height: 178px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-content,
  .contact-panel,
  .contact-note,
  .detail-block,
  .page-hero-note {
    padding: 22px;
  }

  .region-card:nth-child(3n) {
    grid-column: auto;
  }

  .region-card h2 {
    font-size: 22px;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .media-photo-main,
  .detail-video,
  .video-placeholder {
    min-height: 260px;
  }

  .cta-band {
    padding: 44px 0;
  }

  .floating-call {
    display: grid;
  }

  .site-footer {
    padding: 30px 0 86px;
  }

  .footer-grid {
    gap: 24px;
  }

  .qr-modal {
    align-items: end;
    padding: 12px;
  }

  .qr-dialog {
    width: 100%;
    padding: 22px;
  }

  .qr-dialog h2 {
    font-size: 28px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 16px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .catalog-link {
    grid-template-columns: minmax(0, 1fr) 22px;
  }

  .catalog-link-count {
    display: none;
  }

  .btn {
    padding-inline: 14px;
  }
}
