:root {
    --ink: #17251f;
    --muted: #66736d;
    --cream: #f7f3eb;
    --paper: #fffdf9;
    --sage: #879b83;
    --deep: #294337;
    --line: #e4dfd4;
    --accent: #c39a5a
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(255, 253, 249, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(228, 223, 212, .7)
}

.brand {
    font-family: Georgia, serif;
    font-size: 25px;
    letter-spacing: .5px
}

.brand small {
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 3px;
    display: block;
    color: var(--sage);
    text-transform: uppercase
}

.navlinks {
    display: flex;
    gap: 28px;
    font-size: 14px
}

.navlinks a:hover {
    color: var(--accent)
}

.hero {
    min-height: 92vh;
    padding: 140px 6% 80px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 55px;
    align-items: center;
    background: linear-gradient(135deg, var(--cream), #eef1e8)
}

.eyebrow {
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sage);
    font-size: 12px;
    font-weight: 700
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .98;
    font-weight: 500;
    margin: 18px 0
}

.hero p {
    max-width: 600px;
    font-size: 18px;
    color: var(--muted)
}

.buttons {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap
}

.btn {
    padding: 13px 22px;
    border-radius: 99px;
    border: 1px solid var(--deep);
    font-weight: 700;
    font-size: 14px
}

.btn.primary {
    background: var(--deep);
    color: #fff
}

.btn.secondary {
    border-color: var(--line);
    background: #fff
}

.hero-card {
    min-height: 520px;
    border-radius: 28px;
    background: linear-gradient(0deg, rgba(15, 25, 20, .72), rgba(15, 25, 20, .15) 55%), url("gallery/full/img_6082.jpg") center/cover no-repeat;
    box-shadow: 0 28px 70px rgba(38, 55, 45, .18);
    display: flex;
    align-items: end;
    padding: 30px;
    color: white;
    overflow: hidden;
    position: relative
}

/*.hero-card:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    top: 70px;
    right: -50px
}*/

/*.hero-card:after {
    content: "RIHAISH";
    position: absolute;
    right: -25px;
    bottom: 90px;
    font-family: Georgia, serif;
    font-size: 72px;
    opacity: .09;
    transform: rotate(-90deg)
}*/

.hero-info {
    position: relative;
    z-index: 1
}

.hero-info h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    margin: 0 0 5px
}

.hero-info p {
    color: rgba(255, 255, 255, .78);
    margin: 0
}

.section {
    padding: 95px 6%;
    max-width: 1250px;
    margin: auto
}

.section-head {
    max-width: 720px;
    margin-bottom: 45px
}

.section h2 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 500;
    line-height: 1.05;
    margin: 10px 0 15px
}

.muted {
    color: var(--muted)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white
}

.card .icon {
    color: var(--deep)
}

.card .icon svg {
    width: 30px;
    height: 30px;
    display: block
}

.card h3 {
    margin: 12px 0 7px;
    font-family: Georgia, serif;
    font-size: 24px
}

.property {
    background: var(--cream)
}

.amenities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.amenity {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink)
}

.amenity svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--sage)
}

.gallery {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    grid-template-rows: 220px 220px;
    gap: 12px
}

.photo {
    position: relative;
    border-radius: 20px;
    display: flex;
    align-items: end;
    padding: 20px;
    color: white;
    font-weight: 700;
    overflow: hidden;
    background: linear-gradient(135deg, #d4d8c8, #8b9c8b)
}

.photo:nth-child(1) {
    grid-row: span 2
}

.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.photo:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 25, 20, .62), rgba(15, 25, 20, 0) 55%);
    z-index: 1
}

.photo span {
    position: relative;
    z-index: 2
}

.photo:hover img {
    transform: scale(1.06)
}

/* Gallery page */
.gallery-hero {
    padding: 150px 6% 30px;
    max-width: 1250px;
    margin: auto
}

.subnav {
    position: sticky;
    top: 70px;
    z-index: 5;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 6%;
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.subnav a {
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap
}

.subnav a:hover {
    border-color: var(--deep);
    color: var(--deep)
}

.gsection {
    padding: 60px 6% 10px;
    max-width: 1250px;
    margin: auto
}

.gsection h2 {
    font-family: Georgia, serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    margin: 6px 0 22px
}

.thumbgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px
}

.thumb {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4/3;
    background: var(--line)
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease
}

.thumb:hover img {
    transform: scale(1.07)
}

.thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06)
}

.thumb figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(0deg, rgba(15, 25, 20, .72), rgba(15, 25, 20, 0));
    text-align: left
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 15, .92);
    padding: 5vh 4vw
}

.lightbox.open {
    display: flex
}

.lightbox figure {
    margin: 0;
    max-width: 1100px;
    width: 100%;
    text-align: center
}

.lightbox img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5)
}

.lightbox figcaption {
    color: #e9ede6;
    margin-top: 16px;
    font-size: 14px
}

.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
    position: fixed;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 99px;
    width: 46px;
    height: 46px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.lightbox .lb-close {
    top: 24px;
    right: 24px
}

.lightbox .lb-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%)
}

.lightbox .lb-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%)
}

.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover {
    background: rgba(255, 255, 255, .22)
}

.location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch
}

.map {
    min-height: 330px;
    border-radius: 25px;
    background: linear-gradient(135deg, #dfe7dc, #c6d4c2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--line);
    overflow: hidden
}

.quote {
    background: var(--deep);
    color: white;
    border-radius: 28px;
    padding: 50px
}

.quote p {
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1.35
}

.quote small {
    color: #cdd8d1
}

.cta {
    margin: 0 6% 80px;
    padding: 65px 7%;
    border-radius: 30px;
    background: linear-gradient(120deg, #e8eee4, #f5eee1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.cta h2 {
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    margin: 0
}

.footer {
    padding: 35px 6%;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px
}

.wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: #1d8b4d;
    color: #fff;
    padding: 15px 19px;
    border-radius: 99px;
    font-weight: 800;
    box-shadow: 0 10px 25px #0002;
    z-index: 20
}

@media(max-width:850px) {
    .navlinks {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 125px
    }

    .hero-card {
        min-height: 380px
    }

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

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

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

    .photo:nth-child(1) {
        grid-row: span 1
    }

    .location {
        grid-template-columns: 1fr
    }

    .cta {
        display: block
    }

    .cta .btn {
        display: inline-block;
        margin-top: 25px
    }

    .footer {
        display: block
    }

    .footer div+div {
        margin-top: 10px
    }

    .subnav {
        top: 0
    }

    .lightbox .lb-prev,
    .lightbox .lb-next {
        width: 38px;
        height: 38px;
        font-size: 16px
    }

    .lightbox .lb-close {
        top: 12px;
        right: 12px
    }

    .lightbox .lb-prev {
        left: 8px
    }

    .lightbox .lb-next {
        right: 8px
    }
}