:root {
  --delta-blue: #24548f;
  --delta-blue-dark: #183c67;
  --delta-green: #168743;
  --delta-red: #a64b32;
  --ink: #20272d;
  --muted: #64717a;
  --line: #d8dfe3;
  --mist: #eaf0f3;
  --pearl: #f3eee6;
  --product-fusion: #daedf7;
  --service-fusion: #fee7d4;
  --surface: #ffffff;
  --header-height: 108px;
  --content: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 10px);
}

body {
  margin: 0;
  background: #eef2f4;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.content-width {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 39, 45, 0.14);
  background: rgba(249, 247, 242, 0.97);
  box-shadow: 0 7px 24px rgba(24, 43, 58, 0.09);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1440px, 100%);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(24px, 3vw, 52px);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "brand vsr nav";
  align-items: center;
  gap: 30px;
}

.brand-link {
  grid-area: brand;
  width: max-content;
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 142px;
  height: auto;
}

.vsr-logo {
  grid-area: vsr;
  width: 108px;
  height: auto;
  justify-self: center;
}

.main-nav {
  grid-area: nav;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 0.6vw, 10px);
  min-width: 0;
}

.main-nav a {
  position: relative;
  padding: 12px clamp(8px, 0.8vw, 14px);
  color: #34434d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  background: var(--delta-green);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--delta-blue-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--delta-blue-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  height: clamp(520px, calc(100vh - var(--header-height)), 900px);
  height: clamp(520px, calc(100svh - var(--header-height)), 900px);
  overflow: hidden;
  isolation: isolate;
  background: #cfd9de;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition:
    opacity 900ms ease-in-out,
    visibility 0s linear 900ms;
}

.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.hero-progress {
  position: absolute;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-progress span {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-progress span.is-active {
  background: #fff;
}

.section-heading {
  padding: 82px 0 34px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.contact-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #2b3339;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-heading h2::before,
.contact-heading h2::before {
  position: absolute;
  inset: 4px auto 4px 0;
  width: 4px;
  border-radius: 99px;
  background: var(--delta-blue);
  content: "";
}

.products-heading,
.product-band {
  background: var(--product-fusion);
}

.services-heading,
.service-band {
  background: var(--service-fusion);
}

.services-heading h2::before {
  background: var(--delta-green);
}

.card-grid {
  display: grid;
}

.product-band {
  padding: 46px 0 84px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 36px;
}

.service-band {
  padding: 52px 0 90px;
}

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

.image-card {
  min-width: 0;
  text-align: left;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #dce3e6;
  box-shadow: 0 12px 32px rgba(31, 50, 62, 0.09);
}

.products-section .image-frame {
  background: var(--product-fusion);
}

.services-section .image-frame {
  background: var(--service-fusion);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  transition: transform 320ms ease;
}

.image-card:hover .image-frame img {
  transform: scale(1.018);
}

.image-card h3 {
  margin: 18px 4px 0;
  color: #2d353b;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.representatives {
  padding: 86px 0 94px;
  border-block: 1px solid #dce2e5;
  background: #fbfbf9;
}

.representatives-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.representatives h2 {
  margin: 0;
  color: #283138;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.18;
}

.brand-carousel {
  position: relative;
  padding-inline: 54px;
}

.brands-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.brands-viewport.is-animating {
  scroll-snap-type: none;
}

.brands-viewport::-webkit-scrollbar {
  display: none;
}

.brands-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
}

.brand-slide {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid #e1e6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(35, 53, 64, 0.06);
  scroll-snap-align: start;
}

.brand-slide img {
  width: min(100%, 240px);
  aspect-ratio: 1;
  object-fit: contain;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cfd8dd;
  border-radius: 50%;
  background: #fff;
  color: var(--delta-blue-dark);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 22px rgba(31, 50, 62, 0.1);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--delta-blue);
  color: var(--delta-blue);
}

.carousel-previous {
  left: 0;
}

.carousel-next {
  right: 0;
}

.contact-section {
  padding: 96px 0 108px;
  background: linear-gradient(180deg, #e9f0f3 0%, #f4f6f6 100%);
}

.contact-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.contact-heading h2::before {
  background: var(--delta-red);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: 28px;
}

.contact-panel {
  height: 100%;
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid rgba(173, 188, 196, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(32, 52, 64, 0.08);
}

.panel-heading {
  margin-bottom: 26px;
}

.panel-heading h3 {
  margin: 0;
  color: #263139;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  color: #46535c;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #c8d1d6;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #2d363c;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 154px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--delta-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 84, 143, 0.12);
}

.contact-form .form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-form button {
  min-width: 184px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 19px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--delta-blue), var(--delta-blue-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(36, 84, 143, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(36, 84, 143, 0.26);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #176b3a;
}

.form-status.is-error {
  color: #9c2f24;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e6eaec;
}

.map-frame iframe {
  width: 100%;
  height: 254px;
  display: block;
  border: 0;
}

.contact-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #dce3e6;
  border-radius: 12px;
  background: #fff;
}

.address-card {
  grid-column: 1 / -1;
}

.contact-link {
  align-items: center;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: #aebdc5;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(35, 53, 64, 0.07);
}

.contact-icon {
  width: 27px;
  flex: 0 0 27px;
  color: var(--delta-blue);
}

.contact-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

.contact-card p {
  margin: 0;
  color: #4c5961;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-card .card-label {
  margin-bottom: 5px;
  color: #28343c;
  font-size: 14px;
  font-weight: 750;
}

.contact-card .branch-title {
  margin-top: 10px;
  color: #28343c;
  font-weight: 700;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid #cbd3d7;
  background: #e4e9eb;
  color: #37434a;
}

.footer-inner {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-inner nav a {
  font-size: 14px;
  font-weight: 600;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-inner .copyright {
  text-align: right;
  font-size: 14px;
  line-height: 1.55;
}

.copyright a {
  font-size: 12px;
}

@media (max-width: 1160px) {
  .header-inner {
    padding-inline: 24px;
    grid-template-columns: minmax(160px, 1fr) auto minmax(0, 1fr);
    gap: 20px;
  }

  .brand-link img { width: 128px; }
  .vsr-logo { width: 94px; }
  .main-nav a { padding-inline: 7px; font-size: 13px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel { height: auto; }
  .information-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .information-panel .panel-heading { grid-column: 1 / -1; margin-bottom: 4px; }
  .information-panel .contact-cards { margin-top: 0; }
}

@media (max-width: 920px) {
  :root { --header-height: 82px; }

  .header-inner {
    position: relative;
    grid-template-columns: minmax(120px, 1fr) 44px;
    grid-template-areas: "brand toggle";
    gap: 14px;
    padding-inline: 18px;
  }

  .brand-link img { width: 104px; }
  .vsr-logo {
    position: absolute;
    left: 50%;
    width: 72px;
    transform: translateX(-50%);
  }

  .menu-toggle {
    grid-area: toggle;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid #bdc8cd;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: #34434d;
  }

  .main-nav {
    position: absolute;
    inset: var(--header-height) 0 auto;
    display: none;
    padding: 12px 18px 16px;
    border-bottom: 1px solid #52626b;
    background: #5e6d76;
    box-shadow: 0 14px 28px rgba(22, 37, 47, 0.18);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding-inline: 8px;
    color: #fff;
    font-size: 14px;
  }

  .main-nav a.is-active {
    color: #fff;
  }

  .main-nav a::after {
    right: 8px;
    left: 8px;
  }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
  .information-panel { display: block; }
  .information-panel .panel-heading { margin-bottom: 26px; }
  .information-panel .contact-cards { margin-top: 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: center; }
  .footer-inner .copyright { text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-height: 78px; }

  .content-width,
  .footer-inner {
    width: min(100% - 28px, 560px);
  }

  .header-inner {
    grid-template-columns: minmax(96px, 1fr) 42px;
    gap: 10px;
    padding-inline: 14px;
  }

  .brand-link img { width: 94px; }
  .vsr-logo { width: 62px; }
  .menu-toggle { width: 42px; height: 42px; }

  .hero {
    min-height: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
  }

  .hero-progress {
    right: 14px;
    bottom: 22px;
  }

  .section-heading { padding: 66px 0 30px; }
  .product-band, .service-band { padding: 34px 0 66px; }
  .product-grid, .service-grid { grid-template-columns: 1fr; gap: 36px; }
  .image-card h3 { font-size: 17px; }
  .representatives { padding: 66px 0 72px; }
  .representatives-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .brand-carousel { padding-inline: 42px; }
  .brands-track { grid-auto-columns: 100%; gap: 14px; }
  .brand-slide { min-height: 210px; }
  .carousel-button { width: 34px; height: 34px; }
  .contact-section { padding: 72px 0 80px; }
  .contact-layout { gap: 18px; }
  .contact-panel { padding: 22px 18px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .contact-form button { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .address-card { grid-column: auto; }
  .map-frame iframe { height: 230px; }
  .footer-inner nav { align-items: center; flex-direction: column; }
}

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

  .hero-slide {
    transition: none;
  }
}
