/* PlotDesk public website. Brand colour comes from the client's settings (--brand). */
:root {
  --brand: #1D4ED8;
  --brand-ink: #fff;
  --ink: #14202F;
  --text: #2A3442;
  --muted: #5F6977;
  --line: #E3E6EA;
  --paper: #F5F6F2;
  --surface: #fff;
  --st-available: #1F9D63; --st-hold: #D29A12; --st-booked: #D44B43; --st-registered: #7D2A3C; --st-blocked: #8A94A6;
  --font: "Instrument Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--surface); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.08; font-stretch: 82%; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-stretch: 90%; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 18px; height: 18px; vertical-align: -3px; flex: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; font-stretch: 85%; }
.brand img { max-height: 50px; max-width: 190px; object-fit: contain; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 550; padding: 8px 12px; border-radius: 8px; font-size: 15.5px; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--paper); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); white-space: nowrap; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 86%, black); border-color: transparent; color: var(--brand-ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }

/* hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--paper), #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 44ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .since { margin-top: 28px; font-size: 15px; color: var(--muted); }

.layout-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(20,32,47,.28); overflow: hidden; }
.layout-card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 12px; }
.layout-card .head strong { color: var(--ink); font-size: 18px; font-stretch: 88%; }
.layout-card .head span { font-size: 14px; color: var(--muted); }
.site-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 4px; padding: 14px 20px 18px;
  background-color: #F7F8F4; background-image: linear-gradient(rgba(20,32,47,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,47,.05) 1px, transparent 1px); background-size: 14px 14px; }
.site-map .t { aspect-ratio: 1; border-radius: 3px; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; text-decoration: none; border: 0; padding: 0; font-family: inherit; }
button.t, a.t { cursor: pointer; }
.site-map .t.available { --c: var(--st-available); }
.site-map .t.hold { --c: var(--st-hold); }
.site-map .t.booked, .site-map .t.registered { --c: var(--st-booked); }
.site-map .t.blocked { --c: var(--st-blocked); }
.site-map .t.available:hover { outline: 3px solid var(--ink); outline-offset: 1px; }
.site-map.big { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 5px; }
.site-map.big .t { font-size: 13px; flex-direction: column; }
.site-map.big .t small { font-weight: 500; font-size: 10px; opacity: .9; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(20,32,47,.35); }
.project-card .img { aspect-ratio: 16 / 10; background: var(--paper) center / cover no-repeat; position: relative; }
.project-card .img .tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 13px; font-weight: 650; padding: 4px 10px; border-radius: 20px; }
.project-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.project-card h3 { margin: 0; }
.project-card .loc { color: var(--muted); font-size: 15px; }
.avail { margin-top: auto; padding-top: 12px; }
.avail .bar { height: 6px; border-radius: 6px; background: #E9EBE6; overflow: hidden; display: flex; }
.avail .bar span { background: var(--st-available); }
.avail .txt { font-size: 14px; margin-top: 6px; color: var(--muted); }
.avail .txt b { color: var(--st-available); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { list-style: none; padding: 22px 22px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-weight: 700; font-size: 15px; color: var(--brand); margin-bottom: 8px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }
.steps ol { margin: 0; padding: 0; display: contents; }

.video-grid, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.video-grid iframe, .video-grid video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.form-card label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border-radius: 10px; border: 1.5px solid #CFD5DC; margin-bottom: 14px; background: #fff; color: var(--text); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, white); }
.form-card .hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 550; }
.notice.ok { background: #E5F5EC; color: #11613A; }
.notice.err { background: #FBE8E8; color: #8E2424; }

/* project page */
.project-hero { padding: 40px 0 0; }
.project-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.project-hero .crumbs a { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.facts div { background: #fff; padding: 14px 18px; }
.facts dt { font-size: 13.5px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; color: var(--ink); font-size: 17px; }
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 180px; gap: 10px; border-radius: 16px; overflow: hidden; }
.photos a:first-child { grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 48px; align-items: start; }
.sticky { position: sticky; top: 96px; }
.amenities { columns: 2; padding-left: 18px; }
.amenities li { margin-bottom: 6px; break-inside: avoid; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-links a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 550; }
.map-embed { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.plot-pop { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 15px; }

/* footer */
.site-footer { background: var(--ink); color: #C8D0DB; padding: 64px 0 28px; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 16px; font-stretch: 100%; letter-spacing: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.wa-float .i { width: 26px; height: 26px; }

.prose { max-width: 72ch; }
.prose p { white-space: pre-line; }

@media (max-width: 960px) {
  .hero .wrap, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-header .call { display: none; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 36px 0 48px; }
  .photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .photos a:first-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .amenities { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 760px) { .hero .site-map .t:nth-child(n+57) { display: none; } }
