.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



/* Layout concept: single long page, dark editorial hero, light/dark card sections, sticky mobile action bar.
   Palette: deep navy (brand), saffron (accent), warm paper (background). */
:root {
  --bg: #F7F4EE;
  --fg: #0F1B2D;
  --muted: #5B6578;
  --card: #FFFFFF;
  --line: #E4DED2;
  --brand: #0F1B2D;
  --accent: #A8620F;
  --accent-bg: #E8912D;
  --bar: #0F1B2D;
  --bar-fg: #F7F4EE;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1320;
    --fg: #F4F1EA;
    --muted: #9AA5B6;
    --card: #142033;
    --line: #24344A;
    --brand: #F4F1EA;
    --accent: #F0A44E;
    --accent-bg: #E8912D;
    --bar: #070D16;
    --bar-fg: #F4F1EA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1320;
  --fg: #F4F1EA;
  --muted: #9AA5B6;
  --card: #142033;
  --line: #24344A;
  --brand: #F4F1EA;
  --accent: #F0A44E;
  --accent-bg: #E8912D;
  --bar: #070D16;
  --bar-fg: #F4F1EA;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-bg); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bootstrap-style grid and utilities (inline so the preview renders) ---------- */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > * { padding: 12px; min-width: 0; }
.g-4 { margin: -12px; }
.g-4 > * { padding: 12px; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; }
.col-lg-4 { flex: 0 0 100%; max-width: 100%; }
.col-lg-5 { flex: 0 0 100%; max-width: 100%; }
.col-lg-7 { flex: 0 0 100%; max-width: 100%; }
.col-lg-3 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
}
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
}
.d-none { display: none !important; }
.d-md-none { display: block; }
.d-md-flex { display: flex; }
.text-center { text-align: center; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; min-height: 48px; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-saffron { background: var(--accent-bg); color: #0F1B2D; }
.btn-saffron:hover { background: #F2A552; }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-whatsapp { background: #25D366; color: #06240F; }
.btn-ghost-light { background: transparent; color: #F7F4EE; border-color: rgba(247,244,238,.45); }
.btn-sm { padding: .5rem .95rem; min-height: 40px; font-size: .88rem; }

/* ---------- Coming soon banner ---------- */
.coming-soon {
  background: linear-gradient(90deg, #E8912D, #F2B45A);
  color: #0F1B2D;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  padding: .6rem 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.coming-soon span.pill { display: inline-block; background: #0F1B2D; color: #F7F4EE; border-radius: 999px; padding: 2px 10px; margin-right: 8px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bar); color: var(--bar-fg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-family: Fraunces, Georgia, serif; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.1; }
.brand-name small { display: block; font-family: Inter, sans-serif; font-weight: 500; font-size: .68rem; letter-spacing: .18em; opacity: .75; text-transform: uppercase; }
.nav-links { display: none; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { opacity: 1; border-bottom-color: var(--accent-bg); }
.nav-cta { display: none; }
.menu-toggle { background: none; border: 1px solid rgba(247,244,238,.35); color: inherit; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; }
.mobile-nav { display: none; background: var(--bar); border-top: 1px solid rgba(247,244,238,.12); padding: 8px 16px 18px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid rgba(247,244,238,.1); color: #F7F4EE; }
.mobile-nav .btn { margin-top: 14px; width: 100%; }
@media (min-width: 992px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(232,145,45,.28), transparent 60%), linear-gradient(160deg, #0F1B2D 0%, #1B2F4D 60%, #223B60 100%);
  color: #F7F4EE;
  padding: 56px 0 72px;
}
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #F2B45A; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); font-weight: 600; color: #F7F4EE; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: #F2B45A; font-weight: 500; }
.hero .lead { font-size: 1.08rem; color: #D6DCE6; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 32px; max-width: 520px; }
.fact { border: 1px solid rgba(247,244,238,.18); border-radius: var(--radius); padding: 14px 16px; background: rgba(255,255,255,.04); }
.fact strong { display: block; font-family: Fraunces, serif; font-size: 1.35rem; color: #F7F4EE; }
.fact span { font-size: .8rem; color: #AEB8C8; letter-spacing: .03em; }
.hero-art { position: relative; margin-top: 40px; }
.hero-art svg { width: 100%; height: auto; }
@media (min-width: 992px) { .hero { padding: 88px 0 104px; } .hero-art { margin-top: 0; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--fg); }
.section-head p { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon-chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,145,45,.15); color: var(--accent); margin-bottom: 14px; }
.icon-chip svg { width: 22px; height: 22px; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* About */
.about-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; flex: 0 0 10px; border-radius: 50%; background: var(--accent-bg); }
.about-visual { border-radius: 22px; overflow: hidden; background: linear-gradient(145deg, #1B2F4D, #0F1B2D); padding: 22px; color: #F7F4EE; }
.about-visual .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.about-visual .stat { background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px; }
.about-visual .stat b { display: block; font-family: Fraunces, serif; font-size: 1.5rem; color: #F2B45A; }
.about-visual .stat span { font-size: .8rem; color: #C9D1DE; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 240px; border: 1px solid var(--line); background: var(--card); }
.tile svg { width: 100%; height: 100%; min-height: 240px; }
.tile .caption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(15,27,45,.78); color: #F7F4EE; border-radius: 10px; padding: 8px 12px; font-size: .86rem; backdrop-filter: blur(4px); }
.tile .caption small { display: block; opacity: .7; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.tile.wide { grid-column: span 1; }
.tile img {
  height: 320px;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; }
}
@media (min-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .tile.wide { grid-column: span 2; }
}

/* Floor plans */
.plan-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.plan-tabs .btn { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.plan-tabs .btn[aria-selected="true"] { background: var(--accent-bg); color: #0F1B2D; border-color: var(--accent-bg); }
.plan-figure { margin: 0 0 20px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; overflow: hidden; }
.plan-figure img { width: 100%; height: auto; border-radius: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.plan-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.plan-table th, .plan-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.plan-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.plan-table td:first-child { font-weight: 600; color: var(--fg); }
.plan-table tr.active td { background: rgba(232,145,45,.12); }
.plan-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* Amenities */
.amenity { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: 100%; }
.amenity .icon-chip { margin: 0; flex: 0 0 44px; }
.amenity h3 { font-size: 1.02rem; margin-bottom: 4px; }
.amenity p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Location */
.location-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; height: 100%; }
.route-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.route-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; font-size: .95rem; }
.route-list li span:last-child { color: var(--muted); white-space: nowrap; }
.map-box { position: relative; border-radius: 22px; overflow: hidden; min-height: 320px; background: linear-gradient(135deg, #DCE6D6, #C9D8E6); border: 1px solid var(--line); }
.map-box svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-box .map-cta { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; background: rgba(255,255,255,.94); color: #0F1B2D; border-radius: 16px; padding: 14px; }
.map-box .map-cta p { margin: 0; font-size: .9rem; }
.map-box .map-cta strong { display: block; font-family: Fraunces, serif; font-size: 1.05rem; }
@media (min-width: 992px) { .map-box { min-height: 420px; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 600; color: var(--fg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 20px 20px; color: var(--muted); font-size: .95rem; }

/* Partners */
.partner-tile { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); min-height: 110px; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-size: .9rem; }
.partner-tile b { display: block; color: var(--fg); font-family: Fraunces, serif; font-size: 1.05rem; }

/* Contact */
.contact-wrap { background: var(--brand); color: var(--bar-fg); border-radius: 26px; padding: 32px 24px; }
.contact-wrap h2 { color: var(--bar-fg); }
.contact-wrap .kicker { color: #F2B45A; }
.contact-wrap p { color: #C9D1DE; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span.val { color: #F7F4EE; text-decoration: none; font-weight: 600; }
.contact-list small { display: block; color: #AEB8C8; font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.copy-btn { margin-left: 8px; background: rgba(255,255,255,.12); color: #F7F4EE; border: 0; border-radius: 8px; padding: 4px 10px; font-size: .75rem; cursor: pointer; font-family: inherit; }
form.enquiry { display: grid; gap: 12px; }
form.enquiry label { font-size: .82rem; font-weight: 600; color: #E2E8F2; display: grid; gap: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; font-weight: 400; color: #0F1B2D; background: #F7F4EE; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 46px; width: 100%; }
form.enquiry textarea { min-height: 96px; resize: vertical; }
form.enquiry .form-note { font-size: .82rem; color: #C9D1DE; margin: 0; min-height: 1.2em; }
#wa-send { background: #25D366; color: #06240F; }
@media (min-width: 992px) { .contact-wrap { padding: 44px; } }

/* Footer */
.site-footer { background: var(--bar); color: #C9D1DE; padding: 48px 0 32px; }
.site-footer a { color: #E8ECF3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: #F7F4EE; font-size: .95rem; font-family: Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .8rem; color: #98A3B5; }
.rera-note { font-size: .82rem; color: #98A3B5; margin-top: 10px; }

/* Mobile action bar (shows only on phones) */
/*.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--bar); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }*/
/*.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 12px; text-decoration: none; font-size: .78rem; font-weight: 600; color: #F7F4EE; background: rgba(255,255,255,.08); }*/
/*.mobile-bar a.wa { background: #25D366; color: #06240F; }*/
/*.mobile-bar a.enq { background: var(--accent-bg); color: #0F1B2D; }*/
/*.mobile-bar svg { width: 20px; height: 20px; }*/
@media (max-width: 767.98px) {
  /*.mobile-bar { display: grid; }*/
  body { padding-bottom: 84px; }
  .site-footer { padding-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* Custom CAPTCHA Section */
.captcha-section {
    background: rgba(255,255,255,.08);
    border-radius: 15px;
    padding: 10px;
    margin: 22px 0;
    border: 1px solid rgba(255,255,255,.2);
    position: relative;
}

.captcha-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    background: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 0;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    color: var(--primary-color);
    user-select: none;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
    border: 1px dashed #cbd5e1;
}

.captcha-refresh-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
}

.captcha-refresh-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
}

.captcha-input-container {
    margin-bottom: 15px;
}

.captcha-input {
    color: #fff;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    background-color: var(--white-color);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

.captcha-message {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}

.captcha-success {
    background-color: #d1fae5;
    color: #065f46;
    display: flex;
}

.captcha-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: flex;
}
