:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #696966;
  --paper: #f7f4ee;
  --card: #fffdf9;
  --line: rgba(18, 18, 18, 0.12);
  --orange: #f27a19;
  --orange-soft: #fff0df;
  --navy: #111d36;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 18px 55px rgba(33, 25, 14, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 5% 5%, rgba(242, 122, 25, 0.08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.language-picker,
.back-link {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand span {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

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

.header-actions {
  gap: 12px;
}

.back-link,
.language-picker {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.back-link {
  gap: 8px;
  padding: 0 17px;
  font-size: 0.86rem;
  font-weight: 600;
}

.language-picker {
  position: relative;
  padding: 0 13px 0 3px;
}

.language-picker select {
  min-width: 136px;
  height: 42px;
  padding: 0 30px 0 12px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}

.language-picker > span:last-child {
  position: absolute;
  right: 13px;
  pointer-events: none;
}

main {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 68px) 80px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 128px));
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 62%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 10, 23, 0.88) 0%, rgba(4, 10, 23, 0.52) 50%, rgba(4, 10, 23, 0.07) 78%),
    linear-gradient(0deg, rgba(4, 10, 23, 0.58), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  max-width: 770px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 6vw, 88px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.eyebrow > span:first-child {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 6.7vw, 6.5rem);
  line-height: 0.98;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 180ms ease;
}

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

.button-light {
  background: white;
  color: var(--ink);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(10px);
}

.explore {
  padding-top: clamp(74px, 9vw, 130px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 34px;
}

.section-heading .section-kicker,
.uber-note .section-kicker {
  margin-bottom: 10px;
}

.section-heading h2,
.uber-note h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.section-heading > p,
.uber-note > div:last-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.discovery-bar {
  position: sticky;
  z-index: 10;
  top: 102px;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.91);
  box-shadow: 0 12px 35px rgba(33, 25, 14, 0.08);
  backdrop-filter: blur(18px);
}

.search-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 14px;
  background: #f1eee8;
}

.search-field > span {
  font-size: 1.35rem;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.filter-button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.restaurant-section {
  padding-top: 78px;
}

.restaurant-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.restaurant-section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.restaurant-section-header p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: right;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.restaurant-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 12px 35px rgba(33, 25, 14, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--navy);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.restaurant-card:hover .card-media img {
  transform: scale(1.025);
}

.card-number,
.card-tag {
  position: absolute;
  top: 16px;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.card-number {
  left: 16px;
  padding: 0 11px;
  background: rgba(8, 14, 28, 0.72);
  color: white;
  font-size: 0.73rem;
  font-weight: 700;
}

.card-tag {
  right: 16px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.card-brand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(4, 10, 23, 0.24);
  backdrop-filter: blur(16px);
}

.card-brand-logo,
.card-brand-monogram {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 13px;
}

.card-brand .card-brand-logo {
  width: 50px;
  height: 50px;
  min-height: 0;
  max-height: none;
  object-fit: contain !important;
  padding: 3px;
  background: white;
  transform: none;
  transition: none;
}

.restaurant-card:hover .card-brand .card-brand-logo {
  transform: none;
}

.card-brand-monogram {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-brand-name {
  overflow: hidden;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-topline h3 {
  font-size: 1.27rem;
  line-height: 1.18;
}

.distance {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.73rem;
  white-space: nowrap;
}

.card-description {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.card-action {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-size: 0.74rem;
  font-weight: 700;
  transition: 160ms ease;
}

.card-action:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.card-action.uber {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.card-action.uber:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.restaurant-card.no-photo {
  min-height: 315px;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 122, 25, 0.2), transparent 35%),
    var(--navy);
  color: white;
}

.no-photo .card-body {
  justify-content: space-between;
  padding: 28px;
}

.no-photo .card-topline {
  align-items: center;
}

.no-photo .card-topline h3 {
  font-size: 1.65rem;
}

.no-photo .distance,
.no-photo .card-description {
  color: rgba(255, 255, 255, 0.68);
}

.no-photo .card-description {
  max-width: 28ch;
  font-size: 0.95rem;
}

.no-photo .card-action {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.no-photo .card-action.uber {
  border-color: var(--orange);
  background: var(--orange);
}

.empty-state {
  padding: 80px 20px;
  color: var(--muted);
  text-align: center;
}

.uber-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  margin-top: 110px;
  padding: clamp(28px, 5vw, 62px);
  border-radius: var(--radius-xl);
  background: #e8e4db;
}

.uber-mark {
  display: grid;
  width: clamp(86px, 11vw, 140px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 32%;
  background: var(--ink);
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

.uber-note h2 {
  max-width: 720px;
  margin-bottom: 16px;
}

.uber-note > div:last-child > p:last-child {
  max-width: 780px;
}

footer {
  display: grid;
  width: min(calc(100% - 32px), 1304px);
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
  padding: 42px 0 54px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

footer p {
  margin: 0;
}

footer > a:last-child {
  color: var(--ink);
  font-weight: 700;
}

[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(4, 10, 23, 0.88) 0%, rgba(4, 10, 23, 0.52) 50%, rgba(4, 10, 23, 0.07) 78%),
    linear-gradient(0deg, rgba(4, 10, 23, 0.58), transparent 45%);
}

[dir="rtl"] .restaurant-section-header p {
  text-align: left;
}

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

  .discovery-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding: 10px 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small,
  .back-link span:last-child {
    display: none;
  }

  .back-link {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 1.1rem;
  }

  .language-picker select {
    min-width: 98px;
  }

  main {
    padding: 14px 12px 62px;
  }

  .hero {
    min-height: 680px;
    border-radius: 26px;
  }

  .hero-image {
    object-position: 55% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 10, 23, 0.96) 0%, rgba(4, 10, 23, 0.56) 52%, rgba(4, 10, 23, 0.06) 82%),
      linear-gradient(90deg, rgba(4, 10, 23, 0.35), transparent);
  }

  .hero-content {
    padding: 28px 24px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 13vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .discovery-bar {
    top: 84px;
  }

  .restaurant-section {
    padding-top: 58px;
  }

  .restaurant-section-header {
    display: grid;
    gap: 10px;
  }

  .restaurant-section-header p {
    text-align: left;
  }

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

  .card-media,
  .card-media img {
    min-height: 310px;
    max-height: 390px;
  }

  .uber-note {
    grid-template-columns: 1fr;
    margin-top: 76px;
  }

  .uber-mark {
    width: 78px;
    border-radius: 24px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 8px;
  }
}

@media (max-width: 390px) {
  .header-actions {
    gap: 7px;
  }

  .language-picker select {
    min-width: 84px;
    padding-left: 9px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
