:root {
  --primary-color: #F4D03F;
  --secondary-color: #630E76;
  --accent-color: #F08080;
  --light-color: #f7f2fa;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(135deg, var(--secondary-color) 0%, #3a0847 100%);
  --hover-color: #c9a800;
  --background-color: #ffffff;
  --text-color: #2a2a2a;
  --text-light: #e8e8e8;
  --border-color: rgba(244,208,63,0.25);
  --divider-color: rgba(244,208,63,0.12);
  --shadow-color: rgba(0,0,0,0.35);
  --highlight-color: #F08080;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-btn: 0px;
  --shadow-card: 0 20px 60px rgba(0,0,0,0.20);
  --shadow-hover: 0 30px 80px rgba(0,0,0,0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hover-color); }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}
@media (min-width: 1200px) { .container { max-width: 1200px; } }

/* ===== HEADER ===== */
header {
  position: relative;
  background: var(--dark-color);
  border-bottom: 3px solid var(--primary-color);
  padding: 0 16px;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
}
.logo a { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
  justify-content: center;
}
.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s;
}
.navigation {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  z-index: 99;
}
.nav-toggle:checked ~ .navigation { max-height: 400px; }
.navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
}
.navigation ul li a {
  display: block;
  padding: 10px 12px;
  min-height: 44px;
  color: var(--text-light);
  font-family: var(--main-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.navigation ul li a:hover { color: var(--primary-color); }
@media (min-width: 768px) {
  .nav-toggle-label { display: none; }
  .navigation {
    max-height: none;
    overflow: visible;
    position: static;
    background: transparent;
    border-bottom: none;
  }
  .navigation ul { flex-direction: row; padding: 0; gap: 4px; align-items: center; }
}

/* ===== HERO — diagonal-split ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--dark-color);
}
.hero-left {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 60px 24px;
}

.hero-right {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-content {
  max-width: 480px;
  position: relative;
  z-index: 4;
}
@media (min-width: 768px) {
  .hero-left {
    width: 46%;
    flex-shrink: 0;
    padding: 80px 80px 80px 40px;
  }
  .hero-left::after { display: block; }
  .hero-right { display: block; }
}
.hero-label {
  display: inline-block;
  background: var(--primary-color);
  color: var(--dark-color);
  font-family: var(--main-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: var(--main-font);
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero-content h1 span { color: var(--primary-color); }
.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(14px, 2.5vw, 17px);
  margin-bottom: 36px;
  max-width: 420px;
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  min-height: 44px;
  font-family: var(--main-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary-color);
  color: var(--dark-color);
}
.btn-primary:hover {
  background: var(--hover-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-outline:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* ===== SECTION BASE ===== */
section { padding: 48px 16px; }
@media (min-width: 768px) { section { padding: 100px 24px; } }

.section-title {
  font-family: var(--main-font);
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: clamp(14px, 3vw, 16px);
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0.75;
}

/* ===== INTRO ===== */
#intro { background: var(--background-color); }
.intro-editorial {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .intro-editorial { grid-template-columns: 1fr 2px 1fr; align-items: start; }
}
.intro-divider { background: var(--primary-color); width: 100%; height: 2px; }
@media (min-width: 768px) { .intro-divider { width: 2px; height: auto; align-self: stretch; } }
.intro-editorial h2 {
  font-family: var(--main-font);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark-color);
}
.intro-editorial h2 span { color: var(--secondary-color); }
.intro-right p { color: var(--text-color); margin-bottom: 14px; }
.intro-right p:last-child { margin-bottom: 0; }

/* ===== BETWEEN INTRO & FEATURES — expert-quote (Пул C) ===== */
#expert-quote {
  background: var(--gradient-primary);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
#expert-quote::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 24px;
  font-family: var(--main-font);
  font-size: 280px;
  font-weight: 900;
  color: rgba(244,208,63,0.08);
  line-height: 1;
  pointer-events: none;
}
.quote-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.quote-mark {
  font-family: var(--main-font);
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
}
.quote-text {
  font-family: var(--main-font);
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 28px;
  font-style: italic;
}
.quote-author {
  font-family: var(--alt-font);
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(244,208,63,0.3);
  padding-top: 20px;
  display: inline-block;
}

/* ===== FEATURES — features-icon-row (Пул A) ===== */
#features { background: var(--dark-color); }
#features .section-title { color: #fff; text-align: center; }
#features .section-subtitle { color: rgba(255,255,255,0.6); text-align: center; }

.features-icon-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(244,208,63,0.15);
}
@media (min-width: 768px) {
  .features-icon-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .features-icon-row { grid-template-columns: repeat(6, 1fr); }
}
.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(244,208,63,0.12);
  border-bottom: 1px solid rgba(244,208,63,0.12);
  transition: background 0.2s;
}
.feature-icon-item:hover { background: rgba(244,208,63,0.06); }
.feature-icon {
  font-size: 52px;
  margin-bottom: 16px;
  display: block;
  text-align: center;
  width: 100%;
}
.feature-icon-item h3 {
  font-family: var(--main-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.feature-icon-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ===== IMAGE+TEXT — img-left (Пул B) ===== */
#img-text-section { background: var(--light-color); }
.img-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.img-text-img { width: 100%; overflow: hidden; }
.img-text-img img { width: 100%; height: 320px; object-fit: cover; }
.img-text-content h2 {
  font-family: var(--main-font);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.img-text-content h2 span { color: var(--secondary-color); }
.img-text-content p { color: var(--text-color); margin-bottom: 14px; }
.img-text-list {
  list-style: none;
  margin: 16px 0 24px;
}
.img-text-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-color);
  font-size: 15px;
  border-bottom: 1px solid var(--divider-color);
}
.img-text-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 10px;
  top: 11px;
}
@media (min-width: 768px) {
  .img-text-wrap { flex-direction: row; }
  .img-text-img { flex: 0 0 45%; }
  .img-text-img img { height: 100%; min-height: 400px; }
  .img-text-content { flex: 0 0 55%; padding-left: 16px; }
}

/* ===== TESTIMONIALS — testimonials-quotes (Пул D) ===== */
#testimonials { background: var(--background-color); }
#testimonials .section-title { color: var(--dark-color); }
#testimonials .section-subtitle { color: var(--text-color); }
.testimonials-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.testimonial-quote-item {
  padding: 40px 0 40px 32px;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}
.testimonial-quote-item:last-child { margin-bottom: 0; }
.tq-marks {
  font-family: var(--main-font);
  font-size: 64px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}
.tq-text {
  font-family: var(--main-font);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 600;
  color: var(--dark-color);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 20px;
}
.tq-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tq-stars { color: var(--primary-color); font-size: 14px; }
.tq-name {
  font-family: var(--alt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== CONTACT ===== */
#contact { background: var(--dark-color); }
#contact .section-title { color: #fff; }
.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-wrap {
    flex-direction: row;
    width: 80%;
    align-items: flex-start;
  }
}
.contact-info { flex: 0 0 300px; }
.contact-info h2 {
  font-family: var(--main-font);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.contact-info p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.contact-info p span { color: var(--primary-color); flex-shrink: 0; font-weight: 700; }

.contact-form-wrap { flex: 1; }
.contact-form-wrap h3 {
  font-family: var(--main-font);
  font-size: clamp(15px, 3vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(244,208,63,0.25);
  background: rgba(255,255,255,0.05);
  font-family: var(--alt-font);
  font-size: 15px;
  color: #fff;
  min-height: 44px;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(244,208,63,0.06);
}
.contact-form textarea { min-height: 120px; }

/* ===== FAQ ===== */
#faq { background: var(--light-color); }
#faq .section-title { color: var(--dark-color); }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 2px solid var(--dark-color);
  padding: 28px 0;
}
.faq-item:first-child { border-top: 2px solid var(--dark-color); }
.faq-item h3 {
  font-family: var(--main-font);
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dark-color);
  margin-bottom: 12px;
}
.faq-item p { color: var(--text-color); font-size: 15px; }

/* ===== FOOTER ===== */
footer {
  background: #111318;
  color: rgba(255,255,255,0.7);
  padding: 48px 16px 24px;
  border-top: 3px solid var(--primary-color);
}
footer img[alt="logo"] { filter: brightness(0) invert(1); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo .logo img { height: 36px; }
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-nav ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav ul li a:hover { color: var(--primary-color); }
.footer-copy {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: var(--main-font);
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; justify-content: flex-end; }
}