﻿/* 
   VOLNA Residence - Sales Oriented Design
   Version: 8.0 (Content refresh + modernized UI)
*/

:root {
    /* Palette - Clean & Premium */
    --color-bg: #FFFFFF;
    --color-bg-light: #F7F9FC;
    --color-dark: #1A1F24;
    --color-accent: #BA8E4E;
    --color-accent-hover: #a87d3f;
    --color-text: #2C3036;
    --color-text-muted: #666666;
    --color-border: #E0E0E0;
    --color-glass: rgba(255, 255, 255, 0.88);
    
    /* Typography */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Manrope", sans-serif;
    
    /* Layout */
    --container: 1280px;
    --gutter: 20px;
    --header-height: 88px;
}

/* --- RESET --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 10% -10%, rgba(186, 142, 78, 0.10), transparent 40%),
        radial-gradient(circle at 90% 0%, rgba(26, 31, 36, 0.05), transparent 32%);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.skip-link {
    position: absolute;
    left: 10px;
    top: -48px;
    background: var(--color-dark);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    z-index: 3000;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- SVG ICONS --- */
.icon-svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    color: var(--color-accent);
}

.icon-svg-sm {
    width: 20px;
    height: 20px;
    vertical-align: text-bottom;
    margin-right: 5px;
    color: var(--color-accent);
}

.icon-svg-lg {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
}

.icon-svg-white {
    width: 48px;
    height: 48px;
    color: #fff;
}

/* --- UTILS --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: 6rem 0; position: relative; }
.bg-light {
    background-color: var(--color-bg-light);
    background-image: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(247,249,252,0.95));
}
.bg-dark { background-color: var(--color-dark); color: #fff; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.text-center { text-align: center; }
.align-center { align-items: center; }
.mt-2 { margin-top: 1rem; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.bg-dark .section-title { color: #fff; }

.label {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.bg-dark .subtitle { color: #aaa; }

.lead { font-size: 1.2rem; color: var(--color-text); margin-bottom: 1.5rem; }

/* --- BUTTONS & FORMS --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border-radius: 10px;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
}
.btn-primary:hover { background-color: var(--color-accent-hover); }

.btn-white { background: #fff; color: var(--color-dark); }
.btn-white:hover { background: #f0f0f0; }

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn-full { width: 100%; }

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    background: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="tel"]:focus,
.lead-form input[type="email"]:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(197, 160, 101, 0.2);
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.4rem 0 0.8rem;
    text-align: left;
}

.consent-row input[type="checkbox"] {
    margin-top: 0.22rem;
    accent-color: var(--color-accent);
    flex-shrink: 0;
}

.consent-row span {
    font-size: 0.74rem;
    line-height: 1.45;
    color: #6d7178;
}

.consent-row a {
    text-decoration: underline;
}

.consent-optional span {
    color: #7e838b;
}

.form-error {
    display: block;
    min-height: 1.15rem;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #b42318;
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(26,31,36,0.08);
    padding: 1.5rem 0; /* Increased initial padding */
    transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-area { display: flex; flex-direction: column; }
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.official-status { font-size: 0.7rem; text-transform: uppercase; color: var(--color-accent); letter-spacing: 0.1em; }

.desktop-nav { display: flex; gap: clamp(0.7rem, 1vw, 1.4rem); }
.desktop-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-contacts { display: flex; align-items: center; gap: 0.7rem; }
.phone-link { font-weight: 700; font-size: 1rem; white-space: nowrap; }

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    padding: 0;
}
.burger-menu span { width: 24px; height: 2px; background: var(--color-dark); transition: 0.3s; }
.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    background: #fff;
    z-index: 999;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu.active { transform: translateX(0); }

.m-link {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.m-contacts .phone-big { font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: 0.5rem; }

/* --- HERO --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 16px);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(12, 17, 22, 0.88) 0%, rgba(26, 31, 36, 0.58) 48%, rgba(26, 31, 36, 0.14) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text { color: #fff; max-width: 650px; }

.status-badge {
    display: inline-block;
    background: var(--color-accent);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: 4.5rem; /* Increased font size */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 15px rgba(0,0,0,0.2); /* Added text shadow */
}

.serif-italic { font-style: italic; font-weight: 400; }

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-features li { display: flex; align-items: center; gap: 0.5rem; }

.hero-form-card {
    background: #fff;
    padding: 2.5rem;
    width: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.45);
}

.hero-form-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.hero-form-card p { font-size: 0.9rem; color: #666; margin-bottom: 1.5rem; line-height: 1.4; }

/* --- ADVANTAGES --- */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.adv-item {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    box-shadow: 0 8px 20px rgba(12,16,22,0.03);
}

.adv-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.adv-item h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 700; }
.adv-item p { font-size: 0.9rem; color: var(--color-text-muted); }


/* --- ABOUT --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.stat-item .num { font-size: 1.8rem; font-weight: 700; color: var(--color-accent); display: block; }
.stat-item .desc { font-size: 0.8rem; text-transform: uppercase; color: #666; }

.about-img { position: relative; }
.about-img img { box-shadow: 20px 20px 0 var(--color-bg-light); }
.img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    padding: 1rem 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
    border-radius: 12px;
}

/* --- LOCATION PLUSES --- */
.location-plus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.plus-item {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plus-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.plus-icon {
    margin-bottom: 1.5rem;
}

.plus-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.plus-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- LOCATION --- */
.location-distances {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.dist-item {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 0.6rem 1rem;
}

.map-container {
    height: 500px;
    width: 100%;
    background: #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* --- APARTMENTS --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.card-img { height: 250px; overflow: hidden; position: relative; }
.card-img img { height: 100%; width: 100%; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }

.card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    padding: 0.3rem 0.8rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-dark);
    border-radius: 999px;
}

.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 1rem; }

.card-features { margin-bottom: 1.5rem; }
.card-features li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
}
.card-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cta-banner {
    background: var(--color-accent);
    color: #fff;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
}
.cta-content h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }

/* --- GALLERY GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
}

.g-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    height: 100%;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.g-item:hover img {
    transform: scale(1.05);
}

.g-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.g-item:hover .g-overlay {
    opacity: 1;
}

/* --- PAYMENT PLANS (NEW) --- */
.payment-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.plan-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
}

.plan-highlight {
    background: #fff;
    color: var(--color-dark);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 2;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.plan-highlight .plan-header { border-bottom-color: #eee; }

.plan-header h3 { font-size: 1.8rem; margin-bottom: 0; }

.plan-badge {
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
}

.plan-highlight .plan-badge { border-color: var(--color-accent); color: #fff; }
.bg-accent { background-color: var(--color-accent); }

.plan-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.plan-discount {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.old-price { font-size: 0.9rem; text-decoration: line-through; opacity: 0.6; }
.discount-val { font-size: 2rem; font-weight: 700; color: var(--color-accent); font-family: var(--font-serif); }

.plan-features { margin: 2rem 0; }
.plan-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Steps */
.steps-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
}

.step-item { flex: 1; text-align: center; }
.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    line-height: 38px;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}
.step-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin-top: 20px;
}

/* --- GUARANTEES --- */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.g-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-radius: 14px;
}

.g-icon { margin-bottom: 1rem; }
.g-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: var(--font-sans); text-transform: uppercase; }
.g-card p { font-size: 0.9rem; color: #666; }

/* --- INFRASTRUCTURE --- */
.infra-visual { position: relative; padding-bottom: 50px; }
.overlay-infra-img {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 60%;
    border: 5px solid #fff;
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
    border-radius: 14px;
}

.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* --- CONTACTS --- */
.phone-big { font-size: 2.5rem; font-weight: 700; display: block; margin: 1rem 0; color: var(--color-dark); }
.bg-dark .phone-big { color: #fff; }
.hours { color: #888; margin-top: 1rem; }

.social-icon {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #ddd;
    margin-right: 1rem;
    font-size: 0.9rem;
    border-radius: 2px;
}
.social-icon:hover { border-color: var(--color-accent); color: var(--color-accent); }

.final-form-card {
    background: #fff;
    padding: 3rem;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 16px;
}

/* --- FOOTER --- */
.site-footer {
    padding: 3rem 0;
    background: #fff;
    color: #999;
    font-size: 0.8rem;
    border-top: 1px solid #eee;
}

.footer-inner { display: flex; justify-content: space-between; }
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    text-align: right;
}
.footer-legal a {
    color: #4a525e;
    font-size: 0.83rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active { display: flex; }

.modal-window {
    background: #fff;
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    border-radius: 16px;
}

.wide-modal { max-width: 600px; }

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.modal-window h3 { margin-bottom: 0.5rem; }
.modal-window p { margin-bottom: 1.5rem; color: #666; }

.policy-text {
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #666;
}

/* --- LIGHTBOX --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 5000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active { display: flex; }

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border: 5px solid #fff;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

/* --- LOADER --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.loader-text { font-size: 2rem; font-weight: 700; letter-spacing: 0.2em; color: var(--color-dark); }
.loader-sub { font-size: 0.8rem; text-transform: uppercase; color: var(--color-accent); text-align: center; margin-top: 0.5rem; }

/* --- ANIMATIONS --- */
.reveal-up, .reveal-img {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-up.active, .reveal-img.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .hero-section {
        height: auto;
        min-height: 0;
        padding-top: calc(var(--header-height) + 24px);
        padding-bottom: 3rem;
    }
    .hero-content { flex-direction: column; text-align: center; padding-top: 0; gap: 1.25rem; }
    .hero-text { margin-bottom: 0; max-width: 100%; }
    .hero-overlay { background: rgba(0,0,0,0.6); }
    .hero-features { justify-content: center; flex-wrap: wrap; }
    .desktop-nav { display: none; }
    .burger-menu { display: flex; }
    .hero-form-card { width: 100%; }
    .guarantees-grid { grid-template-columns: 1fr 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .overlay-infra-img { position: static; width: 100%; margin-top: 1rem; }
    
    .payment-plans { grid-template-columns: 1fr; gap: 4rem; }
    .plan-highlight { transform: none; box-shadow: none; border: 1px solid #ddd; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
    .steps-row { display: none; } /* Hide steps on mobile */
    
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .footer-legal { text-align: left; }
}

@media (max-width: 600px) {
    .site-header {
        padding: 1rem 0;
    }
    .site-header.scrolled {
        padding: 0.8rem 0;
    }
    .logo {
        font-size: 1.3rem;
    }
    .official-status {
        font-size: 0.64rem;
    }
    .hero-title { font-size: 2.5rem; }
    .guarantees-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal { align-items: center; text-align: center; }
    .phone-big { font-size: 2rem; }
}

@media (max-width: 1360px) {
    .desktop-nav { display: none; }
    .burger-menu { display: flex; }
    .header-contacts .btn { display: none; }
}

@media (max-width: 860px) {
    .header-contacts .phone-link { display: none; }
}
