:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1a2b3c;
  --text-muted: #5a6b7d;
  --greek-blue: #1a5f9e;
  --greek-blue-light: #e8f1fa;
  --accent: #ff2885;
  --accent-hover: #e01f74;
  --border: #dde5ef;
  --shadow: 0 4px 24px rgba(26, 95, 158, 0.08);
  --radius: 12px;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--greek-blue);
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #0d1b2a;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo img {
  height: 36px;
  width: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.update-bar {
  background: var(--greek-blue-light);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.update-bar time {
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 32px;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 95, 158, 0.75) 0%,
    rgba(26, 95, 158, 0.15) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 32px 20px;
}

.hero-title {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Main layout */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
}

/* TOC sidebar */
.toc {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.toc-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--greek-blue);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list li {
  margin-bottom: 6px;
}

.toc-list a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.toc-list a:hover,
.toc-list a.active {
  background: var(--greek-blue-light);
  color: var(--greek-blue);
}

/* Content */
.content {
  min-width: 0;
}

.content h1 {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  color: var(--greek-blue);
  margin: 0 0 24px;
  line-height: 1.3;
}

.content h2 {
  font-size: 1.35rem;
  color: var(--greek-blue);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--greek-blue-light);
}

.content h2:first-of-type {
  margin-top: 0;
}

.content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 28px 0 12px;
  font-weight: 700;
}

.content h3:first-of-type {
  margin-top: 16px;
}

.content p {
  margin: 0 0 14px;
  color: var(--text);
}

.content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.content li {
  margin-bottom: 8px;
}

.content li strong {
  color: var(--greek-blue);
}

/* Promo banner */
.promo-banner {
  background: linear-gradient(135deg, var(--greek-blue-light), #fff);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0;
  font-weight: 500;
}

/* Table */
.info-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}

.info-table th,
.info-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  width: 38%;
  background: var(--greek-blue-light);
  color: var(--greek-blue);
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover td {
  background: #fafbfd;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
  min-width: 600px;
}

.data-table thead th {
  background: var(--greek-blue);
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table tbody tr:hover td {
  background: #fafbfd;
}

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

.table-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 12px 0 0;
  font-style: italic;
}

ol.steps-list {
  margin: 0 0 16px;
  padding-left: 22px;
}

ol.steps-list li {
  margin-bottom: 8px;
}


/* Payment icons */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.payment-grid img {
  height: 32px;
  width: auto;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* Slots preview */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.slots-grid img {
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* FAQ */
.faq-list {
  margin: 16px 0;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--greek-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA block */
.cta-block {
  text-align: center;
  margin: 40px 0 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 16px;
}

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.footer-age {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--greek-blue-light);
  color: var(--greek-blue);
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 860px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 42%;
    font-size: 13px;
  }

  .info-table td {
    font-size: 13px;
  }
}
