/* ===================================
   DEEP CRUNCH — CSS Design System
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg: #ffffff;
  --clr-red: #e4002b;
  --clr-red-dark: #b50022;
  --clr-red-light: #ff3350;
  --clr-text: #101828;
  --clr-text-muted: #667085;
  --clr-border: #eaecf0;
  --clr-surface: #f9fafb;
  --clr-dark: #101828;
  --clr-yellow: #f5a623;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 1px 4px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --shadow-hover: 0 4px 12px rgba(228,0,43,.18), 0 8px 32px rgba(228,0,43,.10);
  --font: 'Open Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

/* --- Typography --- */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--clr-text-muted); line-height: 1.75; }

.accent { color: var(--clr-red); }
.accent-light { color: #ff6680; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 12px;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section__header p { margin-top: 14px; }
.section__header .eyebrow { display: block; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--clr-red); color: #fff; border-color: var(--clr-red); }
.btn--primary:hover { background: var(--clr-red-dark); border-color: var(--clr-red-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn--outline { background: transparent; color: var(--clr-red); border-color: var(--clr-red); }
.btn--outline:hover { background: var(--clr-red); color: #fff; }
.btn--white { background: #fff; color: var(--clr-red); border-color: #fff; }
.btn--white:hover { background: #ffe8ec; }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { border-color: #fff; }
.btn--lg { padding: 15px 32px; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: 8px 16px; font-size: .8125rem; border-radius: 6px; }

/* --- Cards --- */
.card {
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(16,24,40,.10); }
.card--featured {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
}
.card--featured h3, .card--featured p { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  height: var(--header-h);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.header__logo { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header__nav a {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: color .15s;
}
.header__nav a:hover { color: var(--clr-red); }
.header .btn { margin-left: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--clr-text); border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #fff8f9 0%, #fff2f4 40%, #fff 100%);
  overflow: hidden;
  padding: 80px 0 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(228,0,43,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
}
.hero__text { max-width: 560px; }
.hero__headline { margin: 12px 0 18px; }
.hero__sub { font-size: 1.125rem; color: var(--clr-text-muted); max-width: 440px; }
.hero__cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__badges {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--clr-text);
  box-shadow: 0 1px 4px rgba(16,24,40,.06);
}
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero__main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(228,0,43,.15);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__float {
  position: absolute;
  bottom: -24px;
  right: -20px;
  width: 130px;
}
.hero__float img { filter: drop-shadow(0 8px 24px rgba(0,0,0,.15)); animation: float 3.5s ease-in-out infinite reverse; }
.hero__wave { line-height: 0; }
.hero__wave svg { display: block; width: 100%; height: 80px; }

/* ============================================================
   BRAND PROMISE
   ============================================================ */
.promise { background: var(--clr-surface); }
.promise__inner { text-align: center; }
.promise__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 10px;
}
.promise__headline { margin-bottom: 16px; }
.promise__body {
  max-width: 580px;
  margin: 0 auto 48px;
  font-size: 1.0625rem;
}
.promise__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promise__card .card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.promise__card h3 { margin-bottom: 10px; }
.promise__card.card--no-icon { display: flex; flex-direction: column; justify-content: center; }

/* ============================================================
   MENU
   ============================================================ */
.menu { background: #fff; }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(16,24,40,.12); }
.menu-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--clr-surface);
}
.menu-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.menu-card:hover .menu-card__img-wrap img { transform: scale(1.04); }
.menu-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
}
.menu-card__badge--new { background: var(--clr-red); color: #fff; }
.menu-card__badge--hot { background: #ff6b00; color: #fff; }
.menu-card__body { padding: 20px; }
.menu-card__body h3 { margin-bottom: 8px; }
.menu-card__body p { font-size: .9rem; margin-bottom: 16px; }
.menu-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.menu-card__price { font-size: 1.125rem; font-weight: 800; color: var(--clr-red); }

/* Wide card spanning full row */
.menu-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.menu-card__img-wrap--wide { aspect-ratio: auto; height: 280px; }
.menu-card--wide .menu-card__body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.menu-card--wide .menu-card__body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.menu-card--wide .menu-card__body p { font-size: 1rem; margin-bottom: 24px; }

/* ============================================================
   MASCOT STRIP
   ============================================================ */
.mascot-strip { background: var(--clr-red); padding: 64px 0; overflow: hidden; }
.mascot-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.mascot-strip__text .eyebrow { color: rgba(255,255,255,.7); }
.mascot-strip__text h2 { color: #fff; }
.mascot-strip__text p { color: rgba(255,255,255,.8); margin-top: 12px; }
.mascot-strip__imgs {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.mascot-img {
  flex: 1;
  border-radius: 12px;
  object-fit: cover;
  max-height: 240px;
  background: rgba(255,255,255,.08);
}
.mascot-img--mid { max-height: 280px; flex: 1.3; transform: translateY(-20px); }

/* ============================================================
   WHY
   ============================================================ */
.why { background: var(--clr-surface); }
.why .section__header { text-align: center; margin: 0 auto 40px; max-width: 600px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.why__item {
  padding: 24px;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
}
.why__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-red);
  opacity: .18;
  line-height: 1;
  margin-bottom: 10px;
}
.why__item h3 { font-size: 1rem; margin-bottom: 8px; }
.why__visual {
  border-radius: 16px;
  overflow: hidden;
  max-height: 420px;
}
.why__visual img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  border-radius: 16px;
}

/* ============================================================
   DRINKS
   ============================================================ */
.drinks { background: #fff5e6; }
.drinks__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.drinks__visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: float 4s ease-in-out infinite;
}
.drinks__text h2 { margin-bottom: 16px; }
.drinks__text p { margin-bottom: 28px; font-size: 1.05rem; }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations { background: var(--clr-surface); }
.locations__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.locations__grid--three { grid-template-columns: repeat(3, 1fr); }
.location-card {
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.location-card__map { height: 200px; background: var(--clr-surface); }
.location-card__map iframe { width: 100%; height: 100%; border: none; }
.location-card__body { padding: 24px; }
.location-card__icon { font-size: 1.5rem; margin-bottom: 10px; }
.location-card__body h3 { margin-bottom: 6px; }
.location-card__body p { color: var(--clr-text-muted); font-size: .9rem; }
.location-card__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* Delivery strip */
.delivery-strip {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--clr-red);
  border-radius: 16px;
  padding: 32px 40px;
  overflow: hidden;
}
.delivery-mascot { width: 200px; flex-shrink: 0; filter: drop-shadow(0 8px 24px rgba(0,0,0,.2)); }
.delivery-text h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.delivery-text p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.delivery-apps { display: flex; gap: 10px; flex-wrap: wrap; }
.delivery-pill {
  padding: 7px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
}

/* ============================================================
   FRANCHISE
   ============================================================ */
.franchise { background: #fff; }
.franchise__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.franchise__text h2 { margin-bottom: 16px; }
.franchise__text p { margin-bottom: 24px; font-size: 1.05rem; }
.franchise__list {
  margin-bottom: 32px;
}
.franchise__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--clr-text);
}
.franchise__list li:last-child { border-bottom: none; }
.franchise__img-stack { position: relative; }
.franchise__img { width: 100%; border-radius: 16px; }
.franchise__img--back { filter: drop-shadow(0 16px 48px rgba(228,0,43,.15)); max-width: 360px; margin: 0 auto; }
.franchise__stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.franchise__stat {
  text-align: center;
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: 10px;
  padding: 16px 8px;
}
.franchise__num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--clr-red);
  line-height: 1;
  margin-bottom: 6px;
}
.franchise__stat span:last-child {
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--clr-surface); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.testi-card--featured {
  background: var(--clr-red);
  border-color: var(--clr-red);
}
.testi-card--featured p, .testi-card--featured strong { color: #fff; }
.testi-card--featured .testi-card__author span { color: rgba(255,255,255,.75); }
.testi-card__stars { font-size: 1rem; margin-bottom: 14px; }
.testi-card p { font-style: italic; margin-bottom: 20px; font-size: .9375rem; line-height: 1.65; }
.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
  width: 40px; height: 40px;
  background: var(--clr-red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-card--featured .testi-card__avatar { background: rgba(255,255,255,.25); }
.testi-card__author strong { display: block; font-size: .9rem; color: var(--clr-text); }
.testi-card__author span { font-size: .8rem; color: var(--clr-text-muted); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--clr-dark);
  padding: 96px 0;
  text-align: center;
}
.final-cta__inner h2 { color: #fff; margin-bottom: 16px; }
.final-cta__inner p { color: rgba(255,255,255,.65); font-size: 1.125rem; max-width: 520px; margin: 0 auto 36px; }
.final-cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0d1117; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer__brand p { font-size: .9rem; line-height: 1.7; max-width: 240px; }
.footer__socials { display: flex; gap: 14px; margin-top: 20px; font-size: 1.3rem; }
.footer__links h4 { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: .04em; }
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer__bottom p { font-size: .8125rem; color: rgba(255,255,255,.4); text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .promise__cards { grid-template-columns: 1fr; }
  .menu__grid { grid-template-columns: 1fr 1fr; }
  .menu-card--wide { grid-template-columns: 1fr; }
  .menu-card__img-wrap--wide { height: 220px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__visual { display: none; }
  .locations__grid--three { grid-template-columns: 1fr 1fr; }
  .mascot-strip__inner { grid-template-columns: 1fr; }
  .mascot-strip__imgs { display: none; }
  .franchise__inner { grid-template-columns: 1fr; }
  .franchise__img-stack { max-width: 400px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .header__nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px 24px; border-bottom: 1px solid var(--clr-border); box-shadow: 0 8px 24px rgba(0,0,0,.08); gap: 4px; }
  .header__nav.open { display: flex; }
  .header .btn { margin-left: auto; }
  .hamburger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__float { display: none; }
  .hero__main-img { max-width: 400px; margin: 0 auto; }
  .promise__cards { grid-template-columns: 1fr; }
  .menu__grid { grid-template-columns: 1fr; }
  .menu-card--wide { grid-template-columns: 1fr; }
  .locations__grid { grid-template-columns: 1fr; }
  .locations__grid--three { grid-template-columns: 1fr; }
  .drinks__inner { grid-template-columns: 1fr; text-align: center; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .delivery-strip { flex-direction: column; text-align: center; padding: 28px 24px; }
  .delivery-mascot { width: 140px; }
  .section { padding: 56px 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .final-cta { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero { padding-top: 56px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .menu-card--wide { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .franchise__stat-box { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
