:root {
  --ink: #f6fbff;
  --muted: rgba(236, 252, 255, .76);
  --dim: rgba(236, 252, 255, .58);
  --navy: #06202b;
  --deep: #041018;
  --teal: #00b7c7;
  --aqua: #6df3ff;
  --gold: #f5c95a;
  --gold-2: #9a6a1f;
  --glass: rgba(5, 32, 42, .64);
  --glass-strong: rgba(7, 38, 50, .82);
  --border: rgba(245, 201, 90, .34);
  --white-border: rgba(255, 255, 255, .16);
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --radius: 28px;
  --container: 1180px;
  --font: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-section-bg: linear-gradient(180deg, #062836 0%, #07303d 48%, #052631 100%);
  --site-card-bg: linear-gradient(145deg, rgba(8, 54, 68, .78), rgba(5, 35, 46, .66));
  --site-card-border: rgba(255, 255, 255, .16);
  --site-card-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 196, 210, .24), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(245, 201, 90, .14), transparent 28rem),
    linear-gradient(145deg, #031017 0%, #062836 42%, #052631 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
ul, ol { color: var(--muted); line-height: 1.65; }
button, input, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 820px; text-align: center; }
.section-pad { padding: 94px 0; position: relative; }
.center { text-align: center; margin-top: 34px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  width: min(1220px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--white-border);
  border-radius: 999px;
  background: rgba(3, 19, 27, .78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
}
.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 228px; }
.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #1d1200;
  font-weight: 900;
  background: linear-gradient(135deg, #fff3b0, var(--gold), #b17924);
  box-shadow: 0 0 22px rgba(245, 201, 90, .35);
}
.brand small { display: block; color: var(--dim); margin-top: 2px; font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.site-nav a, .site-nav button { display: inline-flex; align-items: center; padding: 10px 6px; transition: color .2s ease, transform .2s ease; white-space: nowrap; color: inherit; background: transparent; border: 0; font: inherit; cursor: pointer; }
.site-nav a:hover, .site-nav button:hover { color: #fff7d7; transform: translateY(-1px); }
.site-nav .site-header__nav-link {
  padding: 12px 16px;
  min-height: 44px;
  line-height: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}
.site-nav .site-header__nav-link:hover { background: transparent; }
.nav-toggle { display: none; }

/* Unified header actions and links */
.site-header__action,
.site-header__menu-button,
.site-header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  min-width: 0;
  min-height: 52px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(245,201,90,.28);
  background: linear-gradient(180deg, rgba(7,38,50,.64), rgba(3,19,27,.78));
  color: #fff3b0;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
}
.site-header__nav-link { padding: 12px 16px; min-height: 44px; line-height: 1; text-align: center; border-radius: 999px; font-weight: 700; }
.site-header__action:hover,
.site-header__menu-button:hover,
.site-header__nav-link:hover,
.site-header__cta:hover {
  color: #fff7d7;
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(9,53,62,.84), rgba(5,32,42,.92));
}
.site-header .brand { min-width: auto; }

.site-header__main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(245, 205, 116, 0.58);
  background: rgba(3, 24, 35, 0.58);
  color: #f6dc8f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
}
.site-header__main-btn:hover,
.site-header__main-btn:focus-visible {
  color: #ffe9a6;
  border-color: rgba(245, 205, 116, 0.82);
  background: rgba(8, 36, 48, 0.72);
  box-shadow: 0 0 18px rgba(245, 205, 116, 0.14);
}

@media (min-width: 900px) {
  .site-header__inner {
    display: flex !important;
    align-items: center !important;
  }

  .site-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
  }

  .site-header__menu-button {
    display: none !important;
  }

  .site-header__order-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 899px) {
  .site-header__menu-button,
  .nav-toggle { display: flex !important; }

  .site-header__inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    grid-template-areas: "demo menu order" !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .site-header__demo-btn {
    grid-area: demo !important;
    justify-self: start !important;
  }

  .site-header__menu-button {
    grid-area: menu !important;
    justify-self: center !important;
    display: inline-flex !important;
  }

  .site-header__order-btn {
    grid-area: order !important;
    justify-self: end !important;
    display: inline-flex !important;
  }

  .site-nav {
    display: none !important;
  }

  .site-header__demo-btn,
  .site-header__menu-button,
  .site-header__order-btn {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
}

@media (max-width: 360px) {
  .site-header__demo-btn,
  .site-header__menu-button,
  .site-header__order-btn {
    font-size: 12px !important;
    padding: 0 8px !important;
    gap: 6px !important;
  }
}

@media (max-width: 1020px) {
  .site-header__action { height: 48px; padding: 10px 14px; }
  .site-header__nav-link { height: 44px; padding: 10px 12px; }
}

.intro-modal-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(1, 8, 12, .78); backdrop-filter: blur(8px); }
.intro-modal-overlay[hidden] { display: none; }
.intro-modal { width: min(640px, 100%); max-height: min(85vh, 760px); overflow: auto; padding: 34px 32px 28px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(6, 29, 37, .96), rgba(9, 53, 62, .92)); box-shadow: 0 32px 90px rgba(0,0,0,.46); }
.intro-modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.intro-modal__close:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.intro-modal__content { display: grid; gap: 18px; }
.intro-modal__text p { margin: 0; color: rgba(246,251,255,.92); line-height: 1.85; }
.intro-modal h2, .intro-modal__title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}
.intro-modal__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.intro-modal__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
}
@media (max-width: 520px) {
  .intro-modal__actions { flex-direction: column; align-items: stretch; }
  .intro-modal__actions a { width: 100%; min-width: 0; }
}
.btn--intro { min-width: 170px; border-radius: 999px; padding: 14px 20px; color: #fff; transition: transform .2s ease, box-shadow .2s ease; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); }
.btn--intro:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.intro-inline-link { color: #f6dc8f; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(246, 220, 143, 0.45); text-underline-offset: 4px; }
.intro-inline-link:hover,
.intro-inline-link:focus-visible { color: #ffe9a6; text-decoration-color: rgba(255, 233, 166, 0.9); }
.intro-contact-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; text-align: center; }
.intro-contact-icons { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.intro-icon-link { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(245, 205, 116, 0.52); background: rgba(3, 24, 35, 0.48); color: #f6dc8f; font-size: 18px; font-weight: 700; text-decoration: none; line-height: 1; }
.intro-icon-link:hover,
.intro-icon-link:focus-visible { color: #ffe9a6; border-color: rgba(245, 205, 116, 0.82); background: rgba(8, 36, 48, 0.72); }
@media (max-width: 520px) {
  .intro-contact-row { flex-direction: column; gap: 10px; }
  .intro-icon-link { width: 44px; height: 44px; }
}
body.no-scroll { overflow: hidden; }

@media (max-width: 640px) {
  .intro-modal { width: 100%; max-height: 90vh; padding: 24px; }
  .intro-modal__actions { flex-direction: column; }
  .btn--intro { width: 100%; min-width: 0; }
}

/* FINAL INTRO MODAL DESKTOP TITLE FIX */
@media (min-width: 901px) {
  .intro-modal .intro-modal__title,
  .intro-modal #introModalTitle,
  .intro-modal h2,
  .intro-dialog .intro-modal__title,
  .intro-dialog h2,
  .about-modal h2 {
    font-size: 34px !important;
    line-height: 1.16 !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    max-width: 620px !important;
  }
}

.hero { min-height: 640px; display: grid; align-items: center; padding-top: 70px; }
.hero__bg {
  position: absolute;
  inset: -95px 0 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 24, .25), rgba(3, 16, 24, .78)),
    url('/assets/site/riviera-wave-reference.jpg') center/cover no-repeat;
  opacity: .62;
  filter: saturate(1.1) contrast(1.02);
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 13, .05), rgba(2, 8, 13, .58) 78%, #031017 100%);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; justify-items: center; }
.glass-card, .package, .qr-card, .promo-mock, .message-card, .theme-card, .browser-frame, .benefit-panel, .doc-links {
  border: 1px solid var(--white-border);
  background: linear-gradient(145deg, rgba(7, 46, 58, .76), rgba(2, 16, 24, .62));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

main > .hero ~ section {
  background: var(--site-section-bg);
}

main > .hero ~ section .glass-card,
main > .hero ~ section .package,
main > .hero ~ section .qr-card,
main > .hero ~ section .promo-mock,
main > .hero ~ section .message-card,
main > .hero ~ section .theme-card,
main > .hero ~ section .browser-frame,
main > .hero ~ section .benefit-panel,
main > .hero ~ section .doc-links,
main > .hero ~ section .order-panel,
main > .hero ~ section .order-step-card,
main > .hero ~ section .order-details details,
main > .hero ~ section .generator-panel,
main > .hero ~ section .promo-result {
  border-color: var(--site-card-border);
  background: var(--site-card-bg);
  box-shadow: var(--site-card-shadow);
}

main > .hero ~ section .glass-card::before {
  background: radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .10), transparent 18rem), radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .10), transparent 17rem), linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,183,199,.035));
}
.hero__copy { padding: clamp(20px, 4vw, 40px); border-radius: 36px; position: relative; overflow: hidden; max-width: 920px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, rgba(7, 46, 58, .54), rgba(3, 19, 27, .42)); border: 1px solid rgba(255,255,255,.12); }
.hero__copy::before, .glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .12), transparent 18rem), radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .12), transparent 17rem), linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
  pointer-events: none;
}
.eyebrow { margin: 0 0 14px; color: #f9d77a; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.hero-title { margin: 0 0 16px; color: #f9d77a; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; text-transform: none; text-shadow: 0 2px 10px rgba(0,0,0,.22); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.03em; }
.hero__copy .lead { color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.18); }
.hero__copy .benefits span { color: rgba(255,255,255,.92); }
h1 { font-size: clamp(26px, 3vw, 40px); max-width: 940px; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }

/* Make section h2 size match hero title for visual consistency */
main h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}
h3 { font-size: 21px; }
.lead { font-size: clamp(16px, 1.5vw, 20px); max-width: 780px; color: rgba(246, 251, 255, .88); margin: 0 auto; }
.hero__actions, .footer-grid .btn { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { color: #231600; background: linear-gradient(135deg, #fff0a9, var(--gold) 48%, #b87923); box-shadow: 0 16px 42px rgba(245, 201, 90, .28); }
.btn--glass { color: #fff9dc; border: 1px solid var(--border); background: rgba(255, 255, 255, .07); }
.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.benefits span, .tag-cloud span, .benefit-panel span {
  display: inline-flex;
  border: 1px solid rgba(245, 201, 90, .25);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255, 252, 224, .86);
  background: rgba(1, 18, 25, .38);
  font-size: 13px;
}

.phone-mockup { justify-self: center; filter: drop-shadow(0 26px 54px rgba(0,0,0,.48)); }
.phone-shell {
  width: min(360px, 88vw);
  min-height: 690px;
  padding: 16px;
  border-radius: 42px;
  background: linear-gradient(145deg, #06151d, #0b3542 52%, #031018);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.035), 0 0 0 1px rgba(245,201,90,.18);
  position: relative;
}
.phone-status { width: 92px; height: 6px; border-radius: 999px; margin: 0 auto 14px; background: rgba(255,255,255,.28); }
.mock-header, .preview-hero { padding: 18px; border-radius: 24px; background: linear-gradient(135deg, rgba(0,183,199,.22), rgba(245,201,90,.15)); border: 1px solid rgba(255,255,255,.16); }
.mock-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-header span { color: var(--dim); font-size: 12px; }
.mock-search { margin: 14px 0 10px; padding: 13px 14px; border-radius: 18px; color: var(--dim); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.mock-filters { display: flex; gap: 7px; margin-bottom: 12px; }
.mock-filters span { flex: 1; padding: 8px; text-align: center; border-radius: 999px; background: rgba(109,243,255,.1); color: #c9fbff; font-size: 11px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 440px; overflow: hidden; }
.mini-grid span, .sale-cards span, .preview-cards span {
  display: block;
  padding: 11px 10px;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(0,183,199,.07));
  color: #c9fbff;
  font-size: 11px;
}
.mini-grid b { color: #fff8d6; font-size: 12px; }
.mock-contact, .generator-panel button, .promo-result button { width: 100%; margin-top: 14px; border: 0; border-radius: 18px; padding: 14px; color: #211500; font-weight: 850; background: linear-gradient(135deg, #fff0a9, var(--gold), #b87923); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.pain-grid article { min-height: 118px; padding: 22px; border-radius: 24px; border: 1px solid rgba(245,201,90,.21); background: rgba(255,255,255,.055); color: rgba(255,255,255,.88); }
.section-note { width: min(720px, calc(100% - 32px)); margin: 30px auto 0; text-align: center; font-size: 22px; color: #fff3b0; }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature-list article { position: relative; padding: 28px; border-radius: 28px; min-height: 265px; overflow: hidden; }
.feature-list span { color: rgba(245,201,90,.72); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.feature-list h3 { margin: 12px 0 10px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 48px; align-items: center; }
.split--wide { grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { padding: 18px 20px; border-left: 3px solid var(--gold); border-radius: 18px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.88); }
.message-card { margin: 0; padding: 34px; border-radius: 28px; color: #fff6d0; font-size: 23px; line-height: 1.45; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.qr-showcase { display: grid; grid-template-columns: 1fr .74fr; gap: 20px; align-items: center; }
.qr-card { padding: 28px; border-radius: 30px; text-align: center; }
.qr-card p { margin-top: 0; color: #fff7d6; font-weight: 800; }
.qr-card small { color: var(--dim); }
.qr-placeholder { width: 210px; height: 210px; max-width: 100%; margin: 22px auto; border: 12px solid rgba(255,255,255,.9); border-radius: 24px; background: conic-gradient(from 90deg, #06202b 0 25%, #f5c95a 0 36%, #06202b 0 55%, #6df3ff 0 68%, #06202b 0 80%, #f5c95a 0); position: relative; box-shadow: 0 0 34px rgba(245,201,90,.24); }
.qr-placeholder span { position: absolute; width: 44px; height: 44px; border: 9px solid #06202b; background: white; }
.qr-placeholder span:nth-child(1) { left: 13px; top: 13px; }
.qr-placeholder span:nth-child(2) { right: 13px; top: 13px; }
.qr-placeholder span:nth-child(3) { left: 13px; bottom: 13px; }
.qr-placeholder i { position: absolute; right: 42px; bottom: 42px; width: 42px; height: 42px; background: #06202b; border-radius: 8px; }
.mini-phone { min-height: 340px; border-radius: 36px; padding: 22px; background: linear-gradient(145deg, #06151d, #0a3e4c); border: 1px solid rgba(255,255,255,.16); display: grid; align-content: center; gap: 14px; text-align: center; }
.mini-phone span { color: var(--muted); }
.mini-phone button { border: 0; border-radius: 999px; padding: 12px; background: var(--gold); color: #221500; font-weight: 800; }

/* Centered QR panel (replaces mocks in QR section) */
.qr-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 36px;
  border-radius: 28px;
  text-align: center;
}
.qr-panel p { max-width: 760px; margin-left: auto; margin-right: auto; }
.qr-section__chips { justify-content: center; }
.qr-panel .tag-cloud { justify-content: center; }

.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.important { border-left: 3px solid var(--gold); padding: 16px 18px; background: rgba(245,201,90,.08); border-radius: 14px; color: #fff3bf; }
.promo-mock { padding: 22px; border-radius: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.generator-panel, .promo-result { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.generator-panel label { display: block; color: var(--dim); font-size: 12px; margin-bottom: 11px; }
.generator-panel span { display: block; margin-top: 6px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,.07); color: #fff; }
.sale-banner { padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #f5c95a, #a66c1f); color: #211500; font-weight: 900; }
.timer { margin: 12px 0; color: #fff3bd; }
.sale-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.check-list li::marker { color: var(--gold); }
.theme-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.theme-card { padding: 22px; border-radius: 28px; }
.theme-preview { height: 170px; margin-bottom: 18px; border-radius: 24px; border: 1px solid rgba(255,255,255,.16); position: relative; overflow: hidden; }
.theme-preview span { position: absolute; inset: 18px 18px auto; height: 34px; border-radius: 999px; }
.theme-preview i { position: absolute; left: 18px; bottom: 18px; width: 42%; height: 70px; border-radius: 18px; }
.theme-preview b { position: absolute; right: 18px; bottom: 18px; width: 34%; height: 70px; border-radius: 18px; }
.aurum .theme-preview { background: linear-gradient(145deg, #28113f, #0d0718); }
.aurum .theme-preview span, .aurum .theme-preview i, .aurum .theme-preview b { background: linear-gradient(135deg, #f1d17a, #6e42ad); }
.marea .theme-preview { background: linear-gradient(145deg, #063745, #041018); }
.marea .theme-preview span, .marea .theme-preview i, .marea .theme-preview b { background: linear-gradient(135deg, #6df3ff, #f5c95a); }

.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; margin-top: 36px; }
.browser-frame { border-radius: 28px; overflow: hidden; }
.browser-top { height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: rgba(1, 14, 20, .76); border-bottom: 1px solid rgba(255,255,255,.12); }
.browser-top span { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); opacity: .82; }
.browser-top em { margin-left: 14px; color: var(--dim); font-style: normal; font-size: 13px; }
.desktop-preview { min-height: 390px; display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 20px; background: linear-gradient(135deg, rgba(0,183,199,.12), rgba(245,201,90,.08)); }
.desktop-preview aside { display: grid; align-content: start; gap: 12px; }
.desktop-preview button { border: 1px solid rgba(255,255,255,.14); border-radius: 15px; padding: 12px; text-align: left; background: rgba(255,255,255,.06); color: #d7fbff; }
.preview-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.mobile-preview .compact { min-height: 430px; width: 290px; }
.mobile-preview { justify-self: center; }

.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 18px; margin-top: 38px; align-items: stretch; justify-content: center; }
.package { padding: 26px; border-radius: 30px; display: flex; flex-direction: column; border-color: var(--site-card-border); background: var(--site-card-bg); }
.package.primary { border-color: var(--site-card-border); background: var(--site-card-bg); }
.package .btn { margin-top: auto; }
.muted-small { margin-top: 10px; color: var(--dim); font-size: 14px; line-height: 1.65; }
.order-panel {
  max-width: 1160px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 34px;
  border: 1px solid var(--white-border);
  background: var(--site-card-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.order-heading { max-width: 840px; margin: 0 auto; text-align: center; }
.order-intro { max-width: 760px; margin: 14px auto 0; font-size: 16px; color: rgba(236, 252, 255, .78); }
.order-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.order-step-card {
  flex: 0 1 calc((100% - 32px) / 3);
  min-width: 260px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: var(--site-card-bg);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .28);
}
.order-step-card span { display: block; color: rgba(245,201,90,.78); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.order-step-card h3 { margin: 12px 0 10px; font-size: 20px; }
.order-step-card p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(236, 252, 255, .74); }
.order-details { max-width: 900px; margin: 30px auto 0; }
.order-details details {
  margin: 0;
  padding: 20px 22px;
  border-radius: 24px !important;
  border: 1px solid rgba(245,201,90,.24);
  background: var(--site-card-bg);
}
.order-details summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(7, 46, 58, .58);
  border: 1px solid rgba(245,201,90,.24);
  color: #fff7d0;
  font-weight: 850;
}
.order-details summary::marker { display: none; }
.order-details details[open] summary { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
.order-details details p { max-width: 760px; margin: 18px 0 14px; color: rgba(236, 252, 255, .78); }
.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.order-list li { padding-left: 16px; position: relative; }
.order-list li::before { content: "•"; position: absolute; left: 0; color: var(--gold); }
.order-action { margin-top: 30px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 0; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff9dc; background: rgba(255,255,255,.06); padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.footer-docs { display: grid; gap: 6px; font-size: 13px; margin-top: 20px; }
.benefit-panel { padding: 28px; border-radius: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
details { padding: 20px 22px; margin: 10px; border-radius: 22px !important; background: var(--site-card-bg); border: 1px solid var(--site-card-border); }
details summary { cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 18px; border-radius: 18px; background: rgba(7, 46, 58, .58); border: 1px solid rgba(245,201,90,.24); color: #fff7d0; font-weight: 800; }
details summary::marker { display: none; }
details[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
details p { margin-bottom: 0; }
.doc-links { padding: 24px; border-radius: 26px; display: grid; gap: 12px; }
.doc-links a, .footer-docs a { color: #fff0a9; text-decoration: underline; text-decoration-color: rgba(245,201,90,.35); text-underline-offset: 4px; }

.site-footer { padding: 60px 0 44px; background: var(--site-section-bg); border-top: 1px solid rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.footer-main { margin: 0 0 14px; font-size: 1.35rem; font-weight: 700; color: #fff; }
.disclaimer { font-size: 13px; color: var(--dim); margin-top: 0; }
.footer-docs { display: grid; gap: 6px; font-size: 13px; }
.scroll-controls { position: fixed; right: 20px; bottom: 22px; display: grid; gap: 12px; z-index: 60; }
.scroll-control { width: 50px; height: 50px; border-radius: 999px; border: 1px solid rgba(245,201,90,.35); background: rgba(5, 32, 42, .88); color: #fff; font-size: 20px; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.scroll-control:hover:not(:disabled) { transform: translateY(-2px); background: rgba(5, 32, 42, 1); }
.scroll-control:disabled { opacity: .4; cursor: default; }
.scroll-control--hidden { opacity: 0; pointer-events: none; }
@media (max-width: 840px) {
  .scroll-controls { right: 14px; bottom: 18px; }
}
@media (max-width: 640px) {
  .scroll-controls { right: 10px; bottom: 14px; grid-auto-flow: column; gap: 10px; }
  .scroll-control { width: 42px; height: 42px; font-size: 18px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .site-header { align-items: flex-start; border-radius: 26px; }
  .nav-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 10px 15px; background: rgba(255,255,255,.06); color: #fff4c6; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 10px); display: none; flex-direction: column; align-items: stretch; padding: 16px; border-radius: 24px; background: rgba(3, 19, 27, .94); border: 1px solid var(--white-border); }
  .site-nav.is-open { display: flex; }
  .hero__grid, .split, .split--wide, .demo-grid { grid-template-columns: 1fr; }
  .card-grid, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 360px)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 50px; }
  .phone-mockup { order: -1; }
  .qr-showcase, .promo-mock { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 62px 0; }
  .container { width: min(100% - 24px, var(--container)); }
  .hero { min-height: auto; padding-top: 38px; }
  .hero__copy { padding: 24px; border-radius: 28px; }
  h1 { font-size: clamp(33px, 11vw, 44px); }
  h2 { font-size: clamp(27px, 9vw, 36px); }
  .lead { font-size: 16px; }
  .btn { width: 100%; min-height: 56px; }
  .hero__actions { gap: 10px; }
  .benefits span { width: 100%; justify-content: center; }
  .phone-shell { min-height: 630px; border-radius: 34px; padding: 13px; }
  .mini-grid { grid-template-columns: 1fr 1fr; max-height: 378px; }
  .card-grid, .feature-list, .package-grid, .footer-grid, .two-cols, .theme-cards, .desktop-preview, .preview-cards { grid-template-columns: minmax(0, 1fr); }
  .order-panel { padding: 24px 16px; border-radius: 28px; }
  .order-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .order-step-card { min-width: 0; width: 100%; }
  .order-details details { padding: 16px; }
  .order-details summary { padding: 13px 14px; }
  .feature-list article, .package { min-height: auto; }
  .message-card { font-size: 18px; padding: 24px; }
  .qr-placeholder { width: 180px; height: 180px; }
  .browser-top em { display: none; }
  .mobile-preview .compact { width: min(290px, 88vw); }
  .site-header { width: calc(100% - 20px); margin-top: 10px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* FINAL DESKTOP HEADER BUTTON FIX */
@media (min-width: 900px) {
  .site-header {
    width: min(1440px, calc(100% - 28px));
    padding: 14px 20px;
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__main-btn {
    flex: 0 0 auto;
  }

  .site-header__order-btn {
    display: inline-flex !important;
  }

  .site-header__menu-button,
  .nav-toggle,
  .menu-toggle,
  .mobile-menu-toggle {
    display: none !important;
  }

  .site-header a.site-header__main-btn,
  .site-header .site-nav a.site-header__main-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 28px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(245, 205, 116, 0.62) !important;
    background: rgba(3, 24, 35, 0.58) !important;
    color: #f6dc8f !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    opacity: 1 !important;
  }

  .site-header a.site-header__main-btn:hover,
  .site-header .site-nav a.site-header__main-btn:hover,
  .site-header a.site-header__main-btn:focus-visible,
  .site-header .site-nav a.site-header__main-btn:focus-visible {
    color: #ffe9a6 !important;
    border-color: rgba(245, 205, 116, 0.86) !important;
    background: rgba(8, 36, 48, 0.74) !important;
    box-shadow: 0 0 18px rgba(245, 205, 116, 0.14) !important;
  }

  .site-header .site-nav a:not(.site-header__main-btn),
  .site-header .site-header__nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    line-height: 1 !important;
    text-align: center !important;
  }
}

/* Promo generator section: three text plaques only */
.promo-panel {
  max-width: 980px;
  margin: 0 auto;
}

.promo-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.promo-plaque-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 30px auto 0;
}

.promo-plaque {
  margin: 0;
  padding: 18px 22px 18px 24px;
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  border-top: 1px solid rgba(245,201,90,.18);
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(8, 54, 68, .78), rgba(5, 35, 46, .66));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  color: rgba(236, 252, 255, .82);
  line-height: 1.72;
}

@media (max-width: 640px) {
  .promo-plaque-list { gap: 14px; margin-top: 24px; }
  .promo-plaque { padding: 16px 18px; border-radius: 15px; }
}

/* FINAL UNIFIED CARD COLOR FIX: promo plaques + packages */
#promo .promo-plaque {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-card-border) !important;
  border-left: 4px solid var(--gold) !important;
  background: var(--site-card-bg) !important;
  box-shadow: var(--site-card-shadow) !important;
  color: rgba(236, 252, 255, .82) !important;
}

#promo .promo-plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .10), transparent 18rem),
    radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .10), transparent 17rem),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,183,199,.035));
  pointer-events: none;
}

#promo .promo-plaque > * {
  position: relative;
  z-index: 1;
}

#promo .promo-plaque b,
#promo .promo-plaque strong,
#promo .promo-plaque em,
#promo .promo-plaque span {
  color: inherit !important;
  font-weight: inherit !important;
}



/* FINAL FEATURES PLAQUES FIX: block "Возможности каталога" */
#features .feature-plaque-list {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 38px auto 0;
}

#features .feature-plaque {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 24px;
  border: 1px solid var(--site-card-border);
  border-left: 4px solid var(--gold);
  background: var(--site-card-bg);
  box-shadow: var(--site-card-shadow);
  backdrop-filter: blur(22px);
}

#features .feature-plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .10), transparent 18rem),
    radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .10), transparent 17rem),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,183,199,.035));
  pointer-events: none;
}

#features .feature-plaque > * {
  position: relative;
  z-index: 1;
}

#features .feature-plaque__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding-top: 3px;
  color: rgba(245,201,90,.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
}

#features .feature-plaque h3 {
  margin: 0 0 8px;
  color: rgba(245, 253, 255, .94);
}

#features .feature-plaque p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 640px) {
  #features .feature-plaque-list {
    gap: 14px;
    margin-top: 26px;
  }

  #features .feature-plaque {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 18px 20px;
    border-radius: 20px;
  }

  #features .feature-plaque__number {
    min-width: 0;
    padding-top: 0;
  }
}

/* FINAL ORDER CTA BLOCK */
#order .order-cta-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) clamp(22px, 5vw, 64px);
  border-radius: 34px;
  text-align: center;
  border: 1px solid var(--site-card-border);
  background: var(--site-card-bg);
  box-shadow: var(--site-card-shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
}

#order .order-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .10), transparent 18rem),
    radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .10), transparent 17rem),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,183,199,.035));
  pointer-events: none;
}

#order .order-cta-panel > * {
  position: relative;
  z-index: 1;
}

#order .order-cta-panel .eyebrow {
  margin-bottom: 16px;
}

#order .order-cta-panel h2 {
  max-width: 760px;
  margin: 0 auto 18px;
}

#order .order-cta-text {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(236, 252, 255, .82);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75;
}

#order .order-cta-action {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

#order .order-cta-action .btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  #order .order-cta-panel {
    width: min(100% - 24px, var(--container));
    padding: 30px 18px;
    border-radius: 26px;
  }

  #order .order-cta-panel h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  #order .order-cta-text {
    font-size: 15px;
    line-height: 1.65;
  }

  #order .order-cta-action {
    margin-top: 24px;
  }

  #order .order-cta-action .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Minimal quiet footer */
.site-footer {
  padding: 24px 0 26px;
  background: var(--site-section-bg);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-minimal {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.site-footer .footer-main {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
  letter-spacing: .01em;
  color: rgba(236, 252, 255, .76);
}
.site-footer .disclaimer {
  margin: 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(214, 234, 238, .50);
}
.site-footer .footer-meta {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(214, 234, 238, .48);
}
.site-footer .footer-meta span {
  color: rgba(236, 252, 255, .62);
}
.site-footer .footer-docs {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 9px;
  font-size: 12px;
  line-height: 1.5;
}
.site-footer .footer-meta a,
.site-footer .footer-docs a {
  color: rgba(245, 201, 90, .68);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 201, 90, .25);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer .footer-meta a:hover,
.site-footer .footer-docs a:hover {
  color: rgba(255, 230, 154, .9);
  border-bottom-color: rgba(255, 230, 154, .45);
}
.site-footer .footer-docs span {
  color: rgba(214, 234, 238, .28);
}
@media (max-width: 640px) {
  .site-footer { padding: 22px 0 24px; }
  .footer-minimal { gap: 8px; }
  .site-footer .footer-main { font-size: 13.5px; }
  .site-footer .disclaimer,
  .site-footer .footer-meta { font-size: 12px; }
  .site-footer .footer-docs { font-size: 11.8px; }
}


/* FINAL NAV CLEANUP + CENTERING FIX */
.site-header .site-nav {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.site-header .site-nav .site-header__nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.15 !important;
}

@media (min-width: 900px) {
  .site-header .site-nav {
    gap: clamp(18px, 2.1vw, 32px) !important;
  }
}

/* FINAL GOLD FLOATING SPARKLES FIX
   Warm-gold sparkles are intentionally sparse and randomly placed.
   They float above the page background, but remain behind all content. */
.site-sparkles {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  opacity: .66 !important;
  mix-blend-mode: normal !important;
  contain: paint !important;
}

.site-sparkles::before,
.site-sparkles::after {
  content: "" !important;
  position: absolute !important;
  inset: -14% !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  will-change: transform, opacity !important;
}

.site-sparkles::before {
  background-image:
    radial-gradient(circle at 7% 18%, rgba(255, 241, 178, 1) 0 1.9px, rgba(245, 201, 90, .78) 2px 3.2px, rgba(245, 201, 90, .24) 3.3px 5.6px, transparent 5.9px),
    radial-gradient(circle at 18% 71%, rgba(255, 218, 104, .94) 0 1.7px, rgba(245, 201, 90, .50) 1.8px 3.1px, transparent 3.4px),
    radial-gradient(circle at 31% 39%, rgba(255, 247, 207, .88) 0 1.35px, rgba(245, 201, 90, .42) 1.45px 2.6px, transparent 2.9px),
    radial-gradient(circle at 46% 84%, rgba(255, 224, 122, .96) 0 1.85px, rgba(245, 201, 90, .62) 1.95px 3.4px, transparent 3.8px),
    radial-gradient(circle at 63% 23%, rgba(255, 236, 158, .92) 0 1.45px, rgba(245, 201, 90, .44) 1.55px 2.9px, transparent 3.2px),
    radial-gradient(circle at 79% 62%, rgba(255, 213, 82, .86) 0 1.65px, rgba(245, 201, 90, .42) 1.75px 3px, transparent 3.3px),
    radial-gradient(circle at 91% 32%, rgba(255, 244, 196, .95) 0 1.25px, rgba(245, 201, 90, .40) 1.35px 2.55px, transparent 2.85px) !important;
  filter:
    drop-shadow(0 0 6px rgba(245, 201, 90, .70))
    drop-shadow(0 0 16px rgba(245, 201, 90, .30)) !important;
  animation:
    sparklesDriftA 30s ease-in-out infinite alternate,
    sparklesTwinkleGold 8s ease-in-out infinite !important;
}

.site-sparkles::after {
  opacity: .78 !important;
  background-image:
    radial-gradient(circle at 12% 53%, rgba(255, 228, 130, .94) 0 1.45px, rgba(245, 201, 90, .48) 1.55px 2.8px, transparent 3.1px),
    radial-gradient(circle at 27% 9%, rgba(255, 246, 210, .88) 0 1.25px, rgba(245, 201, 90, .40) 1.35px 2.35px, transparent 2.7px),
    radial-gradient(circle at 39% 64%, rgba(255, 215, 92, .90) 0 1.75px, rgba(245, 201, 90, .50) 1.85px 3.1px, transparent 3.45px),
    radial-gradient(circle at 56% 46%, rgba(255, 239, 166, .92) 0 1.35px, rgba(245, 201, 90, .44) 1.45px 2.65px, transparent 3px),
    radial-gradient(circle at 69% 78%, rgba(255, 222, 112, .96) 0 1.8px, rgba(245, 201, 90, .56) 1.9px 3.3px, transparent 3.65px),
    radial-gradient(circle at 84% 16%, rgba(255, 247, 204, .84) 0 1.2px, rgba(245, 201, 90, .34) 1.3px 2.35px, transparent 2.65px),
    radial-gradient(circle at 96% 86%, rgba(255, 211, 76, .88) 0 1.55px, rgba(245, 201, 90, .42) 1.65px 2.85px, transparent 3.2px) !important;
  filter:
    drop-shadow(0 0 6px rgba(245, 201, 90, .58))
    drop-shadow(0 0 18px rgba(245, 201, 90, .22)) !important;
  animation:
    sparklesDriftB 42s ease-in-out infinite alternate,
    sparklesTwinkleGoldSoft 11s ease-in-out infinite !important;
}

/* Lift visible content above the sparkle layer without breaking sticky header. */
main > section > .container,
.site-footer > .container {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

.intro-modal-overlay {
  position: fixed !important;
  z-index: 120 !important;
}

.scroll-controls {
  position: fixed !important;
  z-index: 60 !important;
}

@keyframes sparklesDriftA {
  0% {
    transform: translate3d(-18px, 30px, 0) rotate(0deg) scale(1);
  }
  35% {
    transform: translate3d(22px, -18px, 0) rotate(.6deg) scale(1.015);
  }
  70% {
    transform: translate3d(-10px, -58px, 0) rotate(-.4deg) scale(.995);
  }
  100% {
    transform: translate3d(34px, -92px, 0) rotate(.8deg) scale(1.02);
  }
}

@keyframes sparklesDriftB {
  0% {
    transform: translate3d(28px, 12px, 0) rotate(.2deg) scale(1.01);
  }
  40% {
    transform: translate3d(-26px, -24px, 0) rotate(-.5deg) scale(.99);
  }
  75% {
    transform: translate3d(16px, -72px, 0) rotate(.4deg) scale(1.015);
  }
  100% {
    transform: translate3d(-36px, -118px, 0) rotate(-.8deg) scale(1);
  }
}

@keyframes sparklesTwinkleGold {
  0%, 100% {
    opacity: .48;
  }
  38% {
    opacity: .95;
  }
  66% {
    opacity: .36;
  }
}

@keyframes sparklesTwinkleGoldSoft {
  0%, 100% {
    opacity: .38;
  }
  46% {
    opacity: .82;
  }
  78% {
    opacity: .30;
  }
}

@media (max-width: 640px) {
  .site-sparkles {
    opacity: .46 !important;
  }

  .site-sparkles::before,
  .site-sparkles::after {
    inset: -18% !important;
    filter:
      drop-shadow(0 0 5px rgba(245, 201, 90, .50))
      drop-shadow(0 0 12px rgba(245, 201, 90, .18)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-sparkles {
    display: none !important;
  }
}

/* FINAL LIGHTWEIGHT SECTIONS FIX
   Removes excess visual weight after deleting secondary white h2 headings
   and the "Что можно подключить" section. */
#features .feature-plaque-list,
#convenience .feature-list {
  margin-top: 26px !important;
}

#qr .qr-panel .eyebrow {
  margin-bottom: 16px !important;
}

#promo .promo-heading {
  margin-bottom: 0 !important;
}

#promo .promo-plaque-list {
  margin-top: 24px !important;
}

#promo .promo-action {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

#promo .promo-action .btn {
  width: auto;
  min-width: 260px;
}

#promo.section-pad {
  padding-bottom: clamp(56px, 6vw, 78px) !important;
}

#order.section-pad {
  padding-top: clamp(56px, 6vw, 82px) !important;
}

@media (max-width: 640px) {
  #features .feature-plaque-list,
  #convenience .feature-list {
    margin-top: 22px !important;
  }

  #promo .promo-plaque-list {
    margin-top: 20px !important;
  }

  #promo .promo-action {
    margin-top: 22px;
  }

  #promo .promo-action .btn {
    width: 100%;
    min-width: 0;
  }

  #promo.section-pad {
    padding-bottom: 50px !important;
  }

  #order.section-pad {
    padding-top: 50px !important;
  }
}

/* FINAL SECTION EYEBROW + ORDER TITLE TUNING
   Point fix: unify gold section headings without touching Hero title,
   and calm down the final CTA subtitle. */
main > section:not(.hero) .eyebrow {
  color: #f6d26a !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  margin: 0 0 22px !important;
  text-align: center !important;
}

#qr .qr-panel .eyebrow,
#promo .promo-heading .eyebrow,
#order .order-cta-panel .eyebrow {
  color: #f6d26a !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

#order .order-cta-panel h2 {
  font-size: clamp(24px, 2.35vw, 32px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
  max-width: 660px !important;
  margin: 0 auto 18px !important;
}

@media (max-width: 640px) {
  main > section:not(.hero) .eyebrow,
  #qr .qr-panel .eyebrow,
  #promo .promo-heading .eyebrow,
  #order .order-cta-panel .eyebrow {
    font-size: 12.5px !important;
    letter-spacing: .14em !important;
    margin-bottom: 18px !important;
  }

  #order .order-cta-panel h2 {
    font-size: clamp(23px, 7vw, 30px) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }
}

/* FINAL POLISH: compact rhythm, uniform background, CTA buttons, quieter footer */
:root {
  --site-section-bg: #062d38;
}

/* Единый фон после Hero: без эффекта отдельных презентационных слайдов */
main {
  background: #062d38;
}

main > .hero ~ section,
.site-footer {
  background: #062d38 !important;
}

/* Уменьшенные вертикальные отступы для всех секций после Hero */
main > section:not(.hero).section-pad {
  padding-top: clamp(72px, 7vw, 86px) !important;
  padding-bottom: clamp(72px, 7vw, 86px) !important;
}

/* Более компактный переход от генератора к финальному CTA */
#promo.section-pad {
  padding-bottom: clamp(60px, 6vw, 78px) !important;
}

#order.section-pad {
  padding-top: clamp(60px, 6vw, 78px) !important;
}

/* Единый размер основных золотых CTA-кнопок */
#promo .promo-action .btn,
#order .order-cta-action .btn {
  min-height: 52px !important;
  height: 52px !important;
  min-width: 260px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Footer: ещё тише, но читабельно */
.site-footer {
  border-top-color: rgba(255, 255, 255, .045) !important;
}

.site-footer .footer-main {
  color: rgba(236, 252, 255, .66) !important;
}

.site-footer .disclaimer {
  color: rgba(214, 234, 238, .44) !important;
}

.site-footer .footer-meta {
  color: rgba(214, 234, 238, .42) !important;
}

.site-footer .footer-meta span {
  color: rgba(236, 252, 255, .54) !important;
}

.site-footer .footer-meta a,
.site-footer .footer-docs a {
  color: rgba(245, 201, 90, .60) !important;
  border-bottom-color: rgba(245, 201, 90, .20) !important;
}

.site-footer .footer-docs span {
  color: rgba(214, 234, 238, .22) !important;
}

/* Mobile polishing */
@media (max-width: 640px) {
  main > section:not(.hero).section-pad {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  #promo.section-pad {
    padding-bottom: 52px !important;
  }

  #order.section-pad {
    padding-top: 52px !important;
  }

  #promo .promo-action,
  #order .order-cta-action {
    width: 100% !important;
  }

  #promo .promo-action .btn,
  #order .order-cta-action .btn {
    width: min(100%, 300px) !important;
    min-width: 0 !important;
    max-width: 300px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  .site-footer .footer-main {
    color: rgba(236, 252, 255, .64) !important;
  }

  .site-footer .disclaimer,
  .site-footer .footer-meta {
    color: rgba(214, 234, 238, .42) !important;
  }
}


/* FINAL POINT FIX: QR heading center + compact order CTA without white h2 */
#qr .qr-panel {
  text-align: center !important;
}

#qr .qr-panel .eyebrow {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

#order .order-cta-panel {
  max-width: 900px !important;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 5vw, 56px) !important;
}

#order .order-cta-panel .eyebrow {
  margin-bottom: 14px !important;
}

#order .order-cta-text {
  max-width: 720px !important;
  margin: 0 auto !important;
}

#order .order-cta-action {
  margin-top: 24px !important;
}

@media (max-width: 640px) {
  #order .order-cta-panel {
    padding: 26px 18px !important;
  }

  #order .order-cta-panel .eyebrow {
    margin-bottom: 12px !important;
  }

  #order .order-cta-action {
    margin-top: 20px !important;
  }
}


/* FINAL CONVENIENCE BLOCK REWORK
   Replaces bulky cards with one compact premium list panel. */
#convenience .convenience-panel {
  max-width: 960px;
  margin: 26px auto 0;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

#convenience .convenience-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 243, 255, .10), transparent 18rem),
    radial-gradient(circle at 95% 8%, rgba(245, 201, 90, .10), transparent 17rem),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,183,199,.035));
  pointer-events: none;
}

#convenience .convenience-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

#convenience .convenience-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

#convenience .convenience-item:first-child {
  padding-top: 0;
}

#convenience .convenience-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#convenience .convenience-item__number {
  display: block;
  padding-top: 4px;
  color: rgba(245, 201, 90, .82);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
}

#convenience .convenience-item h3 {
  margin: 0 0 7px;
  color: rgba(245, 253, 255, .94);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.18;
}

#convenience .convenience-item p {
  margin: 0;
  color: rgba(236, 252, 255, .76);
  line-height: 1.62;
}

@media (max-width: 640px) {
  #convenience .convenience-panel {
    margin-top: 22px;
    padding: 20px 18px;
    border-radius: 22px;
  }

  #convenience .convenience-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  #convenience .convenience-item__number {
    padding-top: 0;
  }

  #convenience .convenience-item h3 {
    font-size: 18px;
  }

  #convenience .convenience-item p {
    font-size: 15px;
    line-height: 1.58;
  }
}
