/* ============================================================
   Mill Express & Logistics — site stylesheet
   ============================================================ */

:root {
  --blue: #1a56db;
  --blue-dark: #1240a8;
  --navy: #0b1f4b;
  --navy-2: #122a5e;
  --gold: #f0b429;
  --gold-dark: #de911d;
  --green: #14804a;
  --ink: #0f172a;
  --body: #3f4a5f;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-blue-tint: #eaf1fd;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 10px 24px -6px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 45px -12px rgba(11, 31, 75, 0.25);
  --radius: 14px;
  --radius-lg: 20px;
  --font-head: "Lexend", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 5rem 0; }
.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 620px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-blue-tint);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}
.btn svg { flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-dark);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover { background: var(--bg-blue-tint); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd9f2;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  align-items: center;
  justify-content: center;
}
.topbar a {
  color: #cdd9f2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; }
.topbar .tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand img { height: 56px; width: auto; }
.brand span em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover { color: var(--blue); background: var(--bg-blue-tint); }
.nav-links a.active { color: var(--blue); }
.nav-links .btn {
  margin-left: 0.5rem;
  padding: 0.6rem 1.3rem;
  min-height: 44px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0.75rem; }
  .nav-links .btn { margin: 0.5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(26, 86, 219, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-blue-tint) 0%, #fff 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: var(--blue); }
.hero .lede {
  font-size: 1.2rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-points svg { color: var(--green); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 25px 35px rgba(11, 31, 75, 0.25));
}
.hero-card {
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--line);
}
.hero-card .icon-chip { margin: 0; }
.hero-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.98rem;
}
.hero-card span { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero-visual { order: -1; max-width: 480px; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 2.25rem 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
}
.stat span { font-size: 0.95rem; color: #cdd9f2; }
@media (max-width: 760px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  right: -0.75rem;
  bottom: -1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: var(--radius);
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  line-height: 1.35;
}
.about-copy h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
.about-copy .sub {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 600;
}
.check-list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--green);
}
.check-list small {
  display: block;
  font-weight: 400;
  color: var(--body);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-media { max-width: 560px; }
}

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c7d7f5;
}
.card h3 { font-size: 1.2rem; margin-top: 1.25rem; }
.card p { margin: 0; font-size: 0.99rem; }

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-blue-tint);
  color: var(--blue);
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--gold { background: #fdf3d7; color: var(--gold-dark); }
.icon-chip--green { background: #e2f5eb; color: var(--green); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -1.1rem;
  left: 1.6rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq[open] {
  border-color: #c7d7f5;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .chev {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.25s ease;
}
.faq[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--body);
  font-size: 0.99rem;
}
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.cta-band p { margin: 0; color: #cdd9f2; max-width: 34rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Contact page ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(26, 86, 219, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-blue-tint) 0%, #fff 100%);
  padding: 3.5rem 0;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.5rem; }
.page-hero p { font-size: 1.15rem; margin: 0; max-width: 40rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: #c7d7f5; }
.info-card .icon-chip { flex-shrink: 0; width: 46px; height: 46px; }
.info-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.2rem; }
.info-card p, .info-card a.value {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0;
}
.info-card a.value:hover { color: var(--blue); }
.info-card small { color: var(--muted); }
.info-stack { display: grid; gap: 1rem; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.contact-form h2 { font-size: 1.5rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-wrap iframe { display: block; width: 100%; height: 430px; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #b9c7e4;
  margin-top: 5rem;
}
.footer a { color: #b9c7e4; transition: color 0.2s ease; }
.footer a:hover { color: var(--gold); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.03em;
}
.footer-brand img { height: 72px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.97rem; max-width: 26rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer ul li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer ul svg { flex-shrink: 0; margin-top: 0.25rem; width: 16px; height: 16px; color: var(--gold); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .flag-stripe {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.footer-bottom .flag-stripe i {
  display: inline-block;
  width: 18px;
  height: 5px;
  border-radius: 3px;
}
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 40;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
