/* =====================================================
   site_07_prom_vent — «AirFlow Pro»
   Inter · Industrial Blue #2563EB · Orange CTA #F97316
   Dark Hero #1E293B · White Background
   ===================================================== */

/* ─── TOKENS ─── */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --cta: #F97316;
  --cta-dark: #EA580C;
  --hero-bg: #1E293B;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --text: #0F172A;
  --text-mid: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --success: #16A34A;
  --danger: #DC2626;
  --radius: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 4px 16px rgba(15,23,42,0.1);
  --shadow-md: 0 8px 28px rgba(15,23,42,0.13);
  --shadow-lg: 0 20px 56px rgba(15,23,42,0.18);
  --container: 1200px;
  --t: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(28px, 4.5vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 40px); }
h3 { font-size: clamp(16px, 1.5vw, 20px); }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  box-shadow: 0 3px 14px rgba(249,115,22,0.32);
}
.btn-primary:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(249,115,22,0.42);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  transition: box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(15,23,42,0.1);
  border-bottom-color: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.logo__tag {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: all var(--t);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--primary); background: var(--primary-light); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-phone { display: flex; flex-direction: column; text-decoration: none; }
.header-phone__num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.header-phone__hint { font-size: 11px; color: var(--muted); line-height: 1.3; }
.header-phone:hover .header-phone__num { color: var(--primary); }
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 7px;
  color: var(--text);
  margin-left: auto;
  border-radius: var(--radius);
  transition: background var(--t);
  align-items: center;
  justify-content: center;
}
.burger:hover { background: var(--bg-alt); }
.burger svg { width: 20px; height: 20px; }

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
  .header-cta { display: none; }
  .burger { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.1);
    z-index: 499;
  }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 10px 14px; font-size: 15px; width: 100%; }
  .site-header { position: relative; }
}

/* ─── HERO ─── */
.hero {
  background: var(--hero-bg);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 72% 50%, rgba(37,99,235,0.18) 0%, transparent 70%),
    repeating-linear-gradient(
      90deg, transparent, transparent 80px,
      rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px
    ),
    repeating-linear-gradient(
      0deg, transparent, transparent 80px,
      rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px
    );
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.35);
  color: #93C5FD;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero__badge .dot {
  width: 6px;
  height: 6px;
  background: #3B82F6;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 { color: #F8FAFC; margin-bottom: 20px; line-height: 1.1; }
.hero h1 span { color: #60A5FA; }
.hero__sub {
  color: #94A3B8;
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__metrics > div {
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero__metrics > div:last-child { border-right: none; }
.hero__metric-num {
  font-size: 22px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero__metric-label { font-size: 12px; color: #64748B; line-height: 1.4; }
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__visual-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(37,99,235,0.35));
}
@media (max-width: 900px) {
  .hero { padding: 52px 0 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { display: none; }
}
@media (max-width: 600px) {
  .hero__metrics { grid-template-columns: 1fr; }
  .hero__metrics > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hero__metrics > div:last-child { border-bottom: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── PAINS ─── */
.pains {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pains__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.pain {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  transition: background var(--t);
}
.pain:last-child { border-right: none; }
.pain:hover { background: var(--primary-light); }
.pain__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  border: 1px solid rgba(37,99,235,0.15);
}
.pain__icon svg { width: 22px; height: 22px; }
.pain h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); line-height: 1.35; }
.pain p { font-size: 13px; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) {
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .pain:nth-child(2) { border-right: none; }
  .pain:nth-child(1), .pain:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 550px) {
  .pains__grid { grid-template-columns: 1fr; }
  .pain { border-right: none; border-bottom: 1px solid var(--border); }
  .pain:last-child { border-bottom: none; }
}

/* ─── SERVICES ─── */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  overflow: hidden;
}
.service:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.service__visual {
  height: 116px;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  border-bottom: 3px solid var(--primary);
  padding: 24px;
}
.service__visual svg { width: 54px; height: 54px; }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.service__body h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.service__desc { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.65; flex: 1; }
.service__features { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.service__features li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}
.service__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.service__price { font-size: 13px; color: var(--muted); }
.service__price strong { font-size: 14px; font-weight: 700; color: var(--text); }
.service__btn { font-size: 13px; font-weight: 600; color: var(--cta); transition: color var(--t); }
.service__btn:hover { color: var(--cta-dark); }
@media (max-width: 900px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ─── ADVANTAGES ─── */
.advantages { background: var(--hero-bg); }
.advantages .section-title { color: #F8FAFC; }
.advantages .section-subtitle { color: #94A3B8; }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.advantage {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--t);
}
.advantage:hover { background: rgba(37,99,235,0.1); }
.advantage:nth-child(3) { border-right: none; }
.advantage:nth-child(4), .advantage:nth-child(5), .advantage:nth-child(6) { border-bottom: none; }
.advantage:nth-child(6) { border-right: none; }
.advantage__num {
  font-size: 38px;
  font-weight: 700;
  color: #60A5FA;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
.advantage h3 { font-size: 15px; font-weight: 700; color: #F1F5F9; margin-bottom: 8px; }
.advantage p { font-size: 13px; color: #64748B; line-height: 1.6; }
@media (max-width: 900px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .advantage:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
  .advantage:nth-child(2), .advantage:nth-child(4) { border-right: none; }
  .advantage:nth-child(5), .advantage:nth-child(6) { border-bottom: none; }
}
@media (max-width: 550px) {
  .advantages__grid { grid-template-columns: 1fr; }
  .advantage { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
  .advantage:last-child { border-bottom: none !important; }
}

/* ─── STEPS ─── */
.steps { background: var(--bg-alt); }
.steps__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.step {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  counter-increment: step;
  position: relative;
}
.step:last-child { border-right: none; }
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 14px;
}
.step h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.35; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.62; }
@media (max-width: 1000px) {
  .steps__list { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--border); }
  .step:nth-child(even) { border-right: none; }
  .step:last-child { border-bottom: none; }
}
@media (max-width: 550px) {
  .steps__list { grid-template-columns: 1fr; }
  .step { border-right: none; }
}

/* ─── PORTFOLIO ─── */
.portfolio { background: var(--bg); }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.portfolio-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
  transition: box-shadow var(--t), transform var(--t);
}
.portfolio-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.portfolio-item__visual {
  position: relative;
  height: 200px;
  background: var(--bg-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-item__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.portfolio-item:hover .portfolio-item__visual img { transform: scale(1.04); }
.portfolio-item__visual > svg { width: 80px; height: 80px; color: var(--border-strong); }
.portfolio-item__label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}
.portfolio-item__body { padding: 20px 22px; }
.portfolio-item__body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.35; }
.portfolio-item__meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.portfolio-item__result {
  display: inline-block;
  background: #F0FDF4;
  color: #15803D;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid #BBF7D0;
}
@media (max-width: 680px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* ─── REVIEWS ─── */
.reviews { background: var(--bg-alt); }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--t);
}
.review:hover { box-shadow: var(--shadow-md); }
.review__stars { color: #F59E0B; font-size: 17px; letter-spacing: 2px; line-height: 1; }
.review__text { font-size: 14px; color: var(--text-mid); line-height: 1.78; flex: 1; font-style: italic; }
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review__avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review__meta { display: flex; flex-direction: column; }
.review__meta strong { font-size: 14px; font-weight: 700; color: var(--text); }
.review__meta span { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 680px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ─── FORM ─── */
.form-section { background: var(--hero-bg); padding: 80px 0; }
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: start;
}
.form-section__text h2 { color: #F8FAFC; margin-bottom: 16px; }
.form-section__lead { color: #94A3B8; font-size: 16px; line-height: 1.72; margin-bottom: 32px; }
.form-section__perks { display: flex; flex-direction: column; gap: 10px; }
.form-section__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-size: 15px;
}
.form-section__perks li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 2px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2360A5FA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-card__sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  resize: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-policy { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.5; }
.form-policy a { color: var(--primary); }
.form-success { text-align: center; padding: 24px 0; }
.form-success__icon {
  width: 56px;
  height: 56px;
  background: #F0FDF4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #15803D;
  margin: 0 auto 16px;
}
.form-success h3 { color: var(--text); margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15px; }
#form-error { color: var(--danger); font-size: 13px; margin-top: 8px; text-align: center; }
@media (max-width: 900px) {
  .form-section__grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 28px; }
}

/* ─── FAQ ─── */
.faq { background: var(--bg); }
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--t), color var(--t);
}
.faq-item__q-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--t), color var(--t);
}
.faq-item.is-open .faq-item__q { color: var(--primary); background: var(--primary-light); }
.faq-item.is-open .faq-item__q-icon { transform: rotate(180deg); color: var(--primary); }
.faq-item__q:hover { background: var(--bg-alt); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 320ms cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item__a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--muted); line-height: 1.78; }

/* ─── SEO TEXT ─── */
.seo-text { background: var(--bg-alt); border-top: 1px solid var(--border); }
.seo-text__inner { max-width: 800px; margin: 0 auto; }
.seo-text__inner h2 { font-size: 26px; margin-bottom: 24px; }
.seo-text__inner p { font-size: 15px; color: var(--text-mid); line-height: 1.82; margin-bottom: 16px; }
.seo-text__inner p:last-child { margin-bottom: 0; }
.seo-text__inner strong { color: var(--text); }

/* ─── FOOTER ─── */
.site-footer { background: #0F172A; color: #94A3B8; padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #F1F5F9;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
}
.footer-col p { font-size: 14px; color: #64748B; line-height: 1.75; }
.footer-col a { font-size: 14px; color: #64748B; display: block; margin-bottom: 6px; transition: color var(--t); line-height: 1.5; }
.footer-col a:hover { color: #60A5FA; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
}
.footer-contacts li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.footer-contacts a { color: #64748B; display: inline; margin-bottom: 0; }
.footer-contacts a:hover { color: #60A5FA; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: #334155;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #334155; transition: color var(--t); }
.footer-bottom a:hover { color: #60A5FA; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── POPUP ─── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms, visibility 300ms;
  backdrop-filter: blur(4px);
}
.popup-overlay.is-visible { opacity: 1; visibility: visible; }
.popup {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: scale(0.95) translateY(10px);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-overlay.is-visible .popup { transform: scale(1) translateY(0); }
.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  line-height: 1;
}
.popup__close:hover { background: var(--border); color: var(--text); }
.popup__icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.popup__icon svg { width: 28px; height: 28px; }
.popup__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.popup__text { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.popup__btn { margin-bottom: 12px; }
.popup__note { font-size: 12px; color: var(--muted); }

/* ─── MESSENGER BUTTONS ─── */
.messenger-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.messenger-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
.messenger-btn:hover { transform: scale(1.1); color: #fff; }
.messenger-btn--tg { background: #2AABEE; }
.messenger-btn--tg svg { width: 26px; height: 26px; }
.messenger-btn--max { background: var(--primary); letter-spacing: -0.02em; }
@media (max-width: 560px) { .messenger-buttons { bottom: 16px; right: 16px; } }
