/* ==========================================================================
   The Trillion — paid-campaign landing page
   Palette: deep emerald + champagne gold, alternating cream / mint / dark
   sections. Headings in Gilda Display, body in Barlow.
   ========================================================================== */

:root {
    --ink: #0b1f1c;
    --emerald-900: #0a2c28;
    --emerald-800: #0f3d37;
    --emerald: #14524a;
    --emerald-600: #1c6b61;
    --gold: #c9a15b;
    --gold-600: #b08744;
    --gold-100: #f4ead8;
    --cream: #f8f4ec;
    --mint: #e9f2ee;
    --white: #fff;
    --text: #3a4744;
    --muted: #6b7773;
    --line: #e4ddd0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px -20px rgba(11, 31, 28, .35);
    --shadow-sm: 0 8px 24px -12px rgba(11, 31, 28, .25);
    --header-h: 76px;
    --serif: 'Gilda Display', Georgia, serif;
    --sans: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: auto
}

body.pp {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased
}

.pp img {
    max-width: 100%;
    display: block
}

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

.pp h1,
.pp h2,
.pp h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin: 0
}

.pp p {
    margin: 0 0 1em
}

.pp figure {
    margin: 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 14px
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor
}

.section {
    padding: 100px 0
}

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

.section-mint {
    background: var(--mint)
}

.section-dark {
    background: radial-gradient(1200px 500px at 85% -10%, rgba(201, 161, 91, .14), transparent 60%), var(--emerald-900);
    color: rgba(255, 255, 255, .78)
}

.section-dark .section-title,
.section-dark h3 {
    color: var(--white)
}

.section-dark .eyebrow {
    color: var(--gold)
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px
}

.section-head .eyebrow:after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor
}

.section-head-left {
    text-align: left;
    margin: 0 0 32px
}

.section-head-left .eyebrow:after {
    display: none
}

.section-title {
    font-size: clamp(30px, 3.6vw, 44px)
}

.section-head p {
    margin: 14px 0 0;
    color: inherit;
    opacity: .85
}

.img-note {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    padding: 2px 8px;
    border-radius: 20px;
    pointer-events: none
}

/* ---------- Buttons ---------- */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 28px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .6px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease
}

.cta:hover {
    transform: translateY(-2px)
}

.cta:focus-visible {
    outline: 3px solid rgba(201, 161, 91, .55);
    outline-offset: 2px
}

.cta:disabled {
    opacity: .6;
    cursor: wait;
    transform: none
}

.cta-primary {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff !important;
    box-shadow: 0 10px 24px -12px rgba(20, 82, 74, .8)
}

.cta-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800)
}

.cta-gold {
    background: linear-gradient(135deg, #d8b474, var(--gold) 50%, var(--gold-600));
    border-color: var(--gold);
    color: var(--ink) !important;
    box-shadow: 0 10px 24px -12px rgba(176, 135, 68, .9)
}

.cta-gold:hover {
    background: var(--gold-600);
    border-color: var(--gold-600)
}

.cta-outline {
    background: transparent;
    border-color: var(--emerald);
    color: var(--emerald) !important
}

.cta-outline:hover {
    background: var(--emerald);
    color: #fff !important
}

.cta-ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .45);
    color: #fff !important
}

.cta-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--emerald-900) !important
}

.cta-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff !important
}

.cta-dark:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800)
}

.cta-outline-dark {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink) !important
}

.cta-outline-dark:hover {
    background: var(--ink);
    color: #fff !important
}

.cta-sm {
    min-height: 42px;
    padding: 8px 22px;
    font-size: 14px
}

.cta-block {
    width: 100%
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px
}

.cta-row-center {
    justify-content: center;
    margin-top: 48px
}

.cta-stack {
    display: grid;
    gap: 10px;
    margin-top: auto
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 6px 24px -14px rgba(11, 31, 28, .35)
}

.site-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px
}

.site-logo img {
    height: 44px;
    width: auto
}

.menu {
    margin-left: auto
}

.menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0
}

.menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    transition: background .2s ease, color .2s ease
}

.menu a:hover,
.menu a.active {
    background: var(--mint);
    color: var(--emerald)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.navbar-toggler {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer
}

/* ---------- Original full-width banner ---------- */
.banner-full {
    position: relative;
    margin-top: var(--header-h);
    background: var(--emerald-900)
}

.banner-full img {
    width: 100%;
    height: auto
}

.banner-scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--emerald) !important;
    box-shadow: var(--shadow-sm);
    animation: bob 2s ease-in-out infinite
}

@keyframes bob {
    50% {
        transform: translateY(6px)
    }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--emerald-800)
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0;
    scroll-margin-top: var(--header-h);
    background:
        radial-gradient(900px 480px at 100% 0%, rgba(201, 161, 91, .18), transparent 60%),
        linear-gradient(180deg, var(--cream), #fff);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center
}

.hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.hero-visual .img-note {
    top: 12px;
    bottom: auto
}

.hero-visual-tags {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.hero-visual-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 600;
    color: var(--emerald-800);
    box-shadow: var(--shadow-sm)
}

.hero-copy h1 {
    font-size: clamp(32px, 3.4vw, 48px);
    margin-bottom: 14px
}

.hero-copy h1 em {
    font-style: normal;
    color: var(--emerald);
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 24px !important
}

/* ---------- Forms (hero card + popup) ---------- */
.card-form {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--line)
}

.card-form-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-800));
    color: #fff
}

.card-form-head strong {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 21px
}

.card-form-head span {
    font-size: 13px;
    color: rgba(255, 255, 255, .75)
}

.card-form-body {
    display: grid;
    gap: 12px;
    padding: 20px 22px 22px
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fbfaf7;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease
}

.form-input::placeholder {
    color: #8e9793
}

.form-input:focus {
    outline: none;
    border-color: var(--emerald);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 82, 74, .12)
}

.form-input.is-invalid {
    border-color: #d64545
}

.phone-wrap .iti {
    display: block;
    width: 100%
}

.phone-wrap .iti input.form-input {
    width: 100%
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
    cursor: pointer
}

.consent input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--emerald);
    cursor: pointer
}

.consent a {
    color: var(--emerald) !important;
    text-decoration: underline !important
}

.form-error {
    display: block;
    min-height: 0;
    font-size: 13px;
    font-weight: 600;
    color: #c53030
}

.form-error:empty {
    display: none
}

/* ---------- Stats ---------- */
.stats {
    background: var(--emerald-900);
    padding: 34px 0
}

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

.stat {
    text-align: center;
    padding: 6px 12px;
    border-right: 1px solid rgba(255, 255, 255, .12)
}

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

.stat strong {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 36px);
    color: var(--gold);
    line-height: 1.1
}

.stat span {
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75)
}

/* ---------- Overview split ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center
}

.split-text .section-title {
    margin-bottom: 20px
}

/* Overview logo column — sits opposite the copy, so it stays modest in size
   and centred rather than stretching to the grid cell. */
.split-logo {
    display: flex;
    align-items: center;
    justify-content: center
}

.split-logo img {
    width: 100%;
    max-width: 340px;
    height: auto
}

/* Walkthrough — a single full-width video, so the card keeps a wide ratio
   instead of the tall shape it had beside the overview copy. */
.walkthrough .video-card {
    aspect-ratio: 16 / 9
}

.video-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow)
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease
}

.video-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 31, 28, .65))
}

.video-card:hover img {
    transform: scale(1.04)
}

.video-card .play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-size: 24px;
    box-shadow: 0 0 0 12px rgba(201, 161, 91, .3);
    animation: pulse 2.2s infinite
}

.video-card .video-label {
    position: absolute;
    left: 22px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 161, 91, .55)
    }

    70% {
        box-shadow: 0 0 0 20px rgba(201, 161, 91, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(201, 161, 91, 0)
    }
}

/* ---------- Highlights ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.feature {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.feature:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow)
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--mint);
    color: var(--emerald);
    font-size: 24px
}

.feature-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 10px
}

.feature p {
    margin: 0;
    font-size: 15px;
    color: var(--muted)
}

/* ---------- Price table ---------- */
.price-table {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04)
}

.price-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.2fr auto;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #fff
}

.price-row-head {
    border-top: none;
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(201, 161, 91, .14);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold)
}

.price-row:not(.price-row-head):hover {
    background: rgba(255, 255, 255, .04)
}

.price-config {
    font-size: 15px;
    color: rgba(255, 255, 255, .65)
}

.price-config strong {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.1;
    color: #fff
}

.price-lock {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer
}

.price-blur {
    font-family: var(--serif);
    font-size: 22px;
    color: #fff;
    filter: blur(6px);
    user-select: none
}

.price-unlock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold)
}

/* ---------- Floor plans ---------- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto
}

.plan-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

/* Uses the room icon from the original floor plan cards; the actual floor
   plans are sent after the enquiry form. */
.plan-visual {
    position: relative;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background:
        linear-gradient(rgba(20, 82, 74, .08) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(20, 82, 74, .08) 1px, transparent 1px) 0 0 / 22px 22px,
        var(--mint)
}

.plan-visual img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: .85;
    transition: transform .4s ease
}

.plan-visual-label {
    position: absolute;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--emerald);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm)
}

.plan-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 28px
}

.plan-body .tag {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-600)
}

.plan-body h3 {
    font-size: 38px;
    margin: 2px 0 14px
}

.spec-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px dashed var(--line);
    font-size: 14px;
    color: var(--muted)
}

.spec-list strong {
    color: var(--ink);
    font-weight: 600;
    text-align: right
}

.spec-list em {
    font-style: normal;
    font-weight: 400;
    color: var(--muted)
}

.plan-visual:hover img {
    transform: scale(1.06)
}

.plan-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto
}

.plan-ctas .cta {
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap
}

/* ---------- Showcase (Signature Spaces) ---------- */
/* Full-width image at its native shape (no cropping), details panel below */
.showcase {
    margin-bottom: 40px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow)
}

.showcase:last-child {
    margin-bottom: 0
}

.showcase-media {
    position: relative;
    overflow: hidden
}

.showcase-media img {
    width: 100%;
    height: auto;
    transition: transform .8s ease
}

.showcase:hover .showcase-media img {
    transform: scale(1.03)
}

.showcase-media .img-note {
    top: 14px;
    bottom: auto
}

.showcase-text {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
    gap: 16px 56px;
    align-items: center;
    padding: 36px 44px
}

.showcase-title {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
    border-right: 1px solid var(--line)
}

.showcase-num {
    font-family: var(--serif);
    font-size: 46px;
    line-height: 1;
    color: var(--gold-100);
    -webkit-text-stroke: 1px var(--gold)
}

.showcase-title h3 {
    font-size: 34px;
    margin-top: 10px
}

.showcase-sub {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-600)
}

.showcase-body p {
    margin-bottom: 20px !important;
    color: var(--muted)
}

/* Sub-blocks that share a nav section with the block above them */
.overview-highlights,
.amenities-signature {
    margin-top: 96px
}

/* ---------- Amenities ---------- */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.amenity {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--emerald-900)
}

.amenity img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease
}

.amenity:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 44, 40, .92));
    transition: opacity .4s ease
}

.amenity figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 34px;
    color: #fff
}

.amenity h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 4px
}

.amenity p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .4s ease
}

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

.amenity:hover p {
    max-height: 80px;
    opacity: 1
}

.amenity .img-note {
    top: 12px;
    bottom: auto
}

/* ---------- Gallery ---------- */
.gallery-item {
    position: relative;
    display: block;
    margin: 0 10px;
    border-radius: var(--radius);
    overflow: hidden
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .6s ease
}

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

.gallery_slider .owl-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px !important
}

.gallery_slider .owl-nav button.owl-prev,
.gallery_slider .owl-nav button.owl-next {
    width: 48px;
    height: 48px;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: background .25s ease
}

.gallery_slider .owl-nav button:hover {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--ink) !important
}

.gallery_slider .owl-dots {
    margin-top: 16px !important
}

.gallery_slider.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(255, 255, 255, .3)
}

.gallery_slider.owl-theme .owl-dots .owl-dot.active span {
    width: 26px;
    background: var(--gold)
}

/* Mobile amenity slider — Owl takes over the grid below 768px, so the grid
   display has to step aside and the dots need the light-section treatment
   (the gallery_slider ones are styled for the dark section). */
.amenity-grid.owl-carousel {
    display: block;
    gap: 0
}

.amenity-slider .owl-stage {
    display: flex
}

.amenity-slider .owl-item {
    display: flex
}

.amenity-slider .owl-item .amenity {
    width: 100%
}

.amenity-slider .owl-dots {
    margin-top: 18px !important
}

.amenity-slider.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(11, 31, 28, .25)
}

.amenity-slider.owl-theme .owl-dots .owl-dot.active span {
    width: 26px;
    background: var(--gold)
}

/* ---------- Location ---------- */
.location-map {
    position: relative;
    display: block;
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f1f1f0;
    box-shadow: var(--shadow-sm)
}

/* Full, uncropped map — it carries its own distance table and labels */
.location-map img {
    width: 100%;
    height: auto
}

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: stretch
}

.connectivity {
    padding: 26px 30px;
    border-radius: 20px;
    background: var(--cream);
    border: 1px solid var(--line)
}

.connectivity h3 {
    font-size: 26px;
    margin-bottom: 12px
}

.connectivity ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.connectivity li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-top: 1px dashed var(--line);
    font-size: 15px
}

.connectivity li:first-child {
    border-top: none
}

.connectivity strong {
    color: var(--emerald);
    font-weight: 600;
    white-space: nowrap
}

.location-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--emerald-900)
}

/* The video card takes its height from the Key Distances card beside it */
.location-card {
    min-height: 320px
}

.location-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill
}

.location-card-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--emerald);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm)
}

/* ---------- Final CTA ---------- */
.final-cta {
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(rgba(10, 44, 40, .86), rgba(10, 44, 40, .92)),
        url("../images/gallery/lake_forest.webp") center / cover no-repeat;
    text-align: center;
    color: rgba(255, 255, 255, .8)
}

.final-cta-inner {
    max-width: 760px
}

.final-cta .eyebrow {
    color: var(--gold)
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 14px
}

.final-cta p {
    font-size: 17px
}

.final-cta .cta-row-center {
    margin-top: 32px
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    font-size: 14.5px;
    line-height: 1.7
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr 1.15fr 1.25fr;
    gap: 48px;
    padding: 72px 0 48px
}

/* The logo is dark artwork, so it sits on a light plate on the dark footer */
.footer-logo {
    display: inline-block;
    padding: 12px 18px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #fff
}

.footer-logo img {
    height: 50px;
    width: auto
}

.footer-brand p {
    max-width: 360px;
    margin-bottom: 0
}

.site-footer h3 {
    position: relative;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
    padding-bottom: 12px
}

.site-footer h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--gold)
}

.footer-explore-list,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.footer-explore-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s ease, transform .2s ease
}

.footer-explore-list a:before {
    content: "";
    width: 6px;
    height: 1px;
    background: var(--gold);
    transition: width .2s ease
}

.footer-explore-list a:hover:before {
    width: 14px
}

.footer-contact {
    gap: 16px
}

.footer-contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.footer-contact i {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 161, 91, .12);
    color: var(--gold);
    font-size: 15px
}

.footer-contact li > a,
.footer-contact li > span {
    padding-top: 6px;
    overflow-wrap: break-word
}

.footer-contact strong {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .4px
}

.site-footer a:hover {
    color: var(--gold) !important
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 22px
}

.social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    transition: background .25s ease, border-color .25s ease
}

.social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink) !important
}

.footer-disclaimer {
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .5);
    scroll-margin-top: var(--header-h)
}

.footer-disclaimer h3 {
    margin-bottom: 14px;
    padding-bottom: 0;
    font-size: 12px
}

.footer-disclaimer h3:after {
    display: none
}

.footer-disclaimer p {
    margin: 0 0 8px
}

.footer-disclaimer a {
    color: rgba(255, 255, 255, .75) !important;
    text-decoration: underline !important
}

.footer-bottom {
    padding: 18px 0;
    background: rgba(0, 0, 0, .25);
    font-size: 13px;
    color: rgba(255, 255, 255, .55)
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .75)
}

.footer-bottom-links span a {
    color: var(--gold) !important
}

/* ---------- Floating & mobile CTAs ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 161, 91, .5);
    border-radius: 50%;
    background: #fff;
    color: var(--emerald);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease, color .2s ease
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none
}

.back-to-top:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink)
}

/* Desktop sticky side tabs, docked to the right edge, text reading bottom-to-top */
.side-tabs {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-50%)
}

.side-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 7px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: var(--emerald);
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    box-shadow: 4px 0 18px -6px rgba(11, 31, 28, .45);
    cursor: pointer;
    transition: background .2s ease, padding .2s ease
}

.side-tab i {
    transform: rotate(90deg)
}

.side-tab:hover {
    background: var(--emerald-800);
    padding-left: 16px
}

.side-tab-gold {
    background: linear-gradient(180deg, #d8b474, var(--gold) 50%, var(--gold-600));
    color: var(--ink)
}

.side-tab-gold:hover {
    background: var(--gold-600)
}

.mobile-bar {
    display: none
}

/* ---------- Popup ---------- */
.popup_module {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none
}

.popup_module_in {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 24, 22, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto
}

.popup_container {
    position: relative;
    width: 460px;
    max-width: 100%;
    margin: auto;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5)
}

.pop_close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer
}

.pop_close:hover {
    background: rgba(255, 255, 255, .3)
}

.popup_head {
    padding: 26px 28px 22px;
    text-align: center;
    background:
        radial-gradient(400px 160px at 100% 0%, rgba(201, 161, 91, .35), transparent 70%),
        linear-gradient(135deg, var(--emerald), var(--emerald-900));
    color: rgba(255, 255, 255, .75)
}

.popup_head img {
    height: 44px;
    width: auto;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1)
}

.enquire_title {
    font-family: var(--serif);
    font-size: 26px;
    color: #fff
}

.popup_head p {
    margin: 4px 0 0;
    font-size: 13px
}

#pop_box {
    padding: 22px 28px 26px
}

.enquire_form {
    display: grid;
    gap: 12px
}

.otp_title {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    text-align: center
}

.otp_subtext {
    margin: 6px 0 18px !important;
    text-align: center;
    font-size: 14px;
    color: var(--muted)
}

.otp_subtext a,
.otp_resend a {
    color: var(--emerald) !important;
    font-weight: 600;
    text-decoration: underline !important
}

.otp_boxes {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px
}

.otp-box {
    width: 58px;
    height: 62px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fbfaf7;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--ink)
}

.otp-box:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 4px rgba(20, 82, 74, .12)
}

.otp_msg {
    min-height: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #c53030
}

.otp_resend {
    margin: 14px 0 0 !important;
    text-align: center;
    font-size: 13px;
    color: var(--muted)
}

.otp_resend a.disabled {
    color: #aaa !important;
    pointer-events: none;
    text-decoration: none !important
}

/* intlTelInput renders its country list on <body>; keep it above the popup */
.iti--container {
    z-index: 3000 !important
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease
}

.js .reveal.in {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .video-card .play {
        animation: none
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1199px) {
    .menu a {
        padding: 8px 10px;
        font-size: 14px
    }

}

@media (max-width:991px) {
    .section {
        padding: 72px 0
    }

    /* Mobile nav: slide-down panel, toggled by other-custom.js */
    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center
    }

    .menu {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px 16px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
        display: none
    }

    .menu.open {
        display: block
    }

    .menu ul {
        flex-direction: column;
        align-items: stretch
    }

    .menu a {
        padding: 12px 14px;
        font-size: 16px
    }

    .header-actions {
        margin-left: auto
    }

    .hero-grid,
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px
    }


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

    .price-row {
        padding: 20px 22px
    }

    .showcase-text {
        grid-template-columns: minmax(0, 1fr);
        padding: 30px 32px
    }

    .showcase-title {
        padding: 0 0 18px;
        border-right: none;
        border-bottom: 1px solid var(--line)
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px
    }

    .stat:nth-child(2) {
        border-right: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px 32px
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 28px;
        align-items: center
    }

    .footer-brand .footer-logo {
        grid-row: span 2;
        margin-bottom: 0
    }

    .footer-brand p {
        max-width: none
    }

    .footer-brand .social {
        margin-top: 12px
    }
}

@media (max-width:767px) {
    :root {
        --header-h: 64px
    }

    body.pp {
        padding-bottom: 60px
    }

    .section {
        padding: 60px 0
    }

    .section-head {
        margin-bottom: 36px
    }

    .site-logo img {
        height: 36px
    }

    .hero {
        padding: 44px 0
    }

    .banner-scroll {
        display: none
    }

    .hero-grid {
        gap: 24px
    }

    /* Overview on phones: the logo stacks above the copy, so it drops to a
       badge-sized mark with a tighter gap instead of a full-width banner. */
    .split {
        gap: 22px;
        text-align: left
    }

    .split-logo img {
        max-width: 190px
    }

    .split-text .section-title {
        font-size: 28px;
        margin-bottom: 14px
    }

    .split-text p {
        font-size: 15px
    }

    .hero-visual {
        aspect-ratio: 4 / 5;
        border-radius: 18px
    }

    .hero-visual img {
        object-position: center top
    }

    .feature-grid,
    .amenity-grid,
    .plan-grid,
    .location-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .feature {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 16px;
        padding: 20px
    }

    .feature-icon {
        grid-row: span 2;
        width: 52px;
        height: 52px;
        margin: 0
    }

    .feature h3 {
        font-size: 19px;
        margin-bottom: 6px
    }

    .feature-grid {
        gap: 14px
    }

    .price-row-head {
        display: none
    }

    .price-row {
        grid-template-columns: 1fr auto;
        row-gap: 10px
    }

    .price-row > span[data-label] {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px
    }

    .price-row > span[data-label]:before {
        content: attr(data-label);
        color: rgba(255, 255, 255, .55)
    }

    .price-row > span:last-child {
        grid-column: 1 / -1
    }

    .price-row .cta {
        width: 100%
    }

    .plan-visual {
        height: 210px;
        align-items: flex-start;
        padding-top: 28px
    }

    .plan-visual img {
        width: 96px;
        height: 96px
    }

    .amenity p {
        max-height: none;
        opacity: 1
    }

    .showcase {
        margin-bottom: 28px;
        border-radius: 20px
    }

    .showcase-text {
        padding: 24px 22px 26px
    }

    .showcase-num {
        font-size: 38px
    }

    .showcase-title h3 {
        font-size: 28px
    }

    .showcase-body .cta {
        width: 100%
    }

    .cta-row .cta,
    .cta-row-center .cta {
        flex: 1 1 100%
    }

    .overview-highlights,
    .amenities-signature {
        margin-top: 64px
    }

    .location-map {
        border-radius: 18px
    }

    .connectivity {
        padding: 24px 20px
    }

    .connectivity li {
        font-size: 14px
    }

    .location-card {
        min-height: 0
    }

    .location-card img {
        position: static;
        aspect-ratio: 16 / 9
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center
    }

    .final-cta {
        padding: 72px 0
    }

    .site-footer .container {
        padding-left: 22px;
        padding-right: 22px
    }

    .footer-grid {
        gap: 34px;
        padding: 48px 0 32px
    }

    .site-footer h3 {
        margin-bottom: 18px
    }

    .footer-brand p {
        font-size: 14px
    }

    .footer-contact li {
        font-size: 14px
    }

    .footer-disclaimer {
        padding: 24px 0 28px;
        font-size: 11.5px
    }

    .footer-bottom-links {
        gap: 4px 18px
    }

    .footer-brand {
        display: block
    }

    .footer-brand .footer-logo {
        margin-bottom: 18px
    }

    .footer-explore-list {
        grid-template-columns: 1fr 1fr
    }

    .footer-bottom-inner,
    .footer-bottom-links {
        justify-content: center
    }

    .side-tabs {
        display: none
    }

    .back-to-top {
        right: 16px;
        bottom: 76px;
        width: 44px;
        height: 44px
    }

    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        height: 60px;
        background: #fff;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .12)
    }

    .mobile-bar a,
    .mobile-bar button {
        flex: 1 1 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: none;
        border-right: 1px solid var(--line);
        background: #fff;
        color: var(--emerald) !important;
        font-family: var(--sans);
        font-size: 15px;
        font-weight: 600
    }

    .mobile-bar .mobile-bar-primary {
        border-right: none;
        background: var(--emerald);
        color: #fff !important
    }

    #pop_box {
        padding: 20px
    }

    .otp-box {
        width: 52px;
        height: 56px
    }
}
