﻿/*
 * Base tokens, header, hero and global section headings
 * Extracted from lamer-public.css lines 1-506.
 */

:root {
    --ink: #0d1117;
    --muted: #667085;
    --line: rgba(13, 17, 23, .1);
    --paper: #f7f4ef;
    --white: #fff;
    --deep: #08110f;
    --accent: #b79a58;
    --accent-2: #8f7436;
    --shadow: 0 24px 70px rgba(8, 17, 15, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#plan-apartament,
#cerere-apartament {
    scroll-margin-top: 96px;
}

.apartment-scroll-anchor {
    display: block;
    height: 0;
    width: 100%;
    pointer-events: none;
}
body {
    margin: 0;
    font-family: "Roboto", system-ui, sans-serif;
    color: var(--ink);
    background: #fbfaf8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mobile-app-bar,
.mobile-bottom-nav,
.mobile-sticky-cta,
.mobile-hero-cue {
    display: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px min(5vw, 64px);
    color: #fff;
    background: linear-gradient(180deg, rgba(8, 17, 15, .78), rgba(8, 17, 15, .18));
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.brand img {
    width: 128px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}
.brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.45); color: var(--accent);
    font-family: "Roboto", system-ui, sans-serif; font-weight: 800;
}
.main-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav a { opacity: .88; }
.main-nav a:hover { opacity: 1; color: var(--accent); }
.header-cta, .btn-primary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 20px; border-radius: 0;
    font-size: 14px; font-weight: 700;
}
.header-cta, .btn-primary {
    background: linear-gradient(135deg, #b79a58, #8f7436);
    color: #fff;
}
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.theme-toggle {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(183,154,88,.72);
    background: rgba(183,154,88,.18);
}
.theme-toggle svg {
    grid-area: 1 / 1;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: opacity .18s ease, transform .22s ease;
}
.theme-icon-sun {
    opacity: 0;
    transform: scale(.72) rotate(-40deg);
}
.theme-icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0);
}
html[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}
html[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: scale(.72) rotate(40deg);
}

.hero {
    min-height: 92vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #07100e;
}
.hero img.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .78; transform: scale(1.02);
}
.mobile-hero-video {
    display: none;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8,17,15,.2), rgba(8,17,15,.55) 52%, rgba(8,17,15,.96)),
        linear-gradient(105deg, rgba(8,17,15,.86), rgba(8,17,15,.32) 48%, transparent);
}
.hero-inner {
    position: relative; z-index: 1;
    width: min(1320px, 92vw);
    margin: 0 auto;
    padding: 150px 0 70px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 420px; gap: 64px; align-items: end; }
.hero h1, .page-hero h1 {
    font-family: "Roboto", system-ui, sans-serif;
    font-size: clamp(52px, 7vw, 112px);
    line-height: .9;
    margin: 0 0 24px;
    max-width: 920px;
}
.hero p { max-width: 650px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-panel {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
    padding: 28px;
}
.hero-panel strong { font-size: 42px; color: var(--accent); display: block; }
.hero-panel span { color: rgba(255,255,255,.76); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (min-width: 981px) {
    .hero {
        min-height: clamp(720px, 88vh, 860px);
        align-items: center;
        color: #fff;
        background: #07100e;
    }

    .hero img.hero-bg {
        opacity: .96;
        transform: scale(1);
        object-position: center center;
        filter: saturate(1.05) contrast(1.02);
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(7,16,14,.82) 0%, rgba(7,16,14,.58) 38%, rgba(7,16,14,.22) 72%, rgba(7,16,14,.18) 100%),
            linear-gradient(180deg, rgba(7,16,14,.18) 0%, rgba(7,16,14,.08) 45%, rgba(7,16,14,.58) 100%);
    }

    .hero-inner {
        width: min(1240px, 90vw);
        padding: 138px 0 74px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 690px);
        gap: 0;
        align-items: center;
    }

    .hero-copy {
        width: min(100%, 690px);
        padding: clamp(26px, 3vw, 38px);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 8px;
        background: linear-gradient(135deg, rgba(7,16,14,.68), rgba(7,16,14,.38));
        box-shadow: 0 28px 80px rgba(0,0,0,.24);
        backdrop-filter: blur(10px);
    }

    .hero h1 {
        max-width: 640px;
        margin-bottom: 18px;
        color: #fff;
        font-size: clamp(54px, 5vw, 82px);
        line-height: .96;
        letter-spacing: 0;
        text-shadow: none;
    }

    .hero p {
        max-width: 590px;
        color: rgba(255,255,255,.86);
        font-size: clamp(18px, 1.32vw, 20px);
        line-height: 1.58;
        text-shadow: none;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .hero-actions .btn-primary {
        min-height: 52px;
        background: linear-gradient(135deg, #b79a58, #8f7436);
        box-shadow: 0 18px 38px rgba(0,0,0,.18);
    }

    .hero-actions .btn-outline {
        min-height: 52px;
        color: #fff;
        border-color: rgba(255,255,255,.42);
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(10px);
    }

    .hero-panel {
        align-self: end;
        padding: 14px;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 8px;
        box-shadow: 0 22px 60px rgba(0,0,0,.18);
        backdrop-filter: blur(14px);
    }

    .hero-stats {
        gap: 0;
        border: 1px solid rgba(255,255,255,.11);
        background: rgba(255,255,255,.72);
        border-radius: 6px;
        overflow: hidden;
    }

    .hero-stats div {
        min-height: 116px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 34px;
        grid-template-areas:
            "label icon"
            "value icon";
        align-content: center;
        align-items: center;
        column-gap: 12px;
        row-gap: 7px;
        padding: 20px;
        border-right: 1px solid rgba(15,23,42,.075);
        border-bottom: 1px solid rgba(15,23,42,.075);
    }

    .hero-stats .hero-stat-icon {
        grid-area: icon;
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        color: #8f7436;
        border: 1px solid rgba(143,116,54,.22);
        border-radius: 50%;
        background: rgba(183,154,88,.08);
    }

    .hero-stats .hero-stat-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .hero-stats div:nth-child(2n) {
        border-right: 0;
    }

    .hero-stats div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .hero-stats strong {
        grid-area: value;
        min-width: 0;
        color: #8f7436;
        font-size: clamp(24px, 1.55vw, 28px);
        line-height: 1.05;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .hero-stats .hero-stat-label {
        grid-area: label;
        color: rgba(7,16,14,.62);
        font-size: 12px;
        font-weight: 800;
        line-height: 1.35;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    html[data-theme="dark"] .hero-panel {
        background: rgba(7,16,14,.48);
        border-color: rgba(255,255,255,.14);
        box-shadow: 0 22px 60px rgba(0,0,0,.24);
    }

    html[data-theme="dark"] .hero-stats {
        background: rgba(7,16,14,.7);
        border-color: rgba(255,255,255,.12);
    }

    html[data-theme="dark"] .hero-stats div {
        border-right-color: rgba(255,255,255,.1);
        border-bottom-color: rgba(255,255,255,.1);
    }

    html[data-theme="dark"] .hero-panel strong {
        color: #d7be72;
    }

    html[data-theme="dark"] .hero-stats .hero-stat-icon {
        color: #d7be72;
        border-color: rgba(215,190,114,.26);
        background: rgba(215,190,114,.1);
    }

    html[data-theme="dark"] .hero-stats .hero-stat-label {
        color: rgba(255,255,255,.68);
    }

    .section-head h2 {
        max-width: 720px;
        font-size: clamp(30px, 2.45vw, 40px);
        line-height: 1.05;
    }

    .why-lamer-content h2 {
        font-size: clamp(34px, 3vw, 46px);
        line-height: 1.06;
    }

    .gallery-slider-head h2,
    .construction-video-copy h2 {
        font-size: clamp(32px, 2.8vw, 44px);
        line-height: 1.06;
    }

    .hacc-content h3 {
        font-size: clamp(26px, 2.4vw, 34px);
        line-height: 1.08;
    }
}

.home-benefits-strip {
    position: relative;
    z-index: 3;
    margin-top: -38px;
    padding: 0 5vw;
    background: transparent;
}
.home-benefits-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.97);
    box-shadow: 0 24px 70px rgba(8,17,15,.12);
}
.home-benefits-inner article {
    min-height: 128px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 24px 22px;
    border-right: 1px solid rgba(15,23,42,.08);
}
.home-benefits-inner article:last-child { border-right: 0; }
.home-benefits-inner article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #8f7436;
    border: 1px solid rgba(183,154,88,.28);
    border-radius: 50%;
    background: rgba(183,154,88,.08);
}
.home-benefits-inner svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-benefits-inner h2 {
    margin: 0 0 7px;
    color: #111827;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
}
.home-benefits-inner p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}
html[data-theme="dark"] .home-benefits-inner {
    background: rgba(7,16,14,.96);
    border-color: rgba(255,255,255,.1);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
html[data-theme="dark"] .home-benefits-inner article { border-right-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .home-benefits-inner article > span {
    color: #d7be72;
    border-color: rgba(215,190,114,.28);
    background: rgba(215,190,114,.08);
}
html[data-theme="dark"] .home-benefits-inner h2 { color: #f6f2e8; }
html[data-theme="dark"] .home-benefits-inner p { color: rgba(255,255,255,.64); }
.section { padding: clamp(70px, 9vw, 130px) min(5vw, 70px); }
.section.dark { background: var(--deep); color: #fff; }
.section.soft { background: var(--paper); }
.apartments-section {
    background: #fbfaf8;
    color: var(--ink);
}
.apartments-section .section-head h2 {
    color: var(--ink);
}
.apartments-section .section-head p {
    color: var(--muted);
}
.section-head { width: min(1160px, 100%); margin: 0 auto 42px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.section-head h2 {
    font-family: "Roboto", system-ui, sans-serif;
    font-size: clamp(36px, 4.5vw, 72px);
    line-height: 1;
    margin: 0;
}
.section-head p { color: var(--muted); max-width: 520px; line-height: 1.6; margin: 0; }
.dark .section-head p { color: rgba(255,255,255,.68); }

@media (min-width: 981px) {
    .section-head h2 {
        max-width: 720px;
        font-size: clamp(34px, 2.8vw, 46px);
        line-height: 1.05;
    }

    .why-lamer-content h2,
    .gallery-slider-head h2,
    .construction-video-copy h2 {
        font-size: clamp(34px, 2.8vw, 46px);
        line-height: 1.05;
    }
}

.cookie-consent {
    position: fixed;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    width: min(920px, calc(100% - 44px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    color: #17211d;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 8px;
    box-shadow: 0 18px 54px rgba(8,17,15,.16);
    backdrop-filter: blur(16px);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 900;
}

.cookie-consent p {
    margin: 0;
    color: #526174;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-consent a {
    color: #8f7436;
    font-weight: 900;
}

.cookie-consent-actions {
    display: flex;
    gap: 8px;
}

.cookie-consent button {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.cookie-consent-primary {
    color: #fff;
    background: linear-gradient(135deg, #b79a58, #8f7436);
    border: 0;
}

.cookie-consent-secondary {
    color: #17211d;
    background: #fff;
    border: 1px solid rgba(15,23,42,.14);
}

.privacy-section {
    background: #fbfaf8;
}

.privacy-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 52px);
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 8px;
}

.privacy-copy {
    color: #344054;
    font-size: 17px;
    line-height: 1.75;
}

.privacy-copy h2 {
    margin: 34px 0 10px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.18;
}

.privacy-copy h2:first-of-type {
    margin-top: 0;
}

.privacy-copy a {
    color: #8f7436;
    font-weight: 900;
}
