@font-face {
  font-family: "Chicken Sans";
  src: url("https://www.popeyes.es/assets/plk/ChickenSansCYR-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Chicken Sans";
  src: url("https://www.popeyes.es/assets/plk/ChickenSansCYR-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --bg: #eef1eb;
  --surface: #fbfaf6;
  --text: #1d2933;
  --muted: #5c6872;
  --line: #d6ddd4;
  --teal: #4b8b90;
  --teal-dark: #2d5960;
  --yellow: #efb52f;
  --red: #d62a24;
  --navy: #263553;
  --tile: #f4efe5;
  --shadow: 0 18px 42px rgba(27, 41, 61, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Chicken Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(75,139,144,.18), transparent 22%),
    radial-gradient(circle at top right, rgba(239,181,47,.16), transparent 18%),
    var(--tile);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.page { padding: 24px 0 108px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 244, 239, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38,53,83,.08);
}

.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.burger, .lang-btn {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.top-nav a {
  position: relative;
  opacity: .76;
  padding: 6px 0;
}

.top-nav a.active,
.top-nav a:hover { opacity: 1; }

.top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

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

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge, .signup {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(38,53,83,.12);
}

.badge {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-color: transparent;
}

.signup { color: var(--navy); }
.lang-btn { font-size: 13px; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fbfaf7;
}

.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.info-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 280px 176px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(38, 53, 83, .12);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(239, 181, 47, .18), transparent 24%),
    linear-gradient(135deg, rgba(75, 139, 144, .1), rgba(255, 255, 255, .86)),
    rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.info-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(75,139,144,.12);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
}

.info-copy p {
  margin: 0 0 10px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}

.info-meta strong {
  color: var(--red);
  font-size: 14px;
}

.info-photo {
  overflow: hidden;
  border-radius: 18px;
  min-height: 132px;
  background: #d9e3e2;
}

.info-photo img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.qr-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.qr-card {
  width: 82px;
  padding: 8px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(38, 53, 83, .12);
}

.qr-card img {
  width: 100%;
  max-width: 66px;
  margin: 0 auto 6px;
  border-radius: 8px;
}

.qr-card span {
  display: block;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(75,139,144,.12);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.intro-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--line);
}

.intro-brand {
  display: inline-flex;
  align-items: center;
}

.intro-logo {
  display: block;
  height: 78px;
  width: auto;
}

.ghost-btn, .mini-btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .16s ease;
}

.ghost-btn:hover, .mini-btn:hover, .cta:hover { transform: translateY(-1px); }
.ghost-btn {
  min-height: 44px;
  padding: 0 20px;
  color: var(--navy);
  border: 1px solid rgba(38,53,83,.18);
  background: rgba(255,255,255,.72);
}

.cta, .mini-btn {
  color: #fff;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  box-shadow: var(--shadow);
}

.cta { min-height: 48px; padding: 0 24px; }
.mini-btn { min-height: 38px; padding: 0 18px; font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.hero-copy { padding: 24px 8px; }
.hero-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 28px;
  font-weight: 700;
}

.hero h1, .menu-banner h1, .offers-title {
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
  letter-spacing: -.05em;
}

.hero p {
  max-width: 28ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 20px;
}

.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,248,243,.96));
  border: 1px solid rgba(38,53,83,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media {
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(75,139,144,.16), rgba(239,181,47,.12)),
    linear-gradient(180deg, #fbfaf6, #eef3ee);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

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

.promo-card {
  overflow: hidden;
  position: relative;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 54px;
  height: 54px;
  background:
    linear-gradient(90deg, var(--red) 0 50%, var(--ink, transparent) 50% 100%);
  opacity: .12;
}

.promo-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.promo-body { padding: 16px 18px 20px; }
.promo-kicker {
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.promo-card h2,
.offer-card h2,
.product-card h2 { margin: 0 0 8px; font-size: 28px; line-height: .98; }
.promo-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.menu-banner {
  position: relative;
  overflow: hidden;
  margin: 8px 0 26px;
  padding: 58px 0 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18,33,49,.78), rgba(75,139,144,.46)),
    var(--menu-banner-image) center/cover no-repeat;
}

.menu-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(214,42,36,.15), transparent 28%),
    linear-gradient(0deg, rgba(0,0,0,.06), rgba(0,0,0,.06));
}

.menu-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background:
    repeating-linear-gradient(
      90deg,
      #fff 0 18px,
      #d62a24 18px 36px,
      #111 36px 54px,
      #efb52f 54px 72px
    );
  opacity: .88;
}

.menu-banner .shell { position: relative; z-index: 1; }

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

.category-card strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
}

.category-image {
  overflow: hidden;
  aspect-ratio: 1.65 / 1;
  background: linear-gradient(180deg, #fcfbf7, #eef4f0);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.scroller-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.scroller-tabs::-webkit-scrollbar { display: none; }

.scroller-tabs a {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.scroller-tabs a.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  padding-top: 26px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: contain;
}

.product-card h2 {
  margin-top: 14px;
  font-size: 30px;
}

.offers-title {
  font-size: 54px;
  margin-bottom: 18px;
}

.reward-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 26px 28px;
  background:
    radial-gradient(circle at top right, rgba(239,181,47,.24), transparent 18%),
    linear-gradient(180deg, #f6faf8, #fff9f0);
}

.reward-card h2 { margin: 0 0 8px; font-size: 34px; }
.reward-card p { margin: 0; color: var(--muted); font-size: 16px; max-width: 48ch; }

.offers-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: default;
}

.pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.promo-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.offer-card { padding: 12px; }
.offer-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff4e8;
  margin-bottom: 12px;
}

.offer-media img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  margin-top: 42px;
  padding: 28px 0 100px;
  background: linear-gradient(180deg, #24324e, #182335);
  color: #fff;
}

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

.site-footer h3 {
  margin: 0 0 12px;
  color: #f7cd63;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(38,53,83,.14);
  backdrop-filter: blur(12px);
}

.bottom-nav a {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: rgba(250,250,246,.96);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bottom-nav a.active { color: var(--navy); }
.bottom-nav svg { width: 18px; height: 18px; fill: currentColor; }
.icon-label { display: grid; place-items: center; }

@media (max-width: 1024px) {
  .info-band { grid-template-columns: 1fr 240px; }
  .info-copy { grid-column: 1 / -1; }
  .qr-group { justify-content: start; }
  .hero { grid-template-columns: 1fr; }
  .promo-grid, .product-grid, .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 20px, 600px); }
  .header-row {
    min-height: 64px;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
  }
  .top-nav, .badge { display: none; }
  .brand-logo { height: 34px; }
  .intro-logo { height: 60px; }
  .page { padding-bottom: 86px; }
  .info-band {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    margin-bottom: 14px;
  }
  .info-label { margin-bottom: 6px; }
  .info-copy p { font-size: 14px; }
  .info-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .info-photo,
  .info-photo img { min-height: 148px; }
  .qr-group { justify-content: flex-start; }
  .hero { gap: 14px; padding-top: 18px; }
  .hero-copy { padding: 10px 0; }
  .hero-kicker { font-size: 20px; }
  .hero h1, .menu-banner h1, .offers-title { font-size: 48px; }
  .hero p { font-size: 16px; }
  .promo-grid, .offers-grid, .category-grid, .footer-grid, .reward-card { grid-template-columns: 1fr; }
  .section-top { align-items: flex-start; gap: 8px; }
  .scroller-tabs a { padding: 9px 12px; font-size: 14px; }
  .product-grid { display: block; padding-top: 8px; }
  .product-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .product-card h2 { margin: 0; font-size: 22px; }
  .offers-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-banner {
    padding: 34px 0 40px;
    background-position: center;
  }
  .site-footer { display: none; }
  .bottom-nav { display: grid; }
}
