/* =====================================================
   СТИЛИ ГЛАВНОЙ СТРАНИЦЫ САЙТА
   ===================================================== */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.4);
    --whatsapp: #25D366;
    --telegram: #2AABEE;
    --max: #7B68EE;
    --phone: #10b981;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: -20%; left: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    bottom: -20%; right: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* =====================================================
   ШАПКА
   ===================================================== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 14, 26, 0.7);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

header.scrolled {
    border-bottom-color: var(--border-color);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px var(--accent-glow);
    flex-shrink: 0;
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover { color: var(--text-primary); }

.lang-btn.active {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 2px 10px var(--accent-glow);
}

.header-phone {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    display: none;
}

.header-phone:hover { color: var(--accent); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   КНОПКИ
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    filter: brightness(1.05);
}

.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: rgba(10, 14, 26, 0.4);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, rgba(10, 14, 26, 0.75) 70%, var(--bg-primary) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.925rem;
    color: var(--text-secondary);
}

.hero-feature .check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--phone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-main {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-main .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.price-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.price-divider { height: 1px; background: var(--border-color); margin: 1.75rem 0; }

.price-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.price-info-item { display: flex; flex-direction: column; gap: 0.25rem; }

.price-info-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-info-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.price-info-item .value a { color: var(--accent); text-decoration: none; }

.hero-card .btn { width: 100%; }

/* =====================================================
   СЕКЦИИ
   ===================================================== */
section { padding: 6rem 0; position: relative; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   ПРЕИМУЩЕСТВА
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* =====================================================
   ГАЛЕРЕЯ
   ===================================================== */
.gallery-wrapper { position: relative; overflow: hidden; border-radius: var(--radius-lg); }

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide { flex: 0 0 20%; padding: 0 8px; }

.carousel-slide .img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.carousel-slide .img-wrap:hover { border-color: var(--accent); }

.carousel-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.carousel-slide .img-wrap:hover img { transform: scale(1.1); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.75rem;
}

.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-hover);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.lightbox-nav:hover { background: var(--accent); }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =====================================================
   СТОИМОСТЬ
   ===================================================== */
.price-section {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.03) 50%, transparent 100%);
}

.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.price-block:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }

.price-block .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.price-block .value {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-block .value.accent {
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-block .sublabel { font-size: 0.9rem; color: var(--text-secondary); }

.utilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.utility-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.utility-item:hover { border-color: var(--accent); transform: translateY(-2px); }

.utility-item .icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.utility-item .name { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* =====================================================
   КАРТА
   ===================================================== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#yandexMap { width: 100%; height: 100%; }

/* =====================================================
   CTA
   ===================================================== */
.cta-section { position: relative; overflow: hidden; }

.cta-inner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(234, 88, 12, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

.cta-inner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-inner .btn { position: relative; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copy { color: var(--text-muted); font-size: 0.875rem; }
.footer-contact { display: flex; gap: 1rem; align-items: center; }

/* =====================================================
   МОДАЛЬНОЕ ОКНО
   ===================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.modal::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

.modal h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.05);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input::placeholder { color: var(--text-muted); }

.modal .btn { width: 100%; margin-top: 0.5rem; }

.modal-success { display: none; text-align: center; padding: 1rem 0; }

.modal-success .success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--phone);
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-success h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-success p { color: var(--text-secondary); font-size: 0.95rem; }

.modal-error {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

/* =====================================================
   ПЛАВАЮЩАЯ КНОПКА СВЯЗИ
   ===================================================== */
.contact-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.contact-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s;
}

.contact-fab.open .contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.25s;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.contact-item:hover { transform: translateX(-4px); border-color: var(--border-hover); }

.contact-item .contact-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-item.phone .contact-icon { background: linear-gradient(135deg, var(--phone), #059669); }
.contact-item.max .contact-icon { background: linear-gradient(135deg, var(--max), #6366f1); }
.contact-item.whatsapp .contact-icon { background: linear-gradient(135deg, var(--whatsapp), #128C7E); }
.contact-item.telegram .contact-icon { background: linear-gradient(135deg, var(--telegram), #0088cc); }

.contact-fab-toggle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--accent-glow);
    transition: all 0.3s;
    position: relative;
    align-self: flex-end;
}

.contact-fab-toggle:hover { transform: scale(1.05); }

.contact-fab-toggle .icon-open,
.contact-fab-toggle .icon-close {
    position: absolute;
    transition: all 0.3s;
}

.contact-fab-toggle .icon-close { opacity: 0; transform: rotate(-90deg); }
.contact-fab.open .contact-fab-toggle .icon-open { opacity: 0; transform: rotate(90deg); }
.contact-fab.open .contact-fab-toggle .icon-close { opacity: 1; transform: rotate(0); }

.contact-fab-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: pulse 2.5s infinite;
}

.contact-fab.open .contact-fab-toggle::before { animation: none; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* =====================================================
   REVEAL-АНИМАЦИИ
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   АДАПТИВ
   ===================================================== */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .carousel-slide { flex: 0 0 33.3333%; }
    .price-cards { grid-template-columns: 1fr; max-width: 500px; }
    .utilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .container { padding: 0 20px; }
    section { padding: 4rem 0; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-card { padding: 2rem 1.5rem; }
    .price-main { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .carousel-slide { flex: 0 0 50%; padding: 0 6px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.25rem; }
    .carousel-prev { left: 6px; }
    .carousel-next { right: 6px; }
    .cta-inner { padding: 2.5rem 1.5rem; }
    .modal { padding: 2.5rem 1.5rem; }
    .contact-fab { bottom: 16px; right: 16px; }
    .contact-fab-toggle { width: 58px; height: 58px; font-size: 1.4rem; }
    .contact-item { font-size: 0.85rem; padding: 6px 14px 6px 6px; }
    .contact-item .contact-icon { width: 36px; height: 36px; font-size: 1rem; }
    .map-container { height: 350px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .utilities-grid { grid-template-columns: 1fr 1fr; }
    .logo { font-size: 1rem; }
    .logo-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .lang-switcher { order: 3; }
}

@media (min-width: 768px) {
    .header-phone { display: inline; }
}

/* =====================================================
   🍯 Honeypot-поле
   Скрыто от людей, но боты его видят и заполняют
   ===================================================== */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

.hp-field label {
    display: block;
    font-size: 1px;
    color: transparent;
}

.hp-field input {
    width: 1px;
    height: 1px;
    border: none;
    background: transparent;
    color: transparent;
}

/* =====================================================
   📞 Подсказка для поля телефона
   ===================================================== */
.form-hint {
    display: none;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #fca5a5;
    line-height: 1.4;
}

.form-hint.show {
    display: block;
}

input[type="tel"] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

input[type="tel"]::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* =====================================================
   SEO: Микроразметка (скрытая, для поисковиков)
   ===================================================== */
[itemscope] .hidden-seo,
.seo-hidden {
    display: none !important;
}