/* Sipani City LP stylesheet (replaces the old combined.css custom layers; Bootstrap 5.2.3 grid/carousel come from bootstrap.min.css).
   Palette taken from the project renders: canopy green, sandstone facade, copper for prices. Type: Marcellus + Inter (SRPL standard).
   Layout: content column + fixed enquiry rail >=1200px; below that the inline form (.response-view) and bottom bar take over.
   JS hooks kept: .delayed-popup-trigger, #bkgOverlay/#delayedPopup (jQuery fade), .menu.is-active (max-height set by JS), owl/lightbox. */

/* ---------- tokens ---------- */
:root {
  --canopy: #1F4A3A;
  --canopy-deep: #163629;
  --ink: #17211C;
  --muted: #55625B;
  --sand: #D9A684;
  --copper: #94562F;
  --wash: #EEF3EF;
  --line: #D8E1DB;
  --white: #FFFFFF;
  --rail: 360px;
  --nav-h: 76px;
  --r-sm: 6px;
  --r-md: 14px;
  --pad-x: clamp(20px, 4vw, 56px);
  --pad-y: clamp(56px, 7vw, 96px);
  --serif: "Marcellus", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --primary-color: var(--canopy);
  --accent-color: var(--sand);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--canopy); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
iconify-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.container { max-width: 1120px; padding-left: 0; padding-right: 0; }

/* ---------- shell: content + rail ---------- */
.mojopg { display: block; }
.left-side { width: 100%; background: var(--white); }
.right-side { display: none; }
@media (min-width: 1200px) {
  .left-side { width: calc(100% - var(--rail)); }
  .right-side:not(.response-view) {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0;
    width: var(--rail); background: var(--white); border-left: 1px solid var(--line); z-index: 1000; overflow-y: auto;
  }
}

/* ---------- nav ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); padding: 0 var(--pad-x);
  background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); z-index: 999;
}
@media (min-width: 1200px) { .navbar { width: calc(100% - var(--rail)); } }
.navbar > .container { max-width: none; height: 100%; }
.navbar .wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.menu-inner { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-link {
  display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s;
}
.menu-link:hover { background: var(--wash); color: var(--canopy); }
.menu-item.active .menu-link { background: var(--canopy); color: var(--white); }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.burger-line { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.burger-line:nth-child(1) { top: 15px; }
.burger-line:nth-child(2), .burger-line:nth-child(3) { top: 21px; }
.burger-line:nth-child(4) { top: 27px; }
.burger.is-active .burger-line:nth-child(1), .burger.is-active .burger-line:nth-child(4) { opacity: 0; top: 21px; }
.burger.is-active .burger-line:nth-child(2) { transform: rotate(45deg); }
.burger.is-active .burger-line:nth-child(3) { transform: rotate(-45deg); }
@media (max-width: 991px) {
  .navbar { padding: 0 20px; }
  .burger { display: block; }
  .menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; max-height: 0; overflow: hidden;
    background: var(--white); border-bottom: 1px solid var(--line); transition: max-height .3s ease;
  }
  .menu-inner { flex-direction: column; padding: 8px 20px 20px; gap: 2px; }
  .menu-link { padding: 12px 14px; border-radius: var(--r-sm); font-size: 16px; }
}

/* ---------- hero ---------- */
.banner-section { margin-top: var(--nav-h); position: relative; }
.banner-section .carousel-inner img {
  width: 100%; height: calc(100vh - var(--nav-h)); min-height: 520px; max-height: 820px; object-fit: cover; object-position: center 60%;
}
#floating-content { position: absolute; left: var(--pad-x); bottom: 40px; z-index: 5; max-width: 380px; }
#floating-content .wrapper-main, #floating-content .box-wrapper { padding: 0; margin: 0; }
.intro-box {
  background: var(--white); border-radius: var(--r-md); padding: 28px 28px 24px;
  box-shadow: 0 24px 48px -24px rgba(23, 33, 28, 0.45); border-top: 4px solid var(--sand);
}
.sec-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.4; margin-bottom: 6px; }
.prelaunch-project-name { font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; color: var(--canopy); margin-bottom: 18px; }
.property-details-card { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.property-detail-row { display: flex; flex-direction: column-reverse; padding: 12px 0; }
.property-detail-row + .property-detail-row { padding-left: 14px; border-left: 1px solid var(--line); }
.detail-label { font-size: 12px; color: var(--muted); }
.detail-value { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.offer-highlights-box { margin-bottom: 14px; }
.offer-highlight-text { margin: 0; font-size: 14px; color: var(--canopy); font-weight: 500; }
.offerprice { margin: 0; font-size: 14px; color: var(--muted); }
.offerprice b { color: var(--ink); font-weight: 600; }
.price-display { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 18px; }
.price-amount { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--copper); }
.price-onwards { font-size: 14px; color: var(--muted); }
.intro-box .text-center { text-align: left !important; margin: 0 !important; }
.carousel-item { transition: opacity .8s ease; }
.carousel.slide .carousel-item { transform: none; }
@media (max-width: 991px) {
  .banner-section .carousel-inner img { height: 56vw; min-height: 260px; max-height: 460px; }
  #floating-content { position: relative; left: auto; bottom: auto; max-width: none; padding: 0 20px; margin-top: -40px; }
  .intro-box { padding: 22px 20px 20px; }
  .price-amount { font-size: 38px; }
}

/* ---------- buttons ---------- */
.brochure-download-btn, .btn2, .price_break_btn, .btn-visit, .delayed_popup_right button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: var(--r-sm);
  background: var(--canopy); color: var(--white) !important; font: 600 15px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background-color .2s;
}
.brochure-download-btn { width: 100%; }
.brochure-download-btn:hover, .btn2:hover, .price_break_btn:hover, .btn-visit:hover { background: var(--canopy-deep); }
.btn2 { background: transparent; color: var(--canopy) !important; box-shadow: inset 0 0 0 1.5px var(--canopy); }
.btn2:hover { color: var(--white) !important; }
.button-3d, .dots { display: none !important; }

/* ---------- inline mobile form ---------- */
.response-view { display: block; margin: 24px 20px 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 1200px) { .response-view { display: none !important; } }
.form-head { background: var(--canopy); padding: 16px 20px; }
.form-head h5 { color: var(--white); font-size: 20px; margin: 0; }
.service-form-div { padding: 8px 8px 0; background: var(--white); }
.service-form-div iframe { display: block; }

/* ---------- sections ---------- */
.main-section-padding > section { padding: var(--pad-y) var(--pad-x); }
.main-section-padding > section:nth-of-type(even) { background: var(--wash); }
.head_centre, .floor_pian_title, .work-head { max-width: 1120px; margin: 0 auto 36px; }
.common_sub_head_blk { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--copper); margin-bottom: 8px; }
.main_head { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; color: var(--ink); }
.main_head.text-center { text-align: left !important; }
#overview .row, #about .row { --bs-gutter-x: 40px; }
#overview .main_head { margin-bottom: 28px !important; }
#overview img { border-radius: var(--r-md); box-shadow: none !important; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#overview p, #about p { font-size: 17px; color: var(--muted); max-width: 62ch; }
#overview p { margin-top: 4px; }
#about .main_head { margin-bottom: 16px; }
#about p strong { color: var(--ink); font-weight: 600; }

/* ---------- price list (rate cards) ---------- */
#priceslider { max-width: 1120px; margin: 0 auto; --bs-gutter-x: 24px; justify-content: flex-start !important; }
#priceslider .col-lg-3 { flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) { #priceslider .col-lg-3 { width: 50%; } }
.price_detail_wrap { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.price_detail_top { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "proj proj" "cfg cfg" "price price" "size size" "btn btn"; padding: 28px; }
.price-project { grid-area: proj; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.price-config { grid-area: cfg; font-size: 30px; color: var(--canopy); margin-bottom: 18px; }
.price_detail_top h3 { grid-area: price; font-size: 40px; line-height: 1; color: var(--copper); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-from { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.price_detail_top .pricing { grid-area: size; padding: 16px 0 22px; }
.detail_wrap h6 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }
.detail_wrap h6::before { content: "Carpet area "; color: var(--muted); font-weight: 400; }
.price_break_btn { grid-area: btn; }
.btn--glow { animation: none !important; box-shadow: none !important; }

/* ---------- amenities ---------- */
#amenities .container { max-width: 1120px; }
#amenities .row.mt-4 { --bs-gutter-x: 0; --bs-gutter-y: 0; margin-top: 0 !important; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenities_wrap { height: 100%; padding: 26px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.amenities_wrap > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.amenities_wrap img { width: 40px; height: 40px; object-fit: contain; }
.amenities_wrap h6 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }

/* ---------- floor plans ---------- */
#floor_plans .row { --bs-gutter-x: 24px; }
.floor_plans { display: block; text-decoration: none; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.floor_plan_image { position: relative; }
.floor_plan_image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: blur(3px); transform: scale(1.04); }
.floor_plan_image button {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 10px 20px; border: 0; border-radius: 999px; background: var(--white); color: var(--canopy);
  font: 600 15px/1 var(--sans); box-shadow: 0 8px 24px -8px rgba(23, 33, 28, .4);
}
.floor_plan_image button::after { content: " · view plan"; font-weight: 400; color: var(--muted); }

/* ---------- gallery ---------- */
#gallery .owl-carousel { max-width: 1120px; margin: 0 auto; }
#gallery .gallery_image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }

/* ---------- location ---------- */
.location_wrap .row { --bs-gutter-x: 40px; --bs-gutter-y: 24px; align-items: center; }
.location_map { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.location_map img { width: 100%; }
.location_map span {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--canopy); color: var(--white); font-size: 14px; font-weight: 600;
}
.location_details ul { list-style: none; padding: 0; margin: 0 !important; }
.location_details li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 16px; }
.location_details li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
  background: var(--canopy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- site visit band ---------- */
.site-visit-banner {
  margin: 0 var(--pad-x); padding: clamp(32px, 5vw, 56px); border-radius: var(--r-md);
  background: var(--canopy); display: grid; gap: 24px; align-items: start;
}
@media (min-width: 992px) { .site-visit-banner { grid-template-columns: 1fr 1.1fr; } .site-visit-banner .text-center { grid-column: 1; } }
.site-visit-banner h3 { color: var(--white); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; max-width: 14ch; }
.site-visit-form { background: var(--white); border-radius: var(--r-md); padding: 8px 8px 0; }
@media (min-width: 992px) { .site-visit-form { grid-column: 2; grid-row: 1 / span 2; } }
.site-visit-banner .text-center { text-align: left !important; margin: 0 !important; }
.btn-whatsapp-visit {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm);
  background: var(--white); color: var(--canopy); font-weight: 600; text-decoration: none;
}

/* ---------- footer ---------- */
footer { background: var(--canopy-deep); color: rgba(255, 255, 255, .78); padding: 56px var(--pad-x) 0; margin-top: var(--pad-y); }
.ftr-promoter { display: block; color: var(--white); font-size: 15px; line-height: 1.6; max-width: 80ch; }
.ftr-disclaimer { font-size: 13px; line-height: 1.7; margin-top: 18px; max-width: 110ch; }
.ftr-disclaimer a, .ftr-rera a { color: var(--sand); }
.ftr-rera { font-size: 13px; margin: 0; padding-bottom: 28px; }
.copy_right { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0 24px; font-size: 13px; }
.copy_right p { margin: 0; }
@media (max-width: 991px) { footer { padding-bottom: 72px; } }

/* ---------- desktop enquiry rail ---------- */
.right-side:not(.response-view) { background: var(--wash); border-left: 0; }
.sidebar-top-tabs { display: grid; grid-template-columns: 1fr 1.3fr; background: var(--canopy-deep); flex: none; }
.tab-item {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--nav-h); padding: 0 12px;
  font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; white-space: nowrap;
}
.tab-item iconify-icon { font-size: 18px; color: var(--sand); }
.tab-item + .tab-item { border-left: 1px solid rgba(255, 255, 255, .14); }
.tab-item:hover { background: var(--canopy); color: var(--white); }
.right-side .fixed-form { display: flex; flex-direction: column; flex: 1; padding: 24px 20px 20px; gap: 16px; }
.right-side .form-head { background: none; padding: 0 4px; }
.right-side .form-head h5 { color: var(--ink); font-size: 24px; line-height: 1.25; }
.right-side .service-form-div { padding: 6px 0 0; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.sidebar-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.feature-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.feature-item iconify-icon { font-size: 22px; color: var(--canopy); }
.feat-txt { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.sidebar-footer { padding: 0; }
.btn-visit { width: 100%; }
@media (min-width: 1200px) and (max-height: 820px) {
  .sidebar-features { display: none; }
  .right-side .fixed-form { padding-top: 18px; gap: 12px; }
}

/* ---------- floating call/WhatsApp ---------- */
.fix_icons { position: fixed; right: 16px; bottom: 24px; z-index: 990; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1200px) { .fix_icons { right: calc(var(--rail) + 20px); } }
@media (max-width: 991px) { .fix_icons { bottom: 80px; } }
.fix_icons a {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  font-size: 24px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(23, 33, 28, .55);
}
.fix_icons .fico { background: var(--canopy); color: var(--white); }
.fix_icons .whts { background: var(--white); font-size: 28px; }

/* ---------- mobile bottom bar ---------- */
.bottomfix { display: none; }
@media (max-width: 991px) {
  .bottomfix {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 995;
    background: var(--canopy); padding-bottom: env(safe-area-inset-bottom);
  }
  .orange-bar + .orange-bar { border-left: 1px solid rgba(255, 255, 255, .18); }
  .orange-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px;
    color: var(--white); font-size: 13px; font-weight: 600; text-decoration: none;
  }
}

/* ---------- enquiry popup ---------- */
.backgroundOverlay { display: none; position: fixed; inset: 0; background: rgba(15, 26, 21, .6); z-index: 9999; }
.delayedPopupWindow {
  display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10000;
  width: 440px; max-width: calc(100% - 32px); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--white); border-radius: var(--r-md); border-top: 4px solid var(--sand);
}
#btnClose {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); font-size: 24px; cursor: pointer; text-decoration: none; z-index: 2;
}
#btnClose:hover { background: var(--wash); }
.enquiry_title { padding: 26px 56px 6px 24px; }
.enquiry_title h6 { font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 4px; }
.enquiry_title p { font-size: 14px; color: var(--muted); margin: 0; }
.text_red { color: var(--copper); font-weight: 600; }
.enquiry_form { padding: 0 12px; }

/* ---------- motion ---------- */
.blink-soft, .offer-text-effect { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
