:root {
  --bg: #0b1420;
  --bg-soft: #122131;
  --panel: rgba(14, 27, 41, 0.88);
  --panel-strong: #16283c;
  --line: rgba(190, 205, 225, 0.12);
  --line-strong: rgba(208, 188, 138, 0.3);
  --text: #eff3f8;
  --muted: #9fb0c5;
  --accent: #d0bc8a;
  --accent-soft: rgba(208, 188, 138, 0.14);
  --blue: #5fa4d7;
  --danger: #ff8484;
  --success: #9bd2a7;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font: 16px/1.65 "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(95, 164, 215, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(208, 188, 138, 0.18), transparent 24%),
    linear-gradient(180deg, #07111a 0%, #0b1420 55%, #09111a 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

.page-shell::before {
  top: -18rem;
  right: -8rem;
  background: rgba(95, 164, 215, 0.16);
}

.page-shell::after {
  bottom: -20rem;
  left: -10rem;
  background: rgba(208, 188, 138, 0.1);
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(7, 15, 24, 0.76);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(208, 188, 138, 0.34);
  background:
    linear-gradient(135deg, rgba(208, 188, 138, 0.2), rgba(95, 164, 215, 0.08)),
    rgba(16, 31, 46, 0.96);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(208, 188, 138, 0.5);
  box-shadow:
    0 0 0 5px rgba(208, 188, 138, 0.07),
    inset 0 0 0 4px rgba(95, 164, 215, 0.08);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font: 600 0.98rem/1.2 "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span,
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  color: var(--text);
}

.hero,
.page-hero {
  padding: 92px 0 38px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(208, 188, 138, 0.22);
  background: rgba(208, 188, 138, 0.09);
  color: #f4e7c0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(208, 188, 138, 0.12);
}

.hero-copy,
.page-hero-copy,
.hero-panel,
.section-card,
.stats-grid .stat-card,
.audience-card,
.reason-card,
.step-card,
.slider-card,
.faq-item,
.contact-card,
.support-card,
.project-card,
.article-card,
.detail-panel,
.form-shell,
.quote-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 37, 54, 0.82), rgba(12, 23, 36, 0.94));
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero-copy,
.hero-panel {
  padding: 36px;
}

.hero h1,
.page-hero h1,
.section-header h2,
.form-head h2,
.detail-panel h1,
.article-layout h1,
.quote-panel h2 {
  margin: 18px 0 18px;
  font: 400 clamp(2.4rem, 5vw, 4.7rem)/1.04 "Prata", Georgia, serif;
  letter-spacing: -0.03em;
}

.page-hero h1,
.detail-panel h1,
.article-layout h1 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.hero p,
.page-hero p,
.section-header p,
.form-head p,
.detail-panel p,
.article-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, #dcc895, #bda16c);
  color: #0c1218;
  font-weight: 700;
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(208, 188, 138, 0.22);
}

.button-secondary {
  border-color: rgba(159, 176, 197, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero-points,
.detail-list,
.contact-list,
.article-meta-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.hero-points li,
.detail-list li,
.contact-list li,
.article-meta-list li,
.footer-links li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li + li,
.detail-list li + li,
.contact-list li + li,
.article-meta-list li + li,
.footer-links li + li {
  margin-top: 10px;
}

.hero-points li::before,
.detail-list li::before,
.contact-list li::before,
.article-meta-list li::before,
.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.metric-box {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.metric-box strong {
  display: block;
  font: 400 clamp(1.7rem, 3vw, 2.5rem)/1 "Prata", Georgia, serif;
  color: var(--accent);
}

.metric-box span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 32px 0 0;
}

.section-card {
  padding: 34px;
}

.section-card + .section-card {
  margin-top: 22px;
}

.section-header {
  max-width: 840px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  margin-bottom: 14px;
}

.stats-grid,
.audience-grid,
.reasons-grid,
.steps-grid,
.projects-grid,
.journal-grid,
.contacts-grid,
.support-grid {
  display: grid;
  gap: 20px;
}

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

.audience-grid,
.reasons-grid,
.projects-grid,
.journal-grid,
.contacts-grid,
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.stat-card,
.audience-card,
.reason-card,
.step-card,
.project-card,
.article-card,
.contact-card,
.support-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font: 400 clamp(1.8rem, 3vw, 3rem)/1 "Prata", Georgia, serif;
}

.stat-card span {
  color: var(--muted);
}

.audience-card h3,
.reason-card h3,
.step-card h3,
.project-card h3,
.article-card h3,
.contact-card h3,
.support-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.audience-card p,
.reason-card p,
.step-card p,
.project-card p,
.article-card p,
.contact-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.tag,
.article-tag,
.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(208, 188, 138, 0.18);
  color: #f3e4b8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.reason-card::before,
.support-card::before,
.project-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(208, 188, 138, 0.08), transparent 42%);
  pointer-events: none;
}

.timeline-index {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(208, 188, 138, 0.14);
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.62fr);
  gap: 22px;
  align-items: start;
}

.form-shell {
  padding: 30px;
}

.form-head {
  margin-bottom: 24px;
}

.form-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #d8e0ea;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(208, 188, 138, 0.44);
  background: rgba(255, 255, 255, 0.06);
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.consent-row input {
  margin-top: 4px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--success);
}

.quote-panel {
  padding: 30px;
  min-height: 100%;
}

.quote-panel h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.quote-panel blockquote {
  margin: 0;
  padding: 0;
  color: #dfe7f0;
  font-size: 1.08rem;
}

.quote-panel blockquote p + p {
  margin-top: 18px;
}

.quote-panel footer {
  margin-top: 22px;
  color: var(--accent);
}

.slider-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.slider-button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.slider-card {
  padding: 18px;
}

.card-visual {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(208, 188, 138, 0.18), rgba(95, 164, 215, 0.14)),
    linear-gradient(180deg, rgba(16, 31, 48, 0.8), rgba(12, 22, 34, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.card-visual::before {
  width: 160px;
  height: 160px;
  right: -38px;
  top: -38px;
  background: rgba(208, 188, 138, 0.15);
}

.card-visual::after {
  width: 180px;
  height: 180px;
  left: -34px;
  bottom: -44px;
  background: rgba(95, 164, 215, 0.14);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.faq-item button span {
  font-size: 1.03rem;
  font-weight: 600;
}

.faq-item button i {
  font-style: normal;
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  display: none;
}

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

.detail-layout,
.article-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 24px;
}

.detail-panel,
.article-panel {
  padding: 34px;
}

.detail-panel h2,
.article-panel h2 {
  margin: 34px 0 14px;
  font-size: 1.5rem;
}

.detail-panel p + p,
.article-panel p + p {
  margin-top: 18px;
}

.detail-panel p,
.article-panel p {
  color: var(--muted);
}

.project-meta,
.article-meta {
  display: grid;
  gap: 14px;
}

.meta-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.footer {
  padding: 40px 0 60px;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(9, 18, 28, 0.82);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-column h4 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-brand p,
.footer-note {
  color: var(--muted);
}

.footer-note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.subtle {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.page-section {
  padding-bottom: 22px;
}

.page-grid {
  display: grid;
  gap: 22px;
}

@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid,
  .page-hero-grid,
  .detail-layout,
  .article-layout,
  .contacts-layout,
  .form-grid,
  .footer-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: 82px 20px auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 16, 24, 0.96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .menu-open .nav {
    display: flex;
  }

  .topbar-actions .button {
    display: none;
  }

  .audience-grid,
  .reasons-grid,
  .projects-grid,
  .journal-grid,
  .contacts-grid,
  .support-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .topbar-inner {
    min-height: 74px;
  }

  .hero,
  .page-hero {
    padding-top: 72px;
  }

  .hero-copy,
  .page-hero-copy,
  .hero-panel,
  .section-card,
  .detail-panel,
  .article-panel,
  .quote-panel,
  .form-shell {
    padding: 24px;
  }

  .field-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .slider-wrap {
    grid-template-columns: 1fr;
  }

  .slider-button {
    display: none;
  }

  .slider-track {
    grid-auto-columns: minmax(82vw, 1fr);
  }
}
