/* ==================================================================
   Codename Radiance — landing page
   Single stylesheet, no framework, no external requests.
   Works over file:// as well as http://.
   ================================================================== */

/* Local webfonts only — no external font requests.
   Nexa Bold is requested in the shared change document. If the project does not
   contain fonts/Nexa Bold.otf, the existing Corporate font is used as fallback. */
@font-face {
    font-family: "Nexa";
    src: url("fonts/nexa-bold.woff2") format("woff2");
    font-weight: 700; font-display: swap;
}
@font-face {
    font-family: "Corporate";
    src: url("fonts/corporate_regular.woff2") format("woff2");
    font-weight: 400; font-display: swap;
}
@font-face {
    font-family: "Corporate";
    src: url("fonts/corporate_demi_regular.woff2") format("woff2");
    font-weight: 600; font-display: swap;
}
@font-face {
    font-family: "Corporate";
    src: url("fonts/corporate_bold.woff2") format("woff2");
    font-weight: 700; font-display: swap;
}

:root {
    --maroon: #7b1f50;        /* Disha Habitat plum, sampled from banner */
    --maroon-dark: #63183f;
    --ink: #000;              /* body + list copy */
    --body: #000;
    --line: #e3e3e6;
    --grey: #ececee;
    --white: #fff;

    --wrap: 1242px;     /* reference content width at 1440 */
    --gut: 6.882%;      /* reference .custom-row side padding */
    --sec-y: 4.5rem;      /* reference section rhythm */

    --font: "Nexa", "Corporate", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* The reference scales the ROOT font-size and keeps every size in rem,
   which is what keeps the type uniform across the page. Same here. */
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (max-width: 991px) { html { font-size: 13px; } }
@media (max-width: 767px) { html { font-size: 10px; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: .9rem;
    line-height: 1.6;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 1600px) { .wrap { max-width: calc(var(--wrap) + 12rem); } }

/* Section label — letterspaced small caps, used across the page. */
.sec-label {
    margin: 0 0 2rem;
    color: var(--maroon);
    font-size: 3.25rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: left;
}
/* The popup re-uses .sec-label for its title, where display size would
   overwhelm the dialog — keep the original label treatment there. */
.modal .sec-label {
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: .4rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.h-display {
    margin: 0 0 1rem;
    font-size: 3.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: normal;
    text-align: left;
    text-transform:uppercase;
}
.h-sub {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
    color: var(--body);
    font-weight: 500;
}

.note {
    margin: 1.5rem 0 0;
    font-size: 1.1rem;
    color: #8a8a90;
    font-style: italic;
}

/* ------------------------- shared controls ------------------------ */
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    min-width: 15rem;
    margin-top: 2.25rem;
    padding: 1.05rem 1.6rem;
    background: var(--maroon);
    border: 1px solid var(--maroon);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .25s, color .25s;
}
.btn-line:hover {
    background: var(--maroon-dark);
    border-color: var(--maroon-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(123,31,80,.32);
    transform: translateY(-2px);
}
.btn-line__icon {
    width: 18px; height: 18px; flex: 0 0 18px;
    position: relative;
}
/* Downward arrow: stem + chevron head. */
.btn-line__icon::before {
    content: ""; position: absolute; left: 8px; top: 0;
    width: 2px; height: 12px; background: #fff;
}
.btn-line__icon::after {
    content: ""; position: absolute; left: 4px; top: 4px;
    width: 8px; height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.btn-solid {
    display: inline-block;
    margin-top: 1.75rem;
    padding: 1.05rem 3rem;
    background: var(--maroon);
    color: var(--white);
    border: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s;
}
.btn-solid:hover {
    background: var(--maroon-dark);
    box-shadow: 0 10px 28px rgba(123,31,80,.28);
    transform: translateY(-2px);
}
.btn-solid { transition: background .25s, box-shadow .25s, transform .25s; }

.link-cta {
    display: inline-block;
    background: var(--maroon);
    border: 0;
    padding: .55rem 1.4rem;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .0625rem;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s, box-shadow .25s, transform .25s;
}
.link-cta:hover {
    background: var(--maroon-dark);
    box-shadow: 0 8px 20px rgba(123,31,80,.3);
    transform: translateY(-1px);
}

/* Reusable scroll box with a slim, unobtrusive scrollbar. */
.scrollbox {
    max-height: 22rem;
    overflow-y: auto;
    padding-right: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: #c2c2c2 transparent;
}
.scrollbox--tall { max-height: 30rem; }
.scrollbox::-webkit-scrollbar { width: 4px; background: transparent; }
.scrollbox::-webkit-scrollbar-track { background: transparent; }
.scrollbox::-webkit-scrollbar-thumb { background: #c2c2c2; border-radius: 10px; }
.scrollbox::-webkit-scrollbar-thumb:hover { background: #a6a6a6; }

/* ============================== HERO ============================= */
/* The supplied banners already carry the headline, price and location,
   so the hero shows the full artwork rather than cropping it to 100vh. */
.hero { position: relative; background: #fff; }
.hero__slider { position: relative; overflow: hidden; }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.hero__slide { flex: 0 0 100%; }
.hero__slide picture, .hero__slide img { display: block; width: 100%; height: auto; }

.hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    background: rgba(255,255,255,.82);
    border: 0; cursor: pointer; z-index: 2;
    transition: background .25s;
}
.hero__arrow:hover { background: #fff; }
.hero__arrow::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 10px; height: 10px;
    border-left: 2px solid var(--maroon);
    border-bottom: 2px solid var(--maroon);
}
.hero__arrow--prev { left: 0; }
.hero__arrow--prev::before { transform: translate(-30%,-50%) rotate(45deg); }
.hero__arrow--next { right: 0; }
.hero__arrow--next::before { transform: translate(-70%,-50%) rotate(-135deg); }

.hero__dots {
    position: absolute; left: 0; right: 0; bottom: 1.25rem;
    display: flex; justify-content: center; gap: .5rem; z-index: 2;
}
.hero__dots button {
    width: 26px; height: 3px; border: 0; padding: 0;
    background: rgba(123,31,80,.35); cursor: pointer; transition: background .25s;
}
.hero__dots button[aria-current="true"] { background: var(--maroon); }

@media (max-width: 767px) {
    .hero__arrow { width: 36px; height: 36px; }
    .hero__dots { bottom: -0.25rem; }
}

/* ============================= INTRO ============================= */
.intro { padding: var(--sec-y) 0 0; }
.intro__head { text-align: left; max-width: none; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.intro__grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}
.intro__copy .intro__text { max-height: none; overflow: visible; padding-right: 0; }
.intro__copy .intro__text p { margin: 0 0 1.25rem; font-size: 1.35rem; line-height: 1.6; }
.intro__copy .intro__text p:last-child { margin-bottom: 0; }
.intro__img img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
}

/* ============================ GALLERY ============================ */
.gallery { padding: var(--sec-y) 0 0; }
.gallery__head { display: block; }
.gallery__head .sec-label { margin-bottom: 0; }

.gcar { position: relative; overflow: hidden; margin-top: 2rem; }
.gcar__track {
    display: flex;
    gap: 1rem;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.gcar__item {
    /* three per view on desktop, minus the gaps */
    flex: 0 0 calc((100% - 2rem) / 3);
    margin: 0;
    overflow: hidden;
    background: var(--grey);
}
.gcar__item img {
    width: 100%;
    aspect-ratio: 413 / 231;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .6s ease;
}
.gcar__item:hover img { transform: scale(1.06); }
.gcar__nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
.gcar__nav  .gcar__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: rgba(255,255,255,.94);
    border-color: rgba(123,31,80,.2);
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    opacity: 1;
}
.gcar__arrow--prev { left: .65rem; }
.gcar__arrow--next { right: .65rem; }


.gcar__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.gcar__dots button {
    width: 28px; height: 3px; border: 0; padding: 0;
    background: var(--line); cursor: pointer; transition: background .25s;
}
.gcar__dots button[aria-current="true"] { background: var(--maroon); }

/* =========================== AMENITIES =========================== */
.amen { padding: var(--sec-y) 0 0; background: var(--white); }
.amen__head { display: block; }
.amen__head .sec-label { margin-bottom: 0; }
.amen__nav { display: flex; gap: .75rem; }
.arrow {
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    background: none; cursor: pointer;
    position: relative;
    transition: border-color .25s, background .25s;
}
.arrow:hover { border-color: var(--maroon); background: rgba(155,27,48,.05); }
.arrow::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 9px; height: 9px;
    border-left: 2px solid var(--maroon);
    border-bottom: 2px solid var(--maroon);
    transform: translate(-40%, -50%) rotate(45deg);
}
.arrow--next::before { transform: translate(-60%, -50%) rotate(-135deg); }
.arrow[disabled] { opacity: .35; cursor: default; }

.carousel { position: relative; margin-top: 2rem; overflow: hidden; }

.carousel__nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: calc(100% - 3.5rem);
    z-index: 5;
    pointer-events: none;
}
.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: rgba(255,255,255,.94);
    border-color: rgba(123,31,80,.2);
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    opacity: 1;
}
.carousel__arrow--prev { left: .65rem; }
.carousel__arrow--next { right: .65rem; }

.carousel__track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.amen__slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.amen__slide__img img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.amen__slide__body { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--grey); }
.amen__slide__body h4 {
    margin: 0 0 .5rem;
    font-size: 2rem;
    font-weight: 700; color: var(--maroon); line-height: 1.2;
}
.amen__slide__body .lead { margin: 0 0 1.5rem; font-size: 1.5rem; line-height: 1.6; font-weight: 700; color: var(--ink); }
.amen__slide__body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 1.5rem;
    align-content: start;
}
.amen__slide__body li { position: relative; padding: .3rem 0 .3rem 1.25rem; font-size: 1.3rem; line-height: 1.6; }
.amen__slide__body li::before {
    content: ""; position: absolute; left: 0; top: 1rem;
    width: 5px; height: 5px; border-radius: 50%; background: var(--maroon);
}

.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.carousel__dots button {
    width: 28px; height: 3px; border: 0; padding: 0;
    background: var(--line); cursor: pointer; transition: background .25s;
}
.carousel__dots button[aria-current="true"] { background: var(--maroon); }

/* =========================== MASTERPLAN ========================== */
/* Reference layout: brand bar with centred title + arrows, then a
   light stage split into a label column and the plan itself. */
.plan { padding: var(--sec-y) 0 0; background: #fff; }
.plan__frame { padding: 0 var(--gut); }

.plan__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
    padding: 1.25rem 4.5rem;
    background: var(--maroon);
    color: #fff;
}
.plan__bar__title { text-align: center; }
.plan__bar__title strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.plan__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
    opacity: .55; transition: opacity .25s;
}
.plan__arrow:hover:not([disabled]) { opacity: 1; }
.plan__arrow[disabled] { opacity: .28; cursor: default; }
.plan__arrow::before, .plan__arrow::after {
    content: ""; position: absolute; background: #fff;
}
.plan__arrow::before { top: 50%; left: 8px; width: 26px; height: 1px; }
.plan__arrow::after {
    top: 50%; width: 12px; height: 1px;
    transform-origin: left center;
}
.plan__arrow--prev { left: 1rem; }
.plan__arrow--prev::after { left: 8px; transform: translateY(-.5px) rotate(-40deg); }
.plan__arrow--next { right: 1rem; }
.plan__arrow--next::after { left: 22px; transform: translateY(-.5px) rotate(40deg); }

.plan__body {
    display: grid;
    grid-template-columns: 1fr;
    background: #f7f7f8;
}
.plan__stage {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.plan__stage img { width: 100%; height: auto; cursor: zoom-in; }

/* ========================= CONFIGURATIONS ======================== */
.config { padding: var(--sec-y) 0 0; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.config__table { width: 100%; border-collapse: collapse; }
.config__table th {
    background: var(--maroon);
    color: var(--white);
    text-align: left;
    padding: 1.5rem .5rem 1.5rem 3rem;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: uppercase;
}
.config__table td {
    padding: .5rem .5rem .5rem 3rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.config__table tbody tr:nth-child(odd) { background: #f6f6f7; }

/* ========================== CONNECTIVITY ========================= */
.connect { padding: var(--sec-y) 0; background: var(--white); }
.connect__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}
.connect__map { margin: 0; }
.connect__map img { width: 100%; height: 24rem; object-fit: cover; filter: grayscale(1); }
.connect__map figcaption {
    margin-top: .75rem; font-size: 1.1rem; letter-spacing: .1rem;
    text-transform: uppercase; color: var(--body);
}

.acc { padding-right: 1rem; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.05rem 0;
    background: none; border: 0; text-align: left; cursor: pointer;
    color: var(--maroon);
    font-size: 1.3rem; font-weight: 500;
    letter-spacing: .1rem; text-transform: uppercase;
}
.acc__icon { position: relative; flex: 0 0 14px; height: 14px; }
.acc__icon::before, .acc__icon::after {
    content: ""; position: absolute; background: var(--maroon);
    transition: transform .25s ease, opacity .25s ease;
}
.acc__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.acc__icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.acc__item.is-open .acc__icon::after { transform: scaleY(0); opacity: 0; }

.acc__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > * { overflow: hidden; }
.acc__panel ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.acc__panel li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
    font-size: 1.3rem;
    line-height: 1.6;
    border-bottom: 1px dashed #ececee;
}
.acc__panel li:last-child { border-bottom: 0; }
.acc__place { color: var(--ink); }
.acc__dist { color: var(--maroon); white-space: nowrap; font-weight: 500; }
.acc__panel ul[data-placeholder] li { color: #9a9aa0; font-style: italic; }

/* ============================ ENQUIRE ============================ */
.enq__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}
.enq__heading .sec-label { margin-bottom: 0; }
.call-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 1.6rem;
    background: var(--maroon);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08rem;
    white-space: nowrap;
}
.call-now:hover { background: var(--maroon-dark); }

.enq { display: grid; grid-template-columns: 1fr 1fr; }
.enq__form { background: var(--grey); padding: var(--sec-y) 0; }
.enq__form__inner {
    max-width: 34rem;
    margin-left: auto;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}
.enq__img {
    background: #ddd url("images/enquiry.jpg") no-repeat center / cover;
    min-height: 28rem;
}

.field { margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field input, .field select {
    width: 100%;
    padding: .7rem 0;
    border: 0;
    border-bottom: 1px solid #b8b8bc;
    background: transparent;
    font-family: inherit;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 1px;
    color: var(--ink);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--body) 50%),
                      linear-gradient(135deg, var(--body) 50%, transparent 50%);
    background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.field input::placeholder { color: #7d7d83; }
.field input:focus, .field select:focus { outline: 0; border-bottom-color: var(--maroon); }
.field.is-error input { border-bottom-color: var(--maroon); }
.err { display: block; min-height: 1rem; margin-top: .3rem; font-size: 1rem; color: var(--maroon); }

.check { display: flex; gap: .6rem; align-items: flex-start; font-size: 1.1rem; line-height: 1.5; }
.check input { margin-top: .25rem; accent-color: var(--maroon); }

.form-msg { margin: 1rem 0 0; font-size: 1.1rem; color: var(--maroon); min-height: 1.2rem; }
.form-msg.is-ok { color: #1d7a44; }

/* ============================= FOOTER ============================ */
.foot { padding: 2.5rem 0; background: var(--ink); color: #c9c9cf; }
.foot p { margin: 0; font-size: 1.3rem; letter-spacing: .0625rem; }
.foot__fine { margin-top: .5rem; font-size: 1.1rem; color: #85858d; letter-spacing: normal; }

/* ============================= MODAL ============================= */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(12,4,9,.66);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fadeIn .3s ease both;
}
.modal__box {
    position: relative;
    width: 100%; max-width: 30rem;
    max-height: 90vh; overflow-y: auto;
    background: var(--white);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-top: 3px solid var(--maroon);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    animation: pop .42s cubic-bezier(.16,1,.3,1) both;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop {
    from { opacity: 0; transform: translateY(28px) scale(.96); }
    to   { opacity: 1; transform: none; }
}
/* fields cascade in behind the box */
.modal__box .field, .modal__box .btn-solid, .modal__box .modal__lead {
    animation: riseIn .5s cubic-bezier(.16,1,.3,1) both;
}
.modal__box .modal__lead { animation-delay: .06s }
.modal__box .field:nth-of-type(1) { animation-delay: .10s }
.modal__box .field:nth-of-type(2) { animation-delay: .16s }
.modal__box .field:nth-of-type(3) { animation-delay: .22s }
.modal__box .btn-solid { animation-delay: .28s }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.modal__x {
    position: absolute; top: .5rem; right: .75rem;
    background: none; border: 0; font-size: 1.9rem; line-height: 1;
    color: var(--body); cursor: pointer;
}
.modal__lead { margin: -1.5rem 0 1.75rem; font-size: 1.3rem; line-height: 1.6; }
button.modal__x:focus-visible {outline: none;}
/* =========================== LIGHTBOX ============================ */
.lightbox {
    position: fixed; inset: 0; z-index: 1100;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.9); padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox { animation: fadeIn .28s ease both; }
.lightbox img {
    max-width: 100%; max-height: 92vh; object-fit: contain;
    animation: pop .45s cubic-bezier(.16,1,.3,1) both;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lightbox__x {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* ========================== RESPONSIVE =========================== */
@media (max-width: 991px) {
    .h-display, .sec-label { font-size: 2.75rem; }
    .intro__grid { grid-template-columns: 1fr; }
    .intro__img img { height: auto; }
    .amen__slide { grid-template-columns: 1fr; }
    .amen__slide__img img { min-height: 0; height: 52vw; }
    .carousel__nav { width: 100%; height: 52vw; }
    .plan__body { grid-template-columns: 1fr; }
    .plan__side { padding: 2rem 1.5rem; }
    .plan__bar { min-height: 6rem; padding: 1rem 3.5rem; }
    /* two per view */
    .gcar__item { flex: 0 0 calc((100% - 1rem) / 2); }
    .connect__grid { grid-template-columns: 1fr; }
    .enq { grid-template-columns: 1fr; }
    .enq__form__inner { margin: 0 auto; }
    /* On tablet/mobile, Call Now is available in the sticky bottom bar. */
    .call-now { display: none; }
    .enq__img { min-height: 20rem; order: -1; }

}

@media (max-width: 767px) {
    /* Root font-size already dropped to 10px, so every rem scales with it.
       Only the two oversized display headings need their own step down,
       exactly as the reference does. */
    :root { --gut: 2.909%; }          /* reference mobile side padding */
    .h-display, .sec-label { font-size: 2.4rem; }

    /* Configurations must fit the screen, not push the page sideways. */
    .config__table th, .config__table td {
        padding: .8rem .6rem;
        white-space: normal;
        word-break: break-word;
    }
    .config__table th:nth-child(1), .config__table td:nth-child(1) { width: 40%; }
    .config__table th:nth-child(2), .config__table td:nth-child(2) { width: 34%; }
    .config__table th:nth-child(3), .config__table td:nth-child(3) { width: 26%; }

    .scrollbox { max-height: 18rem; }
    .amen__slide__body { padding: 1.5rem; }
    .amen__slide__body ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        column-gap: 1rem;
    }
    .amen__slide__body li {
        padding-left: 1rem;
        font-size: 1.15rem;
        line-height: 1.45;
    }
    .amen__slide__body li::before { top: .72rem; }
    .scrollbox--tall { max-height: 22rem; }
    .btn-line { width: 100%; min-width: 0; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .gcar__item { flex: 0 0 100%; }      /* one per view */
    .plan__stage { padding: 1rem; }
    .plan__arrow { width: 34px; }
    .plan__arrow::before { width: 18px; left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .carousel__track, .gcar__track, .hero__track, .acc__panel, .gcar__item img { transition: none; }
}

/* ======================= SCROLL REVEAL ==========================
   Elements marked [data-reveal] fade up once they enter the
   viewport. Applied by main.js via IntersectionObserver.
   ================================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s }
[data-reveal-delay="2"] { transition-delay: .16s }
[data-reveal-delay="3"] { transition-delay: .24s }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .modal__box, .modal__backdrop, .lightbox, .lightbox img,
    .modal__box .field, .modal__box .btn-solid, .modal__box .modal__lead { animation: none; }
}

/* ===================== PHONE PREFIX (+91) ========================
   Both forms are India-only, so the number always carries a fixed
   flag + dial-code chip. There is no country dropdown to swap in,
   so this is one rule at every width rather than a mobile variant.
   ================================================================= */
.field-prefix { display: flex; align-items: center; gap: .65rem; }
.field-prefix input { flex: 1 1 auto; border-bottom: 1px solid #b8b8bc; }

.field-prefix__flag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto;
    padding: .55rem .9rem;
    background: #fff;
    border: 1px solid #d9d9de;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--ink);
    white-space: nowrap;
}

/* ================= MOBILE/TABLET STICKY ACTIONS ==================
   Desktop keeps the inline Call Now button beside Enquire Now.
   Tablet/mobile use the sticky bottom Enquire Now + Call Now actions.
   ================================================================= */
.sticky-actions { display: none; }
.sticky-cta, .sticky-call { font-family: inherit; font-weight: 700; }

@media (max-width: 991px) {
    .foot { padding-bottom: 8rem; }

    .sticky-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 900;
        box-shadow: 0 -6px 24px rgba(0,0,0,.18);
    }
    .sticky-cta, .sticky-call {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 5.2rem;
        padding: 1.25rem .75rem;
        border: 0;
        background: var(--maroon);
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1.4rem;
        letter-spacing: .12rem;
        cursor: pointer;
    }
    .sticky-call {
        background: var(--maroon-dark);
        border-left: 1px solid rgba(255,255,255,.35);
    }
}


/* Client feedback: gallery and amenities arrows stay visible on both sides. */
.gcar__arrow[disabled], .carousel__arrow[disabled] { opacity: 1; cursor: pointer; }

@media (max-width: 767px) {
    .gcar__arrow, .carousel__arrow { width: 3.6rem; height: 3.6rem; }
    .gcar__arrow--prev, .carousel__arrow--prev { left: .5rem; }
    .gcar__arrow--next, .carousel__arrow--next { right: .5rem; }
    .hero__slide picture, .hero__slide img {height: 90dvh;}
}
