/* ==========================================================================
   SHM Transport — landing page
   ========================================================================== */

:root {
  --navy-950: #070e1a;
  --navy-900: #0a1424;
  --navy-800: #111f36;
  --navy-700: #1b2d4a;
  --ink: #0f1b2d;
  --body: #4a586c;
  --muted: #7b889b;
  --line: #e4e9f0;
  --tint: #f4f6fa;
  --white: #fff;
  --accent: #e11d24;
  --accent-600: #bf141b;
  --accent-soft: #fdecec;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(10, 20, 36, .28);
  --shadow-sm: 0 6px 20px -10px rgba(10, 20, 36, .18);
  --container: 1200px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-900); color: #a9b6c9; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: 1.08rem; max-width: 60ch; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-split {
  max-width: none;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 60px; align-items: end;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 12px 20px; font-size: .94rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(225, 29, 36, .7); }
.btn-primary:hover { background: var(--accent-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }

.icon-wrap {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 1.15rem;
}

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent);
}
.link .icon { transition: transform .2s; }
a:hover .link .icon { transform: translateX(4px); }

/* Reveal on scroll (only when JS is available) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(4n+2), .solution-grid .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid .reveal:nth-child(4n+3), .solution-grid .reveal:nth-child(3) { transition-delay: .16s; }
.service-grid .reveal:nth-child(4n+4) { transition-delay: .24s; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled, .site-header.nav-open {
  background: rgba(10, 20, 36, .88);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; }
.site-footer .brand-logo { height: 60px; }

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 10px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .82);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.header-phone .icon { color: var(--accent); }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px;
  background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer;
}
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 72px) 0 56px;
  background: var(--navy-900); color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 14, 26, .92) 0%, rgba(7, 14, 26, .7) 45%, rgba(7, 14, 26, .25) 100%),
    linear-gradient(0deg, rgba(7, 14, 26, .9) 0%, rgba(7, 14, 26, 0) 45%);
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .92);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(225, 29, 36, .25); }

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.4rem, 1.2rem + 5vw, 4.6rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -.035em;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { max-width: 54ch; margin-top: 24px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(48px, 7vw, 84px) 0 0;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  background: rgba(10, 20, 36, .55); backdrop-filter: blur(14px);
}
.stat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 24px 28px;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat .icon { grid-row: span 2; width: 34px; height: 34px; color: var(--accent); stroke-width: 1.5; }
.stat dt { order: 2; font-size: .88rem; color: rgba(255, 255, 255, .68); }
.stat dd { margin: 0; font: 600 clamp(1.6rem, 1rem + 1.6vw, 2.3rem)/1.1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- Marquee ---------- */

.marquee { overflow: hidden; background: var(--accent); color: #fff; padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font: 600 1rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 56px 72px 0; }
.about-img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 12% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-sub {
  position: absolute; right: 0; bottom: 0;
  width: 56%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; left: 24px; bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: 18px;
  background: var(--accent); color: #fff;
  box-shadow: 0 18px 36px -16px rgba(225, 29, 36, .8);
}
.about-badge strong { font: 700 2.6rem/1 var(--font-head); letter-spacing: -.03em; }
.about-badge span { font-size: .85rem; font-weight: 500; line-height: 1.3; }

.about-copy h2 { margin-bottom: 20px; }
.about-cards { display: grid; gap: 16px; margin: 32px 0 36px; }
.mini-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mini-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card h3 { margin-bottom: 6px; }
.mini-card p { font-size: .97rem; }

/* ---------- Why choose us ---------- */

.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why-copy h2 { margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.feature-grid li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  font-weight: 500; color: #e8edf5; line-height: 1.35;
  transition: background-color .2s, border-color .2s;
}
.feature-grid li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(225, 29, 36, .45); }
.feature-grid .icon-wrap { width: 46px; height: 46px; background: rgba(225, 29, 36, .14); }

.why-media { position: relative; margin: 0; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.why-media figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(10, 20, 36, .72); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14);
  font-weight: 500; color: #fff; font-size: .97rem;
}
.why-media figcaption .icon { padding: 5px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); stroke-width: 2.6; }

/* ---------- Services ---------- */

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  padding: 30px 26px 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s, background-color .25s;
}
.service-card::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px;
  background: var(--accent); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .icon-wrap { width: 58px; height: 58px; margin-bottom: 26px; font-size: 1.35rem; transition: background-color .25s, color .25s; }
.service-card:hover .icon-wrap { background: var(--accent); color: #fff; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .96rem; }

/* ---------- Solutions ---------- */

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 460px; border-radius: var(--radius);
  color: #fff; background: var(--navy-800);
}
.solution img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.solution::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 14, 26, .92) 0%, rgba(7, 14, 26, .35) 55%, rgba(7, 14, 26, .05) 100%); }
.solution:hover img { transform: scale(1.06); }
.solution-body { padding: 28px; }
.solution .tag { display: block; margin-bottom: 10px; font: 600 .85rem/1 var(--font-head); letter-spacing: .14em; color: var(--accent); }
.solution h3 { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.solution p { color: rgba(255, 255, 255, .8); font-size: .98rem; margin-bottom: 18px; }
.solution .link { color: #fff; }

/* ---------- Blog ---------- */

.post {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s, border-color .25s;
}
.post:hover { box-shadow: var(--shadow); border-color: transparent; }
.post img { width: 100%; height: 100%; min-height: 300px; max-height: 420px; object-fit: cover; }
.post-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: clamp(28px, 4vw, 56px); }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8rem; }
.post h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.25; transition: color .2s; }
.post:hover h3 { color: var(--accent-600); }

/* ---------- CTA ---------- */

.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; background: var(--navy-900); color: #fff; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 14, 26, .88), rgba(7, 14, 26, .6)); }
.cta h2 { color: #fff; }
.cta p { max-width: 52ch; margin: 18px auto 0; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.cta .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-list { display: grid; gap: 22px; margin-top: 38px; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-list span:not(.icon-wrap) { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a, .contact-list address { font: 600 1.1rem/1.35 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius); background: var(--tint);
  border: 1px solid var(--line);
}
.field { display: grid; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid #d5dce6; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(225, 29, 36, .16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .6; cursor: progress; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-status { font-size: .94rem; font-weight: 500; }
.form-status.is-success { color: #14804a; }
.form-status.is-error { color: #c0341d; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-950); color: #93a1b6; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 72px 56px; }
.footer-brand p { margin-top: 20px; max-width: 36ch; }
.site-footer h4 { margin-bottom: 20px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer li + li { margin-top: 12px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .header-phone { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 12px 20px 24px;
    background: rgba(10, 20, 36, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }

  .about, .why, .contact, .post, .section-head-split { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .why-media img { aspect-ratio: 16 / 10; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution { min-height: 340px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .header-actions .btn { display: none; }
  .site-header .brand-logo { height: 40px; }
  .hero { padding-bottom: 32px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stat { padding: 18px 16px; column-gap: 12px; }
  .stat .icon { width: 26px; height: 26px; }
  .about-media { padding: 0 28px 56px 0; }
  .about-badge { left: 14px; bottom: 16px; padding: 14px 16px; }
  .about-badge strong { font-size: 2rem; }
  .feature-grid, .service-grid, .contact-form, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; padding-block: 56px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
