:root {
  --bg-0: #07080c;
  --text-0: #f7f4ef;
  --text-1: #d4d0c8;
  --text-2: #b5b0a7;
  --gold-1: #f2a154;
  --gold-2: #d9622b;
  --gold-ring: rgba(242, 161, 84, 0.45);
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg-0);
}

body {
  min-height: 100dvh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-0);
  position: relative;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--gold-1);
  color: #1a1206;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.hero-bg,
.hero-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  z-index: 0;
  background-color: var(--bg-0);
  background-image: url("/assets/restaurant-hero-sm.jpg");
  background-image: image-set(
    url("/assets/restaurant-hero-sm.webp") type("image/webp"),
    url("/assets/restaurant-hero-sm.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: 58% 42%;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero-bg {
    background-image: url("/assets/restaurant-hero.jpg");
    background-image: image-set(
      url("/assets/restaurant-hero.webp") type("image/webp"),
      url("/assets/restaurant-hero.jpg") type("image/jpeg")
    );
    background-position: 62% center;
  }
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(7, 8, 12, 0.82) 0%,
      rgba(7, 8, 12, 0.68) 34%,
      rgba(7, 8, 12, 0.38) 62%,
      rgba(7, 8, 12, 0.46) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 12, 0.42) 0%,
      rgba(7, 8, 12, 0.16) 42%,
      rgba(7, 8, 12, 0.58) 100%
    );
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 3vh, 28px) clamp(18px, 4vw, 48px) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold-1), var(--gold-2));
  color: #1a1206;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -10px rgba(217, 98, 43, 0.8);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.site-nav a {
  color: var(--text-0);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 2px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-1);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--gold-1);
  outline-offset: 4px;
  border-radius: 4px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vh, 40px) clamp(18px, 4vw, 48px) 28px;
}

.hero-copy {
  max-width: 640px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-0);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-1);
  flex-shrink: 0;
}

.kicker {
  margin: 0 0 10px;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-1);
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 .accent {
  display: block;
  color: var(--gold-1);
}

.lede {
  margin: 18px 0 0;
  max-width: 34rem;
  font-size: clamp(15.5px, 2.1vw, 18px);
  line-height: 1.55;
  color: var(--text-1);
}

.ready-note {
  margin: 16px 0 0;
  max-width: 34rem;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.5;
  color: var(--text-0);
  font-weight: 600;
}

.download-panel {
  margin-top: 28px;
  max-width: 34rem;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(10, 11, 16, 0.58);
  border: 1px solid rgba(242, 161, 84, 0.32);
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.download-lede {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
}

.download-note,
.download-version {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-1);
}

.download-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.download-btn-primary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #1a1206;
}

.download-btn-secondary {
  background: rgba(247, 244, 239, 0.08);
  color: var(--text-0);
  border: 1px solid rgba(242, 161, 84, 0.4);
}

.download-btn:focus-visible {
  outline: 3px solid rgba(242, 161, 84, 0.75);
  outline-offset: 3px;
}

.download-more {
  margin: 12px 0 0;
  font-size: 13px;
}

.download-more a {
  color: var(--gold-1);
}

@media (max-width: 520px) {
  .download-actions { flex-direction: column; }
  .download-btn { width: 100%; }
}

.cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #06210f;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.62);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  max-width: 100%;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.7);
}

.whatsapp-btn:focus-visible {
  outline: 3px solid rgba(242, 161, 84, 0.75);
  outline-offset: 3px;
}

.whatsapp-btn svg { flex-shrink: 0; }

.whatsapp-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.whatsapp-copy strong {
  font-size: 16px;
  font-weight: 800;
}

.whatsapp-copy span {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.82;
}

.phone-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-0);
  text-decoration: none;
  min-height: 48px;
}

.phone-card:hover .phone-number,
.phone-card:focus-visible .phone-number {
  text-decoration: underline;
}

.phone-card:focus-visible {
  outline: 2px solid var(--gold-1);
  outline-offset: 4px;
  border-radius: 12px;
}

.phone-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold-1);
  display: grid;
  place-items: center;
  color: var(--gold-1);
}

.phone-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-meta small {
  color: var(--text-2);
  font-size: 12px;
}

.phone-number {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.features {
  margin-top: clamp(28px, 5vh, 48px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(10, 11, 16, 0.55);
  border: 1px solid rgba(242, 161, 84, 0.28);
  color: var(--gold-1);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
  line-height: 1.3;
}

.script-badge {
  display: none;
}

.site-footer {
  padding: 12px clamp(18px, 4vw, 48px) calc(16px + env(safe-area-inset-bottom, 0px));
  font-size: 12px;
  color: #8a8680;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.site-footer a {
  color: #b7b2ab;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-1);
  text-decoration: underline;
}

@media (min-width: 1100px) {
  .script-badge {
    display: block;
    position: absolute;
    right: 7%;
    top: 38%;
    transform: rotate(-12deg);
    font-family: "Palatino Linotype", Palatino, "Times New Roman", serif;
    font-style: italic;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    pointer-events: none;
  }
}

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

@media (max-width: 760px) {
  .site-nav { display: none; }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 12, 0.72) 0%,
        rgba(7, 8, 12, 0.66) 48%,
        rgba(7, 8, 12, 0.78) 100%
      ),
      linear-gradient(
        90deg,
        rgba(7, 8, 12, 0.42) 0%,
        rgba(7, 8, 12, 0.22) 100%
      );
  }

  .hero-bg {
    background-position: 55% 38%;
  }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }

  h1 { font-size: clamp(30px, 9.2vw, 40px); }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }

  .phone-card {
    justify-content: flex-start;
  }

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

@media (max-width: 380px) {
  .phone-number { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .whatsapp-btn { transition: none; }
}
