:root {
  --primary: #0f172a; /* Глубокий синий */
  --accent: #10b981; /* Изумрудный */
  --accent-hover: #059669;
  --text-main: #334155;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --error: #ef4444;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-main: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
}

.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

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

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

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

.btn--white:hover {
  background-color: #e2e8f0;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.full-width {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.logo:hover {
  transition: all 0.3s ease;
  transform: scale(1.07);
}

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

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

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

.btn-nav {
  padding: 8px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
}

.btn-nav:hover {
  background: #1e293b;
  color: var(--white);
}

.burger {
  display: none;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav__link {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, #1e293b, var(--primary));
  z-index: 1;
}

.hero__bg::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  margin-bottom: 40px;
  max-width: 600px;
}

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

.hero__note {
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  align-items: center;
}

.hero__note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Sections General */
.section {
  padding: 100px 0;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.about__text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 30px;
  font-weight: 600;
}

.accent-icon {
  color: var(--accent);
}

.about__image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* Features */
.features {
  background-color: var(--bg-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  transition: 0.3s;
  border: 1px solid #e2e8f0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.card__icon {
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 25px;
  transition: 0.3s;
}

.card:hover .card__icon {
  background: var(--accent);
  color: var(--white);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Promo */
.promo {
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

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

.promo__content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.promo__content p {
  margin-bottom: 20px;
  color: #cbd5e1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card span {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card small {
  font-size: 1.2rem;
  color: var(--white);
}

/* Process */
.steps {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  padding-top: 20px;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--accent);
}

.step__num {
  font-size: 3rem;
  font-weight: 800;
  color: #e2e8f0;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: -1;
}

.step h3 {
  margin-bottom: 15px;
}

/* Info Block */
.info-block {
  background: url("./images/SL-012322-48100-17.jpg") no-repeat center/cover;
  position: relative;
  text-align: center;
  padding: 120px 0;
}

.info-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
}

.info-wrapper {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
}

.info-wrapper h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* FAQ */
.faq {
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  transition: 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fcfcfc;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-list li svg {
  color: var(--accent);
}

.form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-label a {
  color: var(--text-main);
  text-decoration: underline;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 5px;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.error-msg {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  height: 15px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #334155;
  padding: 0 160px 40px;

  @media (max-width: 500px) {
    padding: 0 0 40px;
  }
}

.logo__footer {
  color: var(--white);
}

.footer__col h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--white);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 350px;
  z-index: 999;
  display: none;
  border-left: 5px solid var(--accent);
}

.cookie-content p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Adaptive */
@media (max-width: 992px) {
  .header .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .about__grid,
  .promo__container,
  .contact-wrapper,
  .steps {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 20px;
  }
  .step {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  .promo__visual {
    display: none;
  }
  .contact-wrapper {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
  }
  .section {
    padding: 60px 0;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
