:root {
    --ink: #2a1a10;
    --bronze: #8a4513;
    --gold: #c58a1b;
    --ivory: #fbf8f3;
    --sand: #f1e9dc;
    --line: #e4d8c6;
    --green: #1fa463;
    --r: 10px;
    --grad: linear-gradient(135deg, var(--gold), var(--bronze))
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.65;
    padding-right: 340px
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', system-ui, sans-serif;
    line-height: 1.25;
    font-weight: 600
}

a {
    color: inherit
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px
}

/* header */
.top {
    position: fixed;
    top: 0;
    left: 0;
    right: 340px;
    height: 68px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(42, 26, 16, .08)
}

.logo img {
    height: 46px
}

.logo b {
    font: 700 22px 'Poppins', sans-serif;
    color: var(--bronze)
}

nav {
    display: flex;
    gap: 4px;
    margin-left: auto
}

nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px
}

nav a:hover {
    background: var(--sand)
}

.call {
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 30px;
    white-space: nowrap
}

.burger {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    cursor: pointer
}

/* hero (desktop: image background, card top-left) */
.hero {
    margin-top: 68px;
    position: relative;
    min-height: 640px;
    background: linear-gradient(rgba(42, 26, 16, .15), rgba(42, 26, 16, .35)), url(img/Sobha.webp) center/cover, #5b3a22;
    padding: 28px
}

.hero-card {
    background: #fff;
    max-width: 330px;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
    text-align: center;
    padding-bottom: 20px
}

.tag {
    display: block;
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 10px
}

.hero-card h1 {
    font-size: 32px;
    margin: 14px 0 2px
}

.loc,
.by {
    font-size: 13px;
    padding: 0 14px
}

.by {
    margin-top: 4px;
    font-weight: 600
}

.facts {
    background: var(--sand);
    margin: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: left;
    font-size: 13px
}

.facts div {
    display: flex;
    gap: 10px
}

.facts dt {
    min-width: 90px;
    color: #6b5646
}

.facts dd {
    font-weight: 700
}

.eoi {
    margin: 0 14px;
    border: 1.5px dashed #f3d9a1;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 12px;
    border-radius: 8px
}

.from {
    margin: 14px 0 12px;
    font-size: 13px
}

.from strong {
    display: block;
    font: 700 30px 'Poppins', sans-serif;
    color: var(--bronze)
}

/* buttons */
.btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font: 700 15px 'Poppins', sans-serif;
    color: #fff;
    background: var(--grad);
    padding: 13px 26px;
    border-radius: 8px;
    transition: transform .15s, box-shadow .15s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(138, 69, 19, .35)
}

.btn.sm {
    padding: 9px 16px;
    font-size: 13px
}

/* form (fixed right panel on desktop) */
.form-box {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100vh;
    background: #fff;
    padding: 90px 28px 28px;
    z-index: 60;
    border-left: 1px solid var(--line);
    overflow: auto
}

.form-box h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 18px
}

.lead-form {
    display: grid;
    gap: 14px
}

.lead-form input[type=text],
.lead-form input[type=email],
.lead-form input[type=tel],
.lead-form select {
    width: 100%;
    border: 0;
    border-bottom: 1.5px solid var(--line);
    padding: 12px 4px;
    font: 500 15px 'Poppins', sans-serif;
    background: transparent;
    color: var(--ink)
}

.lead-form input:focus,
.lead-form select:focus {
    outline: 0;
    border-color: var(--gold)
}

.ph {
    display: flex;
    align-items: center;
    gap: 8px
}

.ph span {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600
}

.chk {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #5d4a3c;
    align-items: flex-start
}

.chk input {
    accent-color: var(--bronze);
    margin-top: 3px
}

.lead-form .btn {
    justify-self: center;
    width: 80%
}

.msg {
    font-size: 13px;
    text-align: center;
    min-height: 18px
}

.msg.ok {
    color: var(--green)
}

.msg.err {
    color: #c0392b
}

/* sections */
.sec {
    padding: 56px 36px;
    max-width: 1100px
}

.sec.alt {
    background: #fff;
    max-width: none
}

.sec>*,
.sec.alt>* {
    max-width: 1030px
}

.sec.wide {
    max-width: none
}

.sec.wide>*,
.sec.wide .lead {
    max-width: none
}

.sec.wide .lead {
    font-size: 17px;
    margin-bottom: 16px
}

.more[hidden] {
    display: none
}

.more {
    animation: fade .3s
}

.rm-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 6px
}

.rm-btn {
    background: none;
    border: 0;
    cursor: pointer;
    font: 700 15px 'Poppins', sans-serif;
    color: var(--bronze);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 6px 0
}

.rm-btn:hover {
    color: var(--gold)
}

h2 {
    font-size: clamp(23px, 2.7vw, 32px);
    color: var(--bronze);
    margin-bottom: 22px
}

.mt {
    margin-top: 44px
}

.lead {
    font-size: 16px;
    max-width: 75ch;
    margin-bottom: 24px
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 6px
}

.row h2 {
    margin-bottom: 12px
}

.price-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start
}

.tbl-scroll {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line)
}

th,
td {
    padding: 16px;
    text-align: left;
    font-size: 15px
}

thead th {
    background: var(--ivory)
}

tbody tr:nth-child(odd) {
    background: var(--ivory)
}

td:first-child {
    font-weight: 700
}

.cost {
    border: 1px solid var(--line);
    padding: 16px;
    text-align: center;
    border-radius: 8px
}

.cost img {
    margin-bottom: 14px;
    filter: blur(1.5px);
    min-height: 120px;
    background: var(--sand)
}

.master {
    position: relative;
    max-width: 480px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sand);
    min-height: 220px
}

.master span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
    opacity: 0;
    transition: .2s
}

.master:hover span {
    opacity: 1
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.grid4 img,
.am img {
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    background: var(--sand)
}

.fp {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff
}

.fp img {
    aspect-ratio: 4/3;
    object-fit: contain;
    width: 100%;
    background: var(--sand)
}

.fp-img {
    position: relative;
    overflow: hidden
}

/* black shade: top se bottom ki taraf slide hoga */
.fp-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s ease;
    z-index: 1
}

.fp-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) translateY(-12px);
    opacity: 0;
    transition: opacity .3s ease .15s, transform .3s ease .15s;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 12px 28px;
    border-radius: 6px
}

.fp:hover .fp-img::before {
    transform: scaleY(1)
}

.fp:hover .fp-btn {
    opacity: 1;
    transform: translate(-50%, -50%)
}

/* mobile/touch: hover nahi hota, isliye button hamesha niche dikhe */
@media (hover: none) {
    .fp-btn {
        opacity: 1;
        top: auto;
        bottom: 10px;
        transform: translateX(-50%);
        font-size: 12px;
        padding: 8px 18px
    }
}

.fp figcaption {
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 12px
}

.am figure {
    position: relative
}

.am figcaption {
    position: absolute;
    left: 0;
    bottom: 8px;
    background: rgba(255, 255, 255, .92);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-left: 4px solid var(--bronze)
}

.loc-wrap {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start
}

.loc-wrap img {
    border: 1px solid var(--line);
    background: var(--sand);
    min-height: 90%;
    width: 100%
}

.conn {
    list-style: none;
    margin-top: 14px
}

.conn li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px
}

details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    justify-content: space-between
}

summary:after {
    content: "+";
    color: var(--bronze);
    font-size: 22px;
    line-height: 1
}

details[open] summary:after {
    content: "–"
}

details p {
    margin-top: 12px;
    max-width: 80ch
}

footer {
    background: var(--sand);
    padding: 36px;
    font-size: 14px;
    display: grid;
    gap: 8px
}

.disc {
    margin-top: 10px
}

.copy {
    text-align: center;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 10px
}

.sticky-bar {
    display: none
}

/* chat (brand brown/gold, no pink) */
.av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    font: 700 20px 'Poppins';
    flex: none
}

.chat-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    border: 0;
    background: none;
    cursor: pointer
}

.chat-fab .av {
    width: 60px;
    height: 60px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    border: 3px solid #fff
}

.chat-fab .dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid #fff
}

.chat-bubble {
    position: fixed;
    right: 20px;
    bottom: 96px;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
    padding: 16px;
    text-align: center;
    z-index: 80;
    display: none
}

.chat-bubble button {
    display: block;
    margin: 12px auto 0;
    width: 100%;
    border: 0;
    border-radius: 30px;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    padding: 11px;
    cursor: pointer
}

.chat-bubble i {
    position: absolute;
    top: 4px;
    right: 10px;
    cursor: pointer;
    font-style: normal;
    font-size: 18px
}

.chat {
    position: fixed;
    right: 20px;
    bottom: 96px;
    width: 350px;
    max-width: calc(100vw - 24px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 50px rgba(0, 0, 0, .3);
    z-index: 90;
    display: none;
    flex-direction: column;
    overflow: hidden
}

.chat.open {
    display: flex
}

.chat header {
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px
}

.chat header .av {
    background: #fff;
    color: var(--bronze);
    width: 38px;
    height: 38px;
    font-size: 17px
}

.chat header b {
    flex: 1;
    font-size: 16px
}

.chat header button {
    background: rgba(255, 255, 255, .25);
    border: 0;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer
}

.chat-body {
    flex: 1;
    overflow: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff
}

.b {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45
}

.b.bot {
    background: var(--sand);
    align-self: flex-start;
    border-bottom-left-radius: 3px
}

.b.me {
    background: var(--bronze);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 3px
}

.chat-opts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 0 14px 8px;
    max-height: 190px;
    overflow: auto
}

.chat-opts button {
    border: 1.5px solid var(--bronze);
    background: #fff;
    color: var(--bronze);
    font: 600 13px 'Poppins';
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer
}

.chat-opts button:hover {
    background: var(--bronze);
    color: #fff
}

.chat-in {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--line)
}

.chat-in input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
    font: 14px 'Poppins'
}

.chat-in button {
    width: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    cursor: pointer
}

.chat-in input:disabled {
    background: #f3f3f3
}

/* modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 5, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 14px
}

.modal.open {
    display: flex;
    animation: fade .25s
}

@keyframes fade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 230px 1fr;
    width: min(760px, 100%);
    max-height: 94vh;
    overflow: auto
}

.m-x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    z-index: 2
}

.m-left {
    background: var(--ivory);
    padding: 24px 18px;
    text-align: center;
    border-radius: 12px 0 0 12px
}

.m-left img {
    height: 50px;
    margin: 0 auto 18px
}

.m-left h4 {
    font-size: 22px;
    color: var(--bronze);
    margin-bottom: 12px
}

.m-left ul {
    list-style: none;
    display: grid;
    gap: 14px;
    text-align: left;
    font-weight: 700;
    color: var(--bronze);
    font-size: 15px
}

.m-right {
    padding: 28px 28px 70px;
    position: relative
}

.m-right h3 {
    font: 700 22px 'Poppins', sans-serif;
    margin-bottom: 6px;
    padding-right: 20px
}

.m-right h3 em {
    color: var(--bronze);
    font-style: normal
}

.m-sub {
    font-size: 13px;
    color: #6b5646;
    margin-bottom: 12px;
    min-height: 4px
}

.m-call {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bronze);
    color: #fff;
    text-align: center;
    padding: 16px;
    font: 700 20px 'Poppins';
    text-decoration: none;
    border-radius: 0 0 12px 0
}

.m-call{display:flex;align-items:center;justify-content:center;gap:10px}
.m-call .ic{width:22px;height:22px}

/* ===== Mobile / tablet: IMAGE FIRST, details below ===== */
@media(max-width:1000px) {
    body {
        padding-right: 0;
        padding-bottom: 62px
    }

    .top {
        right: 0;
        height: 60px
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 8px 16px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, .1)
    }

    nav.open {
        display: flex
    }

    .burger {
        display: block;
        margin-left: auto
    }

    .call {
        display: none
    }

    .hero {
        margin-top: 60px;
        min-height: 0;
        padding: 0 12px 4px;
        background: none;
        display: flex;
        flex-direction: column;
        gap: 16px
    }

    .hero::before {
        content: "";
        display: block;
        margin: 0 -12px;
        height: 48vh;
        min-height: 240px;
        max-height: 460px;
        background: url(img/Sobha.webp) center/cover, #5b3a22
    }

    .hero-card {
        max-width: none;
        margin-top: -34px;
        position: relative;
        z-index: 1
    }

    .form-box {
        position: static;
        width: auto;
        height: auto;
        padding: 22px 18px;
        border: 0;
        border-radius: var(--r);
        box-shadow: 0 6px 24px rgba(42, 26, 16, .12)
    }

    .sec {
        padding: 38px 18px
    }

    .price-wrap,
    .loc-wrap {
        grid-template-columns: 1fr
    }

    .grid3 {
        grid-template-columns: 1fr
    }

    .grid4 {
        grid-template-columns: 1fr 1fr
    }

    .am {
        grid-template-columns: 1fr 1fr
    }

    .sticky-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        background: #fff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .15)
    }

    .sticky-bar a,
    .sticky-bar button {
        border: 0;
        background: #fff;
        padding: 16px 4px;
        font: 700 14px 'Poppins';
        text-align: center;
        text-decoration: none;
        color: var(--ink)
    }

    .sticky-bar button {
        background: var(--bronze);
        color: #fff
    }

    .chat-fab {
        bottom: 76px;
        right: 12px
    }

    .chat-bubble {
        bottom: 150px;
        right: 12px
    }

    .chat {
        right: 12px;
        bottom: 76px;
        height: calc(100vh - 100px)
    }

    .modal-box {
        grid-template-columns: 1fr
    }

    .m-left {
        display: none
    }

    .m-right {
        padding: 24px 18px 66px
    }

    .m-call {
        border-radius: 0 0 12px 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}


.sticky-bar a,
.sticky-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: #fff;
    height: 54px;
    padding: 0 4px;
    font: 700 14px 'Poppins', sans-serif;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    cursor: pointer
}

.sticky-bar button {
    background: var(--bronze);
    color: #fff
}

.sticky-bar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: none
}

.sticky-bar button img {
    filter: brightness(0) invert(1)   /* Enquire icon white ho jayega */
}

