:root {
  --content-max: var(--hotmat-content-max, 1312px);
  --home-content-max: var(--hotmat-content-max, 1312px);
  --home-page-gutter: var(--hotmat-page-gutter, clamp(16px, 4vw, 64px));
  --brand-red: #f63d41;
  --text-on-white: #334444;
  --text: #ffffff;
  --ink: var(--text-on-white);
  --secondary: #737487;
  --red: var(--brand-red);
  --red-dark: #d90d18;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.app-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 35px 24px 0;
  color: var(--text);
  background:
    linear-gradient(to bottom, rgba(10, 12, 16, 0.18), rgba(10, 12, 16, 0.34) 45%, rgba(10, 12, 16, 0.28) 75%, rgba(10, 12, 16, 0.2)),
    #333333 url("../assets/hero-background.png") center center / cover no-repeat;
}

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
}

.topbar-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.topbar-logo-wordmark {
  display: block;
  width: auto;
  height: 27px;
  color: #ffffff;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.42));
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.top-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 4px;
  color: #ffffff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.top-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.partner-menu-wrap {
  position: relative;
}

.partner-menu-button {
  gap: 5px;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.partner-chevron {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.partner-menu-button[aria-expanded="true"] .partner-chevron {
  transform: rotate(180deg);
}

.partner-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  min-width: 160px;
  padding: 8px;
  color: var(--text-on-white);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.partner-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.partner-option {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text-on-white);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background 120ms ease;
}

.partner-option:hover,
.partner-option:focus-visible {
  background: #f4f4f4;
  outline: 0;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.top-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.top-pill:active {
  transform: translateY(1px);
}

.top-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-menu-wrap {
  position: relative;
}

.language-button {
  font-size: 16px;
  font-weight: 400;
}

.language-chevron {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.language-button[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  min-width: 220px;
  padding: 8px;
  color: var(--text-on-white);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-menu-title {
  padding: 8px 12px 6px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text-on-white);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  text-align: left;
  transition: background 120ms ease;
}

.language-option:hover {
  background: #f4f4f4;
}

.language-option.selected {
  font-weight: 700;
}

.language-code {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  color: #555555;
  border-radius: 7px;
  background: #f0f0f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-option.selected .language-code {
  color: #ffffff;
  background: #1a1a1a;
}

.language-name {
  flex: 1;
}

.language-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--text-on-white);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
}

.language-option.selected .language-check {
  opacity: 1;
  transform: scale(1);
}

.profile-button {
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .topbar {
    gap: 10px;
    padding: 14px 16px;
  }

  .topbar-logo-wordmark {
    height: 24px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-link {
    display: none;
  }

  .partner-menu-button.top-link {
    display: inline-flex;
    min-height: 32px;
    padding: 8px 2px;
    font-size: 14px;
  }

  .top-pill {
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .partner-menu-wrap {
    display: none;
  }

  .top-pill {
    padding: 0 10px;
  }
}

@media (max-width: 360px) {
  .profile-button span {
    display: none;
  }
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 33svh;
  left: 40px;
  width: min(calc(100% - 80px), 660px);
}

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.44);
}

.hero-title {
  margin: 0 0 12px;
  color: inherit;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .hero-content {
    top: 26svh;
    right: 20px;
    left: 20px;
    width: auto;
  }
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.address-search {
  flex: 0 1 520px;
  width: min(100%, 520px);
  margin-top: 0;
}

.address-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  margin-top: 0;
  padding: 0 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: box-shadow 150ms ease;
}

.address-field-pin {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.address-field input {
  min-width: 0;
  width: 100%;
  height: 100%;
  color: var(--text-on-white);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
}

.address-submit {
  display: none;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--brand-red);
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.76;
  transition: opacity 160ms ease, transform 160ms ease;
}

.address-submit.is-clear,
.address-submit.is-loading {
  display: inline-flex;
}

.address-submit svg {
  display: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-submit .address-submit-search-icon {
  display: none;
}

.address-submit.is-clear .address-submit-search-icon,
.address-submit.is-loading .address-submit-search-icon {
  display: none;
}

.address-submit.is-clear .address-submit-clear-icon {
  display: block;
}

.address-submit-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: address-search-spin 700ms linear infinite;
}

.address-submit.is-loading .address-submit-spinner {
  display: block;
}

.address-submit:disabled {
  cursor: wait;
  opacity: 1;
}

.address-submit:hover {
  opacity: 1;
  transform: scale(1.04);
}

.address-submit:disabled:hover {
  opacity: 0.76;
  transform: none;
}

.address-submit:active {
  transform: scale(0.96);
}

.address-submit:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.22);
  outline-offset: 2px;
}

.address-field input::-webkit-search-cancel-button {
  display: none;
}

.address-field input::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

#addressList {
  display: grid;
  width: 100%;
  max-height: 224px;
  margin-top: 8px;
  overflow: auto;
  color: var(--text-on-white);
  border: 1px solid rgba(23, 23, 37, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

#addressList:empty {
  display: none;
}

.address-suggestion {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 12px 16px;
  color: inherit;
  border: 0;
  border-bottom: 1px solid #eeeef1;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease;
}

.address-suggestion:last-child {
  border-bottom: 0;
}

.address-suggestion:hover,
.address-suggestion:focus-visible,
.address-suggestion.is-active {
  background: #fff5f5;
  outline: 0;
}

.address-suggestion-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--brand-red);
  background: rgba(246, 61, 65, 0.09);
}

.address-suggestion-pin svg {
  display: block;
  width: 18px;
  height: 18px;
}

.address-suggestion-copy {
  display: block;
  min-width: 0;
}

.address-suggestion-primary,
.address-suggestion-secondary {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.address-suggestion-primary {
  color: var(--text-on-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.22;
}

.address-suggestion-secondary {
  margin-top: 3px;
  color: #686878;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.28;
}

.address-suggestion-action {
  position: relative;
  width: 24px;
  height: 24px;
}

.address-suggestion-action::before {
  position: absolute;
  top: 7px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(246, 61, 65, 0.7);
  border-right: 2px solid rgba(246, 61, 65, 0.7);
  transform: rotate(45deg);
  content: "";
}

.address-search-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 66px;
  padding: 15px 18px;
  color: #686878;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.address-search-status-error {
  color: var(--brand-red);
}

.address-search-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(246, 61, 65, 0.2);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: address-search-spin 700ms linear infinite;
}

@keyframes address-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.location-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.location-button:active {
  background: rgba(255, 255, 255, 0.2);
}

.location-button:disabled {
  cursor: default;
  opacity: 0.8;
}

.location-button:disabled:hover,
.location-button:disabled:active {
  background: transparent;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease;
}

.location-button-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.location-button-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: address-search-spin 700ms linear infinite;
}

.location-button.is-loading .location-button-icon {
  display: none;
}

.location-button.is-loading .location-button-spinner {
  display: inline-block;
}

.location-button span {
  font-size: 15px;
  font-weight: 400;
}

.location-feedback {
  max-width: 310px;
  margin: 10px auto 0;
  padding: 10px 12px;
  color: var(--brand-red);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.location-feedback[hidden] {
  display: none;
}

.top-link:focus-visible,
.top-pill:focus-visible,
.location-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.language-option:focus-visible {
  outline: 2px solid rgba(51, 68, 68, 0.28);
  outline-offset: 2px;
}

.address-field:focus-within {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(246, 61, 65, 0.35);
}

@media (max-width: 699px) {
  .search-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .address-search {
    flex: none;
    width: 100%;
  }

  .location-button {
    width: 100%;
    height: 48px;
  }
}

.benefit-strip {
  padding: 26px var(--home-page-gutter);
  background: #fbfaf9;
}

.benefit-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  max-width: var(--home-content-max);
  margin: 0 auto;
}

.benefit-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-on-white);
  font-size: 14px;
  font-weight: 400;
}

.benefit-strip-item svg {
  flex: 0 0 auto;
  color: var(--brand-red);
}

.benefit-strip-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 30px;
  background: #dcdad6;
}

@media (max-width: 699px) {
  .benefit-strip {
    display: none;
  }
}

.how-it-works {
  padding: 56px var(--home-page-gutter) 64px;
  background: #f4f3f1;
}

.how-inner {
  max-width: var(--home-content-max);
  margin: 0 auto;
}

.how-title {
  margin: 0 0 28px;
  color: var(--text-on-white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

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

.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 276px;
  padding: 28px 24px 26px;
  text-align: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.step-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--brand-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.how-illustration {
  display: block;
  width: auto;
  max-width: 100%;
  height: 130px;
  margin: 14px 0 18px;
}

.how-card h3 {
  margin: 0 0 8px;
  color: var(--text-on-white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.how-card p {
  max-width: 240px;
  margin: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 40px 20px 48px;
  }

  .how-title {
    margin-bottom: 20px;
    font-size: 26px;
  }

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

.app-promo {
  padding: 64px var(--home-page-gutter);
  background: #f7eee9 url("../assets/app-promo/hotmat-app-download-background.png") right center / cover no-repeat;
}

.app-promo-inner {
  max-width: var(--home-content-max);
  margin: 0 auto;
}

.app-promo-copy {
  max-width: 460px;
}

.app-promo h2 {
  margin: 0 0 12px;
  color: var(--text-on-white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: pretty;
}

.app-promo p {
  max-width: 420px;
  margin: 0 0 24px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.app-promo-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 151px;
  height: 48px;
  padding: 0 20px;
  color: #ffffff;
  border-radius: 12px;
  background: #000000;
  font-size: 15px;
  font-weight: 500;
  line-height: 0;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.app-store-button:hover {
  background: #2a2a2a;
}

.app-store-button svg {
  flex: 0 0 auto;
}

.app-store-button span {
  line-height: 1;
}

.app-store-button:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.3);
  outline-offset: 4px;
}

.app-promo-visual {
  display: none;
}

.restaurant-partner-cta {
  padding: 56px var(--home-page-gutter) 64px;
  background: #ffffff;
}

.restaurant-partner-card {
  position: relative;
  max-width: var(--home-content-max);
  margin: 0 auto;
  overflow: hidden;
  padding: 48px 44px;
  border-radius: 20px;
  background: #f6efe9 url("../assets/restaurant-partner-cta/restaurant-partner-cta-background-desktop-3840x1536-red-aprons.jpg") right 0 top -14px / cover no-repeat;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.driver-partner-card {
  margin-top: 24px;
  background-color: #f2e4d8;
  background-image: url("../assets/driver-partner-cta/delivery-driver-cta-background-desktop-1983x793-red-jacket-bag.png");
  background-position: right top;
}

.restaurant-partner-content {
  max-width: 440px;
}

.restaurant-partner-card h2 {
  margin: 0 0 10px;
  color: var(--text-on-white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: pretty;
}

.restaurant-partner-card p {
  margin: 0 0 24px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.restaurant-partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  color: #ffffff;
  border-radius: 12px;
  background: var(--brand-red);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.restaurant-partner-button:hover,
.restaurant-partner-button:focus-visible {
  background: #c41818;
}

.driver-partner-button {
  background: #000000;
}

.driver-partner-button:hover,
.driver-partner-button:focus-visible {
  background: #2a2a2a;
}

.restaurant-partner-button:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.28);
  outline-offset: 4px;
}

.restaurant-partner-visual {
  display: none;
}

@media (max-width: 768px) {
  .app-promo {
    padding: 44px 20px 0;
    background-color: #f9eee9;
    background-image: none;
  }

  .app-promo-copy {
    max-width: 360px;
  }

  .app-promo h2 {
    font-size: 26px;
  }

  .app-promo p {
    font-size: 15px;
  }

  .app-promo-actions {
    flex-direction: column;
    gap: 10px;
  }

  .app-promo-visual {
    display: block;
    height: 230px;
    margin-top: 28px;
    background-image: url("../assets/app-promo/hotmat-app-download-background.png");
    background-repeat: no-repeat;
    background-position: 68% 30%;
    background-size: auto 170%;
  }

  .restaurant-partner-cta {
    padding: 40px 20px 48px;
  }

  .restaurant-partner-card {
    padding: 32px 22px 0;
    background-image: none;
  }

  .restaurant-partner-card h2 {
    font-size: 25px;
  }

  .restaurant-partner-card p {
    font-size: 15px;
  }

  .restaurant-partner-visual {
    display: block;
    height: 210px;
    margin: 26px -22px 0;
    background-image: url("../assets/restaurant-partner-cta/restaurant-partner-cta-background-desktop-3840x1536-red-aprons.jpg");
    background-repeat: no-repeat;
    background-position: 72% 25%;
    background-size: auto 140%;
  }

  .driver-partner-visual {
    background-image: url("../assets/driver-partner-cta/delivery-driver-cta-background-desktop-1983x793-red-jacket-bag.png");
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .app-promo-copy {
    max-width: 360px;
  }

  .app-promo h2 {
    font-size: 27px;
  }

  .restaurant-partner-content {
    max-width: 360px;
  }

  .restaurant-partner-card h2 {
    font-size: 26px;
  }
}

.cities-section {
  padding: 56px var(--home-page-gutter) 64px;
  background: #ffffff;
}

.cities-inner {
  max-width: var(--home-content-max);
  margin: 0 auto;
}

.cities-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.cities-title {
  margin: 0;
  color: var(--text-on-white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 38px;
  padding: 0 16px;
  color: var(--brand-red);
  border: 1px solid #f0b9b9;
  border-radius: 10px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.view-all:hover {
  border-color: var(--brand-red);
  background: #fdf3f3;
}

.view-all:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.3);
  outline-offset: 3px;
}

.view-all svg {
  flex: 0 0 auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.city-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  color: #ffffff;
  border-radius: 14px;
  background: #dedede;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.city-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.city-card:hover img {
  transform: scale(1.05);
}

.city-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%);
  content: "";
  pointer-events: none;
}

.city-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.city-name {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 14px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .cities-section {
    padding: 40px 20px 48px;
  }

  .cities-head {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .cities-title {
    font-size: 26px;
  }

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

  .city-name {
    bottom: 9px;
    left: 11px;
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 36px clamp(48px, 6.5vw, 96px) 0;
    background:
      linear-gradient(to bottom, rgba(10, 12, 16, 0.18), rgba(10, 12, 16, 0.34) 45%, rgba(10, 12, 16, 0.28) 75%, rgba(10, 12, 16, 0.2)),
      #333333 url("../assets/hero-background.png") center center / cover no-repeat;
  }

  .topbar-logo-wordmark {
    height: 30px;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .search-row {
    width: min(100%, 660px);
  }

  .address-search {
    flex: 0 1 520px;
    width: min(100%, 520px);
    margin: 0;
  }

  .address-field {
    height: 56px;
    margin: 0;
    border-radius: 14px;
  }

  .address-field input {
    font-size: 16px;
  }

  #addressList {
    max-height: 270px;
  }

  .location-button {
    width: auto;
    height: 56px;
    margin: 0;
    padding: 0 20px;
    border-radius: 14px;
  }

  .location-button span {
    font-size: 15px;
  }

  .location-feedback {
    max-width: 520px;
  }

}

@media (min-width: 1024px) {
  .hero {
    --desktop-form-width: clamp(570px, 40vw, 620px);
    --desktop-frame-width: 1440px;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    min-height: 100svh;
    padding: 30px clamp(48px, 4vw, 80px) 0;
    background: #333333 url("../assets/hero-background.png") center center / cover no-repeat;
  }

  .hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(12, 8, 7, 0.8) 0%,
      rgba(12, 8, 7, 0.64) 25%,
      rgba(12, 8, 7, 0.34) 43%,
      rgba(12, 8, 7, 0.08) 61%,
      rgba(12, 8, 7, 0) 74%
    );
    content: "";
    pointer-events: none;
  }

  .top-actions {
    gap: 12px;
    font-size: 16px;
  }

  .language-button.top-pill {
    padding-right: 15px;
    padding-left: 16px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .search-row {
    width: min(100%, 660px);
  }

  .address-search {
    flex: 0 1 520px;
    width: min(100%, 520px);
    margin: 0;
  }

  .address-field {
    height: 56px;
    margin: 0;
    padding: 0 18px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .address-field-pin {
    width: 22px;
    height: 22px;
  }

  .address-field input {
    font-size: 16px;
  }

  .location-button {
    width: auto;
    height: 56px;
    margin: 0;
    padding: 0 20px;
    border-radius: 14px;
  }

  .location-button span {
    font-size: 15px;
  }

  .location-feedback {
    width: 520px;
    max-width: 100%;
    margin: 10px 0 0;
    font-size: 13px;
  }

}
