/* Almumayaz Express LLC — Great Lakes Industrial Editorial Design System */
:root {
  --bg: #f8fafc;
  --fg: #132230;
  --card: #ffffff;
  --primary: #173a5e;
  --primary-fg: #f8fafc;
  --secondary: #e8eef4;
  --muted: #526577;
  --border: #d5dfe8;
  --surface-cool: #eef3f7;
  --surface-navy: #0f2030;
  --surface-navy-fg: #f4f7fa;
  --surface-navy-muted: #a6b9cb;
  --beacon: #e5a336;
  --beacon-fg: #102131;
  --signal: #1d6fa3;
  --destructive: #c43d2c;
  --radius: 8px;
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--signal); }
.eyebrow-beacon { color: var(--beacon); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg); }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); font-weight: 600; }
.header-actions { display: none; align-items: center; gap: 16px; }
.phone-link { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-decoration: none; color: var(--fg); }
.phone-link:hover { color: var(--signal); }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 16px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 9px 6px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--fg); }

@media (min-width: 768px) {
  .nav-desktop, .header-actions { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; padding: 11px 20px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: opacity 0.15s, background 0.15s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.92; }
.btn-beacon { background: var(--beacon); color: var(--beacon-fg); }
.btn-beacon:hover { opacity: 0.92; }
.btn-ghost-dark { border-color: rgba(244, 247, 250, 0.35); background: rgba(15, 32, 48, 0.55); color: var(--surface-navy-fg); }
.btn-ghost-dark:hover { background: rgba(15, 32, 48, 0.85); }
.btn-outline { border-color: var(--border); background: var(--card); color: var(--fg); }
.btn-outline:hover { background: var(--secondary); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-navy); color: var(--surface-navy-fg); padding: 88px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(13,27,42,0.9) 0%, rgba(16,33,49,0.72) 50%, rgba(16,33,49,0.44) 100%);
}
.hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 800; line-height: 1.05; max-width: 820px; }
.hero-lead { margin-top: 22px; max-width: 680px; font-size: 18px; color: rgba(244, 247, 250, 0.86); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(244,247,250,0.2);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px;
}
@media (min-width: 640px) { .hero-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-metrics dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--surface-navy-muted); }
.hero-metrics dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; }

/* Animations */
@keyframes corridor-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes route-dash { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
@keyframes beacon-pulse { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.75); opacity: 0.15; } }
@keyframes gentle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.marquee-bar { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-navy); color: var(--surface-navy-fg); padding: 12px 0; }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: corridor-marquee 38s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; white-space: nowrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--beacon); }
.pulse-wrap { position: relative; display: inline-flex; width: 8px; height: 8px; }
.pulse-ring { position: absolute; inset: 0; border-radius: 999px; background: var(--beacon); animation: beacon-pulse 2.4s ease-in-out infinite; }
.pulse-core { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--beacon); }
.route-active { stroke-dasharray: 8 8; animation: route-dash 1.3s linear infinite; }
.float-card { animation: gentle-float 5.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .pulse-ring, .route-active, .float-card { animation: none; }
}

/* Sections & Grids */
.section { padding: 76px 0; }
.section-cool { background: var(--surface-cool); }
.section-blueprint {
  background-image: linear-gradient(to right, rgba(213,223,232,0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(213,223,232,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-navy); color: var(--surface-navy-fg); }
.section-title { margin-top: 8px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
.section-sub { margin-top: 12px; max-width: 680px; color: var(--muted); font-size: 16px; }
.grid-2 { display: grid; gap: 36px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .col-7 { grid-column: span 7; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
}

.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.photo-frame { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(15, 32, 48, 0.08); }
.spec-list { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 13px; font-weight: 500; }
.spec-list li::before { content: "✓ "; color: var(--signal); font-weight: 700; }

/* Corridor Map Panel */
.map-shell { background: var(--surface-navy); color: var(--surface-navy-fg); border-radius: 12px; padding: 24px; border: 1px solid var(--border); }
.lane-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lane-pill {
  font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border-radius: 6px;
  border: 1px solid rgba(166,185,203,0.35); background: transparent; color: var(--surface-navy-muted); cursor: pointer;
}
.lane-pill.active { background: var(--beacon); color: var(--beacon-fg); border-color: var(--beacon); font-weight: 600; }
.lane-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 14px; }
.lane-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.lane-meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--fg); }

/* Workflow steps */
.step-card { border-radius: 12px; border: 1px solid rgba(244,247,250,0.16); background: rgba(15,32,48,0.78); padding: 24px; backdrop-filter: blur(4px); }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-trigger {
  width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--fg);
}
.faq-answer { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 720px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--card); margin-top: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; text-align: left; }
th { background: var(--secondary); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--muted); padding: 13px 18px; border-bottom: 1px solid var(--border); }
td { padding: 15px 18px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }

/* Forms */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg); }
.field input, .field select, .field textarea {
  margin-top: 6px; width: 100%; border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg); color: var(--fg); padding: 10px 13px; font-family: inherit; font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(29, 111, 163, 0.3); border-color: var(--signal); }
.field-error { margin-top: 4px; font-size: 12px; color: var(--destructive); }

/* Legal prose */
.prose h2 { margin-top: 32px; font-size: 21px; color: var(--fg); }
.prose p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.prose a { color: var(--primary); font-weight: 500; }
.prose address { margin-top: 14px; padding: 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-cool); font-style: normal; font-size: 14px; color: var(--fg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-navy); color: var(--surface-navy-fg); padding: 56px 0 36px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--surface-navy-muted); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--surface-navy-fg); }
.footer-cookie-btn { background: none; border: 0; padding: 0; color: var(--surface-navy-muted); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.footer-cookie-btn:hover { color: var(--surface-navy-fg); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(166,185,203,0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--surface-navy-muted); }

/* Cookie Consent Dialog & Bottom Panel */
.consent-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 32, 48, 0.72); backdrop-filter: blur(2px); padding: 16px;
}
.consent-dialog {
  width: 100%; max-width: 510px; background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 24px; box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}
.consent-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  border-top: 1px solid var(--border); background: rgba(255,255,255,0.98);
  padding: 18px 20px; box-shadow: 0 -8px 28px rgba(15, 32, 48, 0.14);
}
.consent-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 540px) { .consent-actions { flex-direction: row; } }
.consent-actions .btn { flex: 1; }
.consent-settings-link {
  display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted);
  font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.consent-row { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: var(--bg); margin-top: 12px; }
.consent-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
