:root {
  --color-primary: #1a2b4a;
  --color-primary-light: #2a4068;
  --color-accent: #e85d4c;
  --color-accent-hover: #d14a3a;
  --color-secondary: #2d8a8a;
  --color-bg: #f8f9fc;
  --color-bg-alt: #eef1f7;
  --color-white: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(26, 43, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 43, 74, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 43, 74, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --container: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.logo:hover {
  color: var(--color-primary);
}

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

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.burger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #1e3a5f 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 93, 76, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__badge-icon {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 76, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.hero__age {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.section {
  padding: 80px 0;
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(232, 93, 76, 0.12), rgba(45, 138, 138, 0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.card--feature {
  display: flex;
  flex-direction: column;
}

.card--feature .card__image {
  border-radius: 8px;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.responsible {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.responsible__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.responsible__text {
  opacity: 0.9;
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--color-white);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  gap: 16px;
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  font-size: 1.2rem;
  line-height: 1;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: var(--color-white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.faq__item--open .faq__answer {
  max-height: 300px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 93, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info__label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-info__value {
  color: var(--color-text-muted);
}

.form {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-bg);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(45, 138, 138, 0.15);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form__checkbox {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.form__checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form__age-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(232, 93, 76, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.form__success {
  display: none;
  padding: 16px;
  background: rgba(45, 138, 138, 0.1);
  border-radius: 8px;
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: 16px;
}

.form__success--visible {
  display: block;
}

.register-section {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.register__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.page-hero {
  padding: calc(var(--header-height) + 48px) 0 48px;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero__desc {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.85;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb__sep {
  opacity: 0.5;
}

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

.content-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.content-page__inner--wide {
  max-width: 960px;
}

.content-page h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: 36px 0 16px;
  font-weight: 700;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 24px 0 12px;
  font-weight: 600;
}

.content-page p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.content-page ul,
.content-page ol {
  margin: 0 0 16px 24px;
  color: var(--color-text-muted);
}

.content-page li {
  margin-bottom: 8px;
  line-height: 1.6;
  list-style: disc;
}

.content-page ol li {
  list-style: decimal;
}

.content-page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.age-notice-box {
  background: rgba(232, 93, 76, 0.08);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.age-notice-box strong {
  color: var(--color-accent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.about-grid__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 32px;
}

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

.footer__brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer__age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 93, 76, 0.2);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
}

.footer__heading {
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(26, 43, 74, 0.12);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cookie-banner__text a {
  text-decoration: underline;
}

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

.cookie-banner .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__grid,
  .contact-section,
  .register-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero__image-wrap {
    order: -1;
  }

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

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

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

  .burger {
    display: flex;
  }

  .nav--open .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav--open .nav__cta {
    display: inline-flex;
    margin: 0 24px 24px;
  }

  .nav {
    position: relative;
  }

  .section {
    padding: 60px 0;
  }

  .cards-grid,
  .cards-grid--3,
  .cards-grid--2 {
    grid-template-columns: 1fr;
  }

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

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

  .responsible {
    padding: 32px 24px;
  }

  .form {
    padding: 24px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
