:root {
  --red: #ed1b2f;
  --red-dark: #b91020;
  --ink: #15171b;
  --slate: #252a31;
  --muted: #69707b;
  --line: #e4e7eb;
  --soft: #f4f6f8;
  --white: #ffffff;
  --steel: #dce7ee;
  --shadow-sm: 0 10px 28px rgba(21, 23, 27, 0.08);
  --shadow-lg: 0 26px 80px rgba(21, 23, 27, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  padding-inline: clamp(20px, 4vw, 72px);
}

.cursor-field {
  position: fixed;
  inset: 0;
  z-index: 38;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.cursor-field[data-cursor-mode="radar"] {
  opacity: 0.84;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 84px;
  padding-inline: clamp(18px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 231, 235, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand img {
  display: block;
  width: 122px;
  height: auto;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 900;
}

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

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.45vw, 28px);
  color: #343941;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 31px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--red);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 14px;
}

.hotline {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  background: #fff4f5;
  border: 1px solid #ffd8dd;
  border-radius: 999px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  width: 42px;
  height: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  color: var(--white);
  background: #111318;
  isolation: isolate;
}

.hero-slideshow,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.92), rgba(12, 14, 18, 0.78) 44%, rgba(12, 14, 18, 0.3)),
    linear-gradient(180deg, rgba(12, 14, 18, 0.18), rgba(12, 14, 18, 0.74));
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, black, transparent 86%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  min-height: calc(100vh - 84px);
  padding-top: clamp(70px, 10vh, 128px);
  padding-bottom: clamp(58px, 8vh, 110px);
}

.hero-copy-panel {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff6f7d;
}

.hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: #eef1f5;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.68;
}

.slogan {
  display: inline-flex;
  margin: 28px 0 0;
  padding: 12px 16px;
  color: var(--white);
  font-weight: 900;
  background: rgba(237, 27, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(237, 27, 47, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 32px rgba(237, 27, 47, 0.32);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-contact {
  margin-top: 22px;
  color: #d9dee6;
  font-size: 14px;
  font-weight: 700;
}

.hero-command {
  align-self: end;
  padding: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.command-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.command-brand img {
  width: 118px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius);
}

.command-brand span {
  color: #dce3ec;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.command-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.command-status span {
  width: 12px;
  height: 12px;
  background: #2ad38b;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(42, 211, 139, 0.12);
}

.command-status strong {
  font-size: 18px;
  line-height: 1.3;
}

.command-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.command-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.command-line span {
  color: #dce3ec;
  font-size: 13px;
  font-weight: 800;
}

.command-line strong {
  color: var(--white);
  font-size: 13px;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.slide-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.slide-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  border: 0;
  border-radius: 999px;
}

.slide-dots button.is-active {
  background: var(--red);
}

.metrics-section {
  position: relative;
  z-index: 3;
  background: var(--white);
}

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

.metric-item {
  min-height: 152px;
  padding: 34px clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--line);
}

.metric-item:last-child {
  border-right: 0;
}

.metric-number {
  display: block;
  color: var(--red);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
}

.metric-label {
  display: block;
  max-width: 310px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 800;
}

.section {
  position: relative;
  padding: clamp(78px, 9vw, 124px) 0;
  overflow: hidden;
}

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

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: min(760px, 58vw) auto;
  filter: grayscale(0.18) blur(2px);
}

#services::after {
  opacity: 0.13;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.82), transparent), url("assets/warehouse-logistics.jpg");
  background-position: right -10vw bottom -12vw;
}

#advantages::after {
  opacity: 0.12;
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82)), url("assets/container-trucks.jpg");
  background-position: left -12vw center;
}

.partners-section::after {
  opacity: 0.1;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent), url("assets/sea-freight-port.jpg");
  background-position: right -8vw top -8vw;
}

.quote-section::after {
  opacity: 0.1;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.86), transparent), url("assets/warehouse-logistics.jpg");
  background-position: left -10vw bottom -10vw;
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-heading h2,
.quote-copy h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(31px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.quote-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75;
}

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

.service-card,
.advantage-card {
  position: relative;
  min-height: 288px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(21, 23, 27, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before,
.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237, 27, 47, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 27, 47, 0.24);
  box-shadow: var(--shadow-sm);
}

.service-card:hover::before,
.advantage-card:hover::before {
  opacity: 1;
}

.service-card.is-featured {
  color: var(--white);
  background: linear-gradient(145deg, #191d24, #303642);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.service-card.is-featured p {
  color: #d7dde5;
}

.card-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: var(--red);
  border-radius: var(--radius);
}

.service-card h3,
.advantage-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.24;
}

.service-card p,
.advantage-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.service-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 7px 10px;
  color: #454b53;
  font-size: 12px;
  font-weight: 900;
  background: var(--soft);
  border-radius: 999px;
}

.service-card.is-featured .service-tags li {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.routes-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(237, 27, 47, 0.2), transparent 34%),
    linear-gradient(145deg, #15171b, #252a31 62%, #111318);
}

.routes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
}

.routes-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
  align-items: center;
  gap: clamp(36px, 5vw, 70px);
}

.routes-heading p:not(.eyebrow) {
  color: #c8ced6;
}

.routes-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1fr);
  gap: 18px;
}

.route-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 58%, rgba(237, 27, 47, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.map-point {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: var(--red);
  border: 4px solid #2a2d33;
  border-radius: 50%;
}

.point-port {
  left: 12%;
  top: 54%;
}

.point-hanoi {
  right: 12%;
  top: 24%;
}

.point-bacninh {
  right: 24%;
  top: 48%;
}

.point-vinhphuc {
  right: 10%;
  bottom: 15%;
}

.map-road {
  position: absolute;
  left: 24%;
  top: 60%;
  width: 58%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(237, 27, 47, 0.95));
  transform-origin: left center;
}

.road-one {
  transform: rotate(-34deg);
}

.road-two {
  transform: rotate(-7deg);
}

.road-three {
  transform: rotate(20deg);
}

.route-list {
  display: grid;
  gap: 12px;
}

.route-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  transition: transform 220ms ease, background 220ms ease;
}

.route-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.13);
}

.route-item h3 {
  margin: 0;
  font-size: 19px;
}

.route-item p {
  margin: 10px 0 0;
  color: #c8ced6;
  line-height: 1.6;
}

.partners-section {
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.86), rgba(255, 255, 255, 0.94)),
    var(--soft);
}

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

.partner-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  min-height: 212px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(21, 23, 27, 0.04);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(237, 27, 47, 0));
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(237, 27, 47, 0.24);
  box-shadow: var(--shadow-sm);
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--red);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  background: #fff2f4;
  border: 1px solid #ffd8dd;
  border-radius: var(--radius);
}

.partner-index {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.partner-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.22;
}

.partner-card strong {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.quote-section {
  background:
    linear-gradient(90deg, var(--white), rgba(244, 246, 248, 0.76)),
    var(--white);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 900;
}

.contact-stack a {
  color: var(--red);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 13px;
  font-weight: 900;
}

.form-row input,
.form-row select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d4d8de;
  border-radius: var(--radius);
  outline: 0;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 27, 47, 0.1);
}

.form-submit {
  width: 100%;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-status {
  color: var(--red-dark);
  font-weight: 900;
}

.site-footer {
  color: #d7dbe1;
  background: #15171b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  padding-top: 68px;
  padding-bottom: 68px;
}

.footer-logo {
  width: 132px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 15px;
}

.site-footer p {
  margin: 0 0 10px;
  color: #b8bec7;
  line-height: 1.6;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 14px;
  color: var(--white);
  font-weight: 900;
  background: var(--red);
  border-radius: var(--radius);
}

.legal {
  font-size: 13px;
}

.footer-bottom {
  padding: 18px clamp(20px, 4vw, 72px);
  color: #9ca3ad;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    position: fixed;
    left: 20px;
    right: 20px;
    display: none;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .primary-nav {
    top: 94px;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 168px);
    overflow-y: auto;
    padding: 12px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .primary-nav a {
    padding: 14px 12px;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-actions {
    top: 397px;
    justify-content: space-between;
    padding: 14px;
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  body.menu-open .primary-nav,
  body.menu-open .header-actions {
    display: flex;
  }

  .hero-inner,
  .routes-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .hero-command {
    align-self: auto;
    max-width: 620px;
  }

  .routes-panel {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr));
  }

  .route-map {
    min-height: 330px;
  }

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

@media (max-width: 820px) {
  .container {
    padding-inline: 18px;
  }

  .brand img {
    width: 98px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 14, 18, 0.9), rgba(12, 14, 18, 0.72)),
      linear-gradient(90deg, rgba(12, 14, 18, 0.84), rgba(12, 14, 18, 0.36));
  }

  .hero-inner {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metrics-grid,
  .services-grid,
  .advantages-grid,
  .partners-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    border-top: 1px solid var(--line);
  }

  .metric-item {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section {
    padding: 76px 0;
  }

  .service-card,
  .advantage-card {
    min-height: auto;
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 74px;
    padding-inline: 14px;
  }

  .primary-nav {
    top: 84px;
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 158px);
  }

  .header-actions {
    top: 387px;
    left: 14px;
    right: 14px;
    align-items: stretch;
    flex-direction: column;
  }

  .hotline,
  .language-switch {
    width: 100%;
  }

  .hotline {
    justify-content: center;
  }

  .language-switch button {
    flex: 1;
  }

  .hero-command {
    padding: 18px;
  }

  .command-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-map {
    min-height: 270px;
  }

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

  .map-point {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    text-align: left;
  }
}

@media (max-width: 520px) and (max-height: 560px) {
  .header-actions {
    top: auto;
    bottom: 14px;
  }

  .primary-nav {
    bottom: 92px;
    max-height: none;
  }
}

@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;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .cursor-field {
    display: none;
  }
}
