/* =========================================================================
   A1 Logistics — main stylesheet
   Extracted from the original HTML mockups into reusable, semantic classes.
   ========================================================================= */

:root {
  --navy: #0b1f33;
  --navy-dark: #06121f;
  --blue: #1763d6;
  --blue-hover: #2a78ef;
  --blue-light: #3d8bff;
  --page-bg: #f4f6f8;
  --panel-bg: #eef2f7;
  --ink: #0b1f33;
  --muted: #4a5d72;
  --muted-2: #56697e;
  --muted-3: #8094a8;
  --line: #e2e8f0;
  --input-line: #cdd7e3;
  --footer-text: #9fb4cc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
input, textarea, select, button { font-family: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }

@keyframes a1fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.a1-wrap { max-width: 100%; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---- Headings / shared type ---- */
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .18em; font-size: 13px; margin-bottom: 12px; }
.eyebrow--light { color: var(--blue-light); }
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(34px, 5vw, 50px); line-height: 1; text-transform: uppercase; color: var(--ink);
}
.section-title--on-dark { color: #fff; }
.section-intro { margin-top: 16px; font-size: 18px; color: var(--muted); line-height: 1.5; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.highlight { color: var(--blue-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; border-radius: 8px;
  border: none; cursor: pointer; line-height: 1.1;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.28); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--lg { font-size: 24px; padding: 16px 30px; }
.btn--md { font-size: 22px; padding: 15px 30px; }
.btn--outline { background: transparent; color: #fff; font-weight: 700; padding: 15px 26px; border: 2px solid rgba(255,255,255,.4); }
.btn--outline:hover { border-color: var(--blue-light); color: #9ec3ff; }
.btn--outline-soft { border-color: rgba(255,255,255,.25); }
.btn--white { background: #fff; color: var(--navy); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.btn--white:hover { background: #eef2f7; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.3); }
.btn--navy:hover { background: var(--navy-dark); }

/* ---- Top bar ---- */
.topbar { background: var(--navy-dark); color: var(--footer-text); font-size: 13px; letter-spacing: .04em; padding: 7px 0; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.topbar__status { display: flex; align-items: center; gap: 8px; }
.topbar__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #36c26f; }
.topbar__note { color: #cfe0f5; }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 0 rgba(23,99,214,.5); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; background: var(--blue); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; line-height: 1; border-radius: 6px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.brand__name { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .02em; line-height: 1; }
.brand__sub { display: block; font-family: 'Barlow', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .28em; color: #7e9bbd; }
.nav__right { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.nav__menu { display: flex; gap: 26px; list-style: none; align-items: center; flex-wrap: wrap; }
.nav__menu a { color: #cfdbe9; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__menu a:hover { color: #fff; }
.nav__menu .current-menu-item > a,
.nav__menu a[aria-current="page"],
.nav__menu a.is-active { color: #fff; font-weight: 700; border-bottom: 2px solid var(--blue-light); padding-bottom: 2px; }
.nav__call { display: flex; align-items: center; gap: 9px; background: var(--blue); color: #fff; text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: .02em; padding: 11px 20px; border-radius: 6px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.28); }
.nav__call:hover { background: var(--blue-hover); }
.nav__toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 8px 12px; font-size: 20px; cursor: pointer; }

/* ---- Hero (full-bleed) ---- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,18,31,.94) 0%, rgba(7,18,31,.80) 42%, rgba(7,18,31,.34) 100%); }
.hero__inner { position: relative; padding: clamp(72px,11vw,120px) 24px; min-height: 540px; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; margin: 0 auto; }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 8px; background: rgba(23,99,214,.25); border: 1px solid rgba(23,99,214,.6); color: #bcd6ff; font-weight: 600; font-size: 13px; letter-spacing: .05em; padding: 7px 14px; border-radius: 100px; margin-bottom: 24px; }
.hero__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(44px,7vw,72px); line-height: .94; letter-spacing: .005em; text-transform: uppercase; max-width: 720px; }
.hero__text { margin-top: 20px; font-size: 19px; line-height: 1.5; color: #dbe6f3; max-width: 540px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__bullets { margin-top: 30px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: #bcccdd; }

/* ---- Service keyword strip ---- */
.strip { background: var(--blue); color: #fff; }
.strip__inner { padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: center; text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; }
.strip__sep { opacity: .4; }

/* ---- Generic section padding ---- */
.section { padding: 84px 24px; }
.section--dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--panel { background: var(--panel-bg); }
.weave { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 22px); pointer-events: none; }

/* ---- Service cards grid ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card__media { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.card__body { padding: 22px 24px; }
.card__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--ink); line-height: 1.05; }
.card__text { margin-top: 8px; font-size: 15px; color: var(--muted-2); line-height: 1.5; }
.center { text-align: center; }
.services__cta { margin-top: 36px; text-align: center; }
.services__footnote { margin-top: 16px; font-size: 15px; color: var(--muted-2); }

/* ---- About preview (split) ---- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; position: relative; }
.about__text { margin-top: 18px; font-size: 18px; color: #c5d4e6; line-height: 1.6; }
.about__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.about__media { display: block; width: 100%; height: auto; aspect-ratio: 5/4; border-radius: 12px; object-fit: cover; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }

/* ---- Service areas ---- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.area { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px 14px; text-align: center; }
.area__pin { font-size: 22px; margin-bottom: 6px; }
.area__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px; text-transform: uppercase; color: var(--ink); line-height: 1; }
.areas__note { text-align: center; margin-top: 22px; font-size: 15px; color: var(--muted-2); }
.areas__note strong { color: var(--ink); }
.areas__map { display: block; width: 100%; height: auto; aspect-ratio: 21/7; object-fit: cover; margin-top: 26px; border-radius: 12px; border: 1px solid var(--line); }

/* ---- Quote form ---- */
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; max-width: 1080px; margin: 0 auto; }
.quote__intro { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.6; }
.callbox { margin-top: 26px; background: var(--navy); color: #fff; border-radius: 10px; padding: 22px 24px; }
.callbox__label { font-size: 13px; color: var(--footer-text); letter-spacing: .05em; }
.callbox__num { display: block; margin-top: 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 34px; color: #fff; text-decoration: none; line-height: 1; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 20px 50px -28px rgba(11,31,51,.4); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.field { margin-bottom: 0; }
.field--full { margin-top: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--input-line); border-radius: 7px; font-size: 15px; background: #f8fafc; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; background: #fff; }
.field textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 18px; background: var(--blue); color: #fff; border: none; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; padding: 15px; border-radius: 8px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.28); }
.form-submit:hover { background: var(--blue-hover); }
.form-note { margin-top: 10px; font-size: 12px; color: var(--muted-3); text-align: center; }
.form-success { text-align: center; padding: 40px 12px; }
.form-success__icon { font-size: 48px; }
.form-success h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 32px; text-transform: uppercase; color: var(--ink); margin-top: 12px; }
.form-success p { margin-top: 10px; font-size: 16px; color: var(--muted-2); line-height: 1.5; }
.form-success a { color: var(--blue); font-weight: 700; }

/* ---- Contact modal ---- */
body.a1-modal-open { overflow: hidden; }
.a1-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.a1-modal[hidden] { display: none; }
.a1-modal__overlay { position: absolute; inset: 0; background: rgba(6,18,31,.7); backdrop-filter: blur(2px); }
.a1-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 880px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 14px;
  box-shadow: 0 40px 90px -30px rgba(6,18,31,.7);
  animation: a1fade .22s ease-out;
}
.a1-modal__close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; border: none; border-radius: 8px;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.a1-modal__close:hover { background: rgba(255,255,255,.28); }
.a1-modal__grid { display: grid; grid-template-columns: 340px 1fr; align-items: stretch; }
.a1-modal__info { background: var(--navy); color: #fff; padding: 40px 32px; border-radius: 14px 0 0 14px; }
.a1-modal__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(28px,4vw,38px); line-height: 1; text-transform: uppercase; }
.a1-modal__lead { margin-top: 14px; font-size: 15px; color: #c5d4e6; line-height: 1.55; }
.a1-modal__contact { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.a1-modal__contact li { display: flex; gap: 12px; align-items: flex-start; }
.a1-modal__ci-icon { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.a1-modal__ci-label { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--footer-text); }
.a1-modal__ci-val { display: block; margin-top: 2px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; line-height: 1.1; }
a.a1-modal__ci-val:hover { color: #9ec3ff; }
.a1-modal__areas { margin-top: 24px; font-size: 13px; color: var(--footer-text); line-height: 1.5; }
.a1-modal__form { padding: 40px 32px; }
.a1-modal__form .form-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

@media (max-width: 720px) {
  .a1-modal { padding: 0; }
  .a1-modal__dialog { max-width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .a1-modal__grid { grid-template-columns: 1fr; }
  .a1-modal__info { border-radius: 0; padding: 56px 24px 28px; }
  .a1-modal__form { padding: 28px 24px 40px; }
}

/* ---- FAQ ---- */
.faq { max-width: 840px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; }
.faq__q-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 21px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.faq__sign { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px; color: var(--blue); flex-shrink: 0; }
.faq__a { padding: 0 22px 22px; font-size: 16px; color: var(--muted-2); line-height: 1.6; }
.faq__item[hidden] { display: none; }

/* ---- Final CTA ---- */
.cta { background: var(--blue); color: #fff; padding: 64px 24px; text-align: center; }
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(34px,5.5vw,52px); line-height: 1; text-transform: uppercase; }
.cta__text { margin-top: 14px; font-size: 19px; color: #dce8ff; }
.cta__actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Page header (interior pages) ---- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero__inner { padding: 64px 24px; position: relative; max-width: 1200px; margin: 0 auto; }
.crumbs { font-size: 13px; color: #7e9bbd; letter-spacing: .04em; margin-bottom: 16px; }
.crumbs a { color: #7e9bbd; text-decoration: none; }
.crumbs span { color: #cfdbe9; }
.page-hero__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(40px,6.5vw,64px); line-height: .98; text-transform: uppercase; max-width: 760px; }
.page-hero__text { margin-top: 18px; font-size: 19px; line-height: 1.55; color: #c5d4e6; max-width: 640px; }

/* ---- Services: full catalog ---- */
.catalog { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px,4vw,52px); box-shadow: 0 20px 50px -34px rgba(11,31,51,.4); }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(32px,4vw,52px); }
.cat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--blue); }
.cat__icon { font-size: 24px; }
.cat__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 23px; text-transform: uppercase; color: var(--ink); line-height: 1; }
.cat__item { padding: 15px 0; border-bottom: 1px solid var(--panel-bg); }
.cat__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.cat__desc { margin-top: 2px; font-size: 14px; color: var(--muted-2); line-height: 1.45; }

/* ---- Services: how it works ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 28px 24px; }
.step__num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 40px; color: var(--blue-light); line-height: 1; }
.step__title { margin-top: 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; }
.step__text { margin-top: 8px; font-size: 14px; color: #a9bdd4; line-height: 1.55; }

/* ---- About: why-us / story ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.why { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 28px 24px; }
.why__icon { font-size: 28px; margin-bottom: 12px; }
.why__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: #fff; }
.why__text { margin-top: 6px; font-size: 14px; color: #a9bdd4; line-height: 1.55; }
.story__media { display: block; width: 100%; height: auto; aspect-ratio: 5/4; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.story__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(32px,5vw,46px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.story__p { margin-top: 18px; font-size: 17px; color: var(--muted); line-height: 1.65; }
.story__p + .story__p { margin-top: 14px; }
.teaser { max-width: 1000px; margin: 0 auto; text-align: center; }
.teaser__title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(30px,4.5vw,42px); line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.teaser__text { margin-top: 16px; font-size: 18px; color: var(--muted); line-height: 1.55; }
.teaser__link { display: inline-block; margin-top: 24px; color: var(--blue); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-dark); color: var(--footer-text); padding: 56px 24px 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--blue); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; border-radius: 6px; }
.footer__name { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 21px; line-height: 1; }
.footer__about { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer__h { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer__list { font-size: 14px; line-height: 2; }
.footer__list a { color: var(--footer-text); text-decoration: none; }
.footer__list a:hover { color: #fff; }
.footer__list a.is-phone { color: #cfe0f5; font-weight: 700; }
.footer__bar { max-width: 1200px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: #6f87a3; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav__toggle { display: inline-block; }
  .nav__right { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; display: none; }
  .nav__right.is-open { display: flex; }
  .nav__menu { flex-direction: column; gap: 12px; }
  .nav__call { justify-content: center; }
}
