/* ==========================================================================
   bb.q Chicken Europe — shared styles
   Built from the Figma file "BB.Q Chicken Global – Design"
   Desktop reference: 1680px, mobile reference: 390px
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --red: #E31937;
  --red-dark: #B01222;
  --yellow: #F2B33D;
  --cream: #F5F1E8;
  --char: #221E1F;
  --char-2: #2E2829;
  --ink-deep: #161213;
  --sand: #D6D2C4;
  --muted: #6B605C;
  --muted-light: #CFC6BF;
  --white: #FFFFFF;

  --font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --page-max: 1680px;
  --content-max: 1440px;
  /* side gutter: 120px at 1680, 80px at 1440 (Figma v4 has frames for both) */
  --gutter: clamp(80px, calc(100vw / 6 - 160px), 120px);

  --fs-display: clamp(40px, 5.84vw, 84px);
  --fs-h2: clamp(34px, 4.17vw, 60px);
  --fs-lead: clamp(16px, 1.25vw, 18px);

  /* Figma v4 uses much tighter corners */
  --radius-btn: 6px;
  --radius-card: 16px;
  --radius-img: 12px;
  --radius-tag: 4px;
  --red-text: #D61834; /* darker red used for small red text (dates, arrows) */
  --header-top: 24px;
  --header-side: 48px;
  --header-h: 88px;
}

@media (max-width: 1199px) {
  :root { --gutter: 40px; }
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-top: 12px;
    --header-side: 12px;
    --header-h: 60px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--char);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--char);
  padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.only-mobile { display: none; }
@media (max-width: 767px) {
  .only-mobile { display: initial; }
  .only-desktop { display: none !important; }
}

/* ---------- Layout helpers ---------- */
.section { position: relative; padding-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2)); }
.container { width: 100%; max-width: var(--content-max); margin: 0 auto; }

/* ---------- Typography ---------- */
.h-display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  letter-spacing: -0.002em;
  color: var(--muted);
}
.label-caps {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .h-display { line-height: 1.02; }
  .h2 { line-height: 1.04; }
  .lead { line-height: 1.52; letter-spacing: 0; }
  .label-caps { font-size: 12px; }
}

/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: var(--radius-tag);
  background: var(--char);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eyebrow--dark { background: var(--char); }
/* on dark backgrounds the label is a translucent light tint */
.eyebrow--glass { background: rgba(245, 241, 232, .14); }
.food__head > .eyebrow,
.section-head > .eyebrow,
.news__head-text > .eyebrow,
.is-centered > .eyebrow { align-self: center; }
@media (max-width: 767px) {
  .eyebrow { padding: 6px 10px; font-size: 12px; }
  .food__head > .eyebrow,
  .section-head > .eyebrow,
  .news__head-text > .eyebrow { align-self: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--char);
  --chip-bg: var(--char);
  --chip-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 16px 24px;
  border-radius: var(--radius-btn);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34, 30, 31, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn__chip {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: var(--chip-bg);
  color: var(--chip-fg);
  transition: transform .2s ease;
}
.btn__chip svg { width: 10px; height: 10px; }
.btn:hover .btn__chip { transform: translateX(2px); }

/* filled buttons have no border: 52px tall like Figma (outline buttons are 55px) */
.btn--red, .btn--cream, .btn--dark, .btn--white-red { border-width: 0; }
.btn--red { --btn-bg: var(--red); --btn-fg: var(--cream); --chip-bg: var(--cream); --chip-fg: var(--red); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--char); --chip-bg: var(--red); --chip-fg: var(--white); }
.btn--dark { --btn-bg: var(--char); --btn-fg: var(--cream); --chip-bg: var(--cream); --chip-fg: var(--red); }
.btn--outline-dark { border-color: var(--char); --btn-fg: var(--char); --chip-bg: var(--char); --chip-fg: var(--cream); }
.btn--outline-light { border-color: var(--cream); --btn-fg: var(--cream); --chip-bg: var(--cream); --chip-fg: var(--char); }
/* Figma strokes sit inside the button: keep outline buttons 52px tall like the filled ones */
.btn--outline-dark, .btn--outline-light { padding: 14.5px 16.5px 14.5px 22.5px; }
.btn--white-red { --btn-bg: var(--red); --btn-fg: var(--white); --chip-bg: var(--white); --chip-fg: var(--red); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 767px) {
  .btn {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 15px 14px 15px 20px;
    font-size: 16px;
    line-height: 19px;
  }
  .btn--outline-dark { border-color: rgba(34, 30, 31, .8); }
  .btn--outline-light { border-color: rgba(245, 241, 232, .8); }
  .btn-row { flex-direction: column; gap: 10px; width: 100%; }
  .btn--outline-dark, .btn--outline-light { padding: 13.5px 12.5px 13.5px 18.5px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - var(--header-side) * 2), 1584px);
  height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--char);
  border: 1px solid rgba(245, 241, 232, .1);
  border-radius: 12px;
  color: var(--white);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(22, 18, 19, .28); }

.site-header__logo { display: block; width: 237px; }
.site-header__logo img { width: 100%; height: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav__item { position: relative; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 16px; font-weight: 600; line-height: 19px;
  color: var(--white);
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
/* hover (and an open dropdown) looks like the active page: red tint, red outline, red text */
.main-nav__link:hover,
.main-nav__item.is-open > .main-nav__link,
.main-nav__link[aria-current="page"] { background: rgba(227, 25, 55, .16); box-shadow: inset 0 0 0 1px rgba(227, 25, 55, .5); color: #FF4D5E; }
.main-nav__link[aria-current="page"]:hover { background: rgba(227, 25, 55, .24); }
.chev { width: 10px; height: 10px; transition: transform .2s ease; }
.main-nav__item.is-open .chev { transform: rotate(180deg); }

.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.lang-switch {
  font-size: 16px; font-weight: 700; color: var(--white);
  padding: 8px 4px;
}
.header-right .btn { padding: 14px 14px 14px 20px; }
.header-right .btn--outline-light { padding: 12.5px 12.5px 12.5px 18.5px; }
.header-right .btn:hover { box-shadow: none; }

/* Dropdown panels (nav + order) */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--char);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 10;
}
.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__label { display: block; padding: 4px 12px 10px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dropdown__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 16px; font-weight: 700;
  transition: background-color .15s ease;
}
.dropdown__link:hover { background: var(--cream); }

.order-menu { position: relative; }
.order-menu .dropdown { left: auto; right: 0; width: 300px; padding: 16px 12px 12px; }
.order-menu .dropdown__list { display: grid; gap: 4px; }
.order-menu .platform-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px;
  border-radius: 6px;
  background: var(--cream);
  font-size: 16px; font-weight: 700;
}
.order-menu .platform-link span:last-child { color: var(--red-text); font-size: 16px; }
.order-menu .platform-link:hover { background: #ece6d8; }
.order-menu .dropdown__divider { height: 1px; background: rgba(34, 30, 31, .1); margin: 4px 0; }
.order-menu .dropdown__find { display: inline-block; padding: 12px 14px; color: var(--red); font-weight: 700; font-size: 15px; }
.order-menu .dropdown__note { padding: 0 2px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 6px;
  background: var(--cream);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--char); transition: transform .25s ease, opacity .2s ease; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.main-nav__link { white-space: nowrap; }
@media (max-width: 1439px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header__logo { justify-self: center; }
  .header-right .btn--cream { display: none; }
  .main-nav { gap: 2px; }
  .main-nav__link { padding: 10px 10px; }
}

@media (max-width: 1199px) {
  .site-header {
    display: flex;
    gap: 8px;
    padding: 0 8px 0 16px;
  }
  .main-nav { display: none; }
  .site-header__logo { order: -1; margin-right: auto; }
  .lang-switch { display: none; }
  .burger { display: flex; }
}

@media (max-width: 767px) {
  .site-header { border-radius: 8px; }
  .site-header__logo { width: 137px; }
  .header-right { gap: 8px; }
  .header-right .btn { width: auto; padding: 10.5px 8.5px 10.5px 12.5px; font-size: 14px; line-height: 17px; gap: 8px; border-color: rgba(245, 241, 232, .7); }
  .order-menu .dropdown { position: fixed; top: 84px; left: 12px; right: 12px; width: auto; }
}

/* Mobile / tablet menu overlay (Figma "Mobile menu – open") */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: calc(var(--header-top) + var(--header-h) + 24px) 24px 40px;
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(227, 25, 55, .35) 0%, rgba(140, 24, 30, .12) 55%, rgba(34, 30, 31, 0) 100%),
    var(--char);
  color: var(--cream);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.mobile-menu__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; display: grid; gap: 32px; }
.mobile-nav__item { border-bottom: 1px solid rgba(245, 241, 232, .12); }
.mobile-nav__link {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-size: 30px; font-weight: 800; letter-spacing: -0.015em; line-height: 36px;
  color: var(--white);
  text-align: left;
}
.mobile-nav__mark { font-size: 22px; font-weight: 700; color: rgba(245, 241, 232, .7); }
.mobile-nav__mark:not(.mobile-nav__mark--arrow)::before { content: "+"; }
.mobile-nav__item.is-open .mobile-nav__mark::before { content: "–"; }
.mobile-nav__sub { display: none; padding: 0 0 18px; }
.mobile-nav__item.is-open .mobile-nav__sub { display: grid; gap: 4px; }
.mobile-nav__sub a { padding: 6px 0; font-size: 18px; font-weight: 600; color: rgba(245, 241, 232, .85); }
.mobile-nav__sub a:hover, .mobile-nav__link:hover { color: var(--yellow); }
.mobile-menu__actions { display: grid; gap: 10px; }
.mobile-menu__actions .btn { width: 100%; justify-content: space-between; }
.mobile-menu__lang { margin-top: 6px; color: rgba(245, 241, 232, .7); font-size: 14px; font-weight: 700; }
.mobile-menu__peek { display: block; width: 102px; height: auto; margin: 8px max(0px, calc((100% - 640px) / 2)) -40px auto; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  height: 56px;
  display: flex; align-items: center;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track {
  display: flex; align-items: center; gap: 22px;
  width: max-content;
  padding-left: 22px;
  animation: marquee-rtl 40s linear infinite;
}
.marquee--ltr .marquee__track { animation-name: marquee-ltr; }
.marquee__item { font-weight: 600; }
.marquee__item--strong { font-weight: 700; }
.marquee__spark { width: 10px; height: 10px; flex: none; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.marquee--dark { background: var(--char); }
.marquee--dark .marquee__item { color: rgba(245, 241, 232, .8); }
.marquee--dark .marquee__item--strong { color: var(--yellow); }
.marquee--dark .marquee__spark { color: var(--red); }

.marquee--yellow { background: var(--yellow); }
.marquee--yellow .marquee__item { color: var(--char); }
.marquee--yellow .marquee__item--strong { color: var(--char); }
.marquee--yellow .marquee__spark { color: var(--red); }

.marquee--red { background: var(--red); }
.marquee--red .marquee__item { color: var(--cream); }
.marquee--red .marquee__item--strong { color: var(--white); }
.marquee--red .marquee__spark { color: var(--cream); }

@media (max-width: 767px) {
  .marquee { height: 48px; font-size: 13px; }
  .marquee__track { gap: 16px; padding-left: 16px; }
  .marquee__spark { width: 9px; height: 9px; }
  .marquee--yellow .marquee__item { color: rgba(34, 30, 31, .85); }
  .marquee--red .marquee__item { color: rgba(245, 241, 232, .85); }
}

/* ---------- Stamp (since 1995) ---------- */
.stamp { position: absolute; width: 184px; height: 184px; pointer-events: none; }
.stamp svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Cutout food images ---------- */
.cutout { position: absolute; pointer-events: none; transform-origin: 0 0; }
.cutout img { width: 100%; height: 100%; object-fit: contain; }
.cutout--shadow img { filter: drop-shadow(0 18px 30px rgba(26, 13, 8, .28)); }
.cutout--shadow-dark img { filter: drop-shadow(0 20px 34px rgba(13, 5, 5, .35)); }

/* ---------- Status pills (markets) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font-size: 14px; line-height: 21px;
  white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--open { background: var(--red); color: var(--white); }
.pill--active { border: 1.5px solid var(--yellow); color: var(--yellow); }
@media (max-width: 767px) {
  .pill { padding: 5px 12px 5px 10px; font-size: 12px; line-height: 16px; gap: 6px; }
  .pill::before { width: 6px; height: 6px; }
}

/* ---------- Horizontal swipe rows (mobile) ---------- */
.swipe {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { scroll-snap-align: start; flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 96px var(--gutter) 40px;
  color: var(--cream);
  /* Figma v4: dark base + photo, anchored to the top. The photo keeps its design height (1134px; the 1680
     frame shows its top 1038px) and stretches to the full width, so on screens wider than 1680 the red band
     stays behind the slogan and the link columns sit on the dark part, as in Figma */
  background: var(--ink-deep) url("../img/footer-bg.jpg") center top / 100% 1134px no-repeat;
  isolation: isolate;
}
.closing { isolation: isolate; }
.site-footer__inner { max-width: var(--content-max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 64px; }

.order-bar {
  width: 100%;
  display: flex; align-items: center; gap: 32px;
  padding: 24px 24px 24px 48px;
  border-radius: var(--radius-img);
  background: var(--red);
  color: var(--white);
}
.order-bar__text { flex: 1; display: grid; gap: 6px; }
.order-bar .btn-row { gap: 32px; }
.order-bar__title { font-size: 30px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.order-bar__sub { font-size: 16px; font-weight: 500; line-height: 20px; color: var(--white); }

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
/* Figma shadows (logo 0 2 18 @80%, slogan 0 4 24 @55%) drawn with half the blur: browsers spread the same
   blur value about twice as wide, so this is what matches the Figma render */
.footer-brand__logo { width: 342px; filter: drop-shadow(0 2px 9px rgba(13, 5, 5, .8)); }
.footer-brand__slogan {
  font-size: clamp(46px, 6.25vw, 104px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-shadow: 0 4px 12px rgba(13, 5, 5, .55);
}
.footer-brand__sub { font-size: 16px; font-weight: 500; line-height: 19px; color: rgba(245, 241, 232, .75); }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
}
.socials a:hover { background: #c8102e; transform: translateY(-2px); }
.socials svg { width: 25.5px; height: 25.5px; }

.footer-links { display: flex; gap: 120px; }
.footer-col { display: grid; align-content: start; gap: 16px; }
.footer-col__title {
  color: #F2B23D; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(13, 5, 5, .6);
}
.footer-col__head { display: block; text-align: left; cursor: default; line-height: 14px; }
.footer-col__toggle { display: none; }
.footer-col__list { display: grid; gap: 16px; }
.footer-col a {
  font-size: 15px; font-weight: 600; letter-spacing: .03em; line-height: 18px; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(13, 5, 5, .6);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--yellow); }

.footer-base { width: 100%; display: grid; gap: 20px; color: var(--muted-light); font-size: 14px; line-height: 1.5; }
.footer-base__row {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-base__love { display: inline-flex; align-items: center; gap: 6px; }
.footer-base__love svg { width: 14px; height: 13px; }
.footer-base a:hover { color: var(--cream); }

@media (max-width: 1439px) {
  .footer-links { gap: 72px; }
}
@media (max-width: 1199px) {
  .footer-links { gap: 40px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 767px) {
  .site-footer { padding: 56px 20px 32px; background-image: url("../img/footer-bg-m.jpg"); background-size: cover; }
  .site-footer__inner { align-items: stretch; gap: 36px; }
  .order-bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 20px; }
  .order-bar__title { font-size: 26px; }
  .order-bar__sub { font-size: 15px; line-height: 1.45; }
  .order-bar .btn-row { gap: 8px; }
  .footer-brand { gap: 14px; }
  .footer-brand__logo { width: 224px; }
  .footer-brand__slogan { font-size: 46px; line-height: .92; }
  /* the 390 design has no shadows in the footer */
  .footer-brand__logo { filter: none; }
  .footer-brand__slogan, .footer-col__title, .footer-col a { text-shadow: none; }
  .footer-brand__sub { font-size: 14px; line-height: 1.45; }
  .footer-links { flex-direction: column; gap: 0; }
  .footer-col { gap: 0; border-bottom: 1px solid rgba(245, 241, 232, .14); }
  .footer-col__head {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; min-height: 44px; margin: 18px 0;
    cursor: pointer;
  }
  .footer-col__title { font-size: 15px; letter-spacing: .14em; color: var(--yellow); text-shadow: none; }
  .footer-col__toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--radius-btn);
    background: rgba(245, 241, 232, .14);
    color: var(--cream);
    font-size: 26px; font-weight: 700; line-height: 26px;
  }
  .footer-col__toggle::before { content: "+"; }
  .footer-col.is-open .footer-col__toggle::before { content: "–"; }
  .footer-col__list { display: none; gap: 14px; padding-bottom: 18px; }
  .footer-col.is-open .footer-col__list { display: grid; }
  .footer-col a { line-height: 28px; }
  .footer-base { font-size: 13px; color: rgba(207, 198, 191, .7); gap: 10px; }
  .footer-base__row { flex-direction: column; gap: 10px; padding-top: 0; border-top: 0; }
}

/* ==========================================================================
   Home page sections
   ========================================================================== */

/* 1. Intro (BLT Global Brands) */
.intro {
  display: flex; align-items: center; gap: 80px;
  padding-top: 200px; padding-bottom: 110px;
  background: var(--cream);
}
/* text column: 740 at 1680, 580 at 1440 (brand column stays 620) */
.intro__text { flex: 1 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.intro__text .lead { max-width: 620px; }
.intro__brands { flex: 0 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.intro__brands-label { color: var(--muted); }
.brand-cards { display: flex; gap: 16px; }
.brand-card {
  position: relative;
  flex: 0 0 380px;
  height: 440px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: radial-gradient(circle at 50% 46%, rgba(227, 25, 55, .6) 0%, rgba(227, 25, 55, 0) 40%), var(--char);
  color: var(--white);
}
.brand-card__logo { position: absolute; left: 28px; top: 32px; width: 250px; }
.brand-card__tag { position: absolute; left: 28px; top: 90px; font-size: 16px; font-weight: 700; line-height: 20px; color: rgba(255, 255, 255, .88); }
.brand-card .cutout { width: 340px; height: 334px; left: 64.4px; top: 74px; transform: rotate(12deg); }
.brand-card__link {
  position: absolute; left: 28px; top: 372px;
  padding: 11px 16px;
  border-radius: var(--radius-btn);
  background: var(--cream); color: var(--char);
  font-size: 15px; font-weight: 700;
  transition: transform .2s ease;
}
.brand-card__link:hover { transform: translateY(-2px); }
.brand-card--soon {
  flex: 0 0 220px;
  background: none;
  border: 1.5px dashed rgba(34, 30, 31, .3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--char);
  text-align: center;
}
.brand-card--soon .plus { width: 64px; height: 64px; border-radius: 50%; background: rgba(34, 30, 31, .08); display: grid; place-items: center; font-size: 32px; font-weight: 700; }
.brand-card--soon strong { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.intro__note { font-size: 13px; line-height: 16px; color: rgba(107, 96, 92, .95); }
/* ChiBBoQ peeks at the "coming soon" card: 130 wide 44px from the edge at 1680, 111 wide 30px from the edge at 1440 */
.intro .peek { position: absolute; right: max(calc(5.833vw - 54px), calc(50% - 796px)); top: 459px; width: min(7.738vw, 130px); height: auto; aspect-ratio: 130 / 233; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }

/* Home carousels (brand cards and reasons on mobile, news everywhere): arrows + dots, driven by the
   inline script at the end of src/pages/index.html */
.slider__nav[hidden] { display: none; }
.slider__arrow:disabled { opacity: .4; cursor: default; transform: none; }
.slider__arrow.is-dim { opacity: .4; }
.carousel--light .slider__arrow { background: var(--cream); color: var(--char); }
.carousel--light .slider__dot { background: var(--cream); }
@media (min-width: 768px) {
  .carousel--mobile > .slider__nav { display: none; }
}

/* 2. Hero */
.hero {
  position: relative;
  height: max(560px, 51.19vw); /* 860 at 1680, scales with the screen like the Figma frame */
  overflow: hidden;
  background: var(--char);
  color: var(--white);
  display: flex; align-items: flex-start; justify-content: center;
}
/* Hero art: a 1680×860 stage (as in Figma) that scales up on wider screens.
   Two photos, cropped exactly like the Figma image fills (left one mirrored). */
.hero { container-type: inline-size; }
.hero__art { position: absolute; top: 0; left: 50%; width: max(1094px, 100cqw); aspect-ratio: 1680 / 860; transform: translateX(-50%); }
.hero__pic { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; }
.hero__pic img { position: absolute; max-width: none; height: auto; filter: brightness(1.05) contrast(1.15) saturate(1.1); }
.hero__pic--left { left: -4.762%; transform: scaleX(-1); }
.hero__pic--left img { width: 132.45%; left: 0.93%; top: -35.42%; }
.hero__pic--right { left: 56.548%; }
.hero__pic--right img { width: 123.45%; left: 0; top: -27.3%; }
.hero__seam {
  position: absolute; top: 0; height: 100%;
  left: 30.952%; width: 38.095%;
  background: linear-gradient(180deg, #BC000A 0%, #C2000C 9%, #C2000D 18%, #BB0009 27%, #AD0004 36%, #9A0003 45%, #830001 55%, #6C0001 64%, #540007 73%, #40040D 82%, #320811 91%, #2C0910 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 900px; max-width: 100%;
  margin-top: max(150px, 15.9vw);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.hero__title { text-shadow: 0 4px 24px rgba(20, 5, 5, .35); }
.hero__lead {
  max-width: 660px;
  font-size: var(--fs-lead); font-weight: 500; line-height: 1.55; letter-spacing: -0.002em;
  text-shadow: 0 2px 14px rgba(20, 5, 5, .7);
}
.hero .btn-row { justify-content: center; }
.hero .stamp { left: 10.77%; top: 73.5%; width: max(110px, 10.95%); height: auto; aspect-ratio: 1; transform: rotate(-10deg); z-index: 2; }

/* Home hero (Figma v4): red glow on dark with two food cut-outs; 860 tall from 1440 up.
   The photo/seam variant above is still used by the About mission band. Mobile keeps the photo. */
.hero--home {
  height: auto;
  min-height: 860px;
  /* Figma: red radial glow over #1A0C0F. The colours are precomputed the way Figma blends gradient stops
     (straight alpha); browsers blend premultiplied, which would leave the corners and the bottom lighter. */
  background:
    radial-gradient(60% 90% at 50% 30%, #C8101C 0%, #AF0F1B 15%, #990E1A 30%, #830E18 45%, #710D17 50%, #610D15 55%, #520D14 60%,
      #450D13 65%, #390D12 70%, #300C11 75%, #280C10 80%, #220C10 85%, #1D0C0F 90%, #1B0C0F 95%, #1A0C0F 100%),
    #1A0C0F;
}
.hero--home .hero__content { margin-top: 267px; }
.hero__cutouts { position: absolute; inset: 0; pointer-events: none; }
.hero__cut img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
/* bucket_09: 640 wide at 1680 (549 at 1440), bleeding off the left and bottom edges */
.hero__cut--left { width: min(38.095cqw, 640px); aspect-ratio: 640 / 516; left: max(-10.119cqw, -170px); bottom: -26px; }
/* 8pcs_fried bucket: 422 wide at 1680 (362 at 1440), 314px from the top */
.hero__cut--right { width: min(26.19cqw, 440px); aspect-ratio: 440 / 557; right: max(0px, calc(5.417cqw - 61px)); top: 330px; }
.hero--home .stamp { left: min(calc(20.417cqw - 143px), 200px); top: 632px; width: min(10.952cqw, 184px); transform-origin: 0 0; transform: rotate(-10deg); }

/* 4. Proof band */
.proof { padding-top: 72px; padding-bottom: 56px; background: var(--red); color: var(--white); }
.proof__items { display: grid; grid-template-columns: 335fr 368fr 368fr 368fr; }
.proof__item { display: grid; gap: 10px; align-content: start; }
.proof__item + .proof__item { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .3); }
.proof__num { font-size: clamp(40px, 3.8vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.proof__label { font-size: 16px; line-height: 1.55; color: var(--white); }
.proof__note { margin-top: 36px; font-size: 14px; color: var(--white); }

/* 5. Food */
.food { position: relative; padding: 128px 0; background: var(--cream); }
.food__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-inline: var(--gutter); position: relative; z-index: 2; }
.food__head .h2 { max-width: 760px; }
.food__head > .eyebrow { margin-bottom: -4px; } /* Figma: eyebrow → title 20, title → lead 24 */
.food__head .lead { max-width: 640px; }
/* v4: 392 wide at 1680 (336 at 1440) */
.food .cutout--sauce { width: min(23.333vw, 392px); height: auto; aspect-ratio: 392 / 214; left: calc(50% + 429px); top: 40px; transform: rotate(8deg); }
/* 340 wide 60px in at 1680, 291 wide at the edge at 1440 */
.food .cutout--fried { width: min(20.238vw, 340px); height: auto; aspect-ratio: 340 / 186; left: max(calc(25vw - 360px), calc(50% - 780px)); top: 120px; transform: rotate(-10deg); }

.slider { position: relative; margin-top: 48px; }
.slider__viewport {
  display: flex; align-items: center; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 20px calc(50% - 240px);
  scroll-padding-inline: calc(50% - 240px);
}
.slider__viewport::-webkit-scrollbar { display: none; }
/* the food row keeps its height (20 + 520 active card + 20) while one card grows and another shrinks,
   so the arrows and the button below don't jump */
@media (min-width: 768px) { .slider[data-slider-loop] .slider__viewport { min-height: 560px; } }
.food-card {
  flex: none;
  width: 440px; height: 475px;
  padding: 18px 18px 30px;
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 18px;
  scroll-snap-align: center;
  transition: width .35s ease, height .35s ease;
}
.food-card.is-active { width: 480px; height: 520px; }
.food-card__img { position: relative; height: 320px; border-radius: var(--radius-img); overflow: hidden; flex: none; transition: height .35s ease; background: #fff; }
.food-card.is-active .food-card__img { height: 360px; }
.food-card__img img { width: 100%; height: 100%; object-fit: cover; }
.food-card__tag { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: var(--radius-tag); background: var(--cream); color: var(--char); font-size: 13px; font-weight: 700; line-height: 16px; }
.food-card__body { padding: 0 8px; display: grid; gap: 10px; }
.food-card__title { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; transition: font-size .35s ease; }
.food-card.is-active .food-card__title { font-size: 30px; }
.food-card__text { font-size: 16px; line-height: 1.5; }
.food-card--dark { background: var(--char); color: var(--cream); }
.food-card--yellow { background: var(--yellow); color: var(--char); }
.food-card--red { background: var(--red); color: var(--cream); }
.food-card--sand { background: var(--sand); color: var(--char); }

.slider__nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 48px; }
.slider__arrow { width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--char); color: var(--cream); display: grid; place-items: center; transition: transform .2s ease; }
.slider__arrow:hover { transform: scale(1.06); }
.slider__arrow svg { width: 16px; height: 16px; }
.slider__dots { display: flex; gap: 8px; align-items: center; }
.slider__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--char); transition: width .25s ease, opacity .25s ease; opacity: .35; }
.slider__dot.is-active { width: 24px; opacity: 1; }
.food__cta { display: flex; justify-content: center; margin-top: 48px; }

/* 6. Find bb.q near you */
.find {
  position: relative;
  display: flex; align-items: center; gap: 80px;
  padding-top: 120px; padding-bottom: 120px;
  color: var(--white);
  /* Figma radial (colours precomputed the way Figma blends stops, see design-data/tools/figma-gradient.js) */
  background: radial-gradient(55.56% 31.25% at 11.11% 31.25%, #E31937 0%, #E01936 5%, #DD1935 10%, #DA1935 15%, #D71834 20%,
    #D41833 25%, #D21833 30%, #D01832 35%, #CE1831 40%, #CC1831 45%, #CA1830 50%, #C81830 55%, #C7182F 60%, #C6192F 65%,
    #C5192E 70%, #BF182D 75%, #B8182C 80%, #B2172A 85%, #AA1629 90%, #A21528 95%, #9A1526 100%), #E31937;
}
/* text column stays 620; the map shrinks from 740 (1680) to 580 (1440) */
.find__text { flex: 1 0 620px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.find__text .lead { color: var(--white); max-width: 600px; }
.postcode {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 24px;
  border-radius: 8px;
  background: var(--white);
  max-width: 620px;
}
.postcode input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: none;
  font-size: 18px; font-weight: 500; color: var(--char);
}
.postcode input::placeholder { color: var(--muted); }
.postcode .btn:hover { box-shadow: none; }
.postcode-result { margin-top: -8px; font-size: 14px; font-weight: 500; color: var(--white); max-width: 620px; }
.find__or { color: var(--white); margin-top: 8px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -8px; }
.platform {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 13px 14px 17px; /* 49 tall incl. the 1px border, as in Figma */
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 16px; font-weight: 700; line-height: 19px;
  transition: background-color .2s ease;
}
.platform span { color: var(--white); font-size: 15px; }
.platform:hover { background: rgba(255, 255, 255, .24); }
.find__note { font-size: 13px; line-height: 16px; color: var(--white); max-width: 620px; }

.map-card {
  position: relative;
  flex: 0 1 740px;
  min-width: 0;
  height: 600px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--char-2);
}
/* static map preview (live map to follow); area and pin stay centred on Madrid */
.map-card__tiles { position: absolute; inset: 0; }
.map-card__tiles img { width: 100%; height: 100%; object-fit: cover; }
.map-card__area {
  position: absolute; left: calc(50% - 180px); top: 120px; width: 360px; height: 300px;
  border-radius: 50%;
  background: rgba(227, 25, 55, .18);
  border: 2px dashed rgba(227, 25, 55, .7);
}
.map-card__pin { position: absolute; left: calc(50% - 28px); top: 200px; width: 56px; height: 70px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.map-card__caption { position: absolute; left: 32px; top: 28px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.kitchen-card {
  position: absolute; left: 32px; top: 435px;
  display: grid; gap: 6px; justify-items: start;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--char);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.kitchen-card strong { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 24px; white-space: nowrap; }
.kitchen-card p { font-size: 14px; font-weight: 500; line-height: 17px; color: var(--muted); }
.kitchen-card .btn { padding: 12px 18px 12px 24px; }
/* live map (assets/js/map.js) fades in over the static preview once its tiles have loaded */
.map-card__live { position: absolute; inset: 0; z-index: 1; background: var(--char-2); opacity: 0; transition: opacity .6s ease; }
.map-card.is-live .map-card__live { opacity: 1; }
.map-card.is-live .map-card__area, .map-card.is-live .map-card__pin { display: none; }
.map-card__caption, .kitchen-card { z-index: 500; }
.map-card__live .leaflet-tile-pane, .map-card__live .leaflet-overlay-pane img { filter: sepia(.3) hue-rotate(-25deg) saturate(.8) brightness(.82); }
.map-card__live .leaflet-overlay-pane img { pointer-events: none; }
.map-card__live .leaflet-control-zoom { border: 0; box-shadow: none; margin: 16px; }
.map-card__live .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 34px; background: var(--char); color: var(--cream); border: 1px solid rgba(255, 255, 255, .14); font-weight: 700; }
.map-card__live .leaflet-control-zoom a:hover { background: #3a3334; }
.map-card__live .leaflet-control-attribution { background: rgba(34, 30, 31, .75); color: rgba(245, 241, 232, .6); font: 11px/1.4 Pretendard, sans-serif; }
.map-card__live .leaflet-control-attribution a { color: rgba(245, 241, 232, .8); }
.map-card__marker { background: none; border: 0; }
.map-card__marker svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); animation: bob 2.8s ease-in-out infinite; }
/* bucket_02 (v4 image): 480 wide 30px from the edge at 1680, 411 wide 20px from the edge at 1440 */
.find .cutout--bucket { width: min(28.571vw, 480px); height: auto; aspect-ratio: 480 / 342; right: max(calc(4.167vw - 40px), calc(50% - 810px)); top: -28px; z-index: 3; }

/* 8. Markets */
.markets {
  padding-top: 128px; padding-bottom: 128px;
  color: var(--white);
  /* Figma radial (colours precomputed the way Figma blends stops, see design-data/tools/figma-gradient.js) */
  background: radial-gradient(55.56% 31.25% at 50% 31.25%, #69161F 0%, #61171F 5%, #5A171E 10%, #53181E 15%, #4D181E 20%,
    #47191D 25%, #41191D 30%, #3C1A1D 35%, #381A1D 40%, #331B1D 45%, #2F1B1D 50%, #2D1C1E 55%, #2A1C1E 60%, #281D1E 65%,
    #271D1E 70%, #251D1F 75%, #241E1F 80%, #231E1F 85%, #231E1F 90%, #221E1F 95%, #221E1F 100%), #221E1F;
  overflow: hidden;
}
.section-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.section-head .h2 { max-width: 860px; }
.section-head .lead { max-width: 720px; }
.markets .lead, .why .lead { color: var(--muted-light); }
.markets .section-head .lead { max-width: 680px; }
.markets__body { display: flex; gap: 80px; margin-top: 64px; }
/* text stays 560; the map card is 800×600 at 1680 and 640×600 at 1440 */
.markets__text { flex: 0 0 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.market-list { padding-top: 8px; }
.market-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.market-row__name { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
.market-row__pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.markets__note { font-size: 14px; color: rgba(207, 198, 191, .7); }
.markets .btn-row { padding-top: 8px; }
.europe-card {
  position: relative;
  flex: 0 1 800px;
  min-width: 0;
  height: 600px;
  border-radius: var(--radius-img);
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--char-2);
  overflow: hidden;
}
.europe-card__map { position: absolute; left: 6.25%; top: 9.33%; width: 90%; height: 90%; }
.europe-card__legend {
  position: absolute; left: 32px; top: 32px;
  display: flex; gap: 10px;
  padding: 8px;
  border-radius: var(--radius-btn);
  background: rgba(34, 30, 31, .92);
}
.europe-card__caption { position: absolute; left: 32px; bottom: 23px; font-size: 14px; color: var(--muted-light); }

/* 9. Why partner */
.why {
  position: relative;
  padding-top: 144px; padding-bottom: 144px;
  color: var(--white);
  background: var(--char);
}
.why__bg { position: absolute; inset: 0; overflow: hidden; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; }
.why__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 55% at 50% 40%, rgba(34, 30, 31, .78) 0%, rgba(34, 30, 31, .45) 45%, rgba(34, 30, 31, 0) 80%),
    linear-gradient(180deg, rgba(34, 30, 31, .35) 0%, rgba(34, 30, 31, .25) 45%, rgba(34, 30, 31, .55) 100%);
}
/* Home v4: red glow from the top-left corner + bucket_09 cut-out at 60% instead of the photo */
.why__bg--glow {
  background:
    radial-gradient(70% 90% at 0 0, rgba(176, 18, 34, .95) 0%, rgba(110, 16, 28, .5) 50%, rgba(26, 14, 16, 0) 100%),
    #1A0E10;
}
.why__bg .why__bg-cut { position: absolute; top: 420px; right: max(calc(6.25vw - 61px), calc(50% - 796px)); width: 1100px; max-width: none; height: auto; object-fit: contain; opacity: .6; }
/* 420 wide 30px from the edge at 1680, 360 wide 20px from the edge at 1440 */
.why .cutout--cheesling {
  width: min(25vw, 420px); height: auto; aspect-ratio: 420 / 349;
  left: calc(100% - max(4.167vw - 40px, 50% - 810px) - min(25vw, 420px));
  top: -192px; transform: rotate(10deg); z-index: 3;
}
.why__inner { position: relative; z-index: 1; }
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.reason {
  min-height: 327px;
  padding: 28px 28px 32px;
  border-radius: var(--radius-img);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 16px;
}
.reason__num { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--red); margin-bottom: 40px; }
.reason__title { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
.reason__text { font-size: 16px; line-height: 1.55; color: var(--muted-light); }
.why .btn-row { justify-content: center; margin-top: 56px; }

/* 10. Mascot */
.mascot { display: flex; align-items: center; gap: 96px; padding-top: 112px; padding-bottom: 112px; background: var(--red); color: var(--white); }
.mascot__img { flex: 0 1 600px; height: 480px; display: grid; place-items: center; }
.mascot__img img { height: 464px; width: auto; filter: drop-shadow(0 16px 24px rgba(77, 0, 0, .25)); }
.page-home .mascot__img img { height: 497px; margin-left: -11px; } /* v4: larger ChiBBoQ (293×497), overlaps the 480 box slightly */
/* text 744 at 1680, 584 at 1440 (image box stays 600) */
.mascot__text { flex: 1 1 584px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mascot__text p { font-size: var(--fs-lead); line-height: 1.5; letter-spacing: -0.002em; }

/* 11. Our team */
.team { display: flex; align-items: center; gap: 96px; padding-top: 120px; padding-bottom: 120px; background: var(--white); }
.team__img { flex: 0 1 760px; aspect-ratio: 760 / 460; border-radius: var(--radius-card); overflow: hidden; }
.team__img img { width: 100%; height: 100%; object-fit: cover; }
/* text 584 at 1680, 424 at 1440 (photo stays 760) */
.team__text { flex: 1 1 424px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.team__text .lead { line-height: 1.55; letter-spacing: 0; }

/* 12. News */
.news { padding-top: 128px; padding-bottom: 128px; background: var(--cream); }
.news__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.news__head-text { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.news__all-link { display: none; font-size: 15px; font-weight: 700; }
.news__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.news-card { display: flex; flex-direction: column; gap: 20px; }
.news-card__img { aspect-ratio: 458.7 / 270; border-radius: var(--radius-img); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__meta { display: grid; gap: 10px; }
.news-card__date { color: var(--red-text); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; }
.news-card__title { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
/* Home v4: news slider, 3 cards visible, the row bleeds to the right edge so a 4th card peeks */
.news--home .carousel { margin-top: 48px; }
.news__track {
  --bleed: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
  display: flex; align-items: flex-start; gap: 32px;
  margin-right: calc(-1 * var(--bleed));
  padding-right: var(--bleed);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.news__track::-webkit-scrollbar { display: none; }
.news__track > .news-card { flex: 0 0 calc((100% - 64px) / 3); min-width: 0; scroll-snap-align: start; }
.news--home .slider__nav { margin-top: 48px; }

/* 14. Closing CTA */
.closing {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 160px; padding-bottom: 180px;
  /* Figma v4: photo that fades into the footer colour at the bottom */
  background:
    linear-gradient(180deg, rgba(22, 18, 19, 0) 70%, var(--ink-deep) 100%),
    url("../img/closing-bg.jpg") center / cover no-repeat,
    #180D10;
}
.cta-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 1040px;
  padding: 72px 80px;
  border-radius: var(--radius-card);
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
}
.cta-card .h2, .cta-card .lead { max-width: 860px; }
.closing .stamp { left: calc(50% - 590px); top: 90px; transform-origin: 0 0; transform: rotate(-14deg); z-index: 3; }
.closing .cutout--fried { width: 400px; height: 218px; left: calc(50% + 270px); top: 460px; transform: rotate(6deg); z-index: 3; }
.closing .sparkle-lg { position: absolute; left: calc(50% + 500px); top: 124px; width: 48px; height: 48px; color: var(--yellow); }
.closing .sparkle-sm { position: absolute; left: calc(50% + 550px); top: 170px; width: 24px; height: 24px; color: var(--yellow); }

/* ---------- Home: large-desktop to tablet adjustments ---------- */
@media (max-width: 1439px) {
  .intro { gap: 56px; }
  .brand-card { flex: 1 1 340px; min-width: 250px; }
  .brand-card--soon { flex: 0 1 190px; min-width: 150px; }
  .brand-card .cutout { left: 34px; }
  .find__text { flex: 1 1 520px; }
  .map-card { flex: 1 1 560px; }
  .markets__text { flex: 1 1 480px; }
  .markets__body, .find, .team, .mascot { gap: 56px; }
}

@media (max-width: 1199px) {
  /* columns stack: flex-basis values meant for widths must not become heights */
  .intro > *, .find > *, .markets__body > *, .team > *, .mascot > * { flex: none; }
  .hero__content { width: min(900px, calc(100% - 2 * var(--gutter))); }
  .intro { flex-direction: column; align-items: stretch; padding-top: 170px; }
  .intro__brands { flex-basis: auto; }
  .intro .peek { top: auto; bottom: 60px; right: 44px; width: 111px; }
  .hero--home { min-height: 760px; }
  .hero--home .hero__content { margin-top: 150px; }
  .hero__cut--left { width: 34cqw; bottom: -40px; }
  .hero__cut--right { width: 24cqw; top: auto; bottom: -30px; }
  .hero--home .stamp { top: auto; bottom: 150px; }
  .find { flex-direction: column; align-items: stretch; }
  .find__text { flex-basis: auto; }
  .map-card { flex-basis: auto; width: 100%; max-width: 740px; }
  .markets__body { flex-direction: column; }
  .europe-card { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 800 / 600; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .team, .mascot { flex-direction: column; align-items: stretch; }
  .team__img { flex-basis: auto; width: 100%; }
  .mascot__img { flex-basis: auto; }
  .proof__items { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .proof__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
  .why .cutout--cheesling { left: auto; right: -40px; width: 300px; height: 250px; top: -150px; }
  .food .cutout--sauce { left: auto; right: -60px; width: 320px; height: 175px; }
  .food .cutout--fried { left: -40px; width: 260px; height: 142px; }
  .find .cutout--bucket { right: 0; width: 360px; top: -80px; }
  .closing .stamp { left: 4%; }
  .closing .cutout--fried { left: auto; right: 2%; }
}

/* ---------- Home: mobile (390 reference) ---------- */
@media (max-width: 767px) {
  .intro { padding: 152px 20px 161px; gap: 20px; }
  .intro__text { gap: 20px; }
  .intro__brands { gap: 20px; margin-top: 0; }
  .brand-cards { gap: 12px; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; scroll-snap-type: x mandatory; }
  .brand-cards::-webkit-scrollbar { display: none; }
  .brand-card { flex: 0 0 270px; height: 320px; border-radius: var(--radius-img); scroll-snap-align: start; }
  .brand-card__logo { left: 20px; top: 22px; width: 180px; }
  .brand-card__tag { left: 20px; top: 66px; font-size: 14px; }
  .brand-card .cutout { width: 240px; height: 236px; left: 70px; top: 112px; }
  .brand-card__link { left: 20px; top: auto; bottom: 20px; font-size: 14px; padding: 10px 14px; }
  .brand-card--soon { flex: 0 0 150px; }
  .brand-card--soon .plus { width: 48px; height: 48px; font-size: 24px; }
  .brand-card--soon strong { font-size: 16px; line-height: 1.1; letter-spacing: -0.01em; }
  .intro .peek { right: 24px; bottom: 16px; width: 73px; }

  /* carousels: arrows at the ends, dots centred (Figma "Slider nav" 350×44) */
  .slider__nav { justify-content: space-between; gap: 24px; }
  .carousel .slider__nav { margin-top: 20px; }
  .news--home .slider__nav { padding-right: 20px; }

  .hero { height: 760px; align-items: stretch; justify-content: flex-start; }
  .hero--home { min-height: 0; background: var(--char); }
  .hero__art, .hero__cutouts { display: none; }
  .hero__mobile-bg { display: block !important; position: absolute; left: 0; top: 0; width: 100%; height: 488px; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 30, 31, 0) 35%, var(--char) 62%); }
  .hero__content { margin: 355px 20px 0; width: auto; align-items: flex-start; text-align: left; gap: 18px; }
  .hero__title { font-size: 38px; line-height: 1.04; letter-spacing: -0.02em; text-shadow: none; }
  .hero__lead { font-size: 16px; line-height: 1.52; text-shadow: none; }
  .hero .btn-row { margin-top: 0; }
  .hero .stamp { width: 114px; height: 114px; left: auto; right: 16px; top: 229px; transform: rotate(12deg); }
  .hero--home .stamp { bottom: auto; }

  .proof { padding: 40px 20px; }
  .proof__items { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .proof__item { gap: 4px; }
  .proof__item + .proof__item { padding-left: 0; border-left: 0; }
  .proof__num { font-size: 40px; }
  .proof__label { font-size: 14px; font-weight: 500; line-height: 1.4; }
  .proof__note { margin-top: 20px; font-size: 13px; line-height: 1.45; }

  .food { padding: 64px 0 56px; }
  .food__head { align-items: flex-start; text-align: left; gap: 16px; padding-inline: 20px; }
  .food__head > .eyebrow { margin-bottom: 0; }
  .food .cutout { display: none; }
  .slider { margin-top: 22px; }
  .slider__viewport { gap: 12px; padding: 0 20px; scroll-padding-inline: 20px; align-items: stretch; }
  .food-card--desktop-only { display: none; }
  .food-card, .food-card.is-active { width: 280px; height: auto; min-height: 386px; padding: 14px 14px 22px; border-radius: var(--radius-img); gap: 14px; scroll-snap-align: start; }
  .food-card__img, .food-card.is-active .food-card__img { height: 240px; border-radius: 8px; }
  .food-card__tag { top: 10px; right: 10px; padding: 5px 8px; font-size: 12px; line-height: 14px; }
  .food-card__title, .food-card.is-active .food-card__title { font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
  .food-card__text { font-size: 15px; line-height: 1.48; }
  .slider .slider__nav { padding: 0 20px; margin-top: 22px; }
  .food__cta { padding: 0 20px; margin-top: 22px; }

  .find { padding: 64px 20px; gap: 20px; background: var(--red); } /* the 390 design has no gradient here */
  .find__text { gap: 20px; }
  .find__text .lead { font-weight: 500; line-height: 1.52; color: var(--white); }
  .postcode { flex-direction: column; align-items: stretch; padding: 0; background: none; gap: 8px; }
  .postcode input { background: var(--white); border-radius: var(--radius-btn); padding: 16px 18px; font-size: 16px; }
  .find__or { margin-top: 0; font-size: 12px; }
  .platforms { gap: 8px; margin-top: -6px; }
  .platform { padding: 14px 11px 14px 13px; border-radius: var(--radius-btn); font-size: 15px; line-height: 18px; gap: 6px; }
  .platform span { font-size: 14px; }
  .map-card { height: 300px; border-radius: var(--radius-img); }
  .map-card__area { left: calc(50% - 100px); top: 40px; width: 200px; height: 170px; }
  .map-card__pin { left: calc(50% - 20px); top: 90px; width: 40px; height: 50px; }
  .map-card__caption { display: none; }
  .kitchen-card { left: 16px; top: auto; bottom: 16px; padding: 12px 16px; gap: 4px; border-radius: 8px; }
  .kitchen-card strong { font-size: 16px; }
  .kitchen-card p { font-size: 12px; margin: 0; }
  .kitchen-card .btn { display: none; }
  .find .cutout--bucket { display: none; }

  .markets {
    padding: 64px 20px;
    background: radial-gradient(50% 50% at 50% 50%, #831C2B 0%, #791C29 5%, #711C28 10%, #691C26 15%, #611C25 20%, #5A1C24 25%,
      #531C23 30%, #4C1C22 35%, #461C21 40%, #401D20 45%, #3B1D20 50%, #361D1F 55%, #321D1F 60%, #2E1D1F 65%, #2B1D1F 70%,
      #281E1F 75%, #261E1F 80%, #241E1F 85%, #231E1F 90%, #221E1F 95%, #221E1F 100%), #221E1F;
  }
  .section-head { align-items: flex-start; text-align: left; gap: 20px; }
  .markets__body { margin-top: 20px; gap: 20px; }
  .markets__text { display: contents; }
  .market-list { padding-top: 0; order: 1; }
  .market-row { padding: 14px 0; }
  .market-row__name { font-size: 16px; line-height: 20px; }
  .markets__note { display: none; }
  .europe-card { order: 2; aspect-ratio: 350 / 260; border-radius: var(--radius-img); border: 0; }
  .europe-card__map { left: 0; top: 0; width: 100%; height: 100%; }
  .europe-card__legend, .europe-card__caption { display: none; }
  .markets .btn-row { order: 3; padding-top: 0; }

  .why { padding: 300px 20px 64px; }
  .why__bg { bottom: auto; height: 700px; top: -170px; }
  .why__bg::after { background: linear-gradient(180deg, rgba(34, 30, 31, 0) 30%, var(--char) 62%); top: 170px; }
  .why .cutout--cheesling { display: none; }
  /* Home v4: glow centred on the top-left corner of the 390×700 background (which starts 170px higher) */
  .why--home { overflow: hidden; }
  .why__bg--glow { background: radial-gradient(468px 350px at 0 0, rgba(176, 18, 34, .95) 0%, rgba(110, 16, 28, .5) 50%, rgba(26, 14, 16, 0) 100%), var(--char); }
  .why__bg .why__bg-cut { top: 185px; left: 10px; right: auto; width: 400px; opacity: 1; }
  .why .section-head { gap: 16px; }
  .why .lead { color: rgba(255, 255, 255, .85); }
  .reasons { display: flex; overflow-x: auto; gap: 12px; margin: 20px -20px 0 0; padding-right: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reasons::-webkit-scrollbar { display: none; }
  .reason { flex: 0 0 260px; min-height: 239px; padding: 22px 22px 26px; border-radius: var(--radius-img); gap: 12px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); scroll-snap-align: start; }
  .reason__num { font-size: 26px; margin-bottom: 18px; }
  .reason__title { font-size: 19px; }
  .reason__text { font-size: 15px; line-height: 1.5; }
  .why .btn-row { margin-top: 20px; }
  .why .btn-row .btn--outline-light { background: var(--cream); color: var(--char); border-color: var(--cream); --chip-bg: var(--char); --chip-fg: var(--cream); }
  .why .btn-row .btn--cream { --btn-bg: var(--red); --btn-fg: var(--white); --chip-bg: var(--white); --chip-fg: var(--red); }

  .mascot { padding: 56px 20px 64px; gap: 20px; }
  .mascot__img { height: 300px; }
  .mascot__img img { height: 284px; }
  .mascot__text { gap: 20px; }
  .mascot__text .h2 { font-size: 36px; }
  .mascot__text p { color: var(--white); }
  .page-home .mascot__img img { height: 284px; }

  .team { padding: 56px 20px; gap: 18px; }
  .team__img { aspect-ratio: 350 / 240; border-radius: var(--radius-img); }
  .team__text { gap: 18px; }
  .team__text .lead { line-height: 1.52; }

  .news { padding: 56px 0 56px 20px; }
  .news__head { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; padding-right: 20px; }
  .news__head-text { align-items: flex-start; gap: 12px; }
  .news__head .btn { display: none; }
  .news__all-link { display: inline; }
  .news__list { display: flex; overflow-x: auto; gap: 12px; margin-top: 20px; padding-right: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .news__list::-webkit-scrollbar { display: none; }
  .news-card { flex: 0 0 280px; gap: 12px; scroll-snap-align: start; }
  .news--home .carousel { margin-top: 20px; }
  .news__track { --bleed: 0px; gap: 12px; padding-right: 20px; }
  .news__track > .news-card { flex: 0 0 280px; }
  .news-card__img { aspect-ratio: 280 / 190; border-radius: 8px; }
  .news-card__meta { gap: 12px; }
  .news-card__date { font-size: 12px; letter-spacing: .1em; }
  .news-card__title { font-size: 19px; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }

  .closing { padding: 72px 20px 78px; background: linear-gradient(180deg, rgba(22, 18, 19, 0) 70%, var(--ink-deep) 100%), url("../img/closing-bg-m.jpg") center / cover no-repeat, #180D10; }
  .cta-card { padding: 40px 24px 28px; border-radius: var(--radius-img); gap: 16px; }
  .cta-card .h2 { font-size: 30px; line-height: 1.08; letter-spacing: -0.015em; }
  .cta-card .lead { font-size: 15px; line-height: 1.5; }
  .cta-card .btn { margin-top: 0; }
  .closing .stamp { width: 92px; height: 92px; left: 8px; top: 30px; }
  .closing .cutout--fried { width: 190px; height: 100px; left: auto; right: 12px; top: auto; bottom: 24px; }
  .closing .sparkle-lg, .closing .sparkle-sm { display: none; }
}

/* Home on phones: spacing and type values matched to the other developer's 390px build */
@media (max-width: 767px) {
  .hero--home .hero__content { margin-top: 355px; } /* text starts below the photo (the tablet rule moved it up) */
  .brand-card--soon .plus { width: auto; height: 36px; background: none; font-size: 30px; }
  .proof__num { line-height: 48px; }
  .find .h2, .markets .h2 { font-size: 36px; line-height: 1.04; }
  .hero__lead { letter-spacing: 0; }
  .postcode input { flex: none; height: 51px; padding-top: 0; padding-bottom: 0; }
  .kitchen-card strong { font-size: 16px; line-height: 19px; letter-spacing: 0; }
  .kitchen-card p { line-height: 14px; }
  .pill { padding: 6px 12px 6px 10px; font-weight: 500; line-height: 14px; }
  .reason { padding: 23px 23px 27px; }
  .reason__num { font-weight: 800; line-height: 31px; letter-spacing: 0; margin-bottom: 0; }
  .reason__title { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; min-height: 46px; }
  .reason__text { line-height: 1.48; color: rgba(255, 255, 255, .78); }
  .team__img img { object-position: 50% 20%; transform: scale(1.18); transform-origin: 50% 30%; }
  .news__head .h2 { line-height: 41px; }
  .news__all-link { line-height: 18px; }
  .order-bar__text { gap: 14px; }
  .footer-brand__logo { height: auto; }
  .footer-base { line-height: 1.45; }
  .footer-base__row p:last-child { font-weight: 500; line-height: 16px; }
  .footer-base__love { line-height: 16px; }
}

/* Swipe-row controls on inner pages (arrows + dots under a [data-slider] row, phones only) */
.row-nav { display: none; }
@media (max-width: 767px) {
  .row-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-right: 20px; }
  .row-nav__arrow { flex: none; width: 44px; height: 44px; border-radius: var(--radius-btn); background: var(--char); color: var(--cream); display: grid; place-items: center; transition: opacity .2s ease; }
  .row-nav__arrow svg { width: 16px; height: 16px; }
  .row-nav__dots { display: flex; align-items: center; gap: 8px; }
  .row-nav .slider__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--char); opacity: .35; }
  .row-nav .slider__dot.is-active { width: 24px; opacity: 1; }
  .row-nav__arrow:disabled { opacity: .4; cursor: default; } /* the shared slider script disables the arrows at either end */
  .row-nav--light .row-nav__arrow { background: var(--cream); color: var(--char); }
  .row-nav--light .slider__dot { background: var(--cream); }
}

/* ==========================================================================
   Shared interior-page components
   ========================================================================== */

/* Page hero ("Hero pattern", 860 tall) and short page header (600 tall) */
.page-hero {
  position: relative;
  min-height: 860px;
  padding-top: 212px; padding-bottom: 120px;
  display: flex; align-items: flex-start;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(55.56% 38.46% at 27.78% 50%, rgba(227, 25, 55, .85) 0%, rgba(140, 24, 30, .35) 50%, rgba(34, 30, 31, 0) 100%),
    var(--char);
}
.page-hero--short {
  min-height: 600px; padding-top: 202px; padding-bottom: 80px;
  /* v4: short page headers use the closing-banner food photo */
  background: url("../img/closing-bg.jpg") center / cover no-repeat, #180D10;
}
.page-hero__text { position: relative; z-index: 2; width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 28px; }
.page-hero__text .h-display { text-shadow: 0 4px 24px rgba(20, 5, 5, .35); }
.page-hero__text .lead { color: rgba(255, 255, 255, .92); max-width: 600px; }
.page-hero__media { position: absolute; z-index: 1; pointer-events: none; }
.page-hero__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 70px rgba(0, 0, 0, .5)); }
.page-hero .stamp { z-index: 3; }

@media (max-width: 1199px) {
  .page-hero { min-height: 0; padding-bottom: 80px; }
  .page-hero__media { opacity: .9; }
}
@media (max-width: 767px) {
  .page-hero { padding: 152px 20px 64px; flex-direction: column; gap: 24px; background: radial-gradient(50% 50% at 50% 50%, rgba(227, 25, 55, .5) 0%, rgba(140, 24, 30, .15) 60%, rgba(34, 30, 31, 0) 100%), var(--char); }
  .page-hero--short { padding-top: 152px; background: url("../img/closing-bg-m.jpg") center / cover no-repeat, #180D10; }
  .page-hero__text .lead { font-weight: 500; }
  .page-hero__text { gap: 18px; }
  .page-hero__media { position: relative; inset: auto; width: 100%; height: auto; }
}

/* Form section: the dark food photo from the closing banner, with a cream card on top */
.form-section {
  position: relative;
  padding-top: 100px; padding-bottom: 100px;
  background:
    linear-gradient(180deg, rgba(22, 18, 19, 0) 70%, var(--ink-deep) 100%),
    url("../img/closing-bg.jpg") center / cover no-repeat,
    #180D10;
  isolation: isolate;
}
.form-card {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px;
  padding: 72px;
  border-radius: var(--radius-card);
  background: var(--cream);
  color: var(--char);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.form-card__intro { display: flex; flex-direction: column; gap: 24px; }
.form-card__intro .lead { white-space: pre-line; }

.form { display: grid; gap: 20px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 700; line-height: 1.2; }
.input, .select, .textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(34, 30, 31, .15);
  background: var(--white);
  font-size: 16px; line-height: 19px; color: var(--char);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: rgba(107, 96, 92, .9); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--char); box-shadow: 0 0 0 3px rgba(242, 179, 61, .45); }
.select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23221E1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.select:invalid { color: rgba(107, 96, 92, .9); }
.textarea { min-height: 140px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.3; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin: 0;
  border-radius: 6px; border: 1.5px solid rgba(34, 30, 31, .4); background: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--char); text-decoration: underline; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-submit__note { font-size: 14px; line-height: 1.25; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; color: var(--red); }

/* File drop zone (the transparent file input covers the zone, so click and drag-and-drop both work) */
.dropzone {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-btn);
  border: 1.5px dashed rgba(34, 30, 31, .3);
  background: rgba(255, 255, 255, .6);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.dropzone:hover { border-color: rgba(34, 30, 31, .6); background: var(--white); }
.dropzone:focus-within { border-color: var(--char); background: var(--white); box-shadow: 0 0 0 3px rgba(242, 179, 61, .45); }
.dropzone__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--radius-btn);
  display: grid; place-items: center;
  background: var(--char); color: var(--white);
  font-size: 18px; font-weight: 700; line-height: 1;
}
.dropzone__text { min-width: 0; display: grid; gap: 2px; }
.dropzone__title { font-size: 15px; font-weight: 700; line-height: 18px; }
.dropzone__hint { font-size: 13px; line-height: 16px; color: var(--muted); }
@media (max-width: 767px) {
  .dropzone { flex-direction: column; justify-content: center; gap: 6px; margin-bottom: 25px; padding: 18px 14px; border-width: 1px; border-radius: var(--radius-btn); background: var(--cream); }
  .dropzone:hover { background: var(--cream); }
  .dropzone__icon { width: auto; height: auto; border-radius: 0; background: none; color: var(--red-text); line-height: 21px; }
  .dropzone__text { display: contents; }
  .dropzone__title { font-weight: 600; }
  .dropzone__hint { position: absolute; left: 0; top: calc(100% + 7px); line-height: 1.45; color: rgba(34, 30, 31, .65); }
}

/* "Good to know" box with numbered steps */
.info-box { display: grid; gap: 14px; padding: 22px 24px; border-radius: 8px; background: rgba(214, 210, 196, .5); }
.info-box__title { color: var(--red-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.info-box__step { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.2; }
.info-box__step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--char); color: var(--cream); font-size: 13px; font-weight: 700;
}
.info-box { counter-reset: step; }

@media (max-width: 1199px) {
  .form-card { grid-template-columns: 1fr; gap: 40px; padding: 56px; }
}
@media (max-width: 767px) {
  .form-section {
    padding: 56px 16px;
    background:
      linear-gradient(180deg, rgba(22, 18, 19, 0) 70%, var(--ink-deep) 100%),
      url("../img/closing-bg-m.jpg") center / cover no-repeat,
      #180D10;
  }
  .form-card { padding: 24px 18px; border-radius: 12px; gap: 16px; background: var(--white); box-shadow: none; }
  .form-card .form { gap: 16px; }
  .form-card .h2 { font-size: 28px; line-height: 1.08; letter-spacing: -0.02em; }
  .form-card .lead { font-size: 15px; line-height: 1.5; color: rgba(34, 30, 31, .75); }
  .form-card .field { gap: 6px; }
  .form-card .field__label { font-weight: 600; line-height: 1.3; }
  .form-card .input, .form-card .select, .form-card .textarea { padding: 14px; border-radius: var(--radius-btn); background-color: var(--cream); font-size: 15px; line-height: 18px; }
  .form-card .select { padding-right: 36px; background-position: right 15px center; }
  .form-card .input::placeholder, .form-card .textarea::placeholder { color: rgba(34, 30, 31, .65); }
  .form-card .select:invalid { color: rgba(34, 30, 31, .65); }
  .form-card .btn--red { --btn-fg: var(--white); --chip-bg: var(--white); }
  .form-card .form-submit__note { font-size: 13px; line-height: 1.45; color: rgba(34, 30, 31, .65); }
  .form-card .info-box { gap: 10px; padding: 16px; border-radius: var(--radius-btn); background: var(--cream); }
  .form-card .info-box__title { font-weight: 800; letter-spacing: .08em; }
  .form-card .info-box__step { align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; line-height: 1.45; color: rgba(34, 30, 31, .85); }
  .form-card .info-box__step::before { width: 24px; height: 24px; font-size: 12px; color: var(--white); }
  .form-card__intro { gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-submit { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* File upload feedback (state classes set by main.js) */
.dropzone.has-file { border-style: solid; border-color: var(--char); }
.dropzone.has-file .dropzone__title { color: var(--char); word-break: break-all; }
.dropzone.is-dragover { border-color: var(--red); background: rgba(227, 25, 55, .06); }
