:root {
  --accent: #3f3d9e;
  --accent-dark: #2e2c7a;
  --text: #1d2330;
  --muted: #5a6273;
  --bg: #ffffff;
  --soft: #f3f5f9;
  --line: #e2e6ee;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; letter-spacing: .5px;
}
.brand-name { font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.brand-name small { display: block; font-size: 12px; letter-spacing: .3px; text-transform: none; color: var(--muted); }
nav { display: flex; gap: 22px; font-size: 15px; }
nav a { color: var(--text); text-decoration: none; }
nav a:hover { color: var(--accent); }

.hero {
  display: grid; grid-template-columns: 1fr minmax(0, 640px) 1fr;
  align-items: end; background: #cdd9e4 url("/transporter.jpg") left top / 100% auto; text-align: center; min-height: 560px;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo:first-child { object-position: right center; }
.hero-photo:last-child { object-position: left center; }
.hero-card {
  position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
  background: #f7f8fc; border-radius: 60px 60px 0 0; margin-top: 150px; padding: 56px 44px 64px;
}
.hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 0 0 20px; font-weight: 600; }
.hero p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto 30px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 6px; font-weight: 600;
}
.btn:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 10px; }
.btn-ghost:hover { background: var(--accent); color: #fff; }

section { padding: 72px 0; }
section h2 { font-size: 30px; margin: 0 0 12px; font-weight: 600; }
.lead { color: var(--muted); margin: 0 0 36px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--soft); border-radius: 12px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { font-size: 28px; margin-bottom: 10px; display: block; }

.contact { background: var(--soft); }
.contact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-box div { background: #fff; border-radius: 12px; padding: 24px; }
.contact-box strong { display: block; margin-bottom: 6px; }
.contact-box a { text-decoration: none; }

footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; }

.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: 32px; margin-top: 0; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero-card { grid-column: 1 / -1; grid-row: 1; margin: 0; border-radius: 0; padding: 48px 20px; }
  .hero-photo { height: 260px; }
}
@media (max-width: 640px) {
  nav { gap: 14px; font-size: 14px; }
  .brand-name small { display: none; }
  .hero-photo { height: 200px; }
  .btn-ghost { margin: 12px 0 0; }
  footer a { margin: 0 14px 0 0; }
}
