/* =========================================================
   Speady — Landing page
   Design tokens, layout, components
   ========================================================= */

:root {
  --font-display: "Cabinet Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Brand */
  --brand-orange: #ff6a1a;
  --brand-orange-dark: #e35a0f;
  --brand-orange-light: #ffe4d3;
  --brand-ink: #171310;

  /* Surfaces (thème sombre uniquement) */
  --bg: #131110;
  --bg-alt: #191613;
  --surface: #1d1a17;
  --surface-2: #232019;
  --border: #322c25;
  --text: #f4efe9;
  --text-muted: #b9ada0;
  --text-soft: #8b8074;
  --on-primary: #1a0f06;
  --brand-orange-light: #402a1a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 64px -20px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 12px 32px -8px rgba(255, 106, 26, 0.35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: max(1.5rem, env(safe-area-inset-left, 0px)) max(1.5rem, env(safe-area-inset-right, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-orange);
  color: var(--on-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2.5px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-orange);
  color: var(--on-primary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}
.btn-lg {
  padding: 1rem 2.1rem;
  font-size: 1.02rem;
}
.btn-nav {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}
.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.text-link:hover {
  border-color: var(--brand-orange);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  height: auto;
  padding-block: 0.65rem;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .header-inner {
    min-height: 72px;
    padding-block: 0;
    gap: 1.5rem;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 0;
}
@media (min-width: 768px) {
  .brand {
    gap: 0.6rem;
    font-size: 1.15rem;
  }
}
.brand-mark {
  border-radius: 9px;
  object-fit: cover;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }
}
.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}
.site-nav a {
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .header-actions {
    gap: 0.75rem;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  transition: max-height var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}
.mobile-nav.is-open {
  max-height: 360px;
  border-bottom-color: var(--border);
  padding-block: 0.5rem 1.25rem;
}
.mobile-nav a {
  padding: 0.7rem 0;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-nav .btn {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 100%;
}
.mobile-nav .btn-ghost {
  margin-top: 0.35rem;
}

@media (max-width: 899px) {
  .btn-nav {
    display: none;
  }
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(1.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(0.5rem, 2vw, 1.75rem);
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .hero {
    min-height: clamp(480px, 72vh, 760px);
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1765584830134-12d879ad13bd?w=1800&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center 42%;
}
@media (min-width: 768px) {
  .hero-bg {
    transform: scale(1.03);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      108deg,
      rgba(19, 17, 16, 0.95) 0%,
      rgba(19, 17, 16, 0.88) 38%,
      rgba(19, 17, 16, 0.58) 58%,
      rgba(19, 17, 16, 0.22) 100%
    ),
    radial-gradient(70% 70% at 12% 0%, rgba(255, 106, 26, 0.18) 0%, transparent 72%);
  pointer-events: none;
}
@media (max-width: 959px) {
  .hero-bg {
    background-position: center 35%;
  }
  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(19, 17, 16, 0.94) 0%,
        rgba(19, 17, 16, 0.86) 52%,
        rgba(19, 17, 16, 0.78) 100%
      ),
      radial-gradient(80% 60% at 50% 0%, rgba(255, 106, 26, 0.16) 0%, transparent 70%);
  }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-grid {
    gap: 2rem;
  }
}
@media (min-width: 960px) {
  .hero-grid {
    gap: 2rem;
  }
}
.hero-copy h1 {
  font-size: clamp(2rem, 8.5vw, 4.2rem);
  max-width: none;
  line-height: 1.02;
}
.hero-copy h1 br {
  display: none;
}
@media (min-width: 520px) {
  .hero-copy h1 {
    max-width: 14ch;
  }
  .hero-copy h1 br {
    display: inline;
  }
}
.hero-sub {
  margin-top: 0.65rem;
  font-size: clamp(0.88rem, 3.2vw, 1rem);
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.45;
}
@media (min-width: 768px) {
  .hero-sub {
    margin-top: 0.85rem;
    max-width: 38ch;
  }
}
.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: auto;
  }
}
@media (min-width: 768px) {
  .hero-actions {
    margin-top: 1.35rem;
    gap: 1.5rem;
  }
}
.hero-actions .btn-lg {
  width: 100%;
}
@media (min-width: 520px) {
  .hero-actions .btn-lg {
    width: auto;
  }
}
.hero-actions .text-link {
  text-align: center;
}
@media (min-width: 520px) {
  .hero-actions .text-link {
    text-align: left;
  }
}

/* Reveal animation base state (JS adds .is-visible) */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Device mockup ---------- */
.hero-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}
.device-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 100%;
  max-width: 340px;
}
.device-tab {
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}
@media (min-width: 400px) {
  .device-tab {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}
.device-tab.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.device-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.device-frame {
  position: relative;
  width: min(280px, 86vw);
  max-width: 100%;
  aspect-ratio: 300 / 610;
  background: linear-gradient(160deg, #232019, #100e0c);
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
@media (min-width: 400px) {
  .device-frame {
    width: min(300px, 78vw);
    border-radius: 46px;
    padding: 12px;
  }
}
.device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #100e0c;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 34px;
  overflow: hidden;
}
.device-panel {
  position: absolute;
  inset: 0;
  padding: 1.6rem 1.1rem 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.device-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.p-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.p-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.p-address small {
  display: block;
  font-size: 0.62rem;
  color: var(--text-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.p-address p {
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 2px;
}
.p-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  flex-shrink: 0;
}
.p-round svg { width: 16px; height: 16px; }

.p-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem;
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}
.p-search svg { width: 15px; height: 15px; flex-shrink: 0; }

.p-chips {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.p-chip {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-soft);
}
.p-chip.is-active {
  background: var(--brand-orange);
  color: var(--on-primary);
}

.p-cards {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.p-card {
  position: relative;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
}
.p-card p {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 1.1rem;
}
.p-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--brand-orange-dark);
}
.p-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--surface);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
}

.p-order-id {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}
.p-map {
  position: relative;
  background: var(--brand-orange-light);
  border-radius: 18px;
  height: 130px;
  color: var(--brand-orange-dark);
  margin-bottom: 0.9rem;
}
.p-map svg { width: 100%; height: 100%; }
.p-rider-dot {
  position: absolute;
  top: 38%;
  left: 55%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-orange) 30%, transparent);
}
.p-eta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.p-eta strong { color: var(--text); font-size: 0.85rem; }

.p-timeline {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--text-soft);
  gap: 0.25rem;
}
.p-timeline li {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 14px;
}
.p-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.p-timeline li.is-done::before,
.p-timeline li.is-active::before {
  background: var(--brand-orange);
}
.p-timeline li.is-active { color: var(--text); }

.p-rider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
}
.p-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.p-rider p { font-size: 0.76rem; font-weight: 700; }
.p-rider small { font-size: 0.62rem; color: var(--text-soft); }

.p-success {
  text-align: center;
  padding: 1.5rem 0 1.25rem;
}
.p-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #dff5e6;
  color: #1f9d4c;
  margin-bottom: 0.75rem;
}
.p-check svg { width: 24px; height: 24px; }
.p-success p { font-size: 0.9rem; font-weight: 800; }
.p-success small { font-size: 0.68rem; color: var(--text-soft); }

.p-receipt {
  background: var(--surface-2);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
}
.p-receipt > div {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: var(--text-muted);
}
.p-receipt .p-total {
  border-top: 1px dashed var(--border);
  margin-top: 0.3rem;
  padding-top: 0.5rem;
  font-weight: 800;
  color: var(--text);
}
.p-rate-label {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.p-stars {
  text-align: center;
  color: var(--brand-orange);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: clamp(1.25rem, 3vw, 3rem);
  background: var(--surface);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-block: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
@media (min-width: 520px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    font-size: 0.82rem;
  }
}
@media (min-width: 960px) {
  .trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
    padding-block: 1.5rem;
  }
}
.trust-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.35;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* ---------- Section shell ---------- */
.section {
  padding-block: clamp(1.35rem, 4vw, 2.25rem);
}
.section-alt {
  background: var(--bg-alt);
}
.section h2 {
  font-size: clamp(1.55rem, 5.5vw, 2.5rem);
  max-width: none;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .section h2 {
    max-width: 20ch;
  }
}
.section-lead {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: none;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3.5vw, 1.02rem);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .section-lead {
    margin-top: 0;
    max-width: 56ch;
  }
}

/* ---------- Cuisine showcase ---------- */
.cuisine-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cuisine-track::-webkit-scrollbar { display: none; }
.cuisine-card {
  scroll-snap-align: start;
  flex: 0 0 min(200px, 72vw);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
@media (min-width: 520px) {
  .cuisine-card {
    flex-basis: min(220px, 62vw);
  }
}
.cuisine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cuisine-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.cuisine-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .cuisine-track {
    max-width: 1180px;
    margin-inline: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .cuisine-card { flex: none; }
}

/* ---------- Problem / manifesto ---------- */
.problem {
  padding-block: clamp(1.35rem, 4vw, 2.25rem);
}
.problem-inner {
  max-width: 760px;
}
.problem h2 {
  font-size: clamp(1.45rem, 5.5vw, 2.6rem);
  max-width: none;
}
.problem p {
  margin-top: 0.6rem;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: none;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .problem p {
    margin-top: 0.75rem;
    max-width: 56ch;
  }
}

/* ---------- Vendor ---------- */
.vendor-block .btn {
  margin-top: 0.35rem;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.bento-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.bento-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.bento-tile-body {
  padding: 1.15rem 1.2rem 1.35rem;
}
@media (min-width: 768px) {
  .bento-tile-body {
    padding: 1.5rem 1.6rem 1.75rem;
  }
}
.bento-tile-body h3 {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  margin-bottom: 0.5rem;
}
.bento-tile-body p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 3.2vw, 0.95rem);
  line-height: 1.55;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento-tile-lg {
    grid-row: span 2;
  }
  .bento-tile-lg img {
    aspect-ratio: 16 / 20;
    height: 100%;
  }
  .bento-tile-fill {
    min-height: 0;
  }
  .bento-tile-fill img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

.bento-tile-fill {
  min-height: 220px;
}
.bento-tile-fill img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.bento-tile-fill h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.4rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: clamp(1.1rem, 4vw, 1.3rem);
}

/* ---------- Steps (horizontal scroll on mobile) ---------- */
.steps-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.steps-track::-webkit-scrollbar { display: none; }
.step-card {
  scroll-snap-align: start;
  flex: 0 0 min(280px, 86vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
}
@media (min-width: 520px) {
  .step-card {
    flex-basis: min(320px, 82vw);
    padding: 2rem 1.75rem;
  }
}
.step-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .steps-track {
    max-width: 1180px;
    margin-inline: auto;
    overflow: visible;
  }
  .step-card { flex: 1; }
}

/* ---------- Confiance fact list ---------- */
.confiance-grid h2 {
  max-width: none;
  margin-bottom: clamp(1.5rem, 5vw, var(--space-5));
}
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.fact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.fact-list svg {
  width: 24px;
  height: 24px;
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.fact-list strong {
  display: block;
  font-size: clamp(0.95rem, 3.5vw, 1.02rem);
  margin-bottom: 0.3rem;
}
.fact-list span {
  color: var(--text-muted);
  font-size: clamp(0.88rem, 3.2vw, 0.92rem);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .confiance-grid h2 {
    max-width: 26ch;
  }

  .fact-list li {
    gap: 1rem;
  }
}

@media (min-width: 700px) {
  .fact-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

/* ---------- Photo section (parallax) ---------- */
.section-photo {
  position: relative;
  min-height: clamp(240px, 48vw, 360px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 1.5rem;
}
.section-photo-bg {
  position: absolute;
  inset: -10% 0;
  background-image: url("https://images.unsplash.com/photo-1696860682458-cc6eb37409c8?w=1600&q=75&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.section-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 19, 16, 0.65), rgba(23, 19, 16, 0.55) 60%, rgba(23, 19, 16, 0.75));
}
.section-photo-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: none;
}
.section-photo h2 {
  color: #fff;
  font-size: clamp(1.55rem, 5.8vw, 2.7rem);
}
.section-photo p {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 3.5vw, 1.02rem);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .section-photo {
    min-height: 460px;
    padding-block: 0;
  }

  .section-photo-inner {
    max-width: 640px;
  }

  .section-photo p {
    margin-top: 1.1rem;
  }
}

/* ---------- CTA final ---------- */
.cta-final {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--brand-orange-light) 100%);
}
.cta-final-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
@media (min-width: 520px) {
  .cta-final-inner {
    align-items: center;
    gap: 1.25rem;
  }
}
.cta-final-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 520px) {
  .cta-final-actions {
    flex-direction: row;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.cta-final h2 {
  font-size: clamp(1.65rem, 6vw, 3rem);
  max-width: none;
}
@media (min-width: 768px) {
  .cta-final h2 {
    max-width: 18ch;
  }
}
.cta-final .btn-lg {
  width: 100%;
}
@media (min-width: 520px) {
  .cta-final .btn-lg {
    width: auto;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-block: 1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* ---------- Hero grid breakpoints ---------- */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
  .hero-device {
    align-items: flex-end;
  }
}

/* ---------- Touch & small-screen polish ---------- */
@media (max-width: 767px) {
  .btn,
  .device-tab,
  .nav-toggle {
    min-height: 44px;
  }

  .btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
