/* Jindal One Homes — premium polish layer (v1)
   Loaded after style.css and ux.css. Safe to remove: the site works without it. */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; animation: jp-in .55s ease-out both; }
@keyframes jp-in { from { opacity: 0 } to { opacity: 1 } }
::selection { background: var(--brass); color: var(--navy); }

/* ---------- Header: fix cramped nav, hide stray reassurance text ---------- */
.hd .cta-reassure { display: none; }
.hd .wrap { flex-wrap: nowrap; gap: 14px; }
.logo { flex-shrink: 0; display: inline-flex; }
.logo img { height: 44px; width: auto; max-width: none; }
nav { flex-wrap: nowrap; }
nav a { white-space: nowrap; position: relative; padding: 9px 12px; }
nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease; border-radius: 2px;
}
nav a:hover::after, nav a[aria-current]::after { transform: scaleX(1); }
.hd .btn.sm { white-space: nowrap; padding: 11px 20px; font-size: .9rem; flex-shrink: 0; }
.hd { transition: box-shadow .3s ease, background .3s ease; }
.hd.scrolled { background: rgba(255,255,255,.97); }

@media (max-width: 1080px) {
  nav { display: none; }
  .hd.open nav {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(12,26,38,.10);
    animation: jp-drop .25s ease-out;
  }
  .hd.open nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hd.open nav a::after { display: none; }
  .mb { display: block; margin-left: auto; }
}
@keyframes jp-drop { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }
@media (max-width: 520px) {
  .logo img { height: 36px; }
  .hd .btn.sm { padding: 9px 14px; font-size: .82rem; }
  .hd .wrap { gap: 10px; }
}

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy); color: #b8c9d8; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #e8eef4; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--brass-light); }
.topbar svg { width: 14px; height: 14px; stroke: var(--brass-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.topbar .tb-l { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-r { letter-spacing: .04em; opacity: .85; }
@media (max-width: 760px) { .topbar .tb-r { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 440px) { .topbar .tb-l { gap: 14px; font-size: .74rem; } }

/* ---------- Scroll progress ---------- */
.pg-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.pg-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-light)); }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Buttons: sheen + press ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: left .7s ease;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(1px) scale(.985); }

/* ---------- Cards, images ---------- */
.card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.card:hover { border-color: rgba(201,162,39,.55); box-shadow: 0 22px 48px rgba(12,26,38,.13); }
.fact { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.fact:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12,26,38,.09); border-color: rgba(201,162,39,.5); }
.gal figure img, .plans figure img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gal figure:hover img, .plans figure:hover img { transform: scale(1.05); }
.shotstack .shot { border-color: rgba(224,188,74,.28); }

/* ---------- Hero atmosphere ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -180px; pointer-events: none;
  background: radial-gradient(circle, rgba(224,188,74,.20), transparent 65%); filter: blur(10px);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .8; border-radius: 2px; }

/* ---------- Stats ---------- */
.stats .stat { position: relative; }
@media (min-width: 721px) {
  .stats .stat + .stat::before { content: ""; position: absolute; left: -12px; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
}

/* ---------- Trust pills ---------- */
.trust-pill { transition: transform .25s ease, border-color .25s ease; }
.trust-pill:hover { transform: translateY(-2px); border-color: var(--brass); }

/* ---------- Forms ---------- */
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(201,162,39,.18); }

/* ---------- Footer ---------- */
footer { position: relative; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--brass), var(--brass-light), var(--brass), transparent); }
footer .f-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--brass-light);
  border-bottom: 1px solid rgba(224,188,74,.35); padding-bottom: 2px; word-break: break-all;
}
footer .f-mail::before { content: "✉"; font-size: 1rem; }
footer .f-mail:hover { color: #fff; border-color: #fff; }
footer .f4 a:not(.f-mail) { transition: color .2s, transform .2s; }
footer .f4 a:not(.f-mail):hover { transform: translateX(3px); }

/* ---------- Copy-email chip ---------- */
.copy-chip {
  margin-left: 10px; vertical-align: middle; font: 600 .72rem var(--b); letter-spacing: .04em;
  background: rgba(201,162,39,.15); color: var(--brass-light); border: 1px solid rgba(201,162,39,.45);
  border-radius: 99px; padding: 4px 12px; cursor: pointer; transition: all .2s;
}
.copy-chip:hover { background: var(--brass); color: var(--navy); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 44; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--brass-light); border: 1px solid rgba(224,188,74,.45);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 24px rgba(12,26,38,.3);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass); color: var(--navy); }
.to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 140px; width: 42px; height: 42px; } }

/* WhatsApp: gentle attention pulse */
.wa-float { animation: jp-pulse 3s ease-out 2s 3; }
@keyframes jp-pulse { 0% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5) } 70%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0) } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print { .topbar, .pg-bar, .to-top, .wa-float, .bar { display: none !important; } .js .rv { opacity: 1; transform: none; } }

/* ---------- Fixes to base styles ---------- */
/* .sm (muted small text) was overriding the colour of small buttons, leaving the gold CTA grey-on-gold */
.btn.sm:not(.alt):not(.ghost):not(.ghost-dark) { color: var(--navy); }
.btn.sm.ghost { color: #fff; }
.trust-band .btn.sm.ghost { color: var(--navy); border-color: var(--navy); }

/* Hero lead photo has white borders baked into the image: crop them out */
.hero .shotstack .shot.wide img { transform: scale(1.3); transform-origin: 50% 46%; }
.hero .shotstack .shot.wide:hover img { transform: scale(1.35); }

/* ---------- Contact / quote form ---------- */
.g2 { display: grid; gap: 56px; align-items: start; }
.dark .g2 { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 860px) { .dark .g2 { grid-template-columns: 1fr; gap: 32px; } }
form.f { display: grid; gap: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(224,188,74,.28);
  border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
form.f label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: #d6e0ea; margin-bottom: 7px; }
form.f input, form.f select, form.f textarea {
  width: 100%; padding: 14px 16px; font: 500 1rem var(--b); color: #fff;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); border-radius: 12px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s; }
form.f select option { color: #0c1a26; }
form.f input:focus, form.f select:focus { border-color: var(--brass-light); background: rgba(255,255,255,.12); }
form.f .btn { width: 100%; padding: 16px; font-size: 1.02rem; margin-top: 4px; }
.dark .form-trust { color: #d6e0ea; background: rgba(201,162,39,.10); }
.dark .form-trust strong { color: #fff; }
.ph1 { padding: 72px 0 56px; }
.ph1 p { color: #b8c9d8; margin-top: 10px; font-size: 1.1rem; }

footer .f-tel { display: flex; width: fit-content; margin-top: 10px; }
footer .f-tel::before { content: "✆"; }
footer .fl { height: 48px; }

/* ===== Premium v2 enhancements ===== */
.topbar { background: #0c1a26; color: #e8e4dc; font-size: 13px; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #e8e4dc; text-decoration: none; margin-right: 16px; }
.topbar a:hover { color: #d4a23a; }
.tb-r { letter-spacing: .3px; opacity: .9; }

.hd { background: rgba(255,255,255,.98); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,.04); }
.hd.scrolled { box-shadow: 0 4px 20px rgba(12,26,38,.08); }

.btn, .hd .btn.sm {
  background: linear-gradient(180deg, #e0b04a, #c8942e);
  box-shadow: 0 2px 8px rgba(200,148,46,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,148,46,.35); }

.city-card, .card {
  transition: transform .25s ease, box-shadow .25s ease;
  border-radius: 12px;
}
.city-card:hover, .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(12,26,38,.1);
}

h1, h2 { letter-spacing: -0.02em; }
.lead { color: #4a5560; line-height: 1.6; }

.hero, .band { position: relative; }
footer, .ft { border-top: 1px solid #e5e0d8; }

@media (max-width: 700px) {
  .tb-r { display: none; }
  .topbar .wrap { justify-content: center; }
}
