/* Шрифтове (локални, с кирилица): Lobster и Montserrat (променлив) — SIL Open Font License 1.1 */
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lobster-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lobster-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}


/* ==========================================================
   La Noche de la Pasión Española — ATM°S
   Цветове и шрифтове от визията на Еми; подредба в стила на Lazy Glazy:
   цветни екрани един след друг, форма за записване в първия екран.
   ========================================================== */

/* Резервни шрифтове със същата ширина като Lobster и Montserrat — страницата не „подскача“, когато шрифтът се зареди. */
@font-face {
  font-family: 'Lobster Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 90%;
}
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 111%;
  ascent-override: 87%;
  descent-override: 22.6%;
  line-gap-override: 0%;
}

:root {
  --cream: #eee7db;
  --cream-soft: #f6f1e7;
  --red: #981e1d;
  --red-hover: #7d1716;
  --red-soft: rgba(152, 30, 29, 0.09);

  --font-script: 'Lobster', 'Lobster Fallback', cursive;
  --font-body: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif;

  --container: 76rem;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 0.8rem;
}

/* ---------------------------------------------------------- Основа */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
hr {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--cream);
}

#signup-form:focus:not(:focus-visible),
#main:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.noscript {
  padding-block: 6rem 1rem;
  font-weight: 500;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--red);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ------------------------------------- Рисуван стил: рамки, линии, звезди */

.sketch {
  position: relative;
}

.sketch::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 0.7rem 0.9rem 0.6rem 1rem / 0.9rem 0.6rem 1rem 0.7rem;
  pointer-events: none;
}

.wavy-lines {
  position: relative;
}

.wavy-lines::before,
.wavy-lines::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4C10 1.2 22 1 34 3.4S58 7 72 4.4 98 1 112 3.6 140 7 160 4' fill='none' stroke='%23981E1D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 160px 8px;
  pointer-events: none;
}

.wavy-lines::before {
  top: -4px;
}

.wavy-lines::after {
  bottom: -4px;
}

/* Без увеличаване при двойно докосване на бутоните (напр. + и − на билетите) */
html {
  touch-action: manipulation;
}

button,
.step-btn {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.star {
  position: absolute;
  width: 1.9rem;
  height: 1.9rem;
  color: currentColor;
  pointer-events: none;
}

.short-rule {
  width: 3.2rem;
  height: 0;
  margin-inline: auto;
  border: 0;
  border-top: 2px solid currentColor;
}

.decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Лампите са фонови картинки (по-леки за разчертаване от <img>): горната част от шнура се отрязва. */
.lamp {
  position: absolute;
  top: 0;
  width: var(--w);
  height: var(--h);
  background: url('../img/atmos/hanging-lamp.webp') center bottom / 100% auto no-repeat;
}

.lamp-music,
.lamp-final {
  background-image: url('../img/atmos/hanging-lamp-cream.webp');
}

.hl {
  font-weight: 700;
}

/* ---------------------------------------------------------- Header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    'brand cta'
    'nav   nav';
  justify-content: space-between;
  align-items: center;
  row-gap: 0.1rem;
  padding-block: 0.9rem 0.2rem;
}

.brand {
  grid-area: brand;
  font-weight: 500;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
}

.nav {
  grid-area: nav;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 4vw, 2.6rem);
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.2rem;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom 0.3rem / 0 2px no-repeat;
  transition: background-size 0.2s ease;
}

.nav-list a:hover {
  background-size: 100% 2px;
}

.nav-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1.1rem;
  border: 2px solid var(--red);
  border-radius: 0.7rem 0.9rem 0.65rem 0.85rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--red);
  color: var(--cream);
}

@media (min-width: 56rem) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'brand nav cta';
    column-gap: clamp(1.5rem, 5vw, 4.5rem);
    padding-block: 1.3rem 0.5rem;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .nav-list a {
    font-size: 1.05rem;
  }
}

/* ---------------------------------------------------------- Бутони */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--red-hover);
}

.btn-primary:focus-visible {
  outline-color: var(--red);
}

.btn-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--red);
}

.btn-light:hover {
  background: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--red);
}

.btn-ghost:hover {
  background: var(--red-soft);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-icon {
  flex: none;
}

/* ---------------------------------------------------- 1. Първи екран */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 6.5rem;
  background: var(--cream);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-areas:
    'copy'
    'form'
    'art';
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  grid-area: copy;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.5rem, 10.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
}

.title-line {
  display: block;
}

.hero-subtitle {
  margin-top: 0.7rem;
  font-weight: 500;
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
}

.hero-tagline,
.hero-promise {
  display: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.3rem 0.95rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
}

.chip svg {
  flex: none;
}

.hero-art {
  grid-area: art;
  justify-self: center;
  width: min(100%, 24rem);
}

/* Лампи и звездички */

.hero .lamp-1 { --w: 2.3rem; --h: 2.7rem; left: 32%; top: 0; }
.hero .lamp-2 { --w: 2.3rem; --h: 3.1rem; left: 45%; top: 0; }
.hero .lamp-3,
.hero .lamp-4,
.hero .lamp-5 { display: none; }

.hero .s1 { top: 8.2rem; left: 4%; width: 1.5rem; height: 1.5rem; }
.hero .s2 { top: 6.4rem; right: 5%; width: 1.6rem; height: 1.6rem; }
.hero .s3 { top: 24rem; left: 3%; width: 1.3rem; height: 1.3rem; }
.hero .s4 { bottom: 20rem; right: 4%; width: 1.9rem; height: 1.9rem; }
.hero .s5 { bottom: 11rem; left: 6%; width: 1.8rem; height: 1.8rem; }
.hero .s6 { bottom: 3rem; right: 8%; width: 1.4rem; height: 1.4rem; }

/* ----------------------------------------------- Форма за записване */

.signup {
  grid-area: form;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1.4rem 1.3rem 1.2rem;
  background: var(--cream);
}

.signup-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.5rem);
  line-height: 1.1;
}

.signup-title em {
  font-style: normal;
}

.signup-intro {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.signup-intro--note {
  margin-top: 0.3rem;
  font-weight: 600;
}

.field {
  display: block;
  margin-top: 0.85rem;
}

.field > span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.8rem;
  border: 2px solid var(--red);
  border-radius: 0.55rem;
  background: var(--cream-soft);
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1rem;
}

.field textarea {
  min-height: 4.4rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(152, 30, 29, 0.55);
}

.was-submitted .field input:invalid,
.was-submitted .check input:invalid {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.field-tickets {
  padding: 0.7rem 0.8rem 0.8rem;
  border-radius: 0.55rem;
  background: var(--red-soft);
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--red);
  border-radius: 0.55rem;
  background: var(--cream-soft);
}

.step-btn {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.step-btn:hover {
  background: var(--red-soft);
}

.ticket-input {
  width: 4ch;
  border: 0;
  background: transparent;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.ticket-price {
  font-size: 0.9rem;
  font-weight: 500;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 2px solid var(--red);
}

.total strong {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.1;
}

.total-count {
  display: block;
  font-size: 0.85rem;
}

.total-sum {
  font-family: var(--font-script);
  font-size: 2.4rem;
  line-height: 1.1;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.check input {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  accent-color: var(--red);
}

.signup-submit {
  width: 100%;
  margin-top: 0.9rem;
}

.signup-status {
  min-height: 1.2rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.signup-status[data-kind='error'],
.signup-status[data-kind='ok'] {
  font-weight: 700;
}

.signup-note {
  margin-top: 0.4rem;
  font-size: 0.88rem;
}

@media (min-width: 56rem) {
  .hero {
    padding-top: 5.4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      'copy form'
      'art  form';
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.5rem, 4vw, 4rem);
    row-gap: 0.5rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    padding-top: 6.4rem;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 5.4vw, 5.2rem);
  }

  .hero-tagline {
    display: block;
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 1.2rem;
  }

  .hero-promise {
    display: block;
    margin-top: 1rem;
    max-width: 28rem;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .chips {
    justify-content: flex-start;
    margin-top: 1.1rem;
  }

  .hero-art {
    align-self: end;
    justify-self: start;
    width: min(100%, 32rem);
  }

  .signup {
    align-self: start;
    justify-self: end;
    margin-top: 0.6rem;
  }

  .hero .lamp-1 { --w: 4.4rem; --h: 5rem; left: 9%; top: 4.6rem; }
  .hero .lamp-2 { --w: 4.8rem; --h: 6.4rem; left: 23%; top: 4.6rem; }
  .hero .lamp-3 { --w: 4.4rem; --h: 5.6rem; left: 37%; top: 4.6rem; display: block; }
  .hero .lamp-4 { --w: 4rem; --h: 4.6rem; left: 51%; top: 0; display: block; }
  .hero .lamp-5 { display: none; }

  .hero .s1 { top: 6rem; left: 2%; width: 2rem; height: 2rem; }
  .hero .s2 { top: 5.4rem; left: 31%; right: auto; width: 2rem; height: 2rem; }
  .hero .s3 { top: 27rem; left: 2%; width: 1.6rem; height: 1.6rem; }
  .hero .s4 { top: 14rem; left: 47%; right: auto; bottom: auto; width: 2.4rem; height: 2.4rem; }
  .hero .s5 { bottom: 14rem; left: 3%; }
  .hero .s6 { bottom: 4rem; left: 46%; right: auto; }
}

/* ------------------------------------------------------------ Секции */

.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.on-dark {
  background: var(--red);
  color: var(--cream);
}

.kicker {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.display {
  margin-top: 0.7rem;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 4.2rem);
  line-height: 1.08;
}

.lead {
  margin-top: 1.1rem;
  max-width: 26rem;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.5;
}

.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.two-col {
  position: relative;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 52rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}

/* 2. Какво те очаква */

.story .s-story-a { top: 2.5rem; right: 6%; width: 2.4rem; height: 2.4rem; }
.story .s-story-b { bottom: 3rem; left: 4%; width: 1.7rem; height: 1.7rem; }
.story .s-story-c { top: 45%; left: 46%; width: 1.5rem; height: 1.5rem; }

.story-grid {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.story-text {
  max-width: 34rem;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  line-height: 1.55;
}

.story-text + .story-text {
  margin-top: 1rem;
}

.story-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 34rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--cream);
}

.story-meta dt {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-meta dd {
  font-family: var(--font-script);
  font-size: 1.6rem;
  line-height: 1.2;
}

.story-chef {
  max-width: 34rem;
  margin-top: 1.6rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--cream);
  font-family: var(--font-script);
  font-size: clamp(1.45rem, 3.4vw, 1.9rem);
  line-height: 1.3;
}

.story-about {
  max-width: 34rem;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
}

.story-chef .hl {
  font-weight: 400;
}

@media (min-width: 52rem) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
}

/* 3. Меню */

.menu-section .s-menu-a { top: 2.5rem; left: 46%; width: 2.4rem; height: 2.4rem; }
.menu-section .s-menu-b { bottom: 3rem; left: 3%; width: 1.7rem; height: 1.7rem; }

.menu-card {
  margin-top: 1.9rem;
  max-width: 30rem;
  padding: 1.5rem 1.5rem 1.3rem;
  text-align: center;
}

.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 0.8rem 0.6rem 0.9rem 0.7rem / 0.7rem 0.9rem 0.6rem 0.8rem;
  transform: translate(7px, 6px);
  pointer-events: none;
}

.menu-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.menu-card .short-rule {
  margin-block: 0.9rem;
}

.menu-items li + li {
  margin-top: 1rem;
}

/* Подзаглавията на ходовете: рисуван шрифт и цвят, за да се отличават от ястията */
.course {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: none;
}

.course::before,
.course::after {
  content: '·';
  margin-inline: 0.45rem;
  font-family: var(--font-body);
}

.dish {
  display: block;
  margin-top: 0.1rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
}

.menu-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.menu-card-price {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1.2;
}

.video-wrap {
  min-width: 0;
}

.video-frame {
  position: relative;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1rem;
  background: var(--cream);
}

.video-frame:has(.cook-art) {
  padding-bottom: 3.4rem;
}

.cook-art {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 30% 50%;
}

.cook-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #1c0a0a;
  border-radius: 0.4rem;
}

.video-toggle {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  min-height: 2.75rem;
  min-width: 5.5rem;
  padding: 0.4rem 1rem;
  border: 2px solid var(--red);
  border-radius: 0.6rem;
  background: var(--cream);
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.video-toggle:hover {
  background: var(--red);
  color: var(--cream);
}

.cook-video {
  pointer-events: none;
}

.frame-caption {
  position: absolute;
  left: 1.8rem;
  bottom: 0.8rem;
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}

/* Снимки от ATM°S под менюто */

.venue-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 2vw, 1.2rem);
  width: 100%;
  max-width: 40rem;
}

.venue-list li {
  border: 2px solid var(--red);
  overflow: hidden;
  background: var(--red-soft);
}

.venue-list img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Атмосферата: снимка, клип по средата (изпъква), снимка */

.atmosphere {
  background: var(--red-soft);
}

.atmosphere {
  position: relative;
}

.atmosphere .s-atm-a { top: 2rem; right: 7%; width: 3rem; height: 3rem; }
.atmosphere .s-atm-b { top: 3.6rem; left: 36%; width: 1.7rem; height: 1.7rem; transform: rotate(15deg); }
.atmosphere .s-atm-c { top: 40%; left: 2%; width: 2.4rem; height: 2.4rem; transform: rotate(-12deg); }
.atmosphere .s-atm-d { top: 48%; right: 2%; width: 2.6rem; height: 2.6rem; }
.atmosphere .s-atm-e { bottom: 2.2rem; left: 10%; width: 2.8rem; height: 2.8rem; transform: rotate(10deg); }
.atmosphere .s-atm-f { bottom: 3rem; right: 12%; width: 1.9rem; height: 1.9rem; }

/* Телефон: звездичките са в свободните полета до снимките (не до клипа, който заема цялата ширина) */
@media (max-width: 51.99rem) {
  .atmosphere .s-atm-a { top: 1.6rem; right: 6%; width: 2.2rem; height: 2.2rem; }
  .atmosphere .s-atm-b { top: 17%; left: 3.5%; right: auto; width: 1.7rem; height: 1.7rem; }
  .atmosphere .s-atm-c { top: 27%; left: auto; right: 3.5%; width: 2rem; height: 2rem; }
  .atmosphere .s-atm-d { top: 76%; right: auto; left: 3.5%; width: 2rem; height: 2rem; }
  .atmosphere .s-atm-e { top: 85%; bottom: auto; left: auto; right: 3.5%; width: 1.8rem; height: 1.8rem; }
  .atmosphere .s-atm-f { top: auto; bottom: 2.2rem; right: auto; left: 5%; width: 1.7rem; height: 1.7rem; }
}

.atmos-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  text-align: center;
}

.atmos-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
}

.atmos-row {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  width: 100%;
}

.atmos-photo {
  width: min(100%, 17rem);
  border: 2px solid var(--red);
  overflow: hidden;
  background: var(--red-soft);
}

.atmos-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.atmos-frame {
  position: relative;
  /* Клипът е малко по-широк от оригинала (3:5 вместо 9:16): реже се само ~5% отдолу, главите отгоре остават */
  width: min(100%, max(16rem, calc(78vh * 3 / 5 + 1.4rem)), 30rem);
  padding: 0.6rem;
  border: 3px solid var(--red);
  border-radius: 0.8rem;
  background: var(--red);
  box-shadow: 0.55rem 0.55rem 0 rgba(152, 30, 29, 0.22);
}

.atmos-clip {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  grid-column: 1 / -1;
  order: -1;
  background: #1c0a0a;
  border-radius: 0.4rem;
  pointer-events: none;
}

.atmos-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* Бутоните са под клипа, за да не закриват субтитрите */
.atmos-frame .video-toggle,
.atmos-frame .video-sound {
  position: static;
  width: 100%;
}

/* На широк екран: снимка | клип (по-голям, по средата) | снимка */
@media (min-width: 52rem) {
  .atmos-row {
    grid-template-columns: 1fr 1.9fr 1fr;
    padding-inline: clamp(1.5rem, 4vw, 5rem);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.4rem);
  }

  .atmos-photo {
    width: 100%;
  }

  .atmos-frame {
    justify-self: center;
  }
}

/* Бутон „Звук“ вляво, „Пауза“ вдясно */

/* Телефон, секция „Музика“: първо текстът, после снимката и информацията за музиканта */
@media (max-width: 51.99rem) {
  .two-col--music .music-copy { order: 1; }
  .two-col--music .musician { order: 2; width: min(100%, 20rem); justify-self: start; }
  .two-col--music .music-art { order: 3; }
}

/* Снимки на цялото място под клипа */
.atmos-halls {
  display: grid;
  gap: 1.2rem;
  width: 100%;
}

.atmos-hall {
  border: 2px solid var(--red);
  overflow: hidden;
  background: var(--red-soft);
}

.atmos-hall img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 52rem) {
  .atmos-halls {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 2.4rem);
  }
}

/* 4. Музика */

.music-section .lamp-music { --w: 3.2rem; --h: 5.2rem; left: 29.5%; display: none; }
.music-section .s-music-a { top: 2rem; left: 10%; width: 2.6rem; height: 2.6rem; }
.music-section .s-music-b { top: 3rem; right: 6%; width: 2.8rem; height: 2.8rem; }
.music-section .s-music-c { bottom: 2.5rem; right: 4%; width: 2.2rem; height: 2.2rem; }

.two-col--music .music-art {
  justify-self: center;
  width: min(100%, 19rem);
}

.music-included {
  margin: 0 auto 1.2rem;
  max-width: 20rem;
  text-align: center;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  line-height: 1.45;
}

.musician {
  justify-self: center;
  width: min(100%, 14rem);
  text-align: left;
}

.musician-photo {
  aspect-ratio: 4 / 5; /* изрязва се около музиканта */
  border: 2px solid var(--cream);
  overflow: hidden;
  background: #5b1110;
}

.musician-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
}

.musician figcaption {
  margin-top: 0.7rem;
}

.musician-name {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
}

.musician-bio {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.musician-role {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (min-width: 52rem) {
  .music-section .lamp-music { display: block; }

  .two-col--music {
    grid-template-columns: 0.62fr 1.1fr 0.85fr;
    gap: clamp(1.5rem, 3.5vw, 3.5rem);
    align-items: center;
  }

  .two-col--music .music-art {
    width: min(100%, 24rem);
  }

  .musician {
    width: 100%;
    max-width: 17rem;
  }
}

/* 5. Обобщение */

.summary .s-sum-a { top: 2.5rem; right: 6%; width: 2.2rem; height: 2.2rem; }
.summary .s-sum-b { bottom: 3rem; left: 4%; width: 1.7rem; height: 1.7rem; }

.summary-cols {
  display: grid;
  gap: 2rem;
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.summary-list li {
  padding: 0.7rem 0;
  border-top: 2px solid var(--red);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

.summary-list li:last-child {
  border-bottom: 2px solid var(--red);
}

.summary-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

.info-icon {
  flex: none;
  margin-top: 0.05rem;
}

.summary-action {
  align-self: end;
}

@media (min-width: 52rem) {
  .summary-cols {
    grid-template-columns: 1fr 1fr auto;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* 6. Финал */

.final .lamp-final { --w: 3.4rem; --h: 5.4rem; left: 8%; display: none; }
.final .s-final-a { top: 2.5rem; right: 8%; width: 2.4rem; height: 2.4rem; }
.final .s-final-b { bottom: 3rem; left: 4%; width: 1.8rem; height: 1.8rem; }
.final .s-final-c { top: 40%; left: 48%; width: 1.5rem; height: 1.5rem; }

.final-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.final-line {
  display: block;
}

.final-title {
  font-size: clamp(2.2rem, 6.4vw, 3.6rem);
}

.final-signature {
  margin-top: 1.1rem;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 4.6vw, 2.4rem);
  line-height: 1.2;
}

.final-offer {
  margin-top: 1.6rem;
}

.final-price {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.1;
}

.final-when {
  margin: 0.2rem 0 1.1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.final-art {
  justify-self: center;
  width: min(100%, 20rem);
}

@media (min-width: 52rem) {
  .final .lamp-final { display: block; }

  .final-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .final-art {
    justify-self: end;
    width: min(100%, 24rem);
  }
}

/* ---------------------------------------------------------- Footer */

.site-footer {
  padding-block: 0 1.2rem;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
  padding-block: 1.6rem 1.4rem;
}

.site-footer .footer-inner::before {
  left: var(--gutter);
  right: var(--gutter);
}

.footer-inner::after {
  display: none;
}

.footer-brand {
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-phone {
  padding: 1rem var(--gutter) 0.2rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}

.phone-link {
  display: inline-block;
  padding: 0.5rem 0;
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.footer-phone[hidden],
.summary-fact[hidden] {
  display: none;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  padding-inline: var(--gutter);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal a,
.legal-cookies {
  padding: 0.5rem 0.2rem;
  color: inherit;
  text-underline-offset: 3px;
}

.legal-cookies {
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 44rem) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding-top: 1.8rem;
  }

  .footer-inner > p {
    width: 100%;
  }

  .footer-inner > p + p {
    justify-content: center;
    border-left: 1.5px solid var(--red);
  }

  .footer-brand {
    text-align: left;
  }
}

/* ------------------------------ Залепена лента и банер за бисквитки */

.sticky-bar {
  display: none;
}

.cookie {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 80;
  display: grid;
  gap: 0.8rem;
  max-width: 34rem;
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 2px solid var(--red);
  border-radius: 0.8rem;
  background: var(--cream);
  color: var(--red);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie .btn {
  min-height: 2.75rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
}

@media (max-width: 55.99rem) {
  .sticky-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--cream);
    border-top: 2px solid var(--red);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .sticky-bar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }

  .sticky-bar .btn {
    display: flex;
    width: 100%;
    min-height: 3rem;
    padding-block: 0.5rem;
  }

  .sticky-price {
    font-weight: 400;
  }

  body:not(.legal-page) .site-footer {
    padding-bottom: calc(1.2rem + 4rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------------------------------- Страница „Политика за поверителност“ */

.legal-page {
  background: var(--cream);
}

.legal-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
}

.legal-head-inner a:not(.brand) {
  font-weight: 600;
}

.doc {
  max-width: 46rem;
  margin-inline: auto;
  padding: 1rem var(--gutter) 4rem;
  font-weight: 500;
  line-height: 1.65;
}

.doc h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 1.1;
}

.doc h2 {
  margin-top: 2rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.doc p,
.doc ul {
  margin-top: 0.7rem;
}

.doc ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.doc li + li {
  margin-top: 0.3rem;
}

.doc__date {
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

.draft {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border: 2px dashed var(--red);
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ------------------------------------------------------- Намалено движение */

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

/* Малки екрани: звездичките да не пресичат текста */
@media (max-width: 51.99rem) {
  .menu-section .s-menu-a { top: 1.2rem; left: auto; right: 6%; }
  .summary .s-sum-a { top: 1rem; }
  .story .s-story-c { display: none; }
  .final .s-final-c { display: none; }
}

/* Снимка на шефа */
.chef-photo {
  max-width: 20rem;
  margin-top: 1.8rem;
}

.chef-photo[hidden],
.past[hidden] {
  display: none;
}

.chef-photo-frame {
  width: min(100%, 17rem);
  margin-inline: auto;
  margin-top: 0.8rem;
  aspect-ratio: 2 / 3;
  border: 2px solid var(--cream);
  overflow: hidden;
  background: rgba(238, 231, 219, 0.12);
}

.chef-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.chef-photo figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
}

/* Без снимка: името на шефа стои най-отгоре като представяне */
.chef-photo:not(:has(.chef-photo-frame)) figcaption {
  margin-top: 0;
}

.chef-role {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chef-name {
  display: block;
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  line-height: 1.15;
}

/* Видео с шеф Артур в секцията му */
.chef-video-slot {
  margin-top: 1.6rem;
}

.chef-video-slot[hidden] {
  display: none;
}

.chef-video {
  position: relative;
  width: min(100%, 17rem);
  margin-top: 0;
  padding: 0.5rem;
  border: 2px solid var(--cream);
  border-radius: 0.8rem;
  background: rgba(238, 231, 219, 0.12);
}

.chef-clip {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #1c0a0a;
  border-radius: 0.4rem;
  pointer-events: none;
}

.chef-video .video-toggle {
  right: 1rem;
  bottom: 1rem;
  min-width: 4.5rem;
  min-height: 2.5rem;
  padding: 0.3rem 0.7rem;
}

.chef-video .video-sound {
  right: auto;
  left: 1rem;
}

.story-body > .story-chef:first-child {
  margin-top: 0;
}

.story-text--after {
  margin-top: 1.6rem;
}

/* Предишни тематични вечери */
.past-list {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
}

.past-frame {
  border: 2px solid var(--red);
  overflow: hidden;
  background: var(--red-soft);
}

.past-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.past-name {
  margin-top: 0.7rem;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.15;
}

@media (min-width: 44rem) {
  .past-list {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }
}

@media (max-width: 51.99rem) {
  .story .s-story-b { display: none; }
}

/* Телефон, секция „Музика“: звездичката не пада върху текста (след основните правила) */
@media (max-width: 51.99rem) {
  .music-section .s-music-a { left: auto; right: 24%; top: 1.2rem; }
}

/* Телефон: снимките, видеата и бутоните са центрирани */
@media (max-width: 51.99rem) {
  .chef-photo {
    max-width: none;
  }

  .chef-video {
    margin-inline: auto;
  }

  .two-col--music .musician {
    justify-self: center;
    text-align: center;
  }

  .summary-action .btn,
  .final .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 51.99rem) {
  .chef-photo figcaption {
    text-align: center;
  }

  .final .s-final-a {
    top: 0.9rem;
    right: 5%;
    bottom: auto;
    left: auto;
  }
}

/* Компютър: снимката на шефа е вляво, под нея са цитатът и кратката биография */
@media (min-width: 52rem) {
  .chef-photo-frame {
    margin-inline: 0;
  }

  .story-head .story-chef,
  .story-head .story-about {
    margin-top: 1.4rem;
    max-width: 24rem;
  }
}

/* Втората част от текста за шефа (Hell's Kitchen) е преди видеото, а видеото е точно преди „На 14 ноември…“ */
.story-about--after-video {
  margin-top: 1.4rem;
}

.story-about--after-video[hidden] {
  display: none;
}
