/* Шаурмичная — landing */
:root {
  --max: 1120px;
  --bg: #0f0e0c;
  --bg-elevated: #1a1815;
  --surface: #faf7f2;
  --surface-tint: #fff5eb;
  --accent: #e85d04;
  --accent-hover: #f48c06;
  --accent-soft: rgba(232, 93, 4, 0.12);
  --text: #1a1612;
  --text-muted: #5c5348;
  --border: rgba(26, 22, 18, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 48px rgba(15, 14, 12, 0.12);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav {
  position: relative;
}

.nav__toggle {
  display: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #dc2f02);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #e85d04);
}

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

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--dark {
  background: var(--bg);
  color: #fff;
}

.btn--dark:hover {
  background: #2a2620;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(250, 247, 242, 0.97) 0%, rgba(250, 247, 242, 0.88) 42%, rgba(250, 247, 242, 0.35) 100%),
    url("https://images.unsplash.com/photo-1599487488170-d11ec9c172f0?w=1920&q=85") center / cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 520px;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.hero__stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  margin: 0;
}

.hero__stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--tint {
  background: var(--surface-tint);
}

.section--dark {
  background: var(--bg);
  color: #e8e4dc;
}

.section--accent {
  background: linear-gradient(135deg, #c2410c 0%, #e85d04 50%, #f48c06 100%);
  color: #fff;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__head--light .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--dark .section__subtitle {
  color: rgba(232, 228, 220, 0.7);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 56px rgba(15, 14, 12, 0.14);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.card__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card__meta {
  margin: 0;
  font-weight: 800;
  color: var(--accent);
  font-size: 1rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.features__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--accent-soft);
  border-radius: 12px;
}

.features strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.features p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review {
  margin: 0;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 14, 12, 0.06);
}

.review p {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
}

.review footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* CTA */
.cta-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.cta-block__lead {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

.cta-block__list {
  margin: 0;
  padding-left: 1.2rem;
  opacity: 0.95;
}

.cta-block__list li {
  margin-bottom: 0.5rem;
}

.cta-block__card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.cta-block__card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.cta-block__address,
.cta-block__phone,
.cta-block__hours {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cta-block__phone a {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-block__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* Footer */
.footer {
  background: var(--bg);
  color: rgba(232, 228, 220, 0.65);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo--footer {
  color: #fff;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
}

.footer__up {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-hover);
}

.footer__up:hover {
  color: #fff;
}

/* Mobile */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: -1;
  }

  .split__media img {
    min-height: 280px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .gallery__item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .cta-block {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    min-width: 200px;
    padding: 0.75rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list a {
    padding: 0.5rem 0.75rem;
  }

  .header__cta {
    display: none;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--lg,
  .gallery__item--wide {
    grid-column: span 1;
  }

  .footer__copy {
    text-align: left;
    flex-basis: 100%;
    order: 3;
  }
}

/* === DEMO SITE watermark (auto) === */
html::before {
  content: "DEMO SITE";
  position: fixed;
  left: clamp(12px, calc((100vw - min(var(--max), (100vw - 2.5rem))) / 4), 96px);
  top: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 45px;
  text-transform: uppercase;
  opacity: 0.34;
  color: rgba(255, 255, 255, 0.94);
  mix-blend-mode: difference;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  user-select: none;
  z-index: 200;
}

@media (prefers-color-scheme: dark) {
  html::before {
    opacity: 0.36;
    color: rgba(242, 246, 255, 0.96);
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
  }
}