/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Onest", sans-serif;

  background: #131315;
  color: #e0e0e2;
}

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

img {
  max-width: 100%;
}

/* =========================
   Navigation
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(19, 19, 21, 0.94);

  border-bottom: 1px solid #575a5e;

  backdrop-filter: blur(12px);
}

.navbar {
  max-width: 1200px;

  margin: 0 auto;

  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.brand-logo {
  display: block;

  width: 150px;
  height: 42px;

  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 20px;
}

.nav-links a {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav-links a:hover {
  color: #e5242a;
}

.nav-button,
.primary-button {
  display: inline-block;

  padding: 12px 18px;

  background: #e5242a;
  color: white;

  border-radius: 8px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.nav-button:hover,
.primary-button:hover {
  background: #ba2d0b;

  transform: translateY(-2px);
}

.secondary-button {
  display: inline-block;

  padding: 12px 18px;

  border: 1px solid #575a5e;
  border-radius: 8px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.secondary-button:hover {
  border-color: #e5242a;

  background: #1b1b1e;

  transform: translateY(-2px);
}

/* =========================
   Hero
   ========================= */

.hero {
  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 90px 24px;

  text-align: center;

  background: radial-gradient(
    circle at center,
    rgba(229, 36, 42, 0.08),
    transparent 55%
  );
}

.hero-content {
  max-width: 900px;
}

.hero-brand {
  margin-bottom: 30px;

  display: flex;
  justify-content: center;
}

.hero-logo {
  display: block;

  width: min(300px, 65vw);
  height: auto;

  max-height: 100px;

  object-fit: contain;
}

.hero-eyebrow,
.section-eyebrow {
  margin: 0;

  color: #e5242a;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 2px;
}

.hero h1 {
  max-width: 850px;

  margin: 18px auto;

  font-size: clamp(48px, 7vw, 82px);

  line-height: 1;

  letter-spacing: -2px;
}

.hero-description {
  max-width: 700px;

  margin: 0 auto;

  color: #e0e0e2;

  font-size: 20px;

  line-height: 1.7;
}

.hero-actions {
  margin-top: 35px;

  display: flex;
  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;

  color: #575a5e;

  font-size: 14px;
}

/* =========================
   General Sections
   ========================= */

section {
  padding: 100px 24px;
}

.section-heading {
  max-width: 700px;

  margin: 0 auto 50px;

  text-align: center;
}

.section-heading h2 {
  margin: 12px 0;

  font-size: 42px;

  line-height: 1.1;
}

.section-heading p:not(.section-eyebrow) {
  color: #8f9195;

  line-height: 1.6;
}

/* =========================
   Restaurant Search
   ========================= */

.restaurant-search {
  max-width: 600px;

  margin: 0 auto 40px;
}

.restaurant-search input {
  width: 100%;

  padding: 16px 18px;

  border: 1px solid #575a5e;
  border-radius: 10px;

  background: #1b1b1e;
  color: #e0e0e2;

  font-family: inherit;
  font-size: 16px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.restaurant-search input::placeholder {
  color: #575a5e;
}

.restaurant-search input:focus {
  outline: none;

  border-color: #e5242a;

  box-shadow: 0 0 0 3px rgba(229, 36, 42, 0.1);
}

/* =========================
   Restaurant Carousel
   ========================= */

.restaurant-slider {
  width: min(100%, 1100px);

  margin: 0 auto;

  position: relative;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 10px 0 24px;

  touch-action: pan-y;

  cursor: grab;

  scrollbar-width: none;

  -ms-overflow-style: none;
}

.restaurant-slider::-webkit-scrollbar {
  display: none;
}

.restaurant-slider.is-dragging {
  cursor: grabbing;

  user-select: none;
}

.restaurant-track {
  display: flex;

  align-items: stretch;

  width: max-content;

  gap: 20px;

  min-width: max-content;
}

/* =========================
   Restaurant Card
   ========================= */

.restaurant-card {
  position: relative;

  flex: 0 0 240px;

  overflow: hidden;

  border: 1px solid #575a5e;
  border-radius: 14px;

  background: #1b1b1e;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* =========================
   Restaurant Image
   ========================= */

.restaurant-image {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #575a5e;
}

.restaurant-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.placeholder-image {
  display: flex;

  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #1b1b1e, #575a5e);

  color: #e0e0e2;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2px;
}

/* =========================
   Restaurant Information
   ========================= */

.restaurant-card-content {
  padding: 14px 15px 15px;
}

.restaurant-card-identity {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.restaurant-card-text {
  min-width: 0;

  flex: 1;
}

.restaurant-logo {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  object-fit: cover;

  border: 1px solid #575a5e;
  border-radius: 9px;

  background: #131315;
}

.restaurant-card-content h3 {
  margin: 0 0 4px;

  overflow: hidden;

  font-size: 18px;

  line-height: 1.2;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.restaurant-card-content p {
  margin: 0;

  display: -webkit-box;

  overflow: hidden;

  color: #8f9195;

  font-size: 13px;

  line-height: 1.45;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* =========================
   Restaurant Hover
   ========================= */

@media (hover: hover) and (pointer: fine) {
  .restaurant-card:hover {
    transform: translateY(-5px);

    border-color: #e5242a;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  }

  .restaurant-card:hover .restaurant-image img {
    transform: scale(1.04);
  }
}

/* =========================
   Loading / Empty / Error
   ========================= */

.restaurant-loading,
.restaurant-message {
  min-height: 160px;

  min-width: 280px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  border: 1px dashed #575a5e;

  border-radius: 14px;

  color: #8f9195;

  text-align: center;
}

/* =========================
   Features
   ========================= */

.features-section {
  background: #1b1b1e;
}

.features-grid {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.feature-card {
  padding: 30px;

  border: 1px solid #575a5e;
  border-radius: 12px;

  background: #131315;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);

  border-color: #e5242a;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 46px;
  height: 46px;

  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(229, 36, 42, 0.35);
  border-radius: 10px;

  background: rgba(229, 36, 42, 0.06);

  color: #e5242a;
}

.feature-icon svg {
  width: 27px;
  height: 27px;

  display: block;
}

.feature-card h3 {
  margin: 0 0 12px;

  font-size: 19px;
}

.feature-card p {
  margin: 0;

  color: #8f9195;

  line-height: 1.6;
}

/* =========================
   Pricing
   ========================= */

.pricing-section {
  background: #131315;
}

.pricing-card {
  max-width: 520px;

  margin: 0 auto;

  padding: 45px;

  border: 1px solid #575a5e;

  border-radius: 16px;

  background: #1b1b1e;

  text-align: center;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.pricing-label {
  margin: 0;

  color: #e5242a;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 2px;
}

.price {
  margin: 20px 0;
}

.currency {
  font-size: 30px;

  vertical-align: top;
}

.price-value {
  font-size: 64px;

  font-weight: 700;
}

.price-period {
  color: #575a5e;
}

.pricing-description {
  color: #8f9195;
}

.pricing-features {
  margin: 35px 0;

  text-align: left;

  line-height: 2;

  color: #e0e0e2;
}

.pricing-button {
  width: 100%;
}

.pricing-note {
  min-height: 1em;

  margin-top: 20px;

  color: #575a5e;

  font-size: 13px;
}

/* =========================
   Socials
   ========================= */

.social-section {
  background: #1b1b1e;
}

.social-grid {
  max-width: 1000px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.social-card {
  min-height: 190px;

  padding: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid #575a5e;
  border-radius: 14px;

  background: #131315;

  text-align: center;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.social-card:hover {
  transform: translateY(-5px);

  border-color: #e5242a;

  background: #17171a;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.social-icon {
  display: block;

  width: 34px;
  height: 34px;

  margin-bottom: 18px;

  object-fit: contain;

  filter: brightness(0) invert(1);

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.08);
  filter: none;
}

/* Instagram */
.social-card[href*="instagram"]:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(37%) sepia(78%) saturate(2245%)
    hue-rotate(307deg) brightness(95%) contrast(92%);
}

/* YouTube */
.social-card[href*="youtube"]:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(4537%)
    hue-rotate(350deg) brightness(94%) contrast(105%);
}

/* X */
.social-card[href*="x.com"]:hover .social-icon {
  filter: brightness(0) invert(1);
}
.social-name {
  font-size: 18px;

  font-weight: 700;
}

.social-handle {
  margin-top: 6px;

  color: #8f9195;

  font-size: 13px;
}

/* =========================
   Contact
   ========================= */

.contact-section {
  background: #131315;
}

.contact-content {
  max-width: 700px;

  margin: 0 auto;

  text-align: center;
}

.contact-details {
  margin-top: 30px;

  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;
}

.contact-details a {
  color: #e5242a;

  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #ba2d0b;
}

.contact-note {
  margin-top: 20px;

  color: #575a5e;

  font-size: 13px;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 45px 24px;

  border-top: 1px solid #575a5e;

  background: #131315;
}

.footer-content {
  max-width: 1200px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand a {
  display: flex;
}

.footer-logo {
  display: block;

  width: 130px;
  height: auto;

  max-height: 40px;

  object-fit: contain;
}

.footer-description {
  margin: 18px 0 0;

  color: #8f9195;
}

.footer-socials {
  margin-top: 22px;

  display: flex;
  align-items: center;

  gap: 14px;
}

.footer-socials a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #575a5e;
  border-radius: 9px;

  background: #1b1b1e;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);

  border-color: #e5242a;

  background: #17171a;
}

.footer-socials img {
  width: 17px;
  height: 17px;

  object-fit: contain;

  filter: brightness(0) invert(1);

  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

/* Instagram */
.footer-socials a[href*="instagram"]:hover img {
  filter: brightness(0) saturate(100%) invert(37%) sepia(78%) saturate(2245%)
    hue-rotate(307deg) brightness(95%) contrast(92%);

  transform: scale(1.08);
}

/* YouTube */
.footer-socials a[href*="youtube"]:hover img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(4537%)
    hue-rotate(350deg) brightness(94%) contrast(105%);

  transform: scale(1.08);
}

/* X */
.footer-socials a[href*="x.com"]:hover img {
  filter: brightness(0) invert(1);

  transform: scale(1.08);
}

.copyright {
  margin: 24px 0 0;

  color: #575a5e;

  font-size: 13px;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-links {
    gap: 14px;
  }
}

@media (max-width: 650px) {
  .navbar {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 125px;
    height: 36px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a:not(.nav-button) {
    display: none;
  }

  .nav-button {
    padding: 10px 14px;

    font-size: 14px;
  }

  section {
    padding: 75px 18px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .hero {
    min-height: 560px;

    padding: 70px 18px;
  }

  .hero-brand {
    margin-bottom: 24px;
  }

  .hero-logo {
    width: min(240px, 70vw);

    max-height: 80px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 60px);

    letter-spacing: -1.5px;
  }

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

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

  .pricing-card {
    padding: 30px 20px;
  }

  .price-value {
    font-size: 54px;
  }

  .restaurant-slider {
    width: 100%;

    touch-action: pan-y;
  }

  .restaurant-track {
    gap: 14px;
  }

  .restaurant-card {
    flex-basis: 220px;
  }

  .restaurant-card-content {
    padding: 12px;
  }

  .restaurant-logo {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .restaurant-card-content h3 {
    font-size: 16px;
  }

  .restaurant-card-content p {
    font-size: 12px;
  }

  .social-grid {
    grid-template-columns: 1fr;

    max-width: 360px;
  }

  .social-card {
    min-height: 150px;

    padding: 24px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .footer-logo {
    width: 115px;
  }
}

@media (max-width: 400px) {
  .brand-logo {
    width: 115px;
  }

  .nav-button {
    padding: 9px 11px;

    font-size: 13px;
  }

  .restaurant-card {
    flex-basis: 205px;
  }

  .restaurant-track {
    gap: 12px;
  }

  .hero-logo {
    width: 210px;
  }
}
