:root {
  --bg: oklch(0.96 0.015 75);
  --bg-soft: oklch(0.985 0.009 82);
  --surface: oklch(0.995 0.004 88);
  --surface-alt: oklch(0.955 0.02 76);
  --text: oklch(0.2 0.03 60);
  --muted: oklch(0.43 0.02 58);
  --line: oklch(0.89 0.02 76);
  --primary: oklch(0.61 0.22 38);
  --primary-deep: oklch(0.5 0.18 38);
  --warm: oklch(0.9 0.09 72);
  --cool: oklch(0.79 0.08 240);
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 28px 60px color-mix(in oklab, var(--primary) 12%, transparent);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(1200px 760px at 12% -12%, color-mix(in oklab, var(--warm) 52%, transparent) 0%, transparent 58%),
    radial-gradient(860px 560px at 92% 5%, color-mix(in oklab, var(--primary) 16%, transparent) 0%, transparent 54%),
    radial-gradient(600px 420px at 50% 100%, color-mix(in oklab, var(--cool) 8%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 34%, oklch(0.94 0.03 66) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3rem, 4.4vw, 5rem) 0;
}

/* ── Ambient glow ── */
.page-glow {
  position: fixed;
  inset: -18% auto auto 50%;
  transform: translateX(-50%);
  width: min(980px, 95vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 22%, transparent) 0%, color-mix(in oklab, var(--warm) 10%, transparent) 35%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Fire particles ── */
.fire-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fire-particles span {
  position: absolute;
  bottom: -40px;
  font-size: clamp(1rem, 2vw, 1.6rem);
  opacity: 0;
  animation: float-fire linear infinite;
}

.fire-particles span:nth-child(1) {
  left: 8%;
  animation-duration: 7s;
  animation-delay: 0s;
}

.fire-particles span:nth-child(2) {
  left: 22%;
  animation-duration: 9s;
  animation-delay: 2s;
}

.fire-particles span:nth-child(3) {
  left: 42%;
  animation-duration: 8s;
  animation-delay: 4.5s;
}

.fire-particles span:nth-child(4) {
  left: 60%;
  animation-duration: 11s;
  animation-delay: 1s;
}

.fire-particles span:nth-child(5) {
  left: 77%;
  animation-duration: 8.5s;
  animation-delay: 3s;
}

.fire-particles span:nth-child(6) {
  left: 92%;
  animation-duration: 10s;
  animation-delay: 5.5s;
}

.fire-particles span::before {
  content: "🔥";
}

@keyframes float-fire {
  0% {
    bottom: -40px;
    opacity: 0;
    transform: translateX(0) scale(0.6);
  }

  10% {
    opacity: 0.55;
  }

  85% {
    opacity: 0.35;
  }

  100% {
    bottom: 108vh;
    opacity: 0;
    transform: translateX(30px) scale(0.9);
  }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg-soft) 66%, white 34%);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 82%, white 18%);
  box-shadow: 0 10px 28px rgba(98, 52, 25, 0.06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a:not(.button) {
  color: var(--muted);
  font-weight: 600;
}

/* ── Buttons ── */
.button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--primary) 68%, white 32%));
  color: oklch(0.98 0 0);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px color-mix(in oklab, var(--primary) 22%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 18px 34px color-mix(in oklab, var(--primary) 28%, transparent);
}

.button-small {
  padding: 0.65rem 1rem;
}

.button-ghost {
  color: var(--primary-deep);
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface-alt) 78%, white 22%), color-mix(in oklab, var(--surface) 94%, var(--warm) 6%));
  box-shadow: none;
  border: 1px solid color-mix(in oklab, var(--line) 76%, var(--primary) 24%);
}

/* ── Eyebrow / section-sub ── */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #b7764c;
  margin-bottom: 0.95rem;
}

.section-sub {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 70ch;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
  padding-top: clamp(3rem, 5vw, 5rem);
}

.hero-content,
.bento-tile,
.plan-card,
.cta {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-content {
  padding: clamp(1.6rem, 3vw, 2.55rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 90%, var(--warm) 10%) 0%, color-mix(in oklab, var(--surface) 96%, white 4%) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -18% auto auto -10%;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 16%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-metrics li {
  background: color-mix(in oklab, var(--surface-alt) 85%, white 15%);
  border: 1px solid color-mix(in oklab, var(--line) 76%, var(--primary) 24%);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 20px color-mix(in oklab, var(--primary) 8%, transparent);
}

.hero-metrics span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card {
  padding: 1.45rem;
  display: grid;
  align-content: space-between;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 93%, white 7%) 0%, color-mix(in oklab, var(--warm) 24%, var(--surface) 76%) 100%);
  min-height: 100%;
}

.hero-card p {
  color: #57483c;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -14% -16% auto;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Chip ── */
.chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 117, 53, 0.17);
  border: 1px solid rgba(255, 117, 53, 0.34);
  font-size: 0.79rem;
  font-weight: 700;
  color: #9f4e2d;
}

.chip-fire {
  background: linear-gradient(125deg, rgba(255, 80, 0, 0.18), rgba(255, 200, 50, 0.22));
  border-color: rgba(255, 100, 30, 0.45);
  color: #8f3a10;
}

.hero-card-meta {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.section-head {
  margin-bottom: 1rem;
}

/* ── Bento grid ── */
.bento-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1.2fr 0.95fr 0.85fr;
}

.bento-tile {
  padding: 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 94%, white 6%) 0%, color-mix(in oklab, var(--surface) 90%, var(--warm) 10%) 100%);
  position: relative;
  overflow: hidden;
}

.bento-tile:hover,
.bento-tile:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(255, 109, 47, 0.16);
}

.bento-tile p {
  color: var(--muted);
}

.bento-tile ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: #493d33;
}

.tile-large {
  grid-column: span 2;
  min-height: 210px;
}

.tile-tall {
  grid-row: span 2;
}

.tag-row {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-row span {
  background: color-mix(in oklab, var(--surface-alt) 85%, white 15%);
  border: 1px solid color-mix(in oklab, var(--line) 78%, var(--primary) 22%);
  border-radius: 999px;
  padding: 0.25rem 0.56rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.accent-tile {
  background: linear-gradient(165deg, color-mix(in oklab, var(--warm) 70%, white 30%) 0%, color-mix(in oklab, var(--surface-alt) 60%, var(--warm) 40%) 100%);
}

/* ── Locations tile ── */
.bento-locations {
  position: relative;
  overflow: hidden;
}

.locations-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.locations-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.flag {
  font-size: 1.4rem;
  line-height: 1;
}

.locations-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.locations-hover-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.85rem;
  font-size: 0.72rem;
  color: #c07848;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.bento-locations:hover .locations-hover-hint {
  opacity: 0;
}

.locations-extras {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, color-mix(in oklab, var(--surface) 92%, white 8%) 40%, rgba(255, 255, 255, 0));
  padding: 2.5rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.4rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
  pointer-events: none;
}

.bento-locations:hover .locations-extras {
  transform: translateY(0);
  opacity: 1;
}

.locations-extras span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* ── Plans ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.plan-card {
  position: relative;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 94%, white 6%) 0%, color-mix(in oklab, var(--surface) 90%, var(--warm) 10%) 100%);
  border: 1px solid color-mix(in oklab, var(--line) 86%, var(--primary) 14%);
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.plan-header h3 {
  font-size: 1.1rem;
}

.price {
  font-family: "Unbounded", sans-serif;
  font-size: 1.72rem;
}

.price span {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-note {
  font-size: 0.85rem;
  color: #a06642;
  margin-top: -0.2rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #4f4339;
  display: grid;
  gap: 0.35rem;
}

.plan-card .button {
  margin-top: auto;
  padding-top: 0.85rem;
}

.plan-card.popular {
  border-color: color-mix(in oklab, var(--primary) 34%, var(--line) 66%);
  box-shadow: 0 22px 38px color-mix(in oklab, var(--primary) 16%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 86%, white 14%) 0%, color-mix(in oklab, var(--warm) 30%, var(--surface) 70%) 100%);
}

.plan-card.popular::before {
  content: "Популярно";
  position: absolute;
  top: 1rem;
  right: -2.4rem;
  rotate: 34deg;
  background: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--primary) 72%, white 28%));
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 2.6rem;
  box-shadow: 0 12px 24px rgba(129, 65, 29, 0.2);
}

.plan-year {
  border-color: color-mix(in oklab, var(--primary) 42%, var(--line) 58%);
  box-shadow: 0 22px 38px color-mix(in oklab, var(--primary) 22%, transparent);
  background: linear-gradient(165deg, color-mix(in oklab, var(--warm) 60%, white 40%) 0%, color-mix(in oklab, var(--surface-alt) 55%, var(--warm) 45%) 100%);
}

.plan-year-bonus {
  background: rgba(255, 120, 40, 0.12);
  border: 1px solid rgba(255, 120, 40, 0.3);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7a3a10;
}

/* ── FAQ ── */
.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 95%, white 5%) 0%, color-mix(in oklab, var(--surface) 92%, var(--warm) 8%) 100%);
  padding: 0.9rem 1rem;
  transition: background 0.2s;
}

.faq-list details[open] {
  background: color-mix(in oklab, var(--surface) 90%, var(--warm) 10%);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin-top: 0.55rem;
  color: var(--muted);
}

/* ── CTA ── */
.cta {
  padding: clamp(2.2rem, 4vw, 3.8rem);
  background:
    radial-gradient(900px 260px at 50% 0%, color-mix(in oklab, var(--warm) 28%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, color-mix(in oklab, var(--surface) 92%, white 8%) 0%, color-mix(in oklab, var(--surface) 88%, var(--warm) 12%) 100%);
}

.cta-fire {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.cta p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.cta-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--line) 84%, white 16%);
  margin-top: 1.8rem;
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  padding: 0.8rem 0;
  border-top: 1px solid color-mix(in oklab, var(--line) 78%, white 22%);
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  color: color-mix(in oklab, var(--muted) 90%, var(--primary) 10%);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav a:hover {
  color: var(--primary-deep);
}

.footer-top {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-deep);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile menu toggle ── */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 90%, var(--warm) 10%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
}

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

/* ── Tablet breakpoint ── */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-large,
  .tile-tall {
    grid-column: auto;
    grid-row: auto;
  }

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

/* ── Mobile breakpoint ── */
@media (max-width: 760px) {
  .section {
    padding: 2.6rem 0;
  }

  .site-header {
    backdrop-filter: blur(4px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: color-mix(in oklab, var(--surface) 92%, var(--warm) 8%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

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

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem 0;
  }
}
