:root {
  --navy: #151246;
  --ink: #24213f;
  --muted: #686583;
  --orange: #ff6b14;
  --green: #149842;
  --teal: #22c9c3;
  --blue: #3157ff;
  --soft: #f7f9ff;
  --line: #e9ecf6;
  --shadow: 0 26px 70px rgba(25, 20, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(233, 236, 246, 0.84);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(220px, 17vw, 315px);
  min-width: 0;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  color: #4b486c;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--orange);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  background: #f1f3fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  color: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--orange);
}

.platform-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.platform-button {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #5541f3);
  box-shadow: 0 18px 34px rgba(49, 36, 160, 0.2);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff9d2e);
  box-shadow: 0 18px 34px rgba(255, 107, 20, 0.24);
}

.secondary-action {
  color: var(--navy);
  background: #fff;
  border: 1px solid #dcdff2;
}

.platform-button:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(26px, 4vw, 70px);
  min-height: calc(100vh - 96px);
  padding: clamp(40px, 5vw, 76px) clamp(22px, 5vw, 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 60%, rgba(255, 107, 20, 0.08), transparent 21%),
    radial-gradient(circle at 90% 18%, rgba(34, 201, 195, 0.16), transparent 22%),
    #fff;
}

.shape {
  position: absolute;
  display: block;
  opacity: 0.9;
}

.shape-one {
  left: 28px;
  bottom: 18%;
  width: 24px;
  height: 24px;
  border: 7px solid #2c285d;
  transform: rotate(45deg);
}

.shape-two {
  right: 7%;
  top: 25%;
  width: 12px;
  height: 12px;
  background: #ffd827;
  border-radius: 50%;
}

.shape-three {
  right: 6%;
  bottom: 19%;
  width: 32px;
  height: 32px;
  border: 7px solid #ff4fa4;
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 540px;
  display: grid;
  align-items: center;
}

.truck-hero {
  width: min(860px, 100%);
  filter: drop-shadow(0 28px 34px rgba(21, 18, 70, 0.18));
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.floating-card span,
.floating-card small {
  color: var(--muted);
}

.card-chart {
  left: 14%;
  top: 4%;
}

.card-alert {
  right: 6%;
  top: 22%;
  background: #2c285d;
}

.card-alert strong,
.card-alert span {
  color: #fff;
}

.card-route {
  left: 18%;
  bottom: 8%;
  grid-template-columns: auto 90px auto;
  align-items: center;
}

.route-dot {
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
}

.route-line {
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  border-radius: 99px;
}

.card-route small {
  grid-column: 1 / -1;
  color: var(--navy);
  font-weight: 800;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

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

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

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(3.7rem, 5.85vw, 6.6rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.quick-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
}

.quick-proof div,
.metric-row div,
.services-grid article,
.plans-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(25, 20, 70, 0.08);
}

.quick-proof div {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.quick-proof strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.quick-proof span,
.metric-row span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 78px);
}

.split-section,
.equipment-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
}

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

.feature-image {
  filter: drop-shadow(0 24px 48px rgba(25, 20, 70, 0.2));
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.metric-row div {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.metric-row strong {
  color: var(--green);
  font-size: 1.5rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.services-grid,
.plans-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}

.services-grid article,
.plans-grid article,
.ops-card {
  padding: 28px;
  min-height: 230px;
}

.services-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 8px;
  font-weight: 900;
}

.workflow-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.ops-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(25, 20, 70, 0.08);
}

.ops-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 54px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-ops-card {
  border-color: rgba(255, 107, 20, 0.35);
  background: linear-gradient(180deg, rgba(255, 107, 20, 0.06), rgba(255, 255, 255, 1));
}

.equipment-section {
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(34, 201, 195, 0.26), transparent 24%),
    linear-gradient(135deg, #151246, #242061 52%, #191640);
}

.equipment-section h2,
.equipment-section .eyebrow {
  color: #fff;
}

.equipment-section p {
  color: rgba(255, 255, 255, 0.76);
}

.equipment-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.plans-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.plans-grid article {
  min-height: 180px;
}

.precheck-section {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.precheck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}

.precheck-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(25, 20, 70, 0.08);
}

.precheck-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  font-weight: 900;
}

.featured-plan {
  border-color: rgba(255, 107, 20, 0.42) !important;
  transform: translateY(-10px);
}

.featured-plan small {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  font-weight: 900;
}

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

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.contact-form textarea,
.contact-form select,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #dfe2ee;
  border-radius: 8px;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid rgba(34, 201, 195, 0.17);
  border-color: var(--teal);
}

.form-status {
  margin: 0;
  min-height: 24px;
}

.form-status a {
  color: var(--orange);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  gap: 2px;
  padding: 16px 58px 16px 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(25, 20, 70, 0.18);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 35%, #fff 36% 48%, transparent 49%),
    #25d366;
  border-radius: 50%;
  transform: translateY(-50%);
}

.whatsapp-float span {
  color: var(--muted);
  font-size: 0.84rem;
}

.whatsapp-float strong {
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px clamp(22px, 5vw, 78px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 190px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  text-align: right;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer a:hover {
  color: var(--orange);
}

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

  .menu-button {
    display: grid;
    justify-self: end;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .menu-button span {
    height: 2px;
    background: var(--navy);
  }

  .main-nav,
  .header-tools {
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-tools {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .site-header.nav-open .header-tools {
    gap: 12px;
  }

  .site-header.nav-open .language-switch {
    justify-self: start;
  }

  .site-header.nav-open .main-nav {
    gap: 0;
  }

  .site-header.nav-open .main-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero-section,
  .split-section,
  .equipment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: -1;
  }

  .hero-visual {
    min-height: auto;
  }

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

@media (min-width: 1101px) and (max-width: 1320px) {
  .site-header {
    gap: 16px;
  }

  .brand img {
    width: 220px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.84rem;
  }

  .platform-button {
    padding-inline: 18px;
    font-size: 0.76rem;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 58px;
  }

  .hero-section {
    gap: 34px;
  }

  .truck-hero {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .feature-image {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 78px;
  }

  .brand img {
    width: 190px;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 24px 56px;
    max-width: 100vw;
  }

  .hero-copy,
  .hero-actions,
  .quick-proof {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 31ch;
  }

  h1 {
    font-size: clamp(2.95rem, 12.8vw, 3.45rem);
    line-height: 0.9;
  }

  html[lang="en"] h1,
  body.lang-en h1 {
    font-size: clamp(1.9rem, 8.9vw, 2.45rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
    max-width: 100%;
    justify-self: start;
  }

  .quick-proof,
  .metric-row,
  .services-grid,
  .plans-grid,
  .workflow-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin-top: 10px;
  }

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

  .featured-plan {
    transform: none;
  }

  .whatsapp-float {
    left: auto;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float span,
  .whatsapp-float strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .whatsapp-float::after {
    right: 12px;
  }

  .site-footer {
    display: grid;
    padding-bottom: 104px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand img {
    width: 184px;
  }

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

  .hero-section,
  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(1.9rem, 8.9vw, 2.16rem);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  html[lang="en"] h1,
  body.lang-en h1 {
    font-size: clamp(1.9rem, 8.9vw, 2.16rem);
  }

  h1 span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 29ch;
  }

  .quick-proof div,
  .services-grid article,
  .plans-grid article,
  .contact-form {
    padding: 20px;
  }
}
