/* =====================================================
   site_08_izgot_vent — «Duct Master»
   DM Sans · Steel #64748B · Orange CTA #EA580C
   Steel Gradient Hero · Metallic Cards
   ===================================================== */

/* ─── TOKENS ─── */
:root {
  --primary: #64748B;
  --primary-dark: #475569;
  --primary-light: #F1F5F9;
  --cta: #EA580C;
  --cta-dark: #C2410C;
  --hero-from: #1E293B;
  --hero-to: #475569;
  --bg: #ffffff;
  --bg-alt: #F8FAFC;
  --text: #0F172A;
  --text-mid: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --success: #16A34A;
  --danger: #DC2626;
  --radius: 6px;
  --radius-md: 10px;
  --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: 240ms 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: 'DM Sans', -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(--cta); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--cta-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(234,88,12,0.3); }
.btn-primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(234,88,12,0.4); }
.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.12); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.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: 1px 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: linear-gradient(135deg, var(--hero-from), 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(--cta); background: #FFF7ED; }
.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(--cta); }
.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: 1px 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: linear-gradient(135deg, var(--hero-from) 0%, #334155 50%, var(--hero-to) 100%);
  padding: 80px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 75% 50%, rgba(100,116,139,0.2) 0%, transparent 65%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(234,88,12,0.8), transparent);
}
.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(234,88,12,0.15); border: 1px solid rgba(234,88,12,0.35);
  color: #FDB884; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 3px; margin-bottom: 20px;
}
.hero__badge .dot {
  width: 6px; height: 6px; background: var(--cta); 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: #FBA06B; }
.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.1); background: rgba(0,0,0,0.15);
  border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(4px);
}
.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(100,116,139,0.25) 0%, transparent 70%); border-radius: 50%; }
.hero__visual svg { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 0 30px rgba(234,88,12,0.25)); }
@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); position: relative;
}
.pain:last-child { border-right: none; }
.pain::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--border-strong));
  transform: scaleX(0); transition: transform var(--t); transform-origin: left;
}
.pain:hover::before { transform: scaleX(1); }
.pain:hover { background: #FAFAFA; }
.pain__icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--primary-dark); border: 1px solid var(--border-strong);
}
.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); overflow: hidden;
}
.service:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service__visual {
  height: 116px;
  background: linear-gradient(135deg, #1E293B, #334155);
  display: flex; align-items: center; justify-content: center;
  color: #94A3B8; border-bottom: 1px solid #475569; padding: 24px;
  position: relative; overflow: hidden; transition: background var(--t);
}
.service:hover .service__visual { background: linear-gradient(135deg, #0F172A, #1E293B, #334155); }
.service__visual::after {
  content: '';
  position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-15deg); transition: left 500ms ease;
}
.service:hover .service__visual::after { left: 120%; }
.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: 8px; height: 2px; background: var(--primary); 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: linear-gradient(135deg, #1E293B 0%, #334155 100%); }
.advantages .section-title { color: #F8FAFC; }
.advantages .section-subtitle { color: #94A3B8; }
.advantages__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  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.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03); transition: background var(--t);
  position: relative; overflow: hidden;
}
.advantage::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cta), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.advantage:hover::before { transform: scaleX(1); }
.advantage:hover { background: rgba(234,88,12,0.07); }
.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: 36px; font-weight: 700; color: #94A3B8; line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em; }
.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.07); }
  .advantage:nth-child(2), .advantage:nth-child(4) { border-right: 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.07) !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: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; font-size: 13px; font-weight: 700; border-radius: 3px; 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: linear-gradient(135deg, #334155, #64748B);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px; 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: #FFF7ED; color: var(--cta-dark); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 3px; border: 1px solid #FED7AA; }
@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); position: relative; overflow: hidden;
}
.review::before {
  content: '"'; position: absolute; top: -10px; right: 20px;
  font-size: 100px; font-weight: 700; color: var(--border); line-height: 1;
  font-family: Georgia, serif; pointer-events: none;
}
.review:hover { box-shadow: var(--shadow-md); }
.review__stars { color: #F59E0B; font-size: 17px; letter-spacing: 2px; }
.review__text { font-size: 14px; color: var(--text-mid); line-height: 1.78; flex: 1; position: relative; z-index: 1; }
.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: linear-gradient(135deg, var(--hero-from), var(--primary));
  color: #fff; font-size: 16px; font-weight: 700; border-radius: 4px;
  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: linear-gradient(135deg, #1E293B 0%, #334155 100%); 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(234,88,12,0.15); border: 1px solid rgba(234,88,12,0.4);
  border-radius: 3px; 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='%23FBA06B' 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(100,116,139,0.12); }
.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(--cta); }
.form-success { text-align: center; padding: 24px 0; }
.form-success__icon { width: 56px; height: 56px; background: #FFF7ED; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--cta-dark); 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-dark); background: var(--primary-light); }
.faq-item.is-open .faq-item__q-icon { transform: rotate(180deg); color: var(--primary-dark); }
.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: #FBA06B; }
.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(--cta); margin-top: 2px; }
.footer-contacts a { color: #64748B; display: inline; margin-bottom: 0; }
.footer-contacts a:hover { color: #FBA06B; }
.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: #FBA06B; }
@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.65); 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: #FFF7ED; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--cta); }
.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 ─── */
.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-dark); letter-spacing: -0.02em; }
@media (max-width: 560px) { .messenger-buttons { bottom: 16px; right: 16px; } }
