:root {
  --navy: #102a43;
  --navy2: #173f5f;
  --red: #d9252e;
  --red-dark: #b91822;
  --text: #1c2d3e;
  --muted: #637484;
  --line: #dbe3e9;
  --bg: #f4f7f9;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(4, 19, 31, 0.25);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.section {
  padding: 88px 0;
}
.mobile-actions {
  display: none;
}
header {
  height: 92px;
  background: #fff;
  border-bottom: 1px solid #e4e9ed;
  position: relative;
  z-index: 20;
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  color: var(--navy);
  font-size: 20px;
}
.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.logo strong {
  letter-spacing: 0.02em;
}
.nav-wrap nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
}
.nav-wrap nav a {
  font-size: 14px;
  font-weight: 700;
  color: #4b5c6d;
  white-space: nowrap;
}
.nav-wrap nav a:hover {
  color: var(--red);
}
.phone {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.phone small {
  font-size: 12px;
  color: #667786;
  margin-bottom: 4px;
}
.phone b {
  font-size: 18px;
  color: var(--navy);
  white-space: nowrap;
}
.service-item {
  font: inherit;
  cursor: pointer;
}
.hero {
  min-height: 680px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(10, 31, 48, 0.6),
      rgba(10, 31, 48, 0.4) 54%,
      rgba(10, 31, 48, 0.12)
    ),
    url("assets/hero.webp") center/cover no-repeat;
}
.hero-layout {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.18fr 0.72fr;
  gap: 84px;
  align-items: center;
}
.hero-label,
.overline {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #f34b54;
}
.hero-text h1 {
  font-size: clamp(56px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 760px;
  margin: 18px 0 32px;
}
.hero-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  font-size: 18px;
  line-height: 1.45;
}
.hero-text li {
  display: flex;
  align-items: center;
}
.hero-text li i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
  font-size: 14px;
  margin-right: 14px;
  flex: 0 0 auto;
}
.lead-form {
  background: #fff;
  color: var(--text);
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(4, 19, 31, 0.3);
  border-top: 4px solid var(--red);
}
.form-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}
.form-title b {
  font-size: 26px;
  line-height: 1.25;
}
.form-title span {
  font-size: 16px;
  color: var(--muted);
  margin-top: 7px;
}
.lead-form label {
  display: block;
  margin-top: 14px;
}
.lead-form .form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.lead-form label > span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 7px;
}
.lead-form input {
  width: 100%;
  height: 58px;
  border: 1px solid #d6dfe6;
  border-radius: 4px;
  background: #f8fafb;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}
.lead-form input:focus {
  border-color: var(--navy2);
  box-shadow: 0 0 0 3px rgba(23, 63, 95, 0.08);
}
.lead-form button {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-top: 20px;
  cursor: pointer;
}
.lead-form button:hover {
  background: var(--red-dark);
}
.lead-form button i {
  margin-left: 12px;
}
.success {
  background: #fff;
  color: var(--text);
  padding: 48px 36px;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(4, 19, 31, 0.3);
  display: flex;
  align-items: center;
  gap: 18px;
}
.success > i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #168b54;
  color: #fff;
  font-size: 22px;
}
.success div {
  display: flex;
  flex-direction: column;
}
.success b {
  font-size: 22px;
}
.success span {
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}
.section-title span {
  width: 50px;
  height: 3px;
  background: var(--red);
}
.section-title h2 {
  font-size: clamp(40px, 3.2vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.025em;
  text-align: center;
}
.services {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-item {
  min-height: 225px;
  border: 1px solid var(--line);
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: 0.22s;
}
.service-item > i {
  font-size: 38px;
  color: var(--red);
  height: 48px;
}
.service-item p {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  margin: 20px 0;
}
.service-item span {
  font-size: 15px;
  color: var(--muted);
  margin-top: auto;
}
.service-item span b {
  color: var(--red);
  margin-left: 6px;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(16, 42, 67, 0.1);
  border-color: #c9d4dd;
}
.card-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.card-button:focus-visible,
.service-item:focus-visible,
.fleet button:focus-visible {
  outline: 3px solid rgba(217, 37, 46, 0.35);
  outline-offset: 3px;
}
.cargo {
  background: var(--bg);
}
.cargo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cargo-grid article {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.cargo-grid img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}
.cargo-grid article .card-button > div {
  padding: 27px;
}
.cargo-grid h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px;
}
.cargo-grid p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.process {
  background: #fff;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step-grid article {
  text-align: center;
  position: relative;
}
.step-grid article:not(:last-child):after {
  content: "";
  position: absolute;
  top: 42px;
  left: 68%;
  right: -32%;
  height: 1px;
  background: #cbd5dc;
}
.step-icon {
  width: 84px;
  height: 84px;
  margin: auto;
  border: 1px solid #cdd7df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: #fff;
  color: var(--red);
  font-size: 30px;
  z-index: 1;
}
.step-icon span {
  position: absolute;
  right: -4px;
  top: -5px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.step-grid h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 20px 0 9px;
}
.step-grid p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 auto;
  max-width: 210px;
}
.lead-strip {
  padding: 52px 0;
  background: var(--navy);
}
.lead-strip.light {
  background: #e9eef2;
}
.lead-form.horizontal {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.7fr;
  gap: 16px;
  align-items: end;
  padding: 28px 30px;
  border-top: 0;
  border-left: 4px solid var(--red);
  box-shadow: none;
}
.lead-form.horizontal .form-title {
  margin: 0;
}
.lead-form.horizontal .form-title b {
  font-size: 21px;
}
.lead-form.horizontal label {
  margin: 0;
}
.lead-form.horizontal button {
  margin: 0;
}
.success.horizontal {
  box-shadow: none;
  justify-content: center;
}
.advantages {
  background: var(--bg);
}
.adv-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: -18px 0 42px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adv-grid article {
  min-height: 190px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 25px;
}
.adv-grid i {
  font-size: 36px;
  color: var(--red);
}
.adv-grid p {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 0;
}
.about {
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-photo img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.about-copy h2 {
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 15px 0 22px;
}
.about-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.about-copy h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 30px 0 16px;
}
.fleet {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fleet button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px 17px;
  font: inherit;
  font-size: 16px;
  color: inherit;
  cursor: pointer;
}
.fleet button:hover {
  background: #fff;
  border-color: #bdcbd5;
}
.fleet i {
  color: var(--red);
  font-size: 20px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 22, 35, 0.76);
  backdrop-filter: blur(5px);
  overflow: auto;
}
.popup-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 38px;
  background: #fff;
  border-radius: 10px;
  border-top: 5px solid var(--red);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  color: var(--text);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: var(--navy);
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}
.popup-close:hover {
  background: #e0e6eb;
}
.popup-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.popup-dialog > h2 {
  max-width: 410px;
  margin: 0;
  padding-right: 40px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.popup-note {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.popup-dialog > .lead-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.popup-dialog .form-title {
  display: none;
  padding-right: 64px;
  min-height: 44px;
}
.contacts {
  padding: 96px 0;
  background: var(--navy);
  color: #fff;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 90px;
  align-items: center;
}
.contact-info > h2 {
  font-size: 46px;
  margin: 14px 0 34px;
}
.contact-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  margin-top: 27px;
}
.contact-row > i {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #f34b54;
  border-radius: 50%;
  font-size: 20px;
}
.contact-row b {
  font-size: 17px;
}
.contact-row p,
.contact-row a {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  color: #c4d0d9;
  margin: 6px 0 0;
}
footer {
  background: #071927;
  color: #a7b4be;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .wrap {
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
footer a {
  color: #d3dce3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
footer a:hover,
footer a:focus-visible {
  color: #fff;
}
@media (max-width: 1000px) {
  .nav-wrap nav {
    display: none;
  }
  .phone {
    margin-left: auto;
  }
  .hero-layout {
    grid-template-columns: 1fr 0.78fr;
    gap: 45px;
  }
  .hero-text h1 {
    font-size: 52px;
  }
  .service-grid,
  .cargo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-layout {
    gap: 45px;
  }
  .lead-form.horizontal {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form.horizontal .form-title {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 30px, 1160px);
  }
  body {
    padding-bottom: 60px;
  }
  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    z-index: 50;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
  }
  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
  }
  .mobile-actions a:first-child {
    background: var(--red);
  }
  header {
    height: 76px;
  }
  .logo img {
    width: 48px;
    height: 48px;
  }
  .logo strong {
    font-size: 18px;
  }
  .phone {
    padding-left: 0;
    border: 0;
  }
  .phone small {
    display: none;
  }
  .phone b {
    font-size: 14px;
  }
  .hero,
  .hero-layout {
    min-height: auto;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 58px 0 48px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-text ul {
    font-size: 16px;
  }
  .lead-form {
    padding: 28px 23px;
  }
  .form-title b {
    font-size: 23px;
  }
  .section {
    padding: 68px 0;
  }
  .section-title {
    margin-bottom: 36px;
  }
  .section-title span {
    width: 28px;
  }
  .section-title h2 {
    font-size: 34px;
  }
  .service-grid,
  .cargo-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .cargo-grid img {
    height: 240px;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .step-grid article {
    display: grid;
    grid-template-columns: 78px 1fr;
    text-align: left;
    column-gap: 17px;
  }
  .step-grid article:not(:last-child):after {
    top: 82px;
    left: 39px;
    right: auto;
    width: 1px;
    height: 32px;
  }
  .step-icon {
    grid-row: 1/3;
    width: 70px;
    height: 70px;
    font-size: 25px;
  }
  .step-grid h3 {
    margin: 7px 0 5px;
  }
  .lead-form.horizontal {
    grid-template-columns: 1fr;
  }
  .lead-form.horizontal .form-title {
    grid-column: auto;
  }
  .lead-strip {
    padding: 38px 0;
  }
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .about-photo img {
    height: 320px;
  }
  .about-copy h2 {
    font-size: 34px;
  }
  .contacts {
    padding: 68px 0;
  }
  .contact-info > h2 {
    font-size: 36px;
  }
}
@media (max-width: 400px) {
  .phone {
    display: none;
  }
  .logo {
    min-width: auto;
  }
  .hero-text h1 {
    font-size: 34px;
  }
  .hero-text li {
    align-items: flex-start;
  }
  .service-item {
    min-height: 165px;
  }
}
@media (max-width: 700px) {
  .step-grid article {
    display: block;
  }
  .step-grid article .card-button {
    display: grid;
    grid-template-columns: 78px 1fr;
    text-align: left;
    column-gap: 17px;
  }
  .modal-backdrop {
    align-items: start;
    padding: 14px;
  }
  .popup-dialog {
    margin: 14px 0 72px;
    padding: 30px 22px;
  }
  .popup-dialog > h2 {
    font-size: 25px;
  }
  .popup-close {
    top: 12px;
    right: 12px;
  }
}

/* Unified form heading and feature icon scale */
.form-title {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--text);
}
.lead-form.horizontal .form-title {
  font-size: 20px;
  line-height: 1.4;
}
.service-item > i,
.adv-grid i,
.fleet i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: var(--red);
}
.service-item > i.oversize-sign {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid var(--red);
  border-radius: 2px;
  background: repeating-linear-gradient(45deg, var(--red) 0 8px, #fff 8px 16px);
  box-shadow: 0 2px 5px rgba(16, 42, 67, 0.16);
}
.step-icon {
  font-size: 40px;
}
.contact-row > i {
  width: 58px;
  height: 58px;
  font-size: 40px;
}
.fleet button {
  gap: 14px;
  padding: 17px 20px;
}
@media (max-width: 700px) {
  .form-title {
    font-size: 21px;
  }
  .step-icon {
    font-size: 40px;
  }
}

.fleet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fleet button {
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
}
.fleet button img {
  display: none;
}
.fleet button::before {
  content: "";
  width: 82px;
  height: 72px;
  display: block;
  flex: 0 0 auto;
  background-color: var(--red);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.fleet button:nth-child(1)::before {
  -webkit-mask-image: url("assets/fleet-truck.png");
  mask-image: url("assets/fleet-truck.png");
}
.fleet button:nth-child(2)::before {
  -webkit-mask-image: url("assets/fleet-gazelle.png");
  mask-image: url("assets/fleet-gazelle.png");
}
.fleet button:nth-child(3)::before {
  -webkit-mask-image: url("assets/fleet-platform.png");
  mask-image: url("assets/fleet-platform.png");
}
@media (max-width: 700px) {
  .fleet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fleet button {
    min-height: 124px;
    padding: 12px 6px;
    font-size: 14px;
  }
  .fleet button::before {
    width: 72px;
    height: 64px;
  }
}
@media (max-width: 400px) {
  .fleet {
    grid-template-columns: 1fr;
  }
  .fleet button {
    min-height: 112px;
  }
  .fleet button::before {
    width: 86px;
    height: 68px;
  }
}

.cargo-grid .cargo-image {
  height: 225px;
  padding: 0;
  overflow: hidden;
  background: #dfe7ec;
}
.cargo-grid .cargo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .cargo-grid .cargo-image {
    height: 240px;
  }
}

@media (max-width: 700px) {
  .process {
    background: #fff;
  }
  .step-grid {
    gap: 12px;
  }
  .step-grid article {
    min-height: 0;
    border: 1px solid #dbe3e9;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
    overflow: hidden;
  }
  .step-grid article .card-button {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 124px;
    padding: 20px;
    background: #fff;
  }
  .step-icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    margin: 0;
    background: #f8fafb;
    font-size: 25px;
  }
  .step-icon span {
    top: -7px;
    right: -6px;
    width: 24px;
    height: 24px;
  }
  .step-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
  }
  .step-grid .step-copy h3 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.25;
  }
  .step-grid .step-copy p {
    margin: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
  }
}

/* Final small-screen pass: 320–430 px */
img,
iframe {
  max-width: 100%;
}
main {
  width: 100%;
  overflow-x: hidden;
}
@media (max-width: 430px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    gap: 10px;
    margin-bottom: 32px;
  }
  .section-title span {
    flex: 0 0 22px;
    width: 22px;
  }
  .section-title h2 {
    min-width: 0;
    font-size: clamp(29px, 9vw, 34px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .hero-layout {
    padding: 48px 0 40px;
  }
  .hero-text h1 {
    font-size: clamp(33px, 10vw, 39px);
    overflow-wrap: anywhere;
  }
  .hero-text ul {
    gap: 13px;
  }
  .lead-form {
    width: 100%;
    padding: 24px 20px;
  }
  .lead-form input,
  .lead-form button {
    width: 100%;
    min-width: 0;
  }
  .step-grid article .card-button {
    gap: 15px;
    min-height: 120px;
    padding: 18px 16px;
  }
  .step-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .popup-dialog {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px;
  }
  .popup-dialog > h2 {
    font-size: 24px;
  }
  .mobile-actions {
    left: 8px;
    right: 8px;
    gap: 6px;
  }
  .mobile-actions a {
    font-size: 15px;
  }
  .contact-row {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .contact-row p,
  .contact-row a,
  .contact-info p,
  .contact-info a {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 340px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .logo {
    gap: 8px;
  }
  .logo strong {
    font-size: 16px;
  }
  .section-title span {
    flex-basis: 18px;
    width: 18px;
  }
  .section-title h2 {
    font-size: 29px;
  }
  .mobile-actions a {
    gap: 6px;
    font-size: 14px;
  }
  .step-grid article .card-button {
    gap: 12px;
    padding: 16px 14px;
  }
}

/* Mobile layout cleanup */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.adv-lead-mobile {
  display: none;
}
@media (max-width: 700px) {
  .adv-lead {
    max-width: 350px;
    margin: -10px auto 36px;
    padding: 0 8px;
    font-size: 17px;
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
  }
  .adv-lead-desktop {
    display: none;
  }
  .adv-lead-mobile {
    display: inline;
  }
  .process .section-title {
    margin-bottom: 32px;
  }
  .step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-grid article {
    display: block;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    text-align: left;
  }
  .step-grid article:not(:last-child):after {
    display: none;
  }
  .step-grid article .card-button {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    height: auto;
    min-height: 116px;
    padding: 20px 18px;
    text-align: left;
  }
  .step-icon {
    grid-column: 1;
    grid-row: 1/3;
    width: 56px;
    height: 56px;
    margin: 0;
    border-color: #cdd7df;
    font-size: 26px;
  }
  .step-icon span {
    right: -3px;
    top: -5px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .step-grid h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 1px 0 2px;
    font-size: 19px;
    line-height: 1.3;
  }
  .step-grid p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .mobile-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    height: 68px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(16, 42, 67, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(4, 19, 31, 0.22);
    backdrop-filter: blur(10px);
  }
  .mobile-actions a {
    min-width: 0;
    height: 56px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 800;
    transition:
      transform 0.15s ease,
      filter 0.15s ease;
  }
  .mobile-actions a:first-child {
    background: var(--red);
    color: #fff;
  }
  .mobile-actions a:last-child {
    background: #25d366;
    color: #fff;
  }
  .mobile-actions a:active {
    transform: scale(0.98);
    filter: brightness(0.92);
  }
  .mobile-actions a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
  }
  .mobile-actions a i {
    font-size: 19px;
  }
}

/* Component refinements */
.hero-text h1 {
  margin-top: 0;
}
.service-item {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.service-item p {
  margin: 22px 0 0;
}
.cargo-grid article {
  border: 0;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
}
.cargo-grid .cargo-image {
  background: transparent;
}
.cargo-grid article .card-button > div:not(.cargo-image) {
  min-height: 170px;
  padding: 28px;
}
.popup-dialog .form-title {
  display: block;
}
.popup-dialog > .lead-form {
  padding-top: 8px;
}
.popup-close i {
  display: block;
  font-size: 18px;
  line-height: 1;
}
.about-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
}
.about-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-photo img {
  width: 228px;
  height: 228px;
  object-fit: cover;
}
.about-copy h2 {
  margin-top: 0;
}
.contacts {
  padding: 80px 0;
}
.contact-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: stretch;
}
.contact-info p {
  font-size: 16px;
  line-height: 1.55;
  color: #c4d0d9;
  margin: 0 0 10px;
}
.contact-info strong {
  font-size: 17px;
  color: #fff;
}
.contact-info a {
  color: #fff;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.desktop-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 45;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  font-size: 30px;
  transition: transform 0.18s ease;
}
.desktop-whatsapp:hover {
  transform: translateY(-3px);
}
@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .about-photo img {
    width: 210px;
    height: 210px;
  }
  .contact-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
  }
}
@media (max-width: 700px) {
  .desktop-whatsapp {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo img {
    width: 220px;
    height: 220px;
  }
  .about-copy {
    text-align: left;
  }
  .cargo-grid article .card-button > div:not(.cargo-image) {
    min-height: 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-map iframe {
    height: 320px;
  }
}

.cargo-grid article .card-button > .cargo-image {
  padding: 0;
}

.cargo-grid article:nth-child(1) .cargo-image,
.cargo-grid article:nth-child(5) .cargo-image {
  background: #e7edf1;
}
.cargo-grid article:nth-child(1) .cargo-image img,
.cargo-grid article:nth-child(5) .cargo-image img {
  object-position: center;
}
@media (min-width: 1001px) {
  .hero,
  .hero-layout {
    height: min(680px, calc(100svh - 92px));
    min-height: 580px;
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
    gap: 64px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero-text {
    max-width: 700px;
  }
  .hero-text h1 {
    font-size: clamp(50px, 4.3vw, 62px);
  }
  .hero .lead-form {
    width: 100%;
    max-width: 390px;
    justify-self: end;
  }
}
/* Cargo media frames */
.cargo-grid .cargo-image {
  display: block;
  height: 225px;
  overflow: hidden;
  padding: 0;
}
.cargo-grid .cargo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}
.cargo-grid .card-button {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.cargo-grid article .card-button > div:not(.cargo-image) {
  width: 100%;
  flex: 1;
}
@media (max-width: 700px) {
  .cargo-grid .cargo-image {
    height: 240px;
  }
}

.form-status {
  grid-column: 1/-1;
  min-height: 0;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
}
.form-status:empty {
  display: none;
}
.form-status.success {
  color: #137a47;
}
.form-status.error {
  color: #b91822;
}
.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
