/* ============================================================
   СмартФастФуд · Landing styles
   Эстетика: премиальный wellness, мраморный кремовый фон,
   шалфейно-зелёные акценты, элегантная типографика.
============================================================ */

:root {
  /* Palette */
  --cream:        #FAF7F2;
  --cream-warm:   #F4EFE6;
  --cream-dark:   #ECE6DB;
  --paper:        #FFFFFF;

  --ink:          #1C1D17;
  --ink-soft:     #3D3F36;
  --muted:        #767569;
  --hairline:     #D9D3C6;

  --sage:         #8DA083;
  --sage-strong:  #6E8264;
  --sage-deep:    #3E4F37;
  --sage-soft:    #EEF1E8;

  --gold:         #B58F4D;
  --gold-soft:    #E9D9B8;

  --shadow-sm:    0 1px 2px rgba(31,30,20,.05);
  --shadow-md:    0 16px 40px -20px rgba(40,45,30,.18);
  --shadow-lg:    0 40px 80px -32px rgba(40,45,30,.28);

  --radius:       4px;
  --radius-lg:    18px;

  --maxw:         1240px;

  --font-serif:   'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans:    'Manrope', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   Reset & base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { padding: 0; list-style: none; margin: 0; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 500; }

/* Marble grain overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(180,160,120,.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(110,130,100,.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   Typography
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 6vw, 92px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0; }

.eyebrow, .block-label, .duo-label, .pkg-sub, .modal-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s cubic-bezier(.2,.7,.2,1); display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 6px 20px -8px rgba(28,29,23,.4);
}
.btn-primary:hover { background: var(--sage-deep); box-shadow: 0 10px 28px -10px rgba(62,79,55,.55); transform: translateY(-1px); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: var(--paper); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  padding: 16px 8px;
}
.btn-ghost:hover { color: var(--sage-strong); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 20px 36px; font-size: 14px; }

/* ============================================================
   Nav
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all .3s ease;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  border-radius: 2px;
  letter-spacing: 0;
}
.brand-mark-light { background: var(--cream); color: var(--ink); }
.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 36px; align-items: center; }

/* Partner logos in header — dedicated row below brand + nav */
.partner-logos {
  order: 3;
  flex-basis: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.partner-logos img {
  height: 68px;
  width: auto;
  display: block;
  opacity: .95;
  transition: opacity .2s;
}
.partner-logos img:hover { opacity: 1; }
/* When scrolled, collapse the logo row so the sticky bar stays compact */
.nav.is-scrolled .partner-logos { display: none; }

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius);
}
.nav-links a.nav-cta:hover { background: var(--sage-deep); }

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  min-height: 720px;
  padding: 210px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-height: 720px) {
  .hero { min-height: calc(100vh - 0px); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(141,160,131,.15), transparent 60%),
    radial-gradient(ellipse 80% 40% at 10% 90%, rgba(181,143,77,.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .6;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.eyebrow { margin-bottom: 28px; }
.eyebrow-hero {
  font-size: clamp(20px, 2.5vw, 38px);
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-strong);
  display: block;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-strong);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}

.hero-title {
  margin-bottom: 32px;
  font-weight: 500;
}
.hero-title .line { display: block; }
.hero-title .ital { font-style: italic; font-weight: 400; color: var(--sage-strong); }
.hero-title .line-sub {
  font-size: 0.42em;
  margin-top: 18px;
  letter-spacing: -0.005em;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.2;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.hero-list .bullet {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-strong);
  font-style: italic;
  letter-spacing: 0.02em;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tag {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink-soft);
  border-left: 2px solid var(--sage);
  padding-left: 18px;
  max-width: 460px;
}

/* Hero aside */
.hero-aside { position: relative; }
.hero-card {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }
.hero-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}
.hero-card figcaption {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 240px;
  line-height: 1.45;
}
.hero-card figcaption span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero-meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-meta div {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  text-align: center;
}
.hero-meta b {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 4px;
}
.hero-meta span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint i {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--sage-strong), transparent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Section base
============================================================ */
.section {
  position: relative;
  padding: 120px 0;
}
.section-dark {
  background: var(--sage-deep);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark .section-lead, .section-dark .section-num { color: rgba(250,247,242,.7); }
.section-dark .eyebrow, .section-dark .block-label, .section-dark .duo-label,
.section-dark .modal-eyebrow { color: var(--gold-soft); }

.section-cream { background: var(--cream-warm); }

.section-head {
  max-width: 920px;
  margin-bottom: 80px;
}
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.section-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--sage-strong);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sage);
  min-width: 60px;
}
.section-dark .section-num { color: var(--gold-soft); border-color: var(--gold); }

.section-title {
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 760px;
}
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   Problem (Экран 2)
============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.problem-card {
  background: var(--paper);
  padding: 36px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover { border-color: var(--sage); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.problem-card-wide { grid-column: span 4; }
.problem-card-wide {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 24px;
  align-items: start;
}
.problem-card-wide .card-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  line-height: 1;
  padding-top: 4px;
}
.problem-card-wide > h3 { grid-column: 2; grid-row: 1; margin-bottom: 6px; }
.problem-card-wide > p  { grid-column: 2; grid-row: 2; font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 720px; }
.problem-card-wide-body { grid-column: 2; grid-row: 1 / span 2; }
.problem-card-wide-body h3 { margin-bottom: 10px; }
.problem-card-wide-body p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 720px; }

.card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--sage-strong);
  margin-bottom: 18px;
  font-weight: 500;
}
.problem-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.problem-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.quote-block {
  margin-top: 80px;
  padding: 60px 80px;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream));
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--sage-soft);
}
.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}
.quote-block blockquote strong {
  font-weight: 500;
  color: var(--sage-deep);
}

/* ============================================================
   Concept (Экран 3 — dark)
============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.concept-card {
  background: var(--sage-deep);
  padding: 50px 44px;
  transition: background .4s;
}
.concept-card:hover { background: #475C40; }
.concept-card header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}
.concept-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--gold-soft);
  font-weight: 500;
}
.concept-card h3 {
  font-size: 28px;
  color: var(--cream);
}
.concept-card p {
  font-size: 16px;
  color: rgba(250,247,242,.78);
  line-height: 1.7;
  margin-bottom: 20px;
}
.concept-card footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1.45;
}

.cta-band {
  margin-top: 60px;
  padding: 40px 48px;
  background: rgba(0,0,0,.15);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--cream);
  flex: 1;
  min-width: 280px;
}
.cta-band-soft {
  background: var(--sage-soft);
  margin-top: 80px;
}
.cta-band-soft p { color: var(--ink-soft); font-size: 20px; }

/* ============================================================
   5 Concepts (Экран 4)
============================================================ */
.concepts-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.concepts-image {
  margin: 0;
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.concepts-image img { width: 100%; height: auto; }

.concepts-list { display: flex; flex-direction: column; }
.concept-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.concept-row:last-child { border-bottom: 1px solid var(--hairline); }
.row-label .tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 100px;
  text-transform: uppercase;
  border: 1px solid var(--sage);
}
.concept-row h3 {
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.concept-row p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================================
   Results / Duo (Экран 5)
============================================================ */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}
.duo-col {}
.duo-resort h3, .duo-guest h3 {
  font-size: 30px;
  margin-bottom: 28px;
  line-height: 1.2;
}
.duo-label { display: block; margin-bottom: 18px; }
.duo-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.duo-col ul li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.duo-col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 1px;
  background: var(--sage-strong);
}

.duo-divider {
  width: 1px;
  background: var(--hairline);
  align-self: stretch;
}

.duo-stat {
  padding: 28px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage-strong);
}
.duo-big {
  display: block;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 600;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.duo-big-text {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 500;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.duo-stat > span:last-child {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   System (Экран 6)
============================================================ */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.block-label { display: block; margin-bottom: 24px; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%236E8264' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 14px;
  background-repeat: no-repeat;
}

.system-pillars { display: flex; flex-direction: column; gap: 28px; }
.pillar {
  padding: 28px 32px;
  background: var(--paper);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage-strong);
  transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.pillar h4 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.center-cta { text-align: center; margin-top: 30px; }

/* ============================================================
   Packages (Экран 7)
============================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.package {
  background: var(--paper);
  padding: 48px 36px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }

.package-featured {
  background: var(--sage-deep);
  color: var(--cream);
  border-color: var(--sage-deep);
  transform: scale(1.04);
  z-index: 2;
}
.package-featured:hover { transform: scale(1.04) translateY(-6px); }
.package-featured h3 { color: var(--cream); }
.package-featured .pkg-num { color: var(--gold-soft); }
.package-featured .pkg-sub { color: var(--gold-soft); }
.package-featured .pkg-lead { color: rgba(250,247,242,.95); }
.package.package-featured ul li { color: #FAF7F2; opacity: 1; }
.package.package-featured ul li::before { background: var(--gold); box-shadow: 0 0 0 2px rgba(181,143,77,.25); }

.pkg-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--gold);
  color: var(--paper);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
}
.package header { margin-bottom: 24px; }
.pkg-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--sage-strong);
  display: block;
  margin-bottom: 8px;
}
.package h3 {
  font-size: 36px;
  margin-bottom: 4px;
}
.pkg-sub { color: var(--muted); }
.pkg-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.package-featured .pkg-lead { border-color: rgba(255,255,255,.15); }
.package ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.package ul li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.package ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-strong);
}

.promo {
  display: flex;
  justify-content: center;
}
.promo-inner {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: var(--cream-warm);
  border: 1px dashed var(--gold);
  border-radius: 100px;
  flex-wrap: wrap;
  justify-content: center;
}
.promo-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.promo-code {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.promo-hint {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================================
   Final (Экран 8 — dark)
============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  margin-bottom: 90px;
  border-radius: var(--radius);
  overflow: hidden;
}
.result-tile {
  background: var(--sage-deep);
  padding: 44px 36px;
  transition: background .3s;
}
.result-tile:hover { background: #475C40; }
.r-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-soft);
  margin-bottom: 24px;
  font-weight: 500;
}
.result-tile p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--cream);
}
.result-tile p strong { color: var(--gold-soft); font-weight: 500; }

.final-pitch {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}
.final-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.final-pitch h3 {
  font-size: clamp(34px, 4vw, 56px);
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.15;
}
.final-pitch p {
  font-size: 18px;
  color: rgba(250,247,242,.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ============================================================
   Footer
============================================================ */
.footer {
  background: var(--ink);
  color: rgba(250,247,242,.7);
  padding: 60px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-inner > div { display: flex; align-items: center; gap: 14px; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}
.footer p { max-width: 460px; font-size: 14px; line-height: 1.5; }
.footer-email {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.footer-email:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.footer small { font-size: 12px; opacity: .5; letter-spacing: 0.04em; }

/* ============================================================
   Modal
============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 23, .55);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
.modal-window {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 28px;
  color: var(--ink-soft);
  border-radius: 50%;
  transition: all .2s;
}
.modal-close:hover { background: var(--hairline); color: var(--ink); }

.modal-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--sage-strong);
}
.modal-content h3 {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.modal-lead {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.55;
}

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.field > span i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}
.field input, .field textarea {
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--sage-strong);
  box-shadow: 0 0 0 3px rgba(141,160,131,.15);
}

.form-foot {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}
.modal-success .success-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  color: var(--sage-strong);
}
.modal-success .success-mark svg { width: 100%; height: 100%; }
.modal-success h3 { font-size: 30px; margin-bottom: 14px; }
.modal-success p { color: var(--ink-soft); margin-bottom: 28px; }

/* ============================================================
   Reveal animation
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-card img { height: 480px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card-wide { grid-column: span 2; }
  .concept-grid { grid-template-columns: 1fr; }
  .concepts-showcase { grid-template-columns: 1fr; gap: 40px; }
  .concepts-image { position: static; max-width: 600px; margin: 0 auto; }
  .system-grid { grid-template-columns: 1fr; gap: 60px; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-featured { transform: none; }
  .package-featured:hover { transform: translateY(-6px); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .duo-divider { display: none; }
  .nav-links { gap: 20px; }
  .partner-logos { justify-content: center; gap: 28px; }
  .partner-logos img { height: 58px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 240px 0 60px; min-height: auto; }
  .partner-logos { gap: 20px; padding-top: 12px; margin-top: 4px; }
  .partner-logos img { height: 46px; }
  .hero-list { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .nav-links { display: none; }
  .nav-links a.nav-cta { display: inline-flex; }
  .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 40px 28px; }
  .cta-band { padding: 28px; }
  .modal-window { padding: 40px 28px; }
  .modal-content h3 { font-size: 26px; }
  .concept-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-aside { display: flex; flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero-title .line-sub { font-size: 18px; }
  .duo-big { font-size: 44px; }
  .package h3 { font-size: 28px; }
  .promo-inner { padding: 18px 24px; gap: 12px; }
  .promo-code { font-size: 22px; }
}
