/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1C1C1E; background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 50px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: all .25s ease; border: 2px solid transparent;
    white-space: nowrap; line-height: 1;
}
.btn--primary { background: #C4A882; color: #fff; }
.btn--primary:hover { background: #b09268; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,168,130,.35); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--telegram { background: #2AABEE; color: #fff; padding: 10px 18px; font-size: 14px; }
.btn--telegram:hover { background: #1a9bd8; transform: translateY(-1px); }
.btn--white { background: #fff; color: #1C1C1E; font-weight: 700; }
.btn--white:hover { background: #f0ebe4; }
.btn--large { padding: 18px 44px; font-size: 18px; }

/* ===== SECTION COMMON ===== */
.section__tag {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 3px; color: #C4A882; margin-bottom: 14px; display: block;
}
.section__tag.center { text-align: center; }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.section__title.center { text-align: center; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0; transition: all .3s ease;
}
.header.scrolled {
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,.08); padding: 12px 0;
}
.header.scrolled .nav__link { color: #1C1C1E; }
.header.scrolled .nav__link:hover { color: #C4A882; }
.header.scrolled .logo__text { color: #1C1C1E; }
.header.scrolled .lang-switcher { color: #555; }
.header.scrolled .lang-sep { color: #ccc; }
.header.scrolled .burger span { background: #1C1C1E; }

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

.logo { display: flex; align-items: baseline; gap: 5px; }
.logo__text { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; transition: color .3s; }
.logo__sub { font-size: 10px; font-weight: 700; letter-spacing: 4px; color: #C4A882; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); transition: color .2s; }
.nav__link:hover { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); }
.lang-sep { opacity: .4; }
.lang-btn {
    background: none; border: none; cursor: pointer;
    font-size: 13px; font-weight: 700; color: inherit; opacity: .5;
    padding: 2px; transition: opacity .2s; font-family: 'Inter', sans-serif;
}
.lang-btn.active { opacity: 1; }
.lang-btn:hover { opacity: .85; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,20,22,.78) 0%, rgba(20,20,22,.42) 60%, rgba(20,20,22,.3) 100%); }

.hero__content { position: relative; z-index: 2; padding: 120px 0 80px; max-width: 680px; }
.hero__tag { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #C4A882; margin-bottom: 22px; }
.hero__title { font-size: clamp(38px, 5.5vw, 68px); font-weight: 800; line-height: 1.08; color: #fff; margin-bottom: 22px; }
.hero__sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.78); margin-bottom: 40px; line-height: 1.65; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    opacity: .45; animation: bounce 2.2s ease-in-out infinite;
    display: flex; align-items: center; justify-content: center;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== STATS ===== */
.stats { background: #1C1C1E; padding: 52px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 20px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stats__item:last-child { border-right: none; }
.stats__num { display: block; font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: #C4A882; margin-bottom: 8px; }
.stats__label { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 400; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: #F9F7F4; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text { font-size: 17px; color: #555; line-height: 1.75; margin-bottom: 28px; }
.about__list { list-style: none; margin-bottom: 36px; }
.about__list li {
    padding: 12px 0 12px 26px; position: relative;
    font-size: 16px; color: #333;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.about__list li:last-child { border-bottom: none; }
.about__list li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%); width: 8px; height: 8px;
    background: #C4A882; border-radius: 50%;
}
.about__image img { border-radius: 20px; width: 100%; height: 500px; object-fit: cover; }

/* ===== PRESALE ===== */
.presale { background: linear-gradient(135deg, #C4A882 0%, #b09268 100%); padding: 64px 0; }
.presale__inner { display: flex; align-items: center; gap: 40px; }
.presale__icon { flex-shrink: 0; width: 72px; height: 72px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.presale__content { flex: 1; }
.presale__title { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.presale__text { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.6; }

/* ===== GALLERY ===== */
.gallery { padding: 100px 0; }
.gallery .section__title { margin-bottom: 48px; }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 14px;
}
.gallery__item { border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 280px; object-fit: cover; transition: transform .45s ease; display: block; }
.gallery__item--wide img { height: 320px; }
.gallery__overlay {
    position: absolute; inset: 0; background: rgba(28,28,30,.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s ease;
}
.gallery__overlay span { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover .gallery__overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,.92);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox__close {
    position: absolute; top: 20px; right: 24px;
    background: rgba(255,255,255,.12); border: none; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* ===== PLANS ===== */
.plans { padding: 100px 0; background: #F9F7F4; }
.plans .section__title { margin-bottom: 48px; }
.plans__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 60px; }
.plans__spec { text-align: center; padding: 28px 20px; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.plans__spec-num { display: block; font-size: 18px; font-weight: 800; color: #1C1C1E; margin-bottom: 8px; }
.plans__spec-label { font-size: 13px; color: #888; line-height: 1.4; }
.plans__cta { text-align: center; padding: 48px; background: #fff; border-radius: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.plans__cta p { font-size: 20px; font-weight: 600; color: #1C1C1E; margin-bottom: 24px; }

/* ===== LOCATION ===== */
.location { padding: 100px 0; }
.location__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.location__text { font-size: 17px; color: #555; line-height: 1.75; margin-bottom: 28px; }
.location__list { list-style: none; }
.location__list li {
    padding: 12px 0 12px 26px; position: relative;
    font-size: 16px; color: #333;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.location__list li:last-child { border-bottom: none; }
.location__list li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%); width: 8px; height: 8px;
    background: #C4A882; border-radius: 50%;
}
.location__image img { border-radius: 20px; width: 100%; height: 420px; object-fit: cover; }

/* ===== DISTRICT ===== */
.district { padding: 100px 0; background: #F9F7F4; }
.district__sub { text-align: center; font-size: 16px; color: #888; margin-bottom: 52px; }
.district__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.district__card {
    background: #fff; border-radius: 20px; padding: 36px;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.district__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.district__icon {
    width: 56px; height: 56px; background: #F9F7F4; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #C4A882; margin-bottom: 20px;
}
.district__card-title { font-size: 18px; font-weight: 700; color: #1C1C1E; margin-bottom: 12px; }
.district__card-text { font-size: 15px; color: #666; line-height: 1.65; margin-bottom: 16px; }
.district__source {
    font-size: 12px; font-weight: 600; color: #C4A882;
    text-decoration: none; letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(196,168,130,.3);
    padding-bottom: 2px; transition: color .2s;
}
.district__source:hover { color: #b09268; }

@media (max-width: 768px) {
    .district__grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: #1C1C1E; text-align: center; }
.contact .section__title { color: #fff; }
.contact__sub { font-size: 18px; color: rgba(255,255,255,.5); margin-bottom: 44px; }
.contact__phone { margin-top: 22px; font-size: 22px; font-weight: 300; color: rgba(255,255,255,.4); letter-spacing: 2px; }

/* ===== FOOTER ===== */
.footer { background: #111; padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer .logo__text { color: rgba(255,255,255,.45); font-size: 18px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.25); }
.footer__privacy { font-size: 13px; color: rgba(255,255,255,.25); text-decoration: underline; }
.footer__privacy:hover { color: #C4A882; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0; transform: translateY(32px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(20,20,22,.97); flex-direction: column;
        align-items: center; justify-content: center; gap: 36px; z-index: 99;
    }
    .nav.open { display: flex; }
    .nav__link { font-size: 22px; font-weight: 700; color: #fff; }
    .burger { display: flex; z-index: 101; }
    .header__actions .btn--whatsapp span { display: none; }
    .header__actions .btn--whatsapp { padding: 10px 14px; }
}

/* ===== TABLET ===== */
@media (max-width: 768px) {
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { justify-content: center; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
    .stats__item:nth-child(3), .stats__item:nth-child(4) { border-bottom: none; }

    .about__inner { grid-template-columns: 1fr; gap: 40px; }
    .about__image { order: -1; }
    .about__image img { height: 300px; }

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

    .gallery__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gallery__item img { height: 200px; }
    .gallery__item--wide img { height: 240px; }

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

    .location__inner { grid-template-columns: 1fr; gap: 40px; }
    .location__image img { height: 280px; }

    .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
    .gallery__grid { grid-template-columns: 1fr; }
    .gallery__item--wide { grid-column: span 1; }
    .gallery__item img, .gallery__item--wide img { height: 220px; }

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

    .btn--large { padding: 16px 32px; font-size: 16px; }
}
