:root {
    --bg: #16110e;
    --bg-alt: #1b1511;
    --card: rgba(255, 255, 255, 0.045);
    --card-border: rgba(255, 255, 255, 0.07);
    --text: #f3e9df;
    --muted: #b9a99a;
    --accent: #e0a56a;
    --accent-dark: #c98a4d;
    --radius: 20px;
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans:
        "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
        sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: min(1180px, 100% - 48px);
    margin-inline: auto;
}

/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(22, 17, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 68px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}
.logo__icon {
    width: 26px;
    height: 26px;
    color: var(--accent);
}
.nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}
.nav a {
    color: var(--text);
    opacity: 0.88;
    transition:
        color 0.2s,
        opacity 0.2s;
}
.nav a:hover {
    color: var(--accent);
    opacity: 1;
}
.phone-pill {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition:
        background 0.2s,
        color 0.2s;
}
.phone-pill svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
    transition: color 0.2s;
}
.phone-pill:hover {
    background: var(--accent);
    color: #1d140d;
}
.phone-pill:hover svg {
    color: #1d140d;
}
.burger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
}
.burger i {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition:
        transform 0.25s,
        opacity 0.25s;
}
.burger[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* typography */
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.1;
}
h2 {
    font-size: clamp(34px, 4.4vw, 52px);
    margin-bottom: 40px;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.2s,
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}
.btn--primary {
    background: var(--accent);
    color: #1d140d;
}
.btn--primary:hover {
    background: #ecb77f;
    transform: translateY(-1px);
}
.btn--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--text);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn--lg {
    padding: 20px 44px;
    font-size: 16px;
}

/* hero */
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(22, 17, 14, 0.96) 0%,
            rgba(22, 17, 14, 0.82) 38%,
            rgba(22, 17, 14, 0.35) 75%,
            rgba(22, 17, 14, 0.2) 100%
        ),
        linear-gradient(0deg, rgba(22, 17, 14, 0.7), transparent 35%);
}
.hero__in {
    position: relative;
    z-index: 1;
    padding: 70px 0 60px;
}
.hero__in > * {
    max-width: 560px;
}
.hero h1 {
    font-size: clamp(46px, 6.4vw, 80px);
    margin-bottom: 26px;
}
.hero__text {
    color: #e1d3c5;
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}
.stats {
    display: flex;
    gap: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stats li {
    display: flex;
    flex-direction: column;
}
.stats b {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}
.stats span {
    font-size: 13px;
    color: var(--muted);
}

/* sections */
.section {
    padding: 100px 0;
}
.section--alt {
    background: var(--bg-alt);
    border-block: 1px solid rgba(255, 255, 255, 0.04);
}
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cards .card:last-child:nth-child(odd) {
    grid-column: 1/-1;
}
.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px;
}
.card svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 22px;
}
.card h3 {
    font-size: 25px;
    margin-bottom: 10px;
}
.card p {
    color: var(--muted);
    font-size: 15px;
    max-width: 520px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.two-col h2 {
    margin-bottom: 34px;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 16px;
}
.checklist li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.checklist svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex: none;
}
.amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.amenities li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px 20px;
    font-size: 15px;
}
.amenities li:last-child:nth-child(odd) {
    grid-column: 1/-1;
}
.amenities svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none;
}

/* gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}
.gallery figure {
    grid-column: span 2;
    cursor: zoom-in;
}
.gallery figure:nth-child(5n + 1) {
    grid-column: span 4;
}
.gallery figure:nth-child(5n + 2) {
    grid-column: span 2;
}
.gallery .ph {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #2a2019;
}
.gallery figure:nth-child(5n + 2) .ph {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
}
.gallery figure:nth-child(5n + 1),
.gallery figure:nth-child(5n + 2) {
    display: flex;
    flex-direction: column;
}
.gallery figure:nth-child(5n + 1) .ph,
.gallery figure:nth-child(5n + 2) .ph {
    flex: 1;
    aspect-ratio: auto;
    min-height: 340px;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery figure:hover img {
    transform: scale(1.04);
}
.gallery figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
}

/* price */
.price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.025)
    );
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 56px 60px;
}
.price__value {
    font-family: var(--serif);
    font-size: clamp(60px, 8vw, 96px);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}
.price__value small {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    margin-left: 14px;
    color: var(--text);
}
.price__text {
    color: var(--muted);
    max-width: 430px;
}
.price__cta {
    text-align: center;
}
.price__cta p {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

/* contacts */
.two-col--contacts {
    align-items: stretch;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none;
    margin-top: 4px;
}
.contact-list .label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
}
.contact-list strong,
.contact-list a {
    display: block;
    font-size: 19px;
    font-weight: 700;
}
.contact-list a:hover {
    color: var(--accent);
}
.map {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 440px;
}
.map__switch {
    display: flex;
    gap: 12px;
}
.map__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.map__btn img {
    height: 26px;
    width: auto;
}
.map__btn:hover {
    border-color: rgba(224, 165, 106, 0.5);
}
.map__btn.is-active {
    border-color: var(--accent);
    background: rgba(224, 165, 106, 0.12);
}
.map__frame {
    position: relative;
    flex: 1;
    min-height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #241b15;
}
.map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
}
.map__frame iframe.is-active {
    display: block;
}

.footer {
    padding: 34px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 7, 5, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.lightbox[hidden] {
    display: none;
}
.lightbox figure {
    max-width: min(1100px, 100%);
    text-align: center;
}
.lightbox img {
    max-height: 82vh;
    margin: auto;
    border-radius: 12px;
}
.lightbox figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}
.lightbox__close {
    position: absolute;
    top: 14px;
    right: 22px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s,
        transform 0.7s;
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* responsive */
@media (max-width: 980px) {
    .nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(22, 17, 14, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px 24px 18px;
        display: none;
    }
    .nav.open {
        display: flex;
    }
    .nav a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .burger {
        display: flex;
    }
    .header__in {
        gap: 12px;
    }
    .phone-pill {
        margin-left: auto;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .section {
        padding: 72px 0;
    }
}
@media (max-width: 680px) {
    .container {
        width: min(100% - 32px, 1180px);
    }
    .logo {
        font-size: 20px;
    }
    .logo__icon {
        width: 22px;
        height: 22px;
    }
    .phone-pill {
        padding: 9px 14px;
        font-size: 13px;
    }
    .phone-pill svg {
        display: none;
    }
    .hero__bg::after {
        background: linear-gradient(
            0deg,
            rgba(22, 17, 14, 0.95) 0%,
            rgba(22, 17, 14, 0.8) 55%,
            rgba(22, 17, 14, 0.55) 100%
        );
    }
    .hero__text {
        font-size: 16px;
    }
    .stats {
        gap: 24px;
    }
    .cards,
    .amenities {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 26px;
    }
    .gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .gallery figure,
    .gallery figure:nth-child(5n + 1),
    .gallery figure:nth-child(5n + 2) {
        grid-column: auto;
    }
    .gallery figure .ph,
    .gallery figure:nth-child(5n + 1) .ph,
    .gallery figure:nth-child(5n + 2) .ph {
        aspect-ratio: 4/3;
        height: auto;
        min-height: 0;
        flex: none;
    }
    .price {
        padding: 34px 26px;
    }
    .price__cta {
        width: 100%;
    }
    .price__cta .btn {
        width: 100%;
    }
    .map__btn {
        flex: 1;
    }
}
@media (max-width: 540px) {
    .phone-pill {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }
    .phone-pill svg {
        display: block;
        width: 19px;
        height: 19px;
    }
    .phone-pill span {
        display: none;
    }
}
