/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg-dark: #0d0e11;
  --bg-dark-2: #141619;
  --bg-dark-3: #1c1e23;
  --bg-light: #f7f7f8;
  --bg-white: #ffffff;
  --text-primary: #0d0e11;
  --text-secondary: #4a4e5a;
  --text-muted: #8a8f9e;
  --text-light: #f0f1f4;
  --text-light-muted: #9ba3b8;
  --accent: #4f8ef7;
  --accent-hover: #3a7de8;
  --accent-dim: rgba(79, 142, 247, 0.12);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: #e4e6ec;
  --border-mid: #d0d3dc;
  --green: #2ec4a0;
  --red: #e05252;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  --transition: 0.18s ease;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13, 14, 17, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.nav .container {
  height: 100%;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: inline-block;
  line-height: 1;
}

.nav__logo img {
  width: 150px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav__links a:hover,
.nav__links a.active {
  color: #fff;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 24px;
  z-index: 999;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light-muted);
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--transition);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

.nav__mobile a:hover {
  color: #fff;
}

/* ===== PAGE OFFSET ===== */
.page-body {
  padding-top: var(--nav-height);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-dark);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to right,
      rgba(13, 14, 17, 0.95) 0%,
      /* Насичений темний колір зліва (під текст) */
      rgba(13, 14, 17, 0.6) 70%,
      /* Плавний перехід */
      rgba(13, 14, 17, 0) 100%
      /* Повна прозорість справа */
    ), url(../images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 142, 247, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 720px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-light-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 142, 247, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light-muted);
  border: 1px solid var(--border-dark);
}

.btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost-light {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.btn--ghost-light:hover {
  color: var(--text-primary);
  border-color: var(--border-mid);
}

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

.btn--outline-accent:hover {
  background: var(--accent-dim);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ===== SECTION LAYOUT ===== */
.section {
  padding: 80px 0;
}

.section--light {
  background: var(--bg-light);
}

.section--dark {
  background: var(--bg-dark);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: 52px;
}

.section__title--light {
  color: #fff;
}

.section__desc--light {
  color: var(--text-light-muted);
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
}

.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-dark-3);
  overflow: hidden;
  position: relative;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dark-2) 0%, var(--bg-dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__img-placeholder svg {
  opacity: 0.15;
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.card__link:hover {
  gap: 8px;
}

.card__link::after {
  content: '→';
}

/* ===== DARK CARDS ===== */
.card--dark {
  background: var(--bg-dark-2);
  border-color: var(--border-dark);
}

.card--dark:hover {
  border-color: rgba(79, 142, 247, 0.25);
}

.card--dark .card__title {
  color: #fff;
}

.card--dark .card__excerpt {
  color: var(--text-light-muted);
}

/* ===== VALUE POINTS ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-item {
  padding: 24px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.value-item:hover {
  border-color: rgba(79, 142, 247, 0.2);
}

.value-item__icon {
  background-size: contain;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.written {
  background-image: url(../images/writing.png);
}

.graphic {
  background-image: url(../images/growth.png);
}

.stop {
  background-image: url(../images/forbidden.png);
}

.updated {
  background-image: url(../images/loading-arrow.png);
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.value-item__desc {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ===== QUIZ TEASER ===== */
.quiz-teaser {
  background: linear-gradient(135deg, var(--bg-dark-2) 0%, #161b2e 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.quiz-teaser::before {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-teaser__text {
  flex: 1;
}

.quiz-teaser__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quiz-teaser__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.quiz-teaser__desc {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.quiz-teaser__action {
  flex-shrink: 0;
}

/* ===== ABOUT BIO CARDS ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-dark-3);
  overflow: hidden;
  margin-bottom: 16px;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e2433 0%, #2a3148 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.team-card__role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.team-card__bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg-dark);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border-dark);
}

.page-header__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-header__desc {
  font-size: 16px;
  color: var(--text-light-muted);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.65;
}

/* ===== BLOG POST ===== */
.post-header {
  background: var(--bg-dark);
  padding: 64px 0 56px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 142, 247, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light-muted);
}

.post-meta__author {
  font-weight: 500;
  color: var(--text-light-muted);
}

.post-meta__sep {
  opacity: 0.3;
}

.post-content {
  padding: 60px 0 80px;
}

.post-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
}

.post-body p {
  margin-bottom: 24px;
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 12px;
}

.post-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-light);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--accent);
}

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-dark-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 48px;
}

.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-featured-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #141619 0%, #1c1e23 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.08);
  font-size: 64px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-bottom: 28px;
  transition: color var(--transition);
}

.post-back::before {
  content: '←';
}

.post-back:hover {
  color: #fff;
}

/* ===== QUIZ ===== */
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.quiz-progress-bar-wrap {
  height: 4px;
  background: var(--border-light);
  border-radius: 100px;
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.quiz-q-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.3;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-white);
  transition: all var(--transition);
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
}

.quiz-option:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.quiz-option__letter {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  transition: all var(--transition);
}

.quiz-option.correct {
  border-color: var(--green);
  background: rgba(46, 196, 160, 0.07);
}

.quiz-option.correct .quiz-option__letter {
  background: var(--green);
  color: #fff;
}

.quiz-option.wrong {
  border-color: var(--red);
  background: rgba(224, 82, 82, 0.07);
}

.quiz-option.wrong .quiz-option__letter {
  background: var(--red);
  color: #fff;
}

.quiz-option:disabled {
  cursor: not-allowed;
}

.quiz-explanation {
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
  margin-top: 4px;
}

.quiz-explanation.show {
  display: block;
}

.quiz-result {
  text-align: center;
  padding: 40px 0;
  display: none;
}

.quiz-result.show {
  display: block;
}

.quiz-result__score {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.quiz-result__out-of {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.quiz-result__message {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {}

.contact-info__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-detail__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.contact-detail__value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--red);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  padding: 16px 20px;
  background: rgba(46, 196, 160, 0.08);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #1a8c73;
  font-weight: 500;
  display: none;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 0;
  background:
    linear-gradient(135deg,
      rgba(26, 35, 126, 0.4) 0%,
      #0d0e11 50%,
      rgba(10, 11, 14, 1) 100%),
    #0d0e11;
  border-top: 2px solid;
  border-image: linear-gradient(to right, #00f2fe, #4facfe, #8e44ad) 1;
  padding: 80px 0 40px;
  color: #cdd9e5;
  overflow: hidden;
}

.footer__title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand__logo {
  width: 150px;
  height: auto;
  margin-bottom: 16px;
}

.footer__brand__tagline {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.6;
  max-width: 240px;
}

.footer__col__title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 14px;
  color: var(--text-light-muted);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__copyright,
.disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__text {
  flex: 1;
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 60px 0 80px;
}

.legal-placeholder {
  background: var(--bg-light);
  border: 1px dashed var(--border-mid);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  padding: 60px 0;
}

.about-story {
  background: var(--bg-dark);
  padding: 80px 0;
}

.about-story p {
  font-size: 17px;
  color: var(--text-light-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 700px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-light-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb__sep {
  opacity: 0.3;
}

.breadcrumb__current {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quiz-teaser {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }

  .hero {
    padding: 72px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}