/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --base:    #241B4B;
  --deep:    #150F2E;
  --accent:  #F5D547;
  --accent2: #7B6CF6;
  --surface: #F5F4FA;
  --ink:     #181233;
  --muted:   #615A83;

  --radius:  14px;
  --max-w:   1040px;

  --font-head: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

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

ul, ol {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--base);
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
}

h1 {
  font-size: 2.25rem;
  color: var(--base);
  margin-top: 0;
}

h2 {
  font-size: 1.55rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--accent2);
}

p {
  margin-bottom: 1rem;
}

strong {
  color: var(--base);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--base);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 12px rgba(21, 15, 46, 0.45);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  flex-wrap: wrap;
}

/* Wordmark / Logo */
.wordmark {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.wordmark:hover {
  color: var(--accent);
  text-decoration: none;
}

.wordmark:hover span {
  color: #fff;
}

/* Site nav */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--accent2);
  color: #fff;
  text-decoration: none;
  outline: none;
}

.site-nav a.active {
  background: var(--accent);
  color: var(--deep);
  font-weight: 600;
}

.site-nav a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   BONUS BANNER (top)
   ============================================================ */
.bonus-banner {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 60%, #3a2870 100%);
  text-align: center;
  padding: 2.4rem 1rem;
  border-bottom: 4px solid var(--accent);
}

.bonus-banner .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  background: rgba(123, 108, 246, 0.15);
  border: 1px solid var(--accent2);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 0.9rem;
}

.bonus-banner .offer {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.bonus-banner .sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.3rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.bonus-banner .fine {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.8rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(245, 213, 71, 0.35);
  white-space: nowrap;
}

.btn:hover {
  background: #f7df6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 213, 71, 0.55);
  text-decoration: none;
  color: var(--deep);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 213, 71, 0.3);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ============================================================
   CONTENT MAIN
   ============================================================ */
.content-main {
  padding: 2rem 0 3rem;
}

.section {
  margin-bottom: 3rem;
}

article.section,
article {
  margin-bottom: 2rem;
}

/* ============================================================
   INNER BONUS BANNER (.bonus-banner-2)
   ============================================================ */
.bonus-banner-2 {
  background: linear-gradient(135deg, var(--base) 0%, #3a2870 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem 1.2rem;
  margin: 2.5rem 0;
}

.bonus-banner-2 .offer {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.bonus-banner-2 .sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
  margin-bottom: 1.2rem;
}

.bonus-banner-2 .fine {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.7rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.93rem;
}

table thead tr {
  background: var(--base);
  color: #fff;
}

table thead th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: none;
  color: #fff;
}

table tbody tr:nth-child(odd) {
  background: #fff;
}

table tbody tr:nth-child(even) {
  background: rgba(123, 108, 246, 0.07);
}

table tbody tr:hover {
  background: rgba(123, 108, 246, 0.15);
}

table tbody td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(97, 90, 131, 0.18);
  color: var(--ink);
}

table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.card {
  background: #fff;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: border-color 0.18s;
}

.card:hover {
  border-color: var(--accent2);
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--accent2);
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ============================================================
   FAQ ACCORDION (CSS-only hidden checkbox technique)
   ============================================================ */
.faq-section {
  margin-bottom: 3rem;
}

.faq-entry {
  border: 1.5px solid var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s;
}

.faq-entry:hover {
  border-color: var(--accent2);
}

/* Hide the checkbox */
.faq-cb {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Question label */
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--base);
  gap: 0.8rem;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}

.faq-q:hover {
  background: rgba(123, 108, 246, 0.07);
}

.faq-q:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Plus/minus indicator drawn in CSS */
.plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--base);
  color: var(--accent);
  font-size: 1.3rem;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1;
  transition: background 0.18s, transform 0.22s;
}

/* Answer panel */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.2rem;
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
  padding-bottom: 1rem;
}

/* Open state */
.faq-cb:checked + .faq-q {
  background: rgba(123, 108, 246, 0.1);
  color: var(--accent2);
}

.faq-cb:checked + .faq-q .plus {
  background: var(--accent2);
  color: #fff;
  transform: rotate(45deg);
}

.faq-cb:checked ~ .faq-a {
  max-height: 600px;
}

/* ============================================================
   HIGHLIGHT BOX (vhod.html checklist)
   ============================================================ */
.highlight {
  background: rgba(123, 108, 246, 0.09);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.highlight strong {
  display: block;
  font-family: var(--font-head);
  color: var(--base);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.checklist {
  padding-left: 1.3rem;
}

.checklist li {
  margin-bottom: 0.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  border-top: 3px solid var(--accent);
  padding: 2.2rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
}

.footer-nav a:hover {
  color: var(--accent);
  background: rgba(245, 213, 71, 0.1);
  text-decoration: none;
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
}

.footer-copy p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

.footer-copy p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   BREAKPOINT: 640px
   ============================================================ */
@media (min-width: 640px) {
  .header-inner {
    flex-wrap: nowrap;
    min-height: 64px;
  }

  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .bonus-banner {
    padding: 3rem 1.5rem;
  }

  .bonus-banner .offer {
    font-size: 2.3rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.65rem;
  }

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

  .bonus-banner-2 {
    padding: 2.5rem 2rem;
  }

  .bonus-banner-2 .offer {
    font-size: 1.65rem;
  }

  .footer-nav {
    gap: 0.4rem 1.2rem;
  }

  .content-main {
    padding: 2.5rem 0 4rem;
  }
}

/* ============================================================
   BREAKPOINT: 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header-inner {
    padding: 0 1.5rem;
    min-height: 68px;
  }

  .wordmark {
    font-size: 1.5rem;
  }

  .site-nav a {
    font-size: 0.88rem;
    padding: 0.38rem 0.7rem;
  }

  .bonus-banner {
    padding: 3.5rem 1.5rem;
  }

  .bonus-banner .offer {
    font-size: 2.7rem;
  }

  .bonus-banner .sub {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .content-main {
    padding: 3rem 0 5rem;
  }

  .bonus-banner-2 {
    padding: 3rem 3rem;
  }

  .bonus-banner-2 .offer {
    font-size: 1.85rem;
  }

  .footer-inner {
    padding: 0 1.5rem;
  }

  .footer-nav {
    gap: 0.4rem 1.5rem;
  }

  .footer-copy p {
    font-size: 0.83rem;
  }

  table {
    font-size: 0.97rem;
  }

  table thead th {
    font-size: 0.93rem;
  }
}