/* ===== MASO palette: basalt dark + quartz ice (was Helios gold) ===== */
/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0E151C;
    --primary-light: #18222C;
    --accent: #8ED1E6;
    --accent-dark: #5EA9C4;
    --accent-glow: rgba(142, 209, 230, 0.3);
    --gold: #8ED1E6;
    --gold-light: #C4EAF4;
    --white: #F1F5F7;
    --gray: #A3ADB8;
    --dark: #080C11;
    --card-bg: rgba(14, 21, 28, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    cursor: default;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.15s ease-out;
    transform: translate(-50%, -50%);
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2em;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--primary-light);
    margin-top: 2rem;
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: var(--accent);
    animation: load 2s ease-in-out forwards;
}

@keyframes load {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(8, 12, 17, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-logo .eco-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow); }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--dark) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1.0); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 17, 0.4) 0%,
        rgba(8, 12, 17, 0.2) 40%,
        rgba(8, 12, 17, 0.6) 80%,
        rgba(8, 12, 17, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 2.2s forwards;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease 2.4s forwards;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--gray);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease 2.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease 2.8s forwards;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s ease 3s forwards;
}

.hero-scroll .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--primary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--primary-light);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 8rem 4rem;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.section-tag .line {
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 600px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(8, 12, 17, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-badge-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-badge-text {
    font-size: 0.75rem;
    color: var(--gray);
}

.about-badge-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-feature {
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s;
}

.about-feature:hover {
    border-color: var(--accent);
    background: rgba(142, 209, 230, 0.05);
    transform: translateY(-3px);
}

.about-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.about-feature p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ===== SOLAR ENERGY SECTION ===== */
.solar {
    background: var(--primary);
    overflow: hidden;
}

.solar-content {
    max-width: 1400px;
    margin: 0 auto;
}

.solar-header {
    text-align: center;
    margin-bottom: 5rem;
}

.solar-header .section-title,
.solar-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.solar-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.solar-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
}

.solar-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.solar-card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.solar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.solar-card:hover .solar-card-image img {
    transform: scale(1.08);
}

.solar-card-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(8, 12, 17, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--glass-border);
}

.solar-card-body {
    padding: 2rem;
}

.solar-card-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.solar-card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solar-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

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

.solar-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.solar-stat-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* Energy meter */
.energy-meter {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.meter-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    background: conic-gradient(
        var(--accent) 0deg,
        var(--accent) 280deg,
        var(--glass-border) 280deg,
        var(--glass-border) 360deg
    );
}

.meter-circle-inner {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.meter-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.meter-unit {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.3rem;
}

.meter-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.meter-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== VILLAS SECTION ===== */
.villas {
    background: var(--dark);
    overflow: hidden;
}

.villas-grid {
    max-width: 1400px;
    margin: 0 auto;
}

.villas-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 4rem;
}

.villas-parcels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 4rem;
}

.parcel {
    aspect-ratio: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.parcel:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
    background: rgba(142, 209, 230, 0.08);
}

.parcel.restaurant {
    background: rgba(142, 209, 230, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    grid-column: span 2;
    grid-row: span 2;
}

.parcel.restaurant:hover {
    background: rgba(142, 209, 230, 0.2);
    transform: scale(1.03);
}

.parcel-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Villa showcase cards */
.villa-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.villa-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}

.villa-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.villa-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.villa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.villa-card:hover .villa-card-image img {
    transform: scale(1.08);
}

.villa-card-body {
    padding: 1.5rem;
}

.villa-card-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.villa-card-body p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.villa-card-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(8, 12, 17, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--glass-border);
}

/* ===== 3D MASTER PLAN ===== */
.masterplan-3d-section {
    background: var(--dark);
    overflow: hidden;
}

.masterplan-3d-content {
    max-width: 1400px;
    margin: 0 auto;
}

.masterplan-3d-header {
    text-align: center;
    margin-bottom: 4rem;
}

.masterplan-3d-header .section-title,
.masterplan-3d-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.masterplan-3d-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--primary);
}

.masterplan-3d-canvas {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}

.masterplan-3d-canvas canvas {
    display: block;
}

.masterplan-3d-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.btn-3d-control {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', system-ui, sans-serif;
}

.btn-3d-control:hover {
    background: rgba(142, 209, 230, 0.1);
    border-color: var(--accent);
}

.masterplan-3d-hint {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.masterplan-3d-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem 2rem;
    flex-wrap: wrap;
}

.legend-3d-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.legend-3d-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

@media (max-width: 768px) {
    .masterplan-3d-canvas {
        height: 350px;
    }

    .masterplan-3d-controls {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .masterplan-3d-legend {
        gap: 1rem;
    }
}

/* ===== LAKE & RESTAURANT ===== */
.lake-section {
    background: var(--primary);
    position: relative;
}

.lake-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lake-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.lake-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.6s;
}

.lake-image-wrapper:hover img {
    transform: scale(1.03);
}

.lake-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.lake-feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.lake-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(142, 209, 230, 0.1);
    border: 1px solid rgba(142, 209, 230, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.lake-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.lake-feature p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--dark);
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-header .section-title,
.gallery-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 17,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:nth-child(1) {
    grid-row: span 2;
}

.gallery-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-label {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MASTER PLAN SECTION ===== */
.masterplan {
    background: var(--primary);
}

.masterplan-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.masterplan-image {
    margin-top: 4rem;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
}

.masterplan-image img {
    width: 100%;
    height: auto;
    display: block;
}

.masterplan-legend {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.legend-dot.solar { background: var(--accent); }
.legend-dot.villas { background: #3b82f6; }
.legend-dot.restaurant { background: var(--gold); }
.legend-dot.lake { background: #06b6d4; }

/* ===== VIDEO SECTION ===== */
.video-section {
    background: var(--primary);
    overflow: hidden;
}

.video-content {
    max-width: 1200px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 4rem;
}

.video-header .section-title,
.video-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    z-index: 2;
    box-shadow: 0 10px 50px var(--accent-glow);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 60px var(--accent-glow);
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.video-play-btn svg {
    margin-left: 4px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.video-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.video-progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Gallery Video */
.gallery-video {
    max-width: 1400px;
    margin: 4rem auto 0;
}

.gallery-video-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--white);
}

.gallery-video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.gallery-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* ===== SITE PLANS SECTION ===== */
.plans-section {
    background: var(--primary);
    overflow: hidden;
}

.plans-content {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-header {
    text-align: center;
    margin-bottom: 4rem;
}

.plans-header .section-title,
.plans-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.plan-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s;
}

.plan-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(142, 209, 230, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.plan-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(142, 209, 230, 0.1);
    border: 1px solid rgba(142, 209, 230, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card-info {
    flex: 1;
}

.plan-card-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.plan-card-info p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

.plan-card-tag {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(142, 209, 230, 0.15);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.plan-card-tag--gold {
    background: rgba(142, 209, 230, 0.15);
    color: var(--gold);
}

.plan-card-download {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
}

.plan-card:hover .plan-card-download {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(142, 209, 230, 0.1);
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability {
    background: var(--dark);
    text-align: center;
}

.sustain-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.sustain-card {
    padding: 2.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s;
}

.sustain-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(142, 209, 230, 0.05);
}

.sustain-icon {
    width: 60px;
    height: 60px;
    background: rgba(142, 209, 230, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.sustain-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sustain-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.15;
    animation: rotateBg 30s linear infinite;
}

@keyframes rotateBg {
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-title {
    margin-left: auto;
    margin-right: auto;
}

.cta-content .section-desc {
    margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 4rem 4rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--gray);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PARALLAX PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.15;
}

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

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    section {
        padding: 5rem 2rem;
    }

    .nav {
        padding: 1.2rem 2rem;
    }

    .about-grid,
    .lake-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .solar-showcase {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .gallery-item:nth-child(1) {
        grid-row: span 1;
    }
}

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .villas-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .villa-showcase {
        grid-template-columns: 1fr;
    }

    .sustain-cards {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .cursor-dot, .cursor-ring {
        display: none;
    }
}

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

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

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

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

/* Mobile nav overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 17, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Counter animation */
.count-up {
    display: inline-block;
}

/* ===== HELIOS: MILESTONES ===== */
.timeline-section { padding: 8rem 4rem; background: var(--primary); }
.timeline-content { max-width: 1100px; margin: 0 auto; }
.timeline { list-style: none; margin-top: 3rem; border-left: 1px solid rgba(142, 209, 230, 0.35); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 0 0 2.6rem 2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 0.35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.timeline-next::before { background: transparent !important; border: 2px solid var(--accent); }
.timeline-date { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); padding-top: 0.15rem; font-variant-numeric: tabular-nums; }
.timeline h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.4rem; }
.timeline p { color: var(--gray); line-height: 1.7; max-width: 60ch; }
.footer-col span { display: block; color: var(--gray); font-size: 0.9rem; margin-bottom: 0.8rem; }
@media (max-width: 768px) {
    .timeline-section { padding: 5rem 1.25rem; }
    .timeline li { grid-template-columns: 1fr; gap: 0.4rem; padding-left: 1.4rem; }
}

/* ===== HELIOS: DATA ROOM ===== */
.dataroom { padding: 8rem 4rem; background: var(--dark); }
.dataroom-content { max-width: 1400px; margin: 0 auto; }
.dr-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2.5rem 0 2rem; }
.dr-tab { font: 500 0.78rem/1 'Montserrat', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); background: transparent; border: 1px solid var(--glass-border); border-radius: 999px; padding: 0.75rem 1.1rem; cursor: pointer; transition: all 0.25s; }
.dr-tab span { color: var(--accent); margin-left: 0.35rem; }
.dr-tab:hover, .dr-tab.active { color: var(--dark); background: var(--accent); border-color: var(--accent); }
.dr-tab.active span, .dr-tab:hover span { color: var(--dark); }
.dr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.dr-card { display: flex; flex-direction: column; text-align: left; background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; cursor: pointer; padding: 0; color: inherit; font: inherit; transition: transform 0.3s, border-color 0.3s; }
.dr-card:hover, .dr-card:focus-visible { transform: translateY(-4px); border-color: rgba(142, 209, 230, 0.5); outline: none; }
.dr-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.dr-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; pointer-events: none; user-select: none; }
.dr-meta { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; }
.dr-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.dr-title { font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--white); }
.dr-sub { font-size: 0.8rem; color: var(--gray); }
.dr-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 12, 17, 0.88); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 2rem; }
.dr-modal.open { display: flex; }
.dr-modal-box { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: 1100px; width: 100%; max-height: 90vh; background: var(--primary); border: 1px solid var(--glass-border); border-radius: 14px; overflow: hidden; }
.dr-modal-preview { background: #fff; overflow: auto; }
.dr-modal-preview img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.dr-modal-info { padding: 2.5rem 2.2rem; display: flex; flex-direction: column; gap: 0.9rem; overflow: auto; }
.dr-modal-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.dr-modal-title { font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.dr-modal-sq { color: var(--gray); font-style: italic; }
.dr-modal-info dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; font-size: 0.9rem; margin: 0.5rem 0; }
.dr-modal-info dt { color: var(--gray); }
.dr-modal-note { font-size: 0.85rem; color: var(--gray); line-height: 1.6; border-left: 2px solid var(--accent); padding-left: 0.9rem; }
.dr-modal-request { align-self: flex-start; margin-top: 0.5rem; }
.dr-close { position: absolute; top: 0.8rem; right: 0.9rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--primary); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dr-close:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
    .dataroom { padding: 5rem 1.25rem; }
    .dr-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.9rem; }
    .dr-modal { padding: 0.75rem; }
    .dr-modal-box { grid-template-columns: 1fr; max-height: 94vh; overflow: auto; }
    .dr-modal-preview { max-height: 55vh; }
    .dr-modal-info { padding: 1.5rem; }
}

/* ===== HELIOS: FORMS ===== */
.hp-form { display: grid; gap: 1rem; max-width: 720px; margin: 2rem auto 0; text-align: left; }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp-field { display: grid; gap: 0.45rem; min-width: 0; }
.hp-field span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.hp-field input, .hp-field select, .hp-field textarea { width: 100%; font: 400 0.95rem/1.4 'Montserrat', sans-serif; color: var(--white); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border); border-radius: 8px; padding: 0.85rem 1rem; transition: border-color 0.2s; }
.hp-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.hp-field select option { color: #0E151C; }
.hp-field textarea { resize: vertical; }
.hp-field input:focus, .hp-field select:focus, .hp-field textarea:focus { outline: none; border-color: var(--accent); }
.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.4rem; }
.hp-form button[disabled] { opacity: 0.6; cursor: wait; }
.hp-alt { font-size: 0.85rem; color: var(--gray); }
.hp-alt a, .hp-status a { color: var(--accent); }
.hp-status { min-height: 1.2em; font-size: 0.9rem; color: var(--gray); }
.hp-status.is-ok { color: #8fd19e; }
.hp-status.is-error { color: #f0a07a; }
.hp-form--compact { margin: 0.5rem 0 0; gap: 0.75rem; }
.hp-form--compact .hp-field input, .hp-form--compact .hp-field textarea { padding: 0.7rem 0.85rem; }
.hp-form--compact button { justify-self: start; }
@media (max-width: 640px) { .hp-row { grid-template-columns: 1fr; } }

/* ===== HELIOS: RESPONSIVE FIXES ===== */
@media (max-width: 1180px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}
.stat-item, .plan-card, .plan-card-info { min-width: 0; }
@media (max-width: 480px) {
    .stat-item { padding: 2rem 0.75rem; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.7rem; letter-spacing: 0.06em; }
    .plan-card { padding: 1.25rem; gap: 1rem; }
    .plan-card-icon { flex-shrink: 0; }
    .plan-card-info h4 { font-size: 1rem; }
}
.layout-figure { margin: 0 0 2rem; display: grid; gap: 0.9rem; }
.layout-figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--glass-border); display: block; }
.layout-figure figcaption { text-align: center; font-size: 0.85rem; color: var(--gray); letter-spacing: 0.04em; }
.mobile-nav { overflow-y: auto; align-items: safe center; padding: 96px 1.5rem 2.5rem; }
.mobile-nav-links { gap: 1.4rem; margin: auto 0; }
.mobile-nav-links a { font-size: clamp(1.3rem, 5.5vw, 1.75rem); }
.hero { height: auto; min-height: max(640px, 100svh); padding: 110px 0 90px; }
.hero-overlay { background: linear-gradient(180deg, rgba(8, 12, 17,0.55) 0%, rgba(8, 12, 17,0.45) 45%, rgba(8, 12, 17,0.7) 80%, rgba(8, 12, 17,1) 100%); }
.hero-subtitle { color: #D9DEE3; text-shadow: 0 1px 12px rgba(8, 12, 17, 0.6); }
@media (max-width: 480px) {
    .hero { min-height: 100svh; padding: 100px 0 80px; }
    .hero-content { padding: 0 1.25rem; }
    .hero-tag { font-size: 0.65rem; letter-spacing: 0.1em; padding: 0.45rem 0.9rem; }
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 0.98rem; margin-bottom: 2rem; }
    .hero-btns { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hero-btns a { justify-content: center; }
    .hero-scroll { display: none; }
}
section[id] { scroll-margin-top: 72px; }

/* ===== HELIOS: 10-YEAR OUTLOOK ===== */
.py-wrap { margin-top: 4rem; background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: 20px; padding: 2.5rem; }
.py-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: 2rem; }
.py-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; margin-top: 0.6rem; }
.py-totals { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.py-totals div { display: grid; gap: 0.3rem; }
.py-totals strong { font-size: 2rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.py-totals span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.py-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.py-table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.py-table th, .py-table td { padding: 0.85rem 1rem; text-align: right; border-bottom: 1px solid var(--glass-border); font-size: 0.95rem; white-space: nowrap; }
.py-table th:first-child { text-align: left; }
.py-table thead th { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); border-bottom-color: rgba(142, 209, 230, 0.4); }
.py-table tbody th { font-weight: 500; color: var(--white); }
.py-table tbody td { color: #D9DEE3; }
.py-table tbody tr:hover { background: rgba(142, 209, 230, 0.05); }
.py-table tfoot th, .py-table tfoot td { color: var(--accent); font-weight: 600; border-bottom: none; border-top: 1px solid rgba(142, 209, 230, 0.4); }
.py-bar { display: inline-block; vertical-align: middle; width: 90px; height: 6px; margin-right: 0.9rem; background: rgba(255, 255, 255, 0.06); border-radius: 3px; overflow: hidden; }
.py-bar span { display: block; height: 100%; background: linear-gradient(90deg, #5EA9C4, var(--accent)); border-radius: 3px; }
.py-note { margin-top: 1.4rem; font-size: 0.82rem; line-height: 1.7; color: var(--gray); max-width: 80ch; }
@media (max-width: 640px) {
    .py-wrap { padding: 1.5rem 1.1rem; margin-top: 2.5rem; }
    .py-totals strong { font-size: 1.5rem; }
    .py-bar { width: 48px; margin-right: 0.6rem; }
}
@media (max-width: 640px) {
    .py-table { min-width: 0; }
    .py-table th:nth-child(3), .py-table td:nth-child(3), .py-table th:nth-child(5), .py-table td:nth-child(5) { display: none; }
    .py-table th, .py-table td { padding: 0.75rem 0.4rem; font-size: 0.88rem; }
    .py-bar { display: none; }
}
@media (max-width: 640px) {
    .py-table thead th { white-space: normal; font-size: 0.6rem; letter-spacing: 0.1em; line-height: 1.4; vertical-align: bottom; }
}

/* ===== HELIOS: KOSOVO ENERGY ===== */
.kosovo { padding: 8rem 4rem; background: var(--primary); }
.kosovo-content { max-width: 1200px; margin: 0 auto; }
.ks-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--glass-border); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; }
.ks-stat { background: var(--primary); padding: 2rem 1.6rem; display: grid; gap: 0.6rem; align-content: start; }
.ks-stat strong { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; line-height: 1.05; }
.ks-stat span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); line-height: 1.5; }
.ks-stat--gold strong { color: var(--accent); }
.ks-chart { margin-top: 2.5rem; }
.ks-chart-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.9rem; }
.ks-bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.ks-bar--junik { margin-top: 0.6rem; height: 26px; }
.ks-seg { display: block; height: 100%; }
.ks-seg--coal { background: #4A5361; }
.ks-seg--res { background: #7FA69A; }
.ks-seg--imp { background: repeating-linear-gradient(135deg, #8A94A3 0 6px, #6E7787 6px 12px); }
.ks-seg--junik { background: linear-gradient(90deg, #5EA9C4, var(--accent)); }
.ks-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; margin-top: 1.2rem; font-size: 0.88rem; color: #D9DEE3; }
.ks-legend li { display: flex; align-items: center; gap: 0.55rem; }
.ks-legend b { font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.ks-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.ks-source { margin-top: 1.6rem; font-size: 0.8rem; line-height: 1.7; color: var(--gray); max-width: 90ch; }
@media (max-width: 1024px) { .kosovo { padding: 5rem 2rem; } .ks-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .kosovo { padding: 4rem 1.25rem; } .ks-stat { padding: 1.4rem 1rem; } .ks-legend { flex-direction: column; } }

.dr-card[hidden] { display: none; }
.dr-card.dr-in { animation: drIn 0.35s ease both; }
@keyframes drIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== LANGUAGE TOGGLE (EN / SQ) ===== */
.nav-links { margin-left: auto; }
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; margin-left: 1.75rem; padding: 3px; border: 1px solid var(--glass-border); border-radius: 50px; background: rgba(8, 12, 17, 0.35); position: relative; z-index: 1001; flex-shrink: 0; }
.lang-toggle button { background: none; border: 0; color: var(--gray); font: 600 0.7rem 'Montserrat', sans-serif; letter-spacing: 0.12em; padding: 0.45rem 0.7rem; border-radius: 50px; cursor: pointer; transition: background 0.25s, color 0.25s; }
.lang-toggle button:hover { color: var(--white); }
.lang-toggle button.active { background: var(--accent); color: var(--dark); }
.lang-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1400px) { .nav-links { gap: 1.8rem; } }
@media (max-width: 1180px) { .lang-toggle { margin-left: auto; margin-right: 1.25rem; } }

/* ===== MASO: USES GRID, WHY SECTION, MODAL SUMMARY ===== */
.sustain-cards--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .sustain-cards--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sustain-cards--six { grid-template-columns: 1fr; } }
.sustainability--why { background: var(--primary); }
.dr-modal-summary { font-size: 0.88rem; line-height: 1.65; color: var(--white); opacity: 0.85; margin: 0; }
.dr-modal-summary:empty { display: none; }

/* ===== MASO: PURITY CHART ===== */
.purity { max-width: 1400px; margin: 4.5rem auto 0; padding: 2.2rem 2.4rem 1.8rem; border: 1px solid var(--glass-border); border-radius: 20px; background: linear-gradient(160deg, rgba(142, 209, 230, 0.06), rgba(255, 255, 255, 0.015)); }
.purity-head { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) 4.5rem; gap: 1.2rem; align-items: end; margin-bottom: 1.2rem; }
.purity-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.purity-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--gray); letter-spacing: 0.05em; }
.purity-list { list-style: none; display: grid; gap: 0.8rem; }
.purity-list li { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) 4.5rem; gap: 1.2rem; align-items: center; }
.purity-name { font-size: 0.88rem; color: var(--white); line-height: 1.35; }
.purity-name em { font-style: normal; color: var(--gray); font-size: 0.78rem; margin-left: 0.35rem; }
.purity-bar { position: relative; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.purity-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 10px; background: linear-gradient(90deg, #2D6E89, #5EA9C4 55%, #C4EAF4); }
.purity-list b { font-weight: 600; font-size: 0.95rem; color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.purity-note { margin-top: 1.3rem; font-size: 0.78rem; color: var(--gray); }
.lake-section .purity { margin-left: auto; margin-right: auto; }
@media (max-width: 760px) {
    .purity { padding: 1.6rem 1.2rem 1.4rem; }
    .purity-head { grid-template-columns: 1fr; }
    .purity-scale { display: none; }
    .purity-list li { grid-template-columns: minmax(0, 1fr) 4.2rem; row-gap: 0.4rem; }
    .purity-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* Chemical formulas keep their case inside uppercase labels */
.chem { text-transform: none; letter-spacing: 0.02em; }

/* MASO logo has a tagline line, so it needs a little more height */
.nav-logo-img { height: 48px; }
.nav.scrolled .nav-logo-img { height: 42px; }
.footer-brand .nav-logo-img { height: 56px; }

/* Menu: never wrap; switch to the hamburger before the links run out of room (EN/SQ toggle + longer Albanian labels) */
.nav-links a { white-space: nowrap; }
@media (max-width: 1440px) { .nav-links { gap: 1.5rem; } .nav { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (max-width: 1360px) { .nav-links { display: none; } .hamburger { display: flex; } .lang-toggle { margin-left: auto; margin-right: 1.25rem; } }

/* ===== MASO: WHY EUROPE NEEDS IT ===== */
.europe { padding: 8rem 4rem; background: var(--primary); }
.europe-content { max-width: 1200px; margin: 0 auto; }
.eu-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--glass-border); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; }
.eu-fact { background: var(--primary); padding: 1.8rem 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.eu-fact strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; line-height: 1.1; }
.eu-fact h4 { font-size: 0.95rem; font-weight: 600; color: var(--accent); }
.eu-fact p { font-size: 0.86rem; line-height: 1.65; color: var(--gray); }
.eu-kosovo { margin-top: 3rem; padding: 2rem 2.2rem; border: 1px solid rgba(142, 209, 230, 0.35); border-radius: 18px; background: linear-gradient(135deg, rgba(142, 209, 230, 0.08), rgba(142, 209, 230, 0.02)); }
.eu-kosovo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 1.4rem; }
.eu-kosovo-grid div { display: grid; gap: 0.5rem; align-content: start; }
.eu-kosovo-grid strong { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; color: var(--accent); }
.eu-kosovo-grid p { font-size: 0.88rem; line-height: 1.65; color: #C6CED7; }
.eu-source { margin-top: 1.6rem; font-size: 0.78rem; line-height: 1.7; color: var(--gray); max-width: 95ch; }
@media (max-width: 1024px) { .europe { padding: 5rem 2rem; } .eu-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eu-kosovo-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .europe { padding: 4rem 1.25rem; } .eu-facts { grid-template-columns: 1fr; } .eu-kosovo { padding: 1.5rem 1.25rem; } }
