/* ed: 2026-07-26 — Ошибки и последствия. Селекторы oi- */

.oi-page { padding-top: 0; position: relative; }

/* ===== HERO ===== */
.oi-hero { position: relative; min-height: 100dvh; min-height: 100vh; display: flex; align-items: center; z-index: 1; overflow: hidden; }
.oi-hero-bg { position: absolute; inset: 0; z-index: 0; }
.oi-hero-image { position: absolute; inset: 0; z-index: 1; background: url('/_app/images/hero-interior-ulvlspace-engineering-studio.webp') center/cover no-repeat; transform: scale(1.05); transition: transform 0.6s var(--transition-smooth); will-change: transform; }
.oi-hero:hover .oi-hero-image { transform: scale(1.12); }
.oi-hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(var(--surface-deep-rgb), 0.95) 0%, rgba(var(--surface-deep-rgb), 0.55) 40%, rgba(var(--surface-deep-rgb), 0.9) 75%, var(--surface-deep) 100%); }
.oi-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, var(--surface-deep) 0%, transparent 100%); z-index: 0; pointer-events: none; }
.oi-hero-inner { position: relative; z-index: 3; max-width: 720px; padding: 140px 0 80px; animation: oi-fadeInUp 0.8s ease-out; }
@keyframes oi-fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .oi-hero-inner { animation: none; } }
.oi-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(var(--accent-gold-rgb), 0.12); border: 1px solid rgba(var(--accent-gold-rgb), 0.25); border-radius: 24px; font-size: var(--text-sm); font-weight: 700; color: var(--accent-gold); margin-bottom: 24px; }
.oi-hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; color: var(--text-body); line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.03em; }
.oi-hero h1 .accent { background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-light) 60%, var(--accent-gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.oi-hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: rgba(var(--text-body-rgb), 0.7); margin: 0 0 40px; line-height: 1.6; max-width: 560px; }

/* ===== STATS ===== */
.oi-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.oi-stat { text-align: center; padding: 24px 16px; background: rgba(var(--text-body-rgb), 0.04); border-radius: 12px; }
.oi-stat-val { display: block; font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--accent-gold); letter-spacing: -0.02em; margin-bottom: 8px; }
.oi-stat-label { display: block; font-size: var(--text-sm); color: rgba(var(--text-body-rgb), 0.5); line-height: 1.4; }

/* ===== HEADING ===== */
.oi-section-heading { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: var(--text-body); margin-bottom: 40px; letter-spacing: -0.02em; }

/* ===== FORBIDDEN ===== */
.oi-forbidden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oi-forbid-card { padding: 32px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 16px; }
.oi-forbid-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-gold-rgb), 0.1); border-radius: 12px; color: var(--accent-gold); margin-bottom: 20px; }
.oi-forbid-card h3 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.oi-forbid-card p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.6; margin: 0; }

/* ===== COMPLEX ===== */
.oi-complex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oi-complex-card { padding: 32px; background: rgba(var(--accent-gold-rgb), 0.03); border: 1px solid rgba(var(--accent-gold-rgb), 0.08); border-radius: 16px; transition: border-color 0.3s ease; }
.oi-complex-card:hover { border-color: rgba(var(--accent-gold-rgb), 0.2); }
.oi-complex-card h3 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.oi-complex-card p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.6; margin: 0; }

/* ===== MISTAKES ===== */
.oi-mistakes { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.oi-mistake { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 12px; }
.oi-mistake-num { width: 36px; height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-gold-rgb), 0.12); border-radius: 50%; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 800; color: var(--accent-gold); }
.oi-mistake h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--text-body); margin-bottom: 4px; }
.oi-mistake p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.5; margin: 0; }

/* ===== CONSEQUENCES ===== */
.oi-consequences { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oi-consequence { padding: 32px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 16px; }
.oi-consequence-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-gold-rgb), 0.1); border-radius: 12px; color: var(--accent-gold); margin-bottom: 20px; }
.oi-consequence h3 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.oi-consequence p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.6; margin: 0; }

/* ===== CASES ===== */
.oi-cases { display: flex; flex-direction: column; gap: 24px; max-width: 680px; }
.oi-case { padding: 32px; background: rgba(var(--accent-gold-rgb), 0.03); border: 1px solid rgba(var(--accent-gold-rgb), 0.08); border-radius: 16px; }
.oi-case-badge { display: inline-block; padding: 4px 12px; background: rgba(var(--accent-gold-rgb), 0.12); border-radius: 20px; font-size: var(--text-sm); font-weight: 700; color: var(--accent-gold); margin-bottom: 12px; }
.oi-case h3 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.oi-case p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.6; margin: 0; }

/* ===== COMPROMISES TABLE ===== */
.oi-table-wrap { background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.08); border-radius: 16px; overflow: hidden; }
.oi-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.oi-table thead th { padding: 20px 24px; text-align: left; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(var(--text-body-rgb), 0.5); background: rgba(var(--accent-gold-rgb), 0.04); border-bottom: 1px solid rgba(var(--text-body-rgb), 0.06); }
.oi-table td { padding: 16px 24px; border-bottom: 1px solid rgba(var(--text-body-rgb), 0.04); color: rgba(var(--text-body-rgb), 0.7); }
.oi-table td:first-child { font-weight: 600; color: var(--text-body); }
.oi-table td:last-child { color: var(--accent-gold); font-weight: 600; }
.oi-table tbody tr:last-child td { border-bottom: none; }

/* ===== CHECKLIST (TEST) ===== */
.oi-checklist { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.oi-check-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 12px; transition: border-color 0.3s ease; }
.oi-check-item:hover { border-color: rgba(var(--accent-gold-rgb), 0.2); }
.oi-check-num { width: 36px; height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-gold-rgb), 0.12); border-radius: 50%; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 800; color: var(--accent-gold); }
.oi-check-item h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--text-body); margin-bottom: 4px; }
.oi-check-item p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.5; margin: 0; }
.oi-checklist-note { margin-top: 24px; padding: 20px 28px; background: rgba(var(--accent-gold-rgb), 0.04); border-left: 3px solid var(--accent-gold); border-radius: 0 12px 12px 0; font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.7); line-height: 1.6; }

/* ===== CHANGES ===== */
.oi-changes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oi-change { padding: 28px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 16px; }
.oi-change-badge { display: inline-block; padding: 4px 12px; background: rgba(var(--accent-gold-rgb), 0.12); border-radius: 20px; font-size: var(--text-sm); font-weight: 700; color: var(--accent-gold); margin-bottom: 12px; }
.oi-change h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--text-body); margin-bottom: 8px; }
.oi-change p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.6; margin: 0; }

/* ===== STEPS ===== */
.oi-steps { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.oi-step { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--surface-elevated); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 12px; }
.oi-step-num { width: 36px; height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-gold-rgb), 0.12); border-radius: 50%; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 800; color: var(--accent-gold); }
.oi-step h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--text-body); margin-bottom: 4px; }
.oi-step p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.6); line-height: 1.5; margin: 0; }

/* ===== FAQ ===== */
.oi-faq { max-width: 680px; }
.oi-faq-item { border-bottom: 1px solid rgba(var(--text-body-rgb), 0.08); }
.oi-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; color: var(--text-body); cursor: pointer; list-style: none; transition: color 0.2s ease; }
.oi-faq-q::-webkit-details-marker { display: none; }
.oi-faq-q::marker { display: none; content: ''; }
.oi-faq-q::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--accent-gold); flex-shrink: 0; }
details[open] .oi-faq-q::after { content: '−'; }
.oi-faq-q:hover { color: var(--accent-gold); }
.oi-faq-a { padding: 0 0 24px; }
.oi-faq-a p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.65); line-height: 1.7; margin: 0; }

/* ===== RELATED ===== */
.oi-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.oi-related-card { display: block; padding: 28px 24px; background: rgba(var(--text-body-rgb), 0.04); border: 1px solid rgba(var(--text-body-rgb), 0.06); border-radius: 16px; text-decoration: none; transition: border-color 0.3s ease, transform 0.2s ease; }
.oi-related-card:hover { border-color: rgba(var(--accent-gold-rgb), 0.2); transform: translateY(-2px); }
.oi-related-card h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--text-body); margin-bottom: 6px; }
.oi-related-card p { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.55); line-height: 1.5; margin: 0; }

/* ===== FINAL ===== */
.oi-final { padding: 80px 0; }
.oi-final-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.oi-final-inner h2 { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: var(--text-body); margin-bottom: 16px; letter-spacing: -0.02em; }
.oi-final-inner > p { font-size: var(--text-lg); color: rgba(var(--text-body-rgb), 0.65); line-height: 1.6; margin-bottom: 32px; }
.oi-final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.oi-final-phone { margin-bottom: 8px; }
.oi-final-phone a { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: var(--accent-gold); text-decoration: none; }
.oi-final-phone a:hover { text-decoration: underline; }
.oi-final-telegram { font-size: var(--text-base); color: rgba(var(--text-body-rgb), 0.5); margin-bottom: 16px; }
.oi-final-telegram a { color: var(--accent-gold); font-weight: 600; text-decoration: none; }
.oi-final-telegram a:hover { text-decoration: underline; }
.oi-final-back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-base); color: rgba(var(--accent-gold-rgb), 0.5); text-decoration: none; transition: color 0.3s ease; }
.oi-final-back:hover { color: var(--accent-gold); }

/* ===== STICKY CTA ===== */
.oi-sticky-cta { position: fixed; bottom: 24px; right: 24px; z-index: 100; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.oi-sticky-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.oi-sticky-cta-btn { display: flex; align-items: center; gap: 8px; padding: 14px 24px; background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-light) 100%); color: var(--text-on-gold); border: none; border-radius: 12px; font-family: var(--font-heading); font-size: var(--text-base); font-weight: 700; cursor: pointer; box-shadow: 0 4px 20px rgba(var(--accent-gold-rgb), 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.oi-sticky-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(var(--accent-gold-rgb), 0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) { .oi-stats { grid-template-columns: repeat(2, 1fr); } .oi-forbidden { grid-template-columns: repeat(2, 1fr); } .oi-complex { grid-template-columns: 1fr; } .oi-consequences { grid-template-columns: 1fr; } .oi-changes { grid-template-columns: 1fr; } .oi-related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .oi-hero-inner { padding: 100px 0 60px; } .oi-hero h1 { font-size: clamp(32px, 8vw, 44px); } .oi-stats { grid-template-columns: repeat(2, 1fr); } .oi-forbidden { grid-template-columns: 1fr; } .oi-related { grid-template-columns: 1fr; } .oi-table thead { display: none; } .oi-table, .oi-table tbody, .oi-table tr, .oi-table td { display: block; } .oi-table tr { padding: 16px 20px; border-bottom: 1px solid rgba(var(--text-body-rgb), 0.06); } .oi-table td { padding: 4px 0; border: none; } .oi-table td:first-child { font-size: var(--text-lg); margin-bottom: 8px; } .oi-final-btns { flex-direction: column; } .oi-final-btns .btn { width: 100%; justify-content: center; } }
@media (max-width: 480px) { .oi-hero h1 { font-size: 32px; } .oi-hero-inner { padding: 80px 0 48px; } .oi-section-heading { font-size: 24px; margin-bottom: 28px; } .oi-forbid-card, .oi-complex-card, .oi-consequence, .oi-change { padding: 24px; } }
