* {
  box-sizing: border-box;
}

:root {
  --red: #da291c;
  --red-dark: #b51d13;
  --yellow: #ffbc0d;
  --yellow-soft: #fff4cf;
  --green: #13a86b;
  --green-soft: #e9fbf2;
  --ink: #111318;
  --muted: #747988;
  --line: #e8ebf2;
  --panel: rgba(255, 255, 255, 0.90);
  --panel-solid: #ffffff;
  --soft: #f7f8fb;
  --shadow: 0 22px 70px rgba(20, 24, 35, 0.10);
  --soft-shadow: 0 12px 36px rgba(20, 24, 35, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 188, 13, 0.18), transparent 30%),
    radial-gradient(circle at 95% 8%, rgba(218, 41, 28, 0.12), transparent 32%),
    linear-gradient(180deg, #fffdf7 0%, #f8f9fc 48%, #ffffff 100%);
  min-height: 100vh;
}

button,
a {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 30, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 30, 40, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 72%);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 2vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 235, 242, 0.90);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 900;
  background: linear-gradient(180deg, #e5372b 0%, #b51c13 100%);
  box-shadow: 0 10px 26px rgba(218, 41, 28, 0.22);
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.top-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22, 26, 35, 0.05);
}

.top-nav a {
  text-decoration: none;
  color: #5f6472;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 999px;
}

.top-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.active-chip,
.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.active-chip {
  color: #09965d;
  background: var(--green-soft);
  border: 1px solid #c8f2dd;
}

.header-btn {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(22, 26, 35, 0.05);
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100% - 54px));
  margin: 26px auto 0;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  min-height: calc(100svh - 128px);
  max-height: 780px;
}

.hero-copy-card,
.hero-image-card,
.regions-card,
.map-panel,
.selected-market-card {
  background: var(--panel);
  border: 1px solid rgba(232, 235, 242, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy-card {
  padding: clamp(28px, 4.4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker,
.market-label {
  display: inline-flex;
  width: fit-content;
  color: var(--red);
  background: #fff3f1;
  border: 1px solid #ffe0db;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy-card h1 {
  margin: 22px 0 16px;
  max-width: 820px;
  font-size: clamp(3.05rem, 5.1vw, 6.0rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, #e7382c, var(--red-dark));
  box-shadow: 0 16px 34px rgba(218, 41, 28, 0.24);
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.primary-btn:hover,
.secondary-btn:hover,
.header-btn:hover,
.market-cta:hover {
  transform: translateY(-2px);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: 0 8px 28px rgba(20, 24, 35, 0.04);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.mini-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-image-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 188, 13, 0.30), transparent 38%),
    radial-gradient(circle at 95% 10%, rgba(218, 41, 28, 0.14), transparent 35%),
    linear-gradient(135deg, #fff9e7 0%, #fff 45%, #fff1ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.hero-image-frame {
  width: min(86%, 620px);
  aspect-ratio: 1.18 / 1;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(232, 235, 242, 0.85);
  box-shadow: 0 28px 90px rgba(66, 45, 24, 0.12);
  background: #fff;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-status-card,
.next-step-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.market-status-card {
  top: 34px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 9px rgba(19, 168, 107, 0.12);
  flex: 0 0 auto;
}

.market-status-card strong,
.market-status-card small,
.next-step-card strong,
.next-step-card small {
  display: block;
}

.market-status-card strong {
  font-size: 1rem;
}

.market-status-card small,
.next-step-card small {
  color: var(--muted);
}

.next-step-card {
  right: 32px;
  bottom: 32px;
  padding: 14px 17px;
}

.next-step-card strong {
  margin-top: 5px;
  max-width: 210px;
  line-height: 1.25;
}

.regions-card {
  margin-top: 48px;
  padding: 28px;
  scroll-margin-top: 100px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2,
.map-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.region-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 22px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.region-tabs::-webkit-scrollbar {
  display: none;
}

.region-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: #5f6472;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.region-tab.active {
  color: #fff;
  background: linear-gradient(180deg, #e7382c, var(--red-dark));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(218, 41, 28, 0.20);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.region-card {
  min-height: 132px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(20, 24, 35, 0.04);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.region-card.is-dimmed {
  opacity: 0.36;
}

.region-card:hover {
  transform: translateY(-2px);
}

.active-region {
  border-color: rgba(19, 168, 107, 0.32);
  background: linear-gradient(180deg, #fff, #f1fff8);
}

.region-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #8a5f00;
  background: var(--yellow-soft);
  font-weight: 900;
}

.region-card h3 {
  margin: 14px 0 4px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.region-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 22px;
  margin-top: 24px;
  scroll-margin-top: 100px;
}

.map-panel {
  padding: 22px;
}

.map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
  white-space: nowrap;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-right: 6px;
}

.legend-dot.active {
  background: var(--red);
}

.legend-dot.soon {
  background: #c5cbd7;
}

.real-map {
  height: min(58vh, 560px);
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef2f7;
}

.leaflet-container {
  font: inherit;
  background: #eef2f7;
}

.leaflet-control-attribution {
  font-size: 10px;
}

.active-map-marker {
  position: relative;
  width: 24px;
  height: 24px;
}

.active-map-marker .marker-pulse {
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  background: rgba(218, 41, 28, 0.24);
  animation: mapPulse 1.7s ease-out infinite;
}

.active-map-marker .marker-core {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--red);
  border: 5px solid #fff;
  box-shadow: 0 12px 28px rgba(218, 41, 28, 0.42);
}

.active-map-marker .marker-label {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(20, 24, 35, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 0.78rem;
}

@keyframes mapPulse {
  0% {
    transform: scale(0.62);
    opacity: 0.95;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.selected-market-card {
  padding: 24px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.market-top,
.market-title-row,
.progress-row,
.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.market-live {
  color: #09965d;
  background: var(--green-soft);
  border: 1px solid #c8f2dd;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 0.78rem;
}

.market-title-row {
  justify-content: flex-start;
}

.market-flag {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.7), transparent 42%),
    linear-gradient(180deg, #e8372b, #b71910);
  color: var(--yellow);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 12px 28px rgba(218, 41, 28, 0.20);
  flex: 0 0 auto;
}

.market-title-row h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.market-title-row p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.market-progress {
  background: linear-gradient(180deg, #fff, #fffaf0);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.progress-row {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 800;
}

.progress-row strong {
  color: var(--green);
}

.progress-track {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: #eef1f5;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #70dcae);
}

.market-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.market-details div {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
}

.market-details small,
.market-details strong {
  display: block;
}

.market-details small {
  color: var(--muted);
  font-size: 0.78rem;
}

.market-details strong {
  margin-top: 5px;
}

.city-stack {
  display: grid;
  gap: 10px;
}

.city-row {
  min-height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 0 14px;
}

.city-row span {
  font-weight: 800;
}

.city-row strong {
  color: var(--muted);
  font-size: 0.82rem;
}

.city-row.live {
  border-color: rgba(19, 168, 107, 0.28);
  background: var(--green-soft);
}

.city-row.live strong {
  color: var(--green);
}

.market-cta {
  margin-top: auto;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(180deg, #e7382c, var(--red-dark));
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(218, 41, 28, 0.22);
  transition: transform 0.2s ease;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100% - 54px));
  margin: 26px auto 30px;
  padding: 18px 4px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1400px) {
  .site-shell {
    width: min(1360px, calc(100% - 44px));
    margin-top: 22px;
  }

  .hero-section {
    min-height: auto;
    max-height: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  }

  .hero-copy-card {
    padding: clamp(34px, 4vw, 52px);
  }

  .hero-copy-card h1 {
    font-size: clamp(3.0rem, 5.0vw, 5.15rem);
    line-height: 0.94;
    margin: 18px 0 14px;
  }

  .hero-image-card {
    min-height: 520px;
  }

  .region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .hero-section,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy-card {
    min-height: auto;
  }

  .hero-image-card {
    min-height: 420px;
  }

  .hero-copy-card h1 {
    max-width: 900px;
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .map-layout {
    gap: 16px;
  }

  .real-map {
    height: 440px;
  }

  .selected-market-card {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .app-header {
    min-height: 62px;
    padding: 9px 10px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy small,
  .active-chip {
    display: none;
  }

  .header-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .site-shell,
  .site-footer {
    width: calc(100% - 18px);
  }

  .site-shell {
    margin-top: 10px;
  }

  .hero-section {
    gap: 10px;
  }

  .hero-copy-card,
  .hero-image-card,
  .regions-card,
  .map-panel,
  .selected-market-card {
    border-radius: 22px;
  }

  .hero-copy-card {
    padding: 22px;
  }

  .eyebrow,
  .section-kicker,
  .market-label {
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .hero-copy-card h1 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
    letter-spacing: -0.07em;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 50px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .mini-stats div {
    padding: 12px 14px;
  }

  .hero-image-card {
    min-height: 320px;
    padding: 18px;
  }

  .hero-image-frame {
    width: 92%;
    border-radius: 22px;
  }

  .market-status-card {
    top: 16px;
    left: 16px;
    padding: 10px 12px;
    border-radius: 15px;
  }

  .market-status-card strong {
    font-size: 0.88rem;
  }

  .market-status-card small {
    font-size: 0.76rem;
  }

  .next-step-card {
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 15px;
  }

  .next-step-card strong {
    max-width: 150px;
    font-size: 0.84rem;
  }

  .regions-card {
    margin-top: 32px;
    padding: 18px;
  }

  .section-head,
  .map-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-head p {
    font-size: 0.92rem;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .region-card {
    min-height: 96px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .region-card h3 {
    margin-top: 0;
  }

  .map-panel,
  .selected-market-card {
    padding: 16px;
  }

  .real-map {
    height: 360px;
    min-height: 320px;
    border-radius: 18px;
  }

  .map-legend {
    flex-wrap: wrap;
    white-space: normal;
  }

  .market-title-row {
    align-items: flex-start;
  }

  .market-title-row h2 {
    font-size: 1.6rem;
  }

  .market-details {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-btn {
    padding: 0 10px;
  }

  .hero-copy-card {
    padding: 18px;
  }

  .hero-copy-card h1 {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }

  .hero-image-card {
    min-height: 300px;
  }
}


/* Full header image mode */
.hero-image-card.image-only-card {
  padding: 0;
  min-height: 540px;
  overflow: hidden;
  background: #fff;
}

.hero-header-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1400px) {
  .hero-image-card.image-only-card {
    min-height: 520px;
  }
}

@media (max-width: 1180px) {
  .hero-image-card.image-only-card {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .hero-image-card.image-only-card {
    min-height: 300px;
  }

  .hero-header-image {
    min-height: 300px;
  }
}

@media (max-width: 420px) {
  .hero-image-card.image-only-card,
  .hero-header-image {
    min-height: 280px;
  }
}


/* Header image source support */
.hero-image-card.image-only-card picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

/* How it works */
.how-it-works-section {
  margin-top: 24px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(232, 235, 242, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  scroll-margin-top: 100px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.how-card {
  position: relative;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 188, 13, 0.08), rgba(255,255,255,0.94)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(20, 24, 35, 0.05);
}

.how-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(218, 41, 28, 0.12), transparent 68%);
}

.how-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #8a5f00;
  background: var(--yellow-soft);
  border: 1px solid #ffe5a7;
  font-weight: 900;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.how-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

/* Footer trust/legal links */
.site-footer {
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(232, 235, 242, 0.8);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 800;
  font-size: 0.84rem;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--red);
  border-color: #ffd5cf;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .how-it-works-section {
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .how-card {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .how-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a {
    font-size: 0.78rem;
    padding: 9px 11px;
  }
}


/* Simple legal placeholder pages */
.legal-page {
  min-height: 100vh;
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
}

.legal-card {
  background: var(--panel);
  border: 1px solid rgba(232, 235, 242, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}

.legal-card h1 {
  margin: 20px 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.legal-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-placeholder {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.legal-placeholder strong,
.legal-placeholder span {
  display: block;
}

.legal-placeholder span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}


/* Clickable active city redirect */
.city-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.city-link:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 41, 28, 0.28);
  box-shadow: 0 14px 30px rgba(218, 41, 28, 0.10);
}

.city-row.live strong {
  color: var(--red);
}

.city-row.soon {
  opacity: 0.82;
}

.city-help-text {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 700;
}


/* ===== Pro shared header/footer/contact update ===== */
.pro-site-header {
  width: min(1600px, calc(100% - 54px));
  margin: 18px auto 0;
  min-height: 78px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 55px rgba(38, 24, 12, 0.09);
  backdrop-filter: blur(20px);
}

.pro-top-nav {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 18, 15, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.pro-top-nav a {
  position: relative;
}

.home-nav-link {
  color: var(--red) !important;
  background: rgba(215, 25, 32, 0.07);
  border-radius: 999px;
}

.header-order-btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--deep-red)) !important;
  border-color: rgba(215, 25, 32, 0.18) !important;
  box-shadow: 0 16px 32px rgba(218, 41, 28, 0.2);
}

.simple-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 199, 44, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(215, 25, 32, 0.08), transparent 26rem),
    linear-gradient(180deg, #fffdf8 0%, #fff7ea 55%, #ffffff 100%);
}

.pro-legal-page {
  width: min(980px, calc(100% - 32px));
  min-height: auto;
  padding: 74px 0 36px;
}

.pro-legal-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,248,232,0.92));
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 28px 70px rgba(38, 24, 12, 0.1);
}

.pro-legal-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.28), transparent 70%);
  pointer-events: none;
}

.pro-footer {
  display: grid;
  gap: 16px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid rgba(232, 235, 242, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 50px rgba(38, 24, 12, 0.08);
  backdrop-filter: blur(18px);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--red);
  background: linear-gradient(135deg, var(--yellow), #ffe88a);
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.13), 0 12px 22px rgba(255, 199, 44, 0.28);
  font-weight: 950;
  font-size: 1.55rem;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pro-footer .footer-brand strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.pro-footer .footer-brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.footer-contact-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-whatsapp {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #1fbf68, #128c4a);
  box-shadow: 0 14px 28px rgba(31, 191, 104, 0.22);
  text-decoration: none;
  font-weight: 900;
}

.pro-footer .footer-links {
  justify-content: flex-start;
}

.pro-footer .footer-links a {
  background: rgba(255,255,255,0.84);
}

.contact-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.contact-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,199,44,0.18), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,248,232,0.94));
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 28px 80px rgba(38, 24, 12, 0.11);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy h1 {
  max-width: 620px;
  margin: 18px 0 14px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-fast-actions {
  margin-top: 26px;
}

.whatsapp-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 18px 10px 12px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1fbf68, #128c4a);
  box-shadow: 0 22px 42px rgba(31, 191, 104, 0.24);
  text-decoration: none;
  overflow: hidden;
  animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-action::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-70%) rotate(16deg);
  animation: whatsappShine 3.2s ease-in-out infinite;
}

.whatsapp-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.18);
}

.whatsapp-icon svg {
  width: 31px;
  height: 31px;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-action strong,
.whatsapp-action small {
  position: relative;
  z-index: 1;
  display: block;
}

.whatsapp-action small {
  margin-top: 4px;
  opacity: 0.82;
}

.contact-form-card {
  display: grid;
  gap: 13px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(21,18,15,0.07);
  box-shadow: 0 18px 42px rgba(38, 24, 12, 0.08);
}

.form-head {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.form-head span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-head strong {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.contact-form-card label {
  display: grid;
  gap: 7px;
}

.contact-form-card label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: rgba(255, 199, 44, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.17);
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@keyframes whatsappFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes whatsappShine {
  0% { transform: translateX(-85%) rotate(16deg); }
  65%, 100% { transform: translateX(85%) rotate(16deg); }
}

@media (max-width: 980px) {
  .pro-site-header {
    width: min(100% - 24px, 720px);
    display: grid;
    grid-template-columns: 1fr auto;
    border-radius: 30px;
  }

  .pro-top-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .contact-hero-card {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .pro-site-header {
    width: calc(100% - 18px);
    padding: 10px;
  }

  .pro-header-actions .active-chip {
    display: none;
  }

  .header-order-btn {
    padding: 0 12px;
    min-height: 40px;
    font-size: 0.78rem;
  }

  .contact-shell {
    width: calc(100% - 18px);
    padding-top: 36px;
  }

  .contact-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .contact-hero-card {
    border-radius: 28px;
    padding: 18px;
  }

  .pro-footer {
    width: calc(100% - 18px);
    padding: 18px;
    border-radius: 24px;
  }

  .footer-contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== Header/footer correction pass ===== */
.site-universal-header {
  position: relative;
  z-index: 20;
  width: min(1600px, calc(100% - 54px));
  min-height: 78px;
  margin: 18px auto 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: 0 22px 55px rgba(38, 24, 12, 0.09);
  backdrop-filter: blur(20px);
}

.universal-brand {
  text-decoration: none;
}

.universal-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(21, 18, 15, 0.06);
}

.universal-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(21, 18, 15, 0.78);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.92rem;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.universal-nav a:hover,
.universal-nav .home-nav-link {
  color: var(--red) !important;
  background: rgba(215, 25, 32, 0.08);
}

.universal-actions {
  justify-self: end;
}

.header-how-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--deep-red)) !important;
  border-color: rgba(215, 25, 32, 0.18) !important;
  box-shadow: 0 16px 32px rgba(218, 41, 28, 0.2);
  font-weight: 950;
}

.site-universal-header .active-chip {
  display: none !important;
}

.pro-footer {
  grid-template-columns: 1fr;
}

.pro-footer .footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-footer .footer-contact-cta,
.pro-footer .footer-whatsapp {
  display: none !important;
}

.pro-footer .footer-brand small {
  color: var(--muted);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  max-width: 620px;
}

.contact-info-grid > div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(21,18,15,0.07);
}

.contact-info-grid strong,
.contact-info-grid span {
  display: block;
}

.contact-info-grid span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-universal-header {
    width: min(100% - 24px, 720px);
    grid-template-columns: 1fr auto;
    border-radius: 30px;
  }

  .universal-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .site-universal-header {
    width: calc(100% - 18px);
    padding: 10px;
  }

  .universal-nav a {
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .header-how-btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Home sizing/header match to Marrakech ordering page ===== */
body {
  background:
    radial-gradient(circle at top left, rgba(255, 199, 44, 0.28), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(215, 25, 32, 0.11), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #fff7e6 42%, #ffffff 100%) !important;
}

.page-bg {
  opacity: 0.55;
}

.site-shell,
.site-footer,
.pro-footer,
.site-universal-header {
  width: min(1180px, calc(100% - 28px)) !important;
}

.site-universal-header.same-app-header {
  position: sticky;
  top: 12px;
  z-index: 80;
  min-height: 72px;
  margin: 12px auto 0 !important;
  padding: 12px !important;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 18px 45px rgba(37, 23, 10, 0.12) !important;
  backdrop-filter: blur(22px);
}

.same-app-header .universal-brand .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.same-app-header .universal-nav {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.68) !important;
  border: 1px solid rgba(21,18,15,0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.same-app-header .universal-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(21,18,15,0.78);
  font-weight: 900;
  font-size: 0.92rem;
}

.same-app-header .universal-actions,
.same-app-header .header-how-btn {
  display: none !important;
}

.hero-section {
  margin-top: 18px;
}

@media (max-width: 719px) {
  .site-shell,
  .site-footer,
  .pro-footer,
  .site-universal-header {
    width: min(100% - 18px, 1180px) !important;
  }

  .site-universal-header.same-app-header {
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 10px !important;
  }

  .same-app-header .universal-nav {
    justify-self: start;
    width: 100%;
    overflow-x: auto;
  }

  .same-app-header .universal-nav a {
    padding: 0 12px;
    font-size: 0.82rem;
  }
}


/* ===== Fix home page section overlap under header ===== */
.site-universal-header.same-app-header {
  position: relative !important;
  top: auto !important;
  z-index: 20 !important;
}

.site-shell {
  margin-top: 26px !important;
}

.hero-section {
  position: relative !important;
  z-index: 1 !important;
  min-height: auto !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 58px !important;
  overflow: visible !important;
}

.hero-copy-card,
.hero-image-card {
  position: relative !important;
  z-index: 1 !important;
}

.regions-card {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0 !important;
  clear: both !important;
}

@media (max-width: 760px) {
  .site-shell {
    margin-top: 18px !important;
  }

  .hero-section {
    margin-bottom: 38px !important;
  }
}


/* ===== Logo image update ===== */
.logo-brand-mark,
.logo-footer-mark {
  overflow: hidden !important;
  padding: 0 !important;
  color: transparent !important;
  background: rgba(255,255,255,0.92) !important;
}

.logo-brand-mark img,
.logo-footer-mark img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  padding: 6px !important;
}

.logo-footer-mark img {
  padding: 7px !important;
}


/* Professional footer + requested simplified navigation */
.pro-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  margin: 34px auto 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 44, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,248,232,0.92));
  box-shadow: 0 20px 52px rgba(38, 24, 12, 0.10);
}

.pro-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.pro-footer .footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-footer .footer-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 14px 28px rgba(38, 24, 12, 0.10);
}

.pro-footer .footer-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.pro-footer .footer-brand strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pro-footer .footer-brand small,
.pro-footer .footer-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.pro-footer .footer-brand small {
  display: block;
  margin-top: 4px;
}

.pro-footer .footer-note {
  max-width: 440px;
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
}

.pro-footer .footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(21,18,15,0.08);
}

.pro-footer .footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(21,18,15,0.76);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(21,18,15,0.06);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38,24,12,0.05);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pro-footer .footer-links a:hover {
  transform: translateY(-1px);
  color: var(--red);
  background: #fff;
}

@media (max-width: 719px) {
  .pro-footer {
    padding: 22px;
    border-radius: 24px;
  }
  .pro-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .pro-footer .footer-note {
    max-width: none;
    text-align: left;
  }
  .pro-footer .footer-links a {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Footer consistency patch: keep the home footer design consistent and readable. */
.pro-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 54px));
  margin: 34px auto 24px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(21, 18, 15, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 199, 44, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.92));
  box-shadow: 0 20px 52px rgba(38, 24, 12, 0.10);
}

.pro-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
}

.pro-footer .footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.pro-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-footer .footer-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(21, 18, 15, 0.06);
  box-shadow: 0 14px 28px rgba(38, 24, 12, 0.10);
}

.pro-footer .footer-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.pro-footer .footer-brand strong {
  display: block;
  color: var(--ink, var(--dark));
  font-weight: 950;
  letter-spacing: -0.035em;
}

.pro-footer .footer-brand small,
.pro-footer .footer-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.pro-footer .footer-brand small {
  display: block;
  margin-top: 4px;
}

.pro-footer .footer-note {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
  white-space: nowrap;
}

.pro-footer .footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 18, 15, 0.08);
}

.pro-footer .footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(21, 18, 15, 0.76);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 18, 15, 0.06);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(38, 24, 12, 0.05);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.pro-footer .footer-links a:hover {
  transform: translateY(-1px);
  color: var(--red);
  background: #fff;
}

@media (max-width: 980px) {
  .pro-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .pro-footer .footer-note {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 719px) {
  .pro-footer {
    width: min(100% - 28px, 1180px);
    padding: 22px;
    border-radius: 24px;
  }

  .pro-footer .footer-links a {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ===== Home header + hero visual matched to Marrakech ordering page ===== */
.topbar.poster-topbar.home-ordering-header {
  position: relative !important;
  z-index: 80 !important;
  width: min(1180px, calc(100% - 28px)) !important;
  min-height: 76px !important;
  height: auto !important;
  margin: 12px auto 0 !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.78) !important;
  border: 1px solid rgba(255,255,255,0.74) !important;
  box-shadow: 0 18px 45px rgba(37, 23, 10, 0.12) !important;
  backdrop-filter: blur(22px) !important;
}

.home-ordering-header .brand {
  min-width: 0;
  text-decoration: none;
}

.home-ordering-header .brand-mark-poster {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffcf3d, #ffe589);
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.12), 0 10px 22px rgba(255, 199, 44, 0.26);
  color: var(--red);
}

.home-ordering-header .poster-nav {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.68) !important;
  border: 1px solid rgba(21,18,15,0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65) !important;
}

.home-ordering-header .poster-nav a {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: rgba(21,18,15,0.78) !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

.home-ordering-header .poster-nav a:hover,
.home-ordering-header .poster-nav .home-nav-link {
  color: var(--red) !important;
  background: rgba(215,25,32,0.08) !important;
}

.home-ordering-header .poster-nav a:hover {
  transform: translateY(-1px);
}

.home-ordering-header .poster-topbar-actions {
  justify-self: end;
  width: 48px;
  height: 48px;
}

.home-hero-visual {
  position: relative !important;
  min-height: 540px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.60), rgba(255,252,244,0.88));
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 24px 50px rgba(37,23,10,0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,18,15,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,18,15,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 90%);
}

.hero-visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,199,44,0.42), rgba(255,199,44,0));
  animation: glowFloat 6.4s ease-in-out infinite;
}

.hero-badge-card {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 20px 36px rgba(37,23,10,0.08);
}

.hero-badge-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: rgba(215,25,32,0.08);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-card strong,
.hero-float-card strong {
  display: block;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.hero-badge-card small,
.hero-float-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-product-stage {
  position: absolute;
  left: 76px;
  right: 52px;
  bottom: 52px;
  top: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(215,25,32,0.08);
}

.hero-stage-ring-one {
  width: 410px;
  height: 410px;
  animation: slowSpin 20s linear infinite;
}

.hero-stage-ring-two {
  width: 300px;
  height: 300px;
  border-color: rgba(255,199,44,0.18);
  animation: slowSpin 14s linear infinite reverse;
}

.hero-product {
  position: relative;
  z-index: 2;
  max-width: min(88%, 380px);
  filter: drop-shadow(0 24px 28px rgba(37, 23, 10, 0.18));
}

.hero-product-burger {
  animation: heroFloat 5.8s ease-in-out infinite;
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(21,18,15,0.06);
  box-shadow: 0 18px 34px rgba(37,23,10,0.08);
}

.hero-float-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(37,23,10,0.12));
}

.hero-float-card-drink {
  right: 26px;
  top: 118px;
  animation: heroFloat 5s ease-in-out infinite 0.8s;
}

.hero-float-card-fries {
  left: 24px;
  bottom: 36px;
  animation: heroFloat 5.4s ease-in-out infinite 1.2s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glowFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -54%) scale(1.08); opacity: 0.95; }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .topbar.poster-topbar.home-ordering-header {
    grid-template-columns: 1fr;
    border-radius: 28px !important;
  }

  .home-ordering-header .poster-nav {
    justify-self: start !important;
    width: 100%;
    overflow-x: auto;
  }

  .home-ordering-header .poster-topbar-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar.poster-topbar.home-ordering-header {
    width: min(100% - 18px, 1180px) !important;
    padding: 10px !important;
  }

  .home-ordering-header .poster-nav a {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }

  .home-hero-visual {
    min-height: 370px;
    border-radius: 24px;
  }

  .hero-badge-card {
    left: 14px;
    top: 14px;
    min-width: 0;
    max-width: calc(100% - 28px);
    padding: 14px;
  }

  .hero-product-stage {
    left: 24px;
    right: 24px;
    top: 102px;
    bottom: 104px;
  }

  .hero-stage-ring-one {
    width: 250px;
    height: 250px;
  }

  .hero-stage-ring-two {
    width: 180px;
    height: 180px;
  }

  .hero-product {
    max-width: min(88%, 240px);
  }

  .hero-float-card {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .hero-float-card img {
    width: 48px;
    height: 48px;
  }

  .hero-float-card strong {
    font-size: 0.9rem;
  }

  .hero-float-card span {
    font-size: 0.76rem;
  }

  .hero-float-card-drink {
    right: 12px;
    top: 96px;
    max-width: 160px;
  }

  .hero-float-card-fries {
    left: 12px;
    bottom: 16px;
    max-width: 165px;
  }
}

/* ===== Home card compaction and smoother gateway flow ===== */
.hero-copy-card {
  padding-block: clamp(28px, 3.8vw, 54px) !important;
}

.hero-lead {
  max-width: 560px !important;
}

.region-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.region-card {
  min-height: 96px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 14px !important;
  border-radius: 18px !important;
}

.region-card h3 {
  margin: 0 0 4px !important;
}

.region-card p {
  font-size: 0.84rem !important;
}

.how-it-works-section {
  padding: 24px !important;
}

.how-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.how-card {
  min-height: 118px !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 16px !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(20, 24, 35, 0.05) !important;
}

.how-card::after {
  display: none !important;
}

.how-number {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  flex: 0 0 auto !important;
}

.how-card h3 {
  margin: 0 0 6px !important;
  font-size: 1rem !important;
}

.how-card p {
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
}

@media (max-width: 980px) {
  .region-grid,
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .region-grid,
  .how-grid {
    grid-template-columns: 1fr !important;
  }

  .region-card,
  .how-card {
    min-height: 0 !important;
  }
}


/* ===== Home header: match Marrakech ordering header ===== */
.home-ordering-header {
  position: relative !important;
  top: auto !important;
  z-index: 80 !important;
  width: min(1180px, calc(100% - 28px)) !important;
  min-height: 76px !important;
  height: 76px !important;
  margin: 12px auto 0 !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.70) !important;
  box-shadow: 0 18px 45px rgba(37, 23, 10, 0.08) !important;
  backdrop-filter: blur(18px) !important;
}

.home-ordering-header .brand {
  min-width: 0 !important;
}

.home-ordering-header .brand-mark-poster {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffcf3d, #ffe589) !important;
  box-shadow: inset 0 -8px 16px rgba(163, 91, 0, 0.12), 0 10px 22px rgba(255, 199, 44, 0.26) !important;
}

.home-ordering-header .poster-nav {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.68) !important;
  border: 1px solid rgba(21,18,15,0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65) !important;
}

.home-ordering-header .poster-nav a {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: rgba(21,18,15,0.78) !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

.home-ordering-header .poster-nav a:hover,
.home-ordering-header .poster-nav .home-nav-link {
  color: var(--red) !important;
  background: rgba(215,25,32,0.08) !important;
}

.home-ordering-header .poster-topbar-actions {
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.home-ordering-header .header-cart-btn {
  position: relative !important;
  min-width: 56px !important;
  height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 0 12px 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #15120f, #30251d) !important;
  box-shadow: 0 15px 28px rgba(21, 18, 15, 0.24) !important;
  cursor: pointer !important;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s cubic-bezier(.2,.8,.2,1) !important;
}

.home-ordering-header .header-cart-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 36px rgba(21, 18, 15, 0.28) !important;
}

.home-ordering-header .cart-icon {
  font-size: 1.2rem !important;
  line-height: 1 !important;
}

.home-ordering-header .header-cart-text {
  display: inline !important;
  font-weight: 800 !important;
}

.home-ordering-header .cart-count {
  min-width: 24px !important;
  height: 24px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  color: #15120f !important;
  background: var(--yellow) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
}

@media (max-width: 719px) {
  .home-ordering-header {
    width: min(100% - 18px, 1180px) !important;
    height: auto !important;
    min-height: 66px !important;
    grid-template-columns: 1fr auto !important;
    border-radius: 26px !important;
    padding: 10px !important;
  }

  .home-ordering-header .poster-nav {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .home-ordering-header .poster-nav a {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
  }

  .home-ordering-header .header-cart-btn {
    height: 44px !important;
    padding: 0 10px 0 13px !important;
  }

  .home-ordering-header .header-cart-text {
    display: none !important;
  }
}

/* ===== Final home hero/header correction: match Marrakech ordering hero ===== */
.topbar.poster-topbar.home-ordering-header {
  grid-template-columns: auto 1fr !important;
}

.home-ordering-header .poster-nav {
  justify-self: end !important;
}

.home-ordering-header .brand-mark-poster,
.home-ordering-header .logo-brand-mark {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.home-ordering-header .logo-brand-mark img {
  width: 46px !important;
  height: 46px !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-home-luxe {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: 620px;
  margin: 28px auto 58px;
  padding: clamp(42px, 5vw, 64px) clamp(42px, 5vw, 64px);
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 199, 44, .36), transparent 31rem),
    radial-gradient(circle at 8% 94%, rgba(215, 25, 32, .12), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,251,241,.88));
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 34px 80px rgba(61, 36, 8, .14), inset 0 1px 0 rgba(255,255,255,.88);
}

.hero-home-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21,18,15,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,18,15,.025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.42) 54%, transparent);
  z-index: -2;
}

.hero-luxe-bg {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  z-index: -1;
}

.hero-luxe-bg-one {
  width: 360px;
  height: 360px;
  right: 12%;
  top: 8%;
  background: rgba(255, 199, 44, .23);
}

.hero-luxe-bg-two {
  width: 280px;
  height: 280px;
  left: -70px;
  bottom: -90px;
  background: rgba(215, 25, 32, .10);
}

.hero-home-luxe .hero-panel {
  position: relative;
  min-width: 0;
}

.hero-home-luxe .hero-panel-copy {
  z-index: 3;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-kicker,
.hero-live-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--red);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(215,25,32,.16);
}

.hero-live-pill {
  color: #087747;
  background: rgba(26, 188, 112, .11);
  border: 1px solid rgba(26, 188, 112, .18);
}

.hero-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1abc70;
  box-shadow: 0 0 0 6px rgba(26, 188, 112, .12);
}

.hero-home-luxe h1 {
  max-width: 560px;
  margin: 0;
  color: #0f1016;
  font-size: clamp(3.45rem, 6.25vw, 5.25rem);
  line-height: .95;
  letter-spacing: -.075em;
  font-weight: 950;
}

.hero-home-luxe .hero-subtext {
  max-width: 575px;
  margin: 22px 0 0;
  color: rgba(21,18,15,.62);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.65;
}

.hero-luxe-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-luxe-actions .primary-btn,
.hero-luxe-actions .ghost-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 950;
  text-decoration: none;
}

.hero-luxe-actions .primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #bd1119);
  box-shadow: 0 18px 34px rgba(215,25,32,.24);
}

.hero-luxe-actions .ghost-btn {
  color: #17120f;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(21,18,15,.08);
  box-shadow: 0 14px 32px rgba(21,18,15,.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  max-width: 560px;
}

.hero-metrics article {
  min-height: 98px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(21,18,15,.07);
  box-shadow: 0 16px 34px rgba(28,18,10,.06);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #17120f;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.hero-metrics span {
  margin-top: 7px;
  color: rgba(21,18,15,.58);
  line-height: 1.45;
  font-size: .92rem;
}

.hero-home-luxe .hero-panel-visual {
  min-height: 454px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,252,244,.86));
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 26px 55px rgba(37,23,10,.08);
  overflow: hidden;
}

.hero-home-luxe .hero-visual-glow {
  width: 330px;
  height: 330px;
  top: 54%;
}

.hero-home-luxe .hero-product-stage {
  left: 58px;
  right: 48px;
  top: 102px;
  bottom: 56px;
}

.hero-home-luxe .hero-product {
  max-width: min(96%, 430px);
}

.hero-home-luxe .hero-badge-card {
  left: 22px;
  top: 22px;
}

.hero-home-luxe .hero-float-card-drink {
  right: 26px;
  top: 118px;
}

.hero-home-luxe .hero-float-card-fries {
  left: 24px;
  bottom: 40px;
}

.hero-checkout-card {
  position: absolute;
  right: 36px;
  bottom: 38px;
  z-index: 5;
  width: 208px;
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 8px 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(21,18,15,.06);
  box-shadow: 0 18px 34px rgba(37,23,10,.08);
  animation: heroFloat 5.6s ease-in-out infinite 1.35s;
}

.hero-checkout-card strong {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  color: #8a5b00;
  background: rgba(255,199,44,.24);
  font-size: .76rem;
  line-height: 1.05;
}

.hero-checkout-card span,
.hero-checkout-card small {
  display: block;
  color: rgba(21,18,15,.58);
  font-weight: 900;
}

.hero-checkout-card i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,199,44,.24);
  grid-column: 1 / -1;
}

.hero-checkout-card i:nth-of-type(2) { width: 74%; background: rgba(215,25,32,.10); }
.hero-checkout-card i:nth-of-type(3) { width: 54%; }

@media (max-width: 980px) {
  .hero-home-luxe {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .hero-home-luxe .hero-panel-visual {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .topbar.poster-topbar.home-ordering-header {
    grid-template-columns: 1fr !important;
  }

  .hero-home-luxe {
    width: min(100% - 18px, 1180px);
    margin-top: 18px;
    padding: 24px;
    border-radius: 28px;
    min-height: 0;
  }

  .hero-home-luxe h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-home-luxe .hero-panel-visual {
    min-height: 390px;
  }

  .hero-home-luxe .hero-product-stage {
    left: 24px;
    right: 24px;
    top: 106px;
    bottom: 104px;
  }

  .hero-home-luxe .hero-product {
    max-width: min(92%, 300px);
  }

  .hero-checkout-card {
    display: none;
  }
}


/* ===== Final home polish: Marrakech-style motion, typography, and clean hero cards ===== */
.hero-home-luxe,
.hero-home-luxe * {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-live-pill {
  color: #17794b !important;
  background: #eefbf4 !important;
  border: 1px solid #d6f5e2 !important;
}

.hero-live-dot {
  width: 10px !important;
  height: 10px !important;
  margin-right: 8px !important;
  border-radius: 50% !important;
  background: #19b66f !important;
  box-shadow: 0 0 0 rgba(25, 182, 111, 0.35) !important;
  animation: pulse 1.8s infinite !important;
}

.hero-kicker {
  position: relative !important;
  overflow: hidden !important;
}

.hero-kicker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: translateX(-140%) skewX(-22deg);
  animation: heroShine 3.6s ease-in-out infinite;
}

.hero-luxe-actions .primary-btn,
.hero-luxe-actions .ghost-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-luxe-actions .primary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 82px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-140%) skewX(-22deg);
  animation: heroShine 3.8s ease-in-out infinite 0.8s;
  pointer-events: none;
}

.hero-luxe-actions .primary-btn:hover,
.hero-luxe-actions .ghost-btn:hover {
  transform: translateY(-2px);
}

.hero-luxe-actions .primary-btn:hover {
  box-shadow: 0 24px 42px rgba(215, 25, 32, 0.34);
}

.hero-luxe-actions .ghost-btn:hover {
  background: #fff;
  box-shadow: 0 18px 36px rgba(21,18,15,0.09);
}

.hero-luxe-actions .primary-btn:active,
.hero-luxe-actions .ghost-btn:active {
  transform: translateY(1px) scale(0.98);
}

.hero-checkout-card {
  display: none !important;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(25, 182, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 182, 111, 0); }
}

@keyframes heroShine {
  0% { transform: translateX(-150%) skewX(-22deg); }
  60%, 100% { transform: translateX(360%) skewX(-22deg); }
}

/* ===== Final typography and live-state match with Marrakech ordering page ===== */
.home-ordering-header .brand {
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #15120f !important;
}

.home-ordering-header .brand strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  color: #15120f !important;
}

.home-ordering-header .poster-nav a {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900 !important;
}

.hero-home-luxe h1 {
  max-width: 560px !important;
  margin: 18px 0 14px !important;
  color: #0f1016 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(3rem, 5vw, 5.3rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.075em !important;
  font-weight: 900 !important;
}

.hero-live-pill {
  color: #17794b !important;
  background: #eefbf4 !important;
  border: 1px solid #d6f5e2 !important;
}

.hero-live-dot {
  width: 10px !important;
  height: 10px !important;
  margin-right: 8px !important;
  flex: 0 0 10px !important;
  border-radius: 50% !important;
  background: #19b66f !important;
  box-shadow: 0 0 0 rgba(25, 182, 111, 0.35) !important;
  animation: homeLivePulse 1.8s infinite !important;
}

@keyframes homeLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 182, 111, 0.35);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(25, 182, 111, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(25, 182, 111, 0);
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  .hero-home-luxe h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem) !important;
    line-height: 0.95 !important;
  }
}

/* ===== Final exact typography/motion match from Marrakech ordering hero ===== */
.home-ordering-header .brand,
.home-ordering-header .brand strong {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #15120f !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

.hero-home-luxe h1 {
  max-width: 560px !important;
  margin: 18px 0 14px !important;
  color: #15120f !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(3rem, 5vw, 5.3rem) !important;
  font-weight: 900 !important;
  line-height: 0.94 !important;
  letter-spacing: -0.075em !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

.hero-home-luxe .hero-kicker,
.hero-home-luxe .hero-live-pill {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.hero-home-luxe .hero-live-pill {
  color: #17794b !important;
  background: #eefbf4 !important;
  border: 1px solid #d6f5e2 !important;
}

.hero-home-luxe .hero-live-dot {
  position: relative !important;
  width: 10px !important;
  height: 10px !important;
  margin-right: 8px !important;
  flex: 0 0 10px !important;
  border-radius: 50% !important;
  background: #19b66f !important;
  box-shadow: 0 0 0 rgba(25, 182, 111, 0.35) !important;
  animation: pulse 1.8s infinite !important;
  will-change: box-shadow !important;
}

@media (max-width: 760px) {
  .hero-home-luxe h1 {
    font-size: clamp(2.65rem, 12.5vw, 4.2rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.075em !important;
  }
}

/* ===== User requested final home typography correction =====
   Match the Marrakech hero title weight: Marrakech does not force 900/950 on
   the hero H1, so the home H1 should not be extra-heavy either. */
.hero-home-luxe h1 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.085em !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 760px) {
  .hero-home-luxe h1 {
    font-weight: 700 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.08em !important;
  }
}

/* Same live pulse behavior, made more visible on the home page. */
.hero-home-luxe .hero-live-dot {
  animation: pulse 1.8s infinite !important;
  box-shadow: 0 0 0 0 rgba(25, 182, 111, 0.45) !important;
}

/* ===== Home spacing correction: match Marrakech hero gap under header ===== */
body .site-shell {
  margin-top: 0 !important;
}

body .hero-home-luxe {
  margin-top: 18px !important;
}

@media (max-width: 760px) {
  body .site-shell {
    margin-top: 0 !important;
  }

  body .hero-home-luxe {
    margin-top: 12px !important;
  }
}

/* ===== Final shared legal/contact header consistency pass =====
   Matches the home/Marrakech header branding: clean PNG logo and bold brand text. */
.site-universal-header.same-app-header .universal-brand,
.site-universal-header.same-app-header .brand,
.site-universal-header.same-app-header .brand-copy,
.site-universal-header.same-app-header .brand-copy strong,
.site-universal-header.same-app-header .universal-brand strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #15120f !important;
}

.site-universal-header.same-app-header .brand-copy strong,
.site-universal-header.same-app-header .universal-brand strong {
  display: block !important;
  font-size: 1.02rem !important;
  line-height: 1 !important;
}

.site-universal-header.same-app-header .logo-brand-mark,
.site-universal-header.same-app-header .brand-mark.logo-brand-mark {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  overflow: visible !important;
  padding: 0 !important;
}

.site-universal-header.same-app-header .logo-brand-mark img,
.site-universal-header.same-app-header .brand-mark.logo-brand-mark img {
  width: 46px !important;
  height: 46px !important;
  display: block !important;
  object-fit: contain !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

@media (max-width: 620px) {
  .site-universal-header.same-app-header .logo-brand-mark,
  .site-universal-header.same-app-header .brand-mark.logo-brand-mark {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .site-universal-header.same-app-header .logo-brand-mark img,
  .site-universal-header.same-app-header .brand-mark.logo-brand-mark img {
    width: 42px !important;
    height: 42px !important;
  }

  .site-universal-header.same-app-header .brand-copy strong,
  .site-universal-header.same-app-header .universal-brand strong {
    font-size: 0.95rem !important;
  }
}


/* SEO FAQ and independent gateway disclosure */
.seo-faq {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 28px;
  padding: 34px;
  border: 1px solid rgba(37, 23, 10, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(37, 23, 10, 0.08);
}

.seo-faq-head {
  align-items: flex-start;
  margin-bottom: 22px;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-faq-item {
  padding: 18px;
  border: 1px solid rgba(37, 23, 10, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.seo-faq-item h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.25;
}

.seo-faq-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.site-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 780px;
}

@media (max-width: 720px) {
  .seo-faq {
    width: min(100% - 24px, 1120px);
    padding: 24px;
    border-radius: 24px;
  }

  .seo-faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Safe mobile header menu - compact desktop, no ordering JS removal ===== */
.mobile-menu-btn {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 18, 15, 0.08);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,248,232,0.92));
  box-shadow: 0 14px 28px rgba(21,18,15,0.12), inset 0 1px 0 rgba(255,255,255,0.95);
  cursor: pointer;
  flex: 0 0 auto;
}

.mobile-menu-lines {
  width: 20px;
  display: grid;
  gap: 4px;
}

.mobile-menu-lines i {
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #1f1a16;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-open .mobile-menu-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-open .mobile-menu-lines i:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .mobile-menu-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.food-card {
  cursor: pointer;
}

@media (max-width: 719px) {
  .ordering-header,
  .topbar.poster-topbar.home-ordering-header {
    min-height: var(--topbar-height) !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .ordering-header .mobile-menu-btn,
  .home-ordering-header .mobile-menu-btn {
    display: inline-flex !important;
  }

  .ordering-header .poster-topbar-actions,
  .home-ordering-header .poster-topbar-actions {
    display: inline-flex !important;
    justify-self: end !important;
    align-items: center !important;
  }

  .ordering-header .poster-topbar-actions .header-cart-btn {
    display: none !important;
  }

  .ordering-header .poster-nav,
  .home-ordering-header .poster-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    order: 5 !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 8px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(21,18,15,0.06) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78) !important;
    overflow-x: auto !important;
    justify-self: stretch !important;
  }

  .ordering-header.mobile-menu-open .poster-nav,
  .home-ordering-header.mobile-menu-open .poster-nav {
    display: flex !important;
  }
}

/* ===== Final requested fix: home header matches Marrakech ordering header ===== */
.topbar.poster-topbar.ordering-header.home-ordering-header {
  position: relative !important;
  top: 0 !important;
  z-index: 80 !important;
  width: min(1180px, calc(100% - 28px)) !important;
  min-height: 64px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 12px auto 0 !important;
  padding: 16px 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home-ordering-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  color: #15120f !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

.home-ordering-header .brand strong {
  display: inline-block !important;
  color: #15120f !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
}

.home-ordering-header .brand-mark-poster,
.home-ordering-header .logo-brand-mark {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-ordering-header .logo-brand-mark img {
  width: 48px !important;
  height: 48px !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-ordering-header .poster-nav {
  width: auto !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 0 0 auto !important;
  padding: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(21, 18, 15, 0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 24px rgba(37, 23, 10, 0.05) !important;
  overflow: visible !important;
}

.home-ordering-header .poster-nav a {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  color: rgba(21, 18, 15, 0.82) !important;
  background: transparent !important;
  text-decoration: none !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease !important;
}

.home-ordering-header .poster-nav a:hover,
.home-ordering-header .poster-nav .home-nav-link {
  color: #d71920 !important;
  background: rgba(215, 25, 32, 0.08) !important;
}

.home-ordering-header .poster-nav a:hover {
  transform: translateY(-1px) !important;
}

.home-ordering-header .poster-topbar-actions {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 720px) {
  .home-ordering-header .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 719px) {
  .topbar.poster-topbar.ordering-header.home-ordering-header {
    width: min(100% - 18px, 1180px) !important;
    min-height: 66px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px 10px !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 14px 34px rgba(37, 23, 10, 0.08) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  .home-ordering-header .poster-nav {
    display: none !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    overflow-x: auto !important;
  }

  .home-ordering-header.mobile-menu-open .poster-nav {
    display: flex !important;
  }

  .home-ordering-header .poster-nav a {
    min-height: 36px !important;
    padding: 0 13px !important;
    font-size: 0.84rem !important;
  }
}

/* ===== Desktop-only home header restore: match Marrakech ordering pill header ===== */
@media (min-width: 720px) {
  .topbar.poster-topbar.ordering-header.home-ordering-header {
    position: relative !important;
    top: 10px !important;
    z-index: 80 !important;
    width: min(1180px, calc(100% - 28px)) !important;
    height: 76px !important;
    min-height: 76px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 12px auto 0 !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.70) !important;
    box-shadow: 0 18px 45px rgba(37, 23, 10, 0.08) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  .home-ordering-header .brand {
    justify-self: start !important;
  }

  .home-ordering-header .poster-nav {
    justify-self: center !important;
    margin: 0 !important;
  }

  .home-ordering-header .poster-topbar-actions {
    justify-self: end !important;
    display: inline-flex !important;
  }
}


/* Loader */
body.page-loading {
  overflow: hidden;
}

body.page-loading > *:not(.site-loader) {
  visibility: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, #fff9ef 0%, #fff3df 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 204, 0, 0.18), transparent 32%),
    radial-gradient(circle at 80% 22%, rgba(215, 25, 32, 0.12), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(255, 185, 64, 0.16), transparent 30%);
}

.site-loader__panel {
  position: relative;
  width: min(100%, 560px);
  padding: 38px 34px 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,250,243,0.96) 100%);
  border: 1px solid rgba(150, 68, 15, 0.12);
  box-shadow:
    0 30px 80px rgba(70, 35, 10, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.8);
  text-align: center;
  overflow: hidden;
}

.site-loader__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.8;
}

.site-loader__halo--one {
  top: -38px;
  left: -34px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.32), transparent 68%);
}

.site-loader__halo--two {
  right: -30px;
  bottom: 28px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.18), transparent 70%);
}

.site-loader__wordmark {
  position: relative;
  z-index: 1;
}

.site-loader__word {
  line-height: 1;
  letter-spacing: -0.04em;
  color: #2d1b0f;
}

.site-loader__word--primary {
  font-size: clamp(2.25rem, 7vw, 3.45rem);
  font-weight: 900;
  animation: loaderWordIn 0.55s ease both;
}

.site-loader__word--secondary {
  margin-top: 8px;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #d71920;
  animation: loaderWordIn 0.55s ease 0.18s both;
}

.site-loader__bar {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  height: 12px;
  margin: 28px auto 24px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(215,25,32,0.08), rgba(255,204,0,0.12));
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.site-loader__bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  background: linear-gradient(90deg, #ffcc00 0%, #ffdc5d 45%, #d71920 100%);
  animation: loaderBarFill 3s ease-in-out forwards;
}

.site-loader__burgers {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
}

.site-loader__burger {
  width: 88px;
  height: 76px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 8px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,245,228,0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(82, 40, 14, 0.08);
  border: 1px solid rgba(182, 93, 27, 0.08);
  opacity: 0.48;
  transform: translateY(0) scale(0.96);
  animation: loaderBurgerSpotlight 0.68s cubic-bezier(0.22, 0.8, 0.32, 1) 1 both;
}

.site-loader__burger:nth-child(2) { animation-delay: 0.62s; }
.site-loader__burger:nth-child(3) { animation-delay: 1.24s; }
.site-loader__burger:nth-child(4) { animation-delay: 1.86s; }

.site-loader__burger img {
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(89, 44, 17, 0.18));
  pointer-events: none;
  user-select: none;
}

@keyframes loaderWordIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderBarFill {
  0% {
    transform: scaleX(0.04);
    opacity: 0.72;
  }
  45% {
    transform: scaleX(0.48);
    opacity: 0.95;
  }
  75% {
    transform: scaleX(0.8);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes loaderBurgerSpotlight {
  0%, 100% {
    opacity: 0.48;
    transform: translateY(0) scale(0.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 10px 20px rgba(82, 40, 14, 0.08);
  }
  35% {
    opacity: 1;
    transform: translateY(-10px) scale(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.96),
      0 18px 34px rgba(215, 25, 32, 0.12),
      0 12px 22px rgba(255, 191, 0, 0.18);
  }
  58% {
    opacity: 0.96;
    transform: translateY(-4px) scale(1.02);
  }
}

@media (max-width: 640px) {
  .site-loader {
    padding: 18px;
  }

  .site-loader__panel {
    width: 100%;
    padding: 30px 18px 24px;
    border-radius: 28px;
  }

  .site-loader__bar {
    margin: 24px auto 20px;
  }

  .site-loader__burgers {
    gap: 8px;
  }

  .site-loader__burger {
    width: 68px;
    height: 64px;
    border-radius: 18px;
    padding: 6px 6px 0;
  }

  .site-loader__burger img {
    max-height: 54px;
  }
}

