/* ============================
   Reset & Base
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #00AEEF;
    --accent-hover: #0096d4;
    --accent-light: #e6f7fc;
    --bg: #ffffff;
    --bg-alt: #f8fafb;
    --bg-dark: #0d1117;
    --text: #1a1d23;
    --text-secondary: #5a6070;
    --text-light: #8a90a0;
    --border: #e8ecf0;
    --shadow: 0 2px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 64px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input { font-family: inherit; }

/* ============================
   Container
   ============================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,174,239,0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 24px rgba(0,174,239,0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: var(--bg);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-white {
    background: #fff;
    color: var(--accent);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}
.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.btn-telegram {
    background: #0088cc;
    color: #fff;
}

.tg-icon, .wa-icon {
    vertical-align: middle;
    flex-shrink: 0;
}
.btn-telegram:hover {
    background: #006da3;
    transform: translateY(-2px);
}

/* ============================
   Header
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 300;
    color: var(--text);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 24px;
    color: var(--accent);
}

.logo-text strong {
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.header-phone:hover {
    color: var(--accent);
}

.header-cta {
    display: inline-flex;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   Mobile Menu
   ============================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

.mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 280px;
}

.mobile-messengers {
    display: flex;
    gap: 12px;
}

/* ============================
   Hero
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    overflow: hidden;
    background: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 30%,
        rgba(0,0,0,0.55) 55%,
        rgba(0,0,0,0.4) 80%,
        rgba(0,0,0,0.3) 100%
    );
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.5);
}

.text-accent {
    color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(14px, 1.6vw, 17px);
    color: #fff;
    text-shadow: 0 1px 16px rgba(0,0,0,0.6);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.trust-check {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

/* Guarantee Banner */
.guarantee-banner {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.guarantee-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #00AEEF, #0096d4);
    color: #fff;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,174,239,0.25);
}

.guarantee-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.guarantee-text strong {
    display: block;
    font-size: 18px;
}

.guarantee-text span {
    font-size: 15px;
    opacity: 0.9;
}

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

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================
   Services
   ============================ */
.section-services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

/* ============================
   Why Us
   ============================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    text-align: center;
}

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

.why-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.why-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================
   Promo
   ============================ */
.section-promo {
    padding: 60px 0;
}

.promo-card {
    background: linear-gradient(135deg, #00AEEF, #0088cc);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.promo-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.promo-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.promo-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ============================
   How We Work
   ============================ */
.section-how {
    background: var(--bg-alt);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--border);
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(0,174,239,0.3);
}

.how-step h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.how-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================
   Before/After
   ============================ */
.beforeafter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.beforeafter-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.beforeafter-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: ew-resize;
    user-select: none;
}

.ba-image {
    position: absolute;
    inset: 0;
}

.ba-before {
    z-index: 2;
    width: 50%;
    overflow: hidden;
}

.ba-after {
    z-index: 1;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ba-before .ba-placeholder {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    width: 200%;
}

.ba-after .ba-placeholder {
    background: linear-gradient(135deg, #00AEEF, #0096d4);
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 3;
    width: 4px;
    transform: translateX(-50%);
}

.ba-slider-line {
    position: absolute;
    inset: 0;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    color: var(--accent);
}

.ba-label {
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================
   Reviews
   ============================ */
.section-reviews {
    background: var(--bg-alt);
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.reviews-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.reviews-badge-link:hover {
    color: var(--text);
}

.avito-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #00AAFF;
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.reviews-badge-link:hover .avito-logo {
    background: #0099e6;
    transform: translateY(-1px);
}

.reviews-rating {
    background: #fbbf24;
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.reviews-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 -24px;
    padding: 0 24px;
}

.reviews-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease;
    overflow: visible;
}

.review-slide {
    min-width: calc(33.333% - 14px);
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    transition: var(--transition);
}

.review-slide:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.review-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: contain;
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    transition: var(--transition);
}

.reviews-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.reviews-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ============================
   Quiz
   ============================ */
.quiz-wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.quiz-progress {
    margin-bottom: 32px;
    position: relative;
}

.quiz-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-text {
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quiz-option {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.quiz-option.selected {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.quiz-final {
    text-align: center;
}

.quiz-final-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.quiz-final-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.quiz-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    background: var(--bg);
}

.quiz-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,174,239,0.1);
}

.quiz-privacy {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.quiz-privacy a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================
   CTA
   ============================ */
.section-cta {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, #0d1117, #1a1d23);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 17px;
    opacity: 0.7;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.logo-footer {
    margin-bottom: 12px;
}

.logo-footer .logo-img {
    height: 36px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contacts h4,
.footer-cities h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-messengers {
    display: flex;
    gap: 8px;
}

.footer-cities ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-cities li {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

.footer-privacy {
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-privacy:hover {
    color: var(--accent);
}

/* ============================
   Floating CTA
   ============================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: none;
}

.fab:hover {
    transform: scale(1.1);
}

.fab-phone {
    background: var(--accent);
    color: #fff;
}

.fab-whatsapp {
    background: #25d366;
    color: #fff;
}

.fab-telegram {
    background: #0088cc;
    color: #fff;
}

.fab-quiz {
    background: var(--text);
    color: #fff;
}

/* ============================
   Modal
   ============================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 24px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 10px;
}

.modal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-success {
    text-align: center;
}

.success-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.success-messengers {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.success-messengers p {
    margin-bottom: 12px;
}

/* ============================
   Animations
   ============================ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: if JS fails or observer doesn't fire, show everything */
.no-js .anim-fade-up,
.anim-fade-up.force-visible {
    opacity: 1 !important;
    transform: none !important;
}

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .how-steps::before {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-content {
        padding: 40px 16px 0;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .beforeafter-grid {
        grid-template-columns: 1fr;
    }

    .review-slide {
        min-width: 100%;
        max-width: 100%;
    }

    .review-slide img {
        max-height: 400px;
        object-fit: contain;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .promo-card {
        padding: 32px 24px;
    }

    .quiz-wrapper {
        padding: 24px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-messengers {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }

    .guarantee-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .fab {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Scrollbar
   ============================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ============================
   Selection
   ============================ */
::selection {
    background: var(--accent);
    color: #fff;
}
