/* ============================================
   АЗИМУТ РИНГ — Landing Page Styles
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #0e2f44;
    --accent: #e8b445;
    --accent-light: #f0c96a;
    --accent-dark: #c99a2e;
    --success: #27ae60;
    --dark: #0a0a0f;
    --dark-2: #12121a;
    --dark-3: #1a1a2e;
    --gray-900: #1e1e2d;
    --gray-800: #2d2d3f;
    --gray-700: #3d3d52;
    --gray-600: #555570;
    --gray-500: #7a7a95;
    --gray-400: #9e9eb5;
    --gray-300: #c2c2d4;
    --gray-200: #e0e0ec;
    --gray-100: #f0f0f6;
    --gray-50: #f8f8fc;
    --white: #ffffff;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, var(--primary-light), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-3));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-py: 120px;
    --container-max: 1280px;
    --container-px: 20px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(232, 180, 69, 0.3);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-h: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ===== SECTION BASE ===== */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section--gray {
    background: var(--gray-50);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding: 6px 20px;
    background: rgba(232, 180, 69, 0.1);
    border-radius: 30px;
}

.section__tag--light {
    background: rgba(232, 180, 69, 0.15);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section__title--light {
    color: var(--white);
}

.section__desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(232, 180, 69, 0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.preloader-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 4px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 20px rgba(26, 82, 118, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 82, 118, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232, 180, 69, 0.1);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

.btn--glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(232, 180, 69, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(232, 180, 69, 0.6); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 3px;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 6px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    font-weight: 600;
}

.nav__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.4);
}

.header__phone {
    display: none;
}

.header__phone a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__phone i {
    color: var(--accent);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.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);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10,10,15,0.92), rgba(26,82,118,0.85)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="%231a5276" width="1440" height="900"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(232, 180, 69, 0.08) 0%, transparent 70%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding-top: var(--header-h);
    padding-bottom: 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(232, 180, 69, 0.15);
    border: 1px solid rgba(232, 180, 69, 0.3);
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
    font-family: var(--font-display);
    color: var(--white);
    margin-bottom: 24px;
}

.hero__title-line {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    opacity: 0.7;
    margin-bottom: 8px;
}

.hero__title-accent {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: block;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.4);
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-lr;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about__card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.about__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.about__card--large {
    grid-row: span 2;
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
}

.about__card--large p {
    color: rgba(255,255,255,0.8);
}

.about__card--accent {
    background: var(--gradient-accent);
    color: var(--dark);
    border-color: transparent;
}

.about__card-visual {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.about__card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(232, 180, 69, 0.15);
    color: var(--accent);
}

.about__card--large .about__card-icon-wrap {
    background: rgba(255,255,255,0.15);
    color: var(--accent);
}

.about__card--accent .about__card-icon-wrap {
    background: rgba(0,0,0,0.1);
    color: var(--dark);
}

.about__card-number {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.08;
    line-height: 1;
}

.about__card--large .about__card-number,
.about__card--accent .about__card-number {
    opacity: 0.15;
}

.about__card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about__card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== ADVANTAGES ===== */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    position: relative;
}

.advantage:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(232, 180, 69, 0.3);
    transform: translateY(-5px);
}

.advantage__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    color: var(--white);
    transition: var(--transition);
}

.advantage:hover .advantage__icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.advantage__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.advantage__text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.advantage__line {
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===== APARTMENTS ===== */
.apartments__filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    background: var(--white);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.apartments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.apt-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.apt-card.hidden {
    display: none;
}

.apt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.apt-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apt-card__badge--green {
    background: var(--success);
    color: var(--white);
}

.apt-card__badge--gold {
    background: linear-gradient(135deg, #f0c96a, #c99a2e);
    color: var(--dark);
}

.apt-card__image {
    height: 220px;
    background: var(--gray-100);
    position: relative;
}

.apt-card__placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-400);
}

.apt-card__placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.apt-card__placeholder span {
    font-size: 0.85rem;
}

.apt-card__content {
    padding: 24px;
}

.apt-card__type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.apt-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.apt-card__specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.apt-card__spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.apt-card__spec i {
    color: var(--accent);
}

.apt-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    display: block;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* CTA Card */
.apt-card--cta {
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
}

.apt-card--cta:hover {
    transform: translateY(-5px);
}

.apt-card__cta-content {
    padding: 40px 30px;
    color: var(--white);
}

.apt-card__cta-content i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.apt-card__cta-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.apt-card__cta-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.6;
}

.apt-card__cta-content .btn {
    background: var(--white);
    color: var(--primary);
}

.apt-card__cta-content .btn:hover {
    background: var(--accent);
    color: var(--dark);
}

/* ===== PROGRESS / TIMELINE ===== */
.progress__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.progress__timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline__item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 40px;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: 20px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-300);
    z-index: 1;
    transition: var(--transition);
}

.timeline__item--done .timeline__dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.2);
}

.timeline__item--active .timeline__dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(232, 180, 69, 0.2);
    animation: pulse-dot 2s infinite;
}

.timeline__content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.timeline__item--done .timeline__content {
    border-color: rgba(39, 174, 96, 0.3);
}

.timeline__item--active .timeline__content {
    border-color: rgba(232, 180, 69, 0.3);
    box-shadow: var(--shadow-md);
}

.timeline__date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.timeline__content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline__content p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ===== INFRASTRUCTURE ===== */
.infra__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.infra__card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.infra__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.infra__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(26, 82, 118, 0.08);
    color: var(--primary);
    margin-bottom: 20px;
}

.infra__card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.infra__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.infra__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.infra__list li i {
    color: var(--success);
    font-size: 0.7rem;
}

/* ===== GALLERY ===== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery__item:hover {
    transform: scale(1.02);
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.gallery__item:hover .gallery__placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: rgba(255,255,255,0.7);
}

.gallery__placeholder i {
    font-size: 2.5rem;
}

.gallery__placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== LOCATION ===== */
.location__wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.location__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 450px;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--gray-100);
    color: var(--gray-500);
    text-align: center;
    padding: 40px;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.map-placeholder h3 {
    font-size: 1.2rem;
    color: var(--dark);
}

.map-placeholder p {
    font-size: 0.9rem;
}

.map-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 24px;
    background: var(--white);
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.map-address i {
    font-size: 1rem;
    color: var(--accent);
}

.location__info {
    display: flex;
    flex-direction: column;
}

.location__distances {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.location__distances h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.distance-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.distance-item:last-child {
    border-bottom: none;
}

.distance-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 82, 118, 0.08);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.distance-text {
    flex: 1;
}

.distance-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.distance-text span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.distance-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
    flex-shrink: 0;
}

/* ===== DEVELOPER ===== */
.developer__wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.developer__info .section__tag,
.developer__info .section__title {
    text-align: left;
}

.developer__info p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

.developer__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dev-stat {
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.dev-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.dev-stat__suffix {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.dev-stat__label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 6px;
}

.developer__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dev-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.dev-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.dev-feature i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 180, 69, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.dev-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dev-feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-block {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 180, 69, 0.1);
}

.cta-block__content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-block__content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-block__content p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-block__content strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.cta-block__timer {
    display: flex;
    gap: 8px;
    align-items: center;
}

.timer-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 70px;
}

.timer-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.timer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.timer-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.cta-block__action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--gray-50);
    color: var(--dark);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group--checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
}

.form-group--checkbox label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-500);
    margin-bottom: 0;
}

.form-group--checkbox a {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--gray-200);
}

.contact__info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.contact__info-item i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(26, 82, 118, 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.contact__info-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact__info-item a,
.contact__info-item span {
    font-size: 0.95rem;
    color: var(--dark);
}

.contact__info-item a:hover {
    color: var(--primary-light);
}

.contact__socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer__col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer__col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: rgba(255,255,255,0.4);
}

.footer__legal a:hover {
    color: var(--accent);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 440px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
}

.modal.active .modal__content {
    transform: scale(1) translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-400);
    background: var(--gray-100);
    transition: var(--transition);
}

.modal__close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.modal__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal__content > p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.modal__form .form-group {
    margin-bottom: 16px;
}

.modal__form input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-50);
    outline: none;
}

.modal__form input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
}

.modal__privacy {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
}

.modal__privacy a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn--whatsapp {
    background: #25d366;
}

.float-btn--phone {
    background: var(--primary);
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(26, 82, 118, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(26, 82, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 82, 118, 0); }
}

.float-btn--top {
    background: var(--gray-700);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-btn--top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: var(--transition-slow);
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.3rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--dark);
        padding: 100px 30px 40px;
        transition: var(--transition-slow);
        z-index: 1000;
    }

    .header__nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__link {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .burger {
        display: flex;
    }

    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__card--large {
        grid-row: auto;
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apartments__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .location__wrapper {
        grid-template-columns: 1fr;
    }

    .developer__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-block {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-py: 60px;
        --container-px: 16px;
        --header-h: 70px;
    }

    .hero__title-accent {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero__stats {
        gap: 20px;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__scroll {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .apartments__grid {
        grid-template-columns: 1fr;
    }

    .apartments__filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .infra__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery__item--wide {
        grid-column: auto;
    }

    .developer__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cta-block {
        padding: 30px 20px;
    }

    .cta-block__timer {
        justify-content: center;
        flex-wrap: wrap;
    }

    .timer-item {
        min-width: 60px;
        padding: 10px 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact__form-wrap {
        padding: 24px;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 8px;
    }

    .modal__content {
        padding: 32px 24px;
    }

    .progress__timeline::before {
        left: 20px;
    }

    .timeline__item {
        padding-left: 60px;
    }

    .timeline__dot {
        left: 10px;
        width: 18px;
        height: 18px;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}