/* The Lejo Express public site.

   Built from the client's Figma file (LEJO-PORTER, frame "Lejo Express
   homepage", node 97:477). Every colour, size, radius and gap below is read
   from that frame, which is drawn at 1440 wide with 80px margins. Narrower
   screens keep the same order and stack.

   Two deliberate departures from the frame, both about the brand rather than
   the layout:
   - the footer shows the real Lejo mark, not the generic cube glyph drawn in
     a gold square there;
   - the food and driver cards carry a utensils and a truck icon, where the
     frame had a crossed circle on both -- an icon that reads as "not
     available", on the two services it was meant to advertise. */

:root {
  --dark:      #26312F;
  --slate:     #3D4947;
  --deep:      #17201F;
  --gold:      #C89A2C;
  --gold-hi:   #D6A83A;
  --cream:     #F5E7BD;

  --ink:       #17201F;
  --muted:     #66716F;
  --line:      #DDE2DF;
  --alt:       #F6F7F5;

  --on-dark:   #D8DEDC;
  --on-dark-2: #C8D0CE;
  --on-dark-3: #AAB5B2;

  --shell:     1280px;
  --gut:       clamp(20px, 5.6vw, 80px);
  --font:      "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 20;
  background: #FFFFFF; color: var(--ink);
  padding: 10px 14px; border-radius: 8px;
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gut));
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ------------------------------------------------------------------ shared */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 700 16px/1 var(--font);
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn-gold  { background: var(--gold);  color: var(--dark); }
.btn-gold:hover  { background: var(--gold-hi); }
.btn-slate { background: var(--slate); color: #FFFFFF; }
.btn-slate:hover { background: #4A5755; }
.btn:disabled { opacity: .6; cursor: progress; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px; height: 3px;
  border-radius: 999px;
  background: var(--gold);
}
.eyebrow.light { color: var(--cream); }

/* The icons are the frame's own exports: 24px, 1px stroke, no fill. */
.icon {
  flex: none;
  width: 24px; height: 24px;
  fill: none;
  stroke-linecap: round;
}

.section-title {
  font-weight: 800;
  font-size: clamp(32px, 3.06vw, 44px);
  line-height: 1.08;
  color: var(--ink);
}

.intro {
  font-size: 16px; line-height: 1.6;
  color: var(--muted);
}

.band     { padding: 104px 0; }
.band-alt { background: var(--alt); }

/* ------------------------------------------------------------------ header */

.top {
  position: relative; z-index: 5;
  background: var(--dark);
  color: #FFFFFF;
}

.nav {
  height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-name { font-weight: 800; font-size: 24px; color: #FFFFFF; }
.brand-sub  { font-weight: 700; font-size: 13px; color: var(--gold); }

.links { display: flex; align-items: center; gap: 34px; }
.links a:not(.btn) {
  font-weight: 600; font-size: 14px;
  color: #FFFFFF; text-decoration: none;
}
.links a:not(.btn):hover { color: var(--cream); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: #FFFFFF;
  cursor: pointer;
}
.menu-toggle svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}

/* ------------------------------------------------------------------ hero */

.hero { background: var(--dark); color: #FFFFFF; }

.hero-grid {
  display: flex; align-items: center; gap: 64px;
  min-height: 808px;
  padding-top: 70px; padding-bottom: 86px;
}

.hero-copy {
  flex: 0 1 650px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 4.72vw, 68px);
  line-height: 1.02;
}

.lede {
  max-width: 560px;
  font-size: clamp(17px, 1.39vw, 20px);
  line-height: 1.55;
  color: var(--on-dark);
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.trust {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
}

.hero-visual {
  position: relative;
  flex: 1 1 0; min-width: 0;
  height: 590px;
  border-radius: 28px;
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.status-card {
  position: absolute; left: 28px; bottom: 28px;
  width: 310px; max-width: calc(100% - 56px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, .95);
  border-radius: 18px;
  color: var(--ink);
}
.status-card .k   { font-weight: 700; font-size: 12px; color: var(--muted); }
.status-card .row { display: flex; justify-content: space-between; align-items: flex-start; }
.status-card .v   { font-size: 18px; }
.status-card .t   { font-weight: 700; font-size: 14px; color: var(--gold); }

/* ------------------------------------------------------------------ services */

.services-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.services-head .copy {
  max-width: 690px;
  display: flex; flex-direction: column; gap: 16px;
}
.services-head .intro { max-width: 400px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  min-height: 290px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 22px;
  padding: 28px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(23, 32, 31, .08);
}

.tile {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--cream);
  border-radius: 14px;
}

.card h3 { font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink); }
.card p  { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.more {
  font-weight: 700; font-size: 14px;
  color: var(--gold);
  text-decoration: none;
}
.more:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ how it works */

.process { display: flex; align-items: flex-start; gap: 72px; }

.process-visual {
  position: relative;
  flex: 0 0 560px;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
}
.process-visual img { width: 100%; height: 100%; object-fit: cover; }

.badge-trust {
  position: absolute; top: 24px; right: 24px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #FFFFFF;
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  color: var(--slate);
}

.process-copy {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 30px;
}

.steps { width: 100%; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: flex; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps .num { flex: none; width: 42px; font-weight: 800; font-size: 14px; color: var(--gold); }
.steps h3   { font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--ink); }
.steps p    { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ------------------------------------------------------------------ download */

.download { background: var(--dark); color: #FFFFFF; padding: 72px 0; }

.download-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}

.download .copy {
  max-width: 690px;
  display: flex; flex-direction: column; gap: 18px;
}
.download h2 {
  font-weight: 800;
  font-size: clamp(30px, 2.92vw, 42px);
  line-height: 1.1;
}
.download .intro { max-width: 570px; line-height: 1.55; color: var(--on-dark-2); }

.stores { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  height: 58px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
  background: var(--deep);
  border-radius: 12px;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color .15s ease;
}
.store:hover { background: #0E1514; }
.store small { display: block; font-size: 9px; line-height: 1.2; }
.store b     { display: block; font-weight: 400; font-size: 18px; line-height: 1.2; }

.store-note {
  max-width: 343px; min-height: 1.4em;
  font-size: 13px; line-height: 1.4;
  text-align: right;
  color: var(--cream);
}

/* ------------------------------------------------------------------ contact */

.contact { background: var(--alt); padding: 80px 0; }

.contact-row { display: flex; align-items: flex-start; gap: 80px; }

.contact-copy {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 22px;
}
.contact-copy .intro { max-width: 500px; }

.details {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.details a {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px;
  color: var(--slate);
  text-decoration: none;
}
.details a:hover { color: var(--ink); text-decoration: underline; }

.cta-form {
  position: relative;
  flex: 0 0 560px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  background: #FFFFFF;
  border-radius: 18px;
}
.cta-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* The label is the bordered box, as in the frame: the caption sits inside it
   and a click anywhere in the box lands in the field. */
.field {
  min-height: 68px;
  display: flex; flex-direction: column; gap: 5px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: text;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 154, 44, .18);
}
.field.bad { border-color: #B3261E; }
.field > span {
  font-weight: 700; font-size: 11px; line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  margin: 0; padding: 0;
  border: 0; outline: 0;
  background: transparent;
  font: 400 14px/1.35 var(--font);
  color: var(--slate);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field-tall { min-height: 110px; }
.field textarea { flex: 1; min-height: 58px; resize: vertical; }

.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.note      { font-size: 14px; color: var(--muted); }
.note.ok   { color: #1E6B45; }
.note.bad  { color: #B3261E; }

.fine   { font-size: 12px; color: var(--muted); }
.fine a { color: var(--slate); }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ footer */

.foot { background: var(--dark); color: #FFFFFF; }

.foot-row {
  min-height: 116px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 24px; padding-bottom: 24px;
}

.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px;
  color: #FFFFFF;
  text-decoration: none;
}
.foot-brand img { width: 34px; height: 34px; }

.copy-note { font-size: 12px; color: var(--on-dark-3); }

.foot-links { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.foot-links a { color: #FFFFFF; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links .ig { display: inline-flex; }
.foot-links .ig svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round;
}

/* ------------------------------------------------------------------ narrower screens */

@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { gap: 48px; }
  .process-visual { flex-basis: 44%; }
  .contact-row { gap: 48px; }
  .cta-form { flex-basis: 50%; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }

  .links {
    position: absolute; top: 92px; left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 24px;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .links.open { display: flex; }
  .links a:not(.btn) {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .links .btn { margin-top: 18px; }

  .band { padding: 72px 0; }

  .hero-grid {
    flex-direction: column; align-items: stretch;
    min-height: 0; gap: 44px;
    padding-top: 36px; padding-bottom: 64px;
  }
  .hero-copy { flex: none; }
  .hero-visual { flex: none; height: auto; aspect-ratio: 566 / 590; max-height: 620px; }

  .services-head { flex-direction: column; align-items: flex-start; gap: 18px; }

  .process { flex-direction: column; }
  .process-visual { flex: none; width: 100%; max-width: 560px; }

  .download-row { flex-direction: column; align-items: flex-start; }
  .stores { align-items: flex-start; }
  .store-note { text-align: left; }

  .contact { padding: 72px 0; }
  .contact-row { flex-direction: column; }
  .cta-form { flex: none; width: 100%; max-width: 640px; }
}

@media (max-width: 620px) {
  .nav { height: 76px; }
  .links { top: 76px; }
  .brand-logo { width: 48px; height: 48px; border-radius: 10px; }
  .brand-name { font-size: 21px; }

  .btn { height: 50px; padding: 0 22px; }

  .status-card { left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 16px; }
  .badge-trust { top: 16px; right: 16px; }

  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }

  .cta-form { padding: 20px; }
  .cta-form .pair { grid-template-columns: 1fr; }

  .foot-row { flex-direction: column; align-items: flex-start; }
}
