/* Beverlynn Upvan landing page: the sections after the walk-in. Base rules are for a wide window;
   phone.css (loaded after this file) turns each section into the landscape-phone frame.
   Hidden start states for animation live in lp.css behind .motion; the widgets here work the
   same with or without motion, and every panel stays visible when JS is off (.js gates hiding). */

/* ---------- site plan ---------- */
.site { background: var(--paper); }
.site__info { margin-top: 16px; min-height: 3.2em; max-width: 44ch; color: var(--muted); font-size: 0.9375rem; }
.site__info b { color: var(--ink); font-weight: 700; }
.site__info a { color: var(--teal-deep); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.site__plan {
  margin: 0; padding: clamp(12px, 2vw, 22px);
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-surface);
  box-shadow: var(--hl), var(--shadow-1);
}
.site__plan figcaption { margin-top: 10px; color: var(--muted); font-size: 0.8125rem; }
.sp { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.sp-road { fill: #dfe6e9; }
.sp-road-t { fill: #6b7c83; font-size: 8px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-anchor: middle; dominant-baseline: central; }
.sp-plot { fill: #f2f5f6; stroke: rgb(16 32 42 / 0.14); stroke-width: 0.8; }
.sp-garden { fill: #d5e6c8; stroke: #97b882; stroke-width: 0.8; }
.sp-shops rect { fill: #ece6d8; stroke: rgb(16 32 42 / 0.18); stroke-width: 0.7; }
.sp-blk rect { fill: #fff; stroke: rgb(16 32 42 / 0.28); stroke-width: 0.8; }
.sp-blk text { fill: var(--ink); font-size: 13px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.sp-walk { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0.1 5; }
.sp-stops circle { fill: var(--paper-2); stroke: var(--teal); stroke-width: 1.5; }
.sp-part { transition: opacity 0.45s var(--ease); }
.sp-part rect, .sp-garden { transition: fill 0.35s, stroke 0.35s; }
.sp[data-show] .sp-part { opacity: 0.3; }
.sp[data-show="2bhk"] [data-kind="2bhk"], .sp[data-show="3bhk"] [data-kind="3bhk"],
.sp[data-show="shops"] [data-kind="shops"], .sp[data-show="garden"] [data-kind="garden"] { opacity: 1; }
.sp[data-show="2bhk"] [data-kind="2bhk"] rect, .sp[data-show="3bhk"] [data-kind="3bhk"] rect,
.sp[data-show="shops"] [data-kind="shops"] rect { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 1.3; }
.sp[data-show="garden"] .sp-garden { fill: #bfdca9; stroke: #5f8f45; stroke-width: 1.3; }
.sp .sp-blk.is-picked rect { fill: var(--teal); stroke: var(--teal-deep); }
.sp .sp-blk.is-picked text { fill: #fff; }
.js .sp-blk, .js .sp-shops, .js .sp-garden { cursor: pointer; }
@media (hover: hover) { .js .sp-blk:hover rect { stroke: var(--teal); stroke-width: 1.3; } }

/* ---------- homes: tabs, plan with room spotlight, details ---------- */
.tabs { position: relative; display: grid; gap: 2px; max-width: 340px; margin-top: 22px; padding: 4px; border-radius: 16px; background: rgb(16 32 42 / 0.05); }
.tabs [role="tab"] {
  position: relative; z-index: 1; display: grid; gap: 1px; padding: 10px 14px;
  border: 0; border-radius: 12px; background: none; color: var(--muted); text-align: left; cursor: pointer;
  transition: color 0.3s;
}
.tabs [role="tab"] b { font-size: 1rem; font-weight: 700; }
.tabs [role="tab"] span { font-size: 0.8125rem; }
.tabs [role="tab"]:hover, .tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] b { color: var(--teal-deep); }
html:not(.js) .tabs [aria-selected="true"] { background: var(--paper-2); }
.tabs__ink { display: none; }
.js .tabs__ink {
  display: block; position: absolute; left: 4px; right: 4px; top: 0; height: var(--ink-h, 0px);
  transform: translateY(var(--ink-y, 0px)); border-radius: 12px; background: var(--paper-2);
  box-shadow: var(--hl), 0 6px 18px -10px rgb(10 60 75 / 0.45);
  transition: transform 0.5s var(--ease), height 0.5s var(--ease);
}
.tabs.is-placing .tabs__ink { transition: none; }

.hp-set { display: grid; gap: 20px; }
.js .hp:not(.is-on) { display: none; }
.hp {
  display: grid; gap: 22px; padding: 18px;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-surface);
  box-shadow: var(--hl), var(--shadow-2);
}
.hp__stage { display: grid; place-items: center; min-height: 260px; padding: 16px; border-radius: 12px; background: linear-gradient(180deg, #fff, #eef5f8); }
.hp__plan { position: relative; display: block; padding: 0; border: 0; border-radius: 6px; background: none; overflow: hidden; cursor: zoom-in; }
.hp__plan img { display: block; width: auto; max-width: 100%; max-height: 360px; }
.hp__plan--tall img { max-height: 430px; }
.hp__spot {
  position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 0); height: var(--h, 0);
  border: 2px solid var(--teal); border-radius: 6px; background: rgb(19 163 192 / 0.16);
  box-shadow: 0 0 0 100vmax rgb(237 244 247 / 0.62); opacity: 0; pointer-events: none;
}
.hp__spot.is-on { opacity: 1; animation: spot-in 0.5s var(--ease); }
@keyframes spot-in { from { opacity: 0; transform: scale(0.94); } }
.hp__hint {
  position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill); background: rgb(16 32 42 / 0.8); color: #fff;
  font-size: 0.75rem; font-weight: 600; transition: transform 0.35s var(--ease);
}
.hp__plan:hover .hp__hint { transform: translateY(-2px); }
.hp__stage--photo { padding: 0; min-height: 0; overflow: hidden; background: #0d1a22; }
.hp__stage--photo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hp__body { display: grid; gap: 14px; align-content: start; }
.hp__head .h3 { font-size: 1.6rem; }
.hp__count { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.hp__count b { color: var(--teal-deep); font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rooms { display: grid; gap: 2px; margin-inline: -12px; }
.rooms button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; width: 100%; padding: 8px 12px;
  border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 0.9375rem; text-align: left; cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.rooms button span:first-child { color: var(--ink); font-weight: 500; }
.rooms button span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rooms button:hover { background: rgb(16 32 42 / 0.04); }
.rooms button[aria-pressed="true"] { background: var(--teal-soft); color: var(--teal-deep); }
.rooms button[aria-pressed="true"] span:first-child { color: var(--teal-deep); font-weight: 700; }
.hp__extras, .hp__copy { color: var(--muted); font-size: 0.9375rem; }
.hp .btn { justify-self: start; }
.btn > svg:last-child:not(:first-child) { transition: transform 0.35s var(--ease); }
.btn:hover > svg:last-child:not(:first-child) { transform: translateX(4px); }
@media (min-width: 640px) {
  .hp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 26px; padding: 22px; }
}
@media (min-width: 900px) {
  /* the drawing gets the larger share: at 1366 px it was only 314 px wide */
  .hp { grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); }
  .hp__stage { padding: 12px; }
  .hp__plan img { max-height: 420px; }
  .hp__plan--tall img { max-height: 480px; }
}

/* ---------- garden: aerial with markers, close-up strip, ticker ---------- */
.garden { background: var(--paper-2); }
.garden__body { display: grid; gap: 22px; min-width: 0; }
.gcard {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; max-width: 380px;
  margin-top: 20px; padding: 10px 14px 10px 10px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-surface); box-shadow: var(--hl), var(--shadow-1);
}
.gcard__img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.gcard__h { font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.gcard__p { margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.aerial { margin: 0; }
.aerial__map { position: relative; overflow: hidden; border-radius: var(--r-surface); background: #33422f; box-shadow: var(--shadow-2); }
.aerial__map img { display: block; width: 100%; height: auto; }
.aerial figcaption { margin-top: 10px; color: var(--muted); font-size: 0.8125rem; }
.pin {
  position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.94); cursor: pointer;
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0.3), 0 8px 18px -6px rgb(0 0 0 / 0.55);
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transition: transform 0.35s var(--ease), background-color 0.25s; }
.pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #fff; opacity: 0; pointer-events: none; }
.pin:hover { transform: scale(1.1); }
.pin[aria-pressed="true"] { background: var(--teal); transform: scale(1.12); }
.pin[aria-pressed="true"]::before { background: #fff; transform: scale(0.8); }
.pin > span {
  position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.25s, transform 0.35s var(--ease);
}
.pin:hover > span, .pin:focus-visible > span, .pin[aria-pressed="true"] > span { opacity: 1; transform: translate(-50%, 0); }
.pin[data-spot="fire"] > span { left: auto; right: -4px; transform: translateY(6px); } /* the marker sits at the right edge */
.pin[data-spot="fire"]:hover > span, .pin[data-spot="fire"]:focus-visible > span, .pin[data-spot="fire"][aria-pressed="true"] > span { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  /* until the first tap each marker pings now and then, so it reads as something to press */
  .aerial:not(.is-used) .pin::after { animation: pin-ping 2.8s ease-out infinite; }
  .aerial:not(.is-used) .pin:nth-of-type(2)::after { animation-delay: 0.4s; }
  .aerial:not(.is-used) .pin:nth-of-type(3)::after { animation-delay: 0.8s; }
  .aerial:not(.is-used) .pin:nth-of-type(4)::after { animation-delay: 1.2s; }
  .aerial:not(.is-used) .pin:nth-of-type(5)::after { animation-delay: 1.6s; }
}
@keyframes pin-ping { 0% { transform: scale(0.6); opacity: 0.9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* Item widths are in cqw (the strip's width): a % column would be a share of the track's content
   box, which is already narrowed by the side padding, and the first and last photos could then
   never reach the centre. */
.strip { min-width: 0; container-type: inline-size; }
.strip__track {
  position: relative; /* the items' offsetLeft is measured from the track */
  display: grid; grid-auto-flow: column; grid-auto-columns: 56%; grid-auto-columns: 56cqw; gap: 14px; padding-inline: 22%;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track li { scroll-snap-align: center; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-1); }
.strip figcaption { margin-top: 10px; font-size: 0.9375rem; font-weight: 600; text-align: center; }
.strip__nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.strip__btn {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgb(16 32 42 / 0.16); background: var(--paper-2); color: var(--ink); cursor: pointer;
  box-shadow: var(--hl), var(--shadow-1); transition: transform 0.35s var(--ease), border-color 0.25s, opacity 0.25s;
}
.strip__btn:hover { border-color: rgb(16 32 42 / 0.3); transform: translateY(-1px); }
.strip__btn:active { transform: scale(0.94); }
.strip__btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.strip__bar { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.strip__bar span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--p, 0.17)); transition: transform 0.3s var(--ease); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* the photo at the centre of the strip is full size, its neighbours step back (scroll-driven, no JS) */
    .strip__track li { animation: strip-focus linear both; animation-timeline: view(inline); }
  }
}
@keyframes strip-focus { 0% { opacity: 0.45; transform: scale(0.88); } 40%, 60% { opacity: 1; transform: none; } 100% { opacity: 0.45; transform: scale(0.88); } }

.ticker { margin-top: clamp(32px, 5vw, 56px); padding-block: 16px; overflow: hidden; border-block: 1px solid var(--line-soft); }
.ticker__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; padding-inline: var(--gutter); color: var(--muted); font-size: 1.0625rem; font-weight: 600; }
.ticker__row li { padding-right: 40px; white-space: nowrap; }
.ticker.is-live { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker.is-live .ticker__row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-inline: 0; animation: ticker 44s linear infinite; }
.ticker.is-live:hover .ticker__row { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- build: accordion with a picture that follows the open line ---------- */
.build { background: var(--paper); }
.build__body { display: grid; gap: 24px; }
.build__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-surface); background: #0d1a22; box-shadow: var(--shadow-2); }
.build__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.7s var(--ease), transform 1.4s var(--ease); }
.build__media img.is-on { opacity: 1; transform: none; }
.acc__item + .acc__item { border-top: 1px solid var(--line); }
.acc h3 { margin: 0; }
.acc button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 0;
  border: 0; background: none; color: var(--ink); font-size: 1.0625rem; font-weight: 700; text-align: left; cursor: pointer;
}
.acc button > .ic:first-child { width: 1.5em; height: 1.5em; color: var(--teal); }
.acc__sign { margin-left: auto; color: var(--muted); transition: transform 0.45s var(--ease), color 0.25s; }
.acc__item.is-open .acc__sign { transform: rotate(45deg); color: var(--teal); }
.acc__panel { display: grid; grid-template-rows: 1fr; }
.js .acc__panel { grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.js .acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { min-height: 0; overflow: hidden; }
.acc__panel p { padding: 0 0 18px calc(1.5em + 12px); color: var(--muted); font-size: 0.9375rem; }
.credits { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; align-items: center; }
.credits p { max-width: 60ch; color: var(--muted); font-size: 0.9375rem; }
.credits img { width: 100%; max-width: 520px; }
@media (min-width: 640px) {
  .build__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
  .credits { grid-template-columns: 1fr auto; }
}

/* ---------- location: map with lines out to the chosen places ---------- */
.map { position: relative; margin: 0; padding: 12px; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-surface); box-shadow: var(--hl), var(--shadow-2); }
.map img { display: block; width: 100%; height: auto; }
.map__svg { position: absolute; left: 12px; top: 12px; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; pointer-events: none; }
.map__lines path { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.85; }
.js .map__lines path { transition: stroke-dashoffset 0.8s var(--ease); }
.map__lines path.is-on { stroke-dashoffset: 0; }
.map__dots circle { fill: rgb(11 122 146 / 0.16); stroke: var(--teal); stroke-width: 5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); transition: opacity 0.35s, transform 0.5s var(--ease); }
.map__dots circle.is-on { opacity: 1; transform: none; }
.map__dots circle.is-ping { animation: dot-ping 0.7s var(--ease) 2; }
@keyframes dot-ping { 50% { transform: scale(1.9); } }
.map__ring { fill: rgb(11 122 146 / 0.12); stroke: var(--teal); stroke-width: 5; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .map__ring { animation: ring 2.4s ease-out infinite; } }
@keyframes ring { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.map__home text { fill: var(--teal-deep); font-family: var(--font); font-size: 46px; font-weight: 800; paint-order: stroke; stroke: #fff; stroke-width: 12px; stroke-linejoin: round; }
.loc__side { display: grid; gap: 18px; align-content: start; }
.places { display: grid; gap: 2px; margin-inline: -12px; }
.js .places li:not(.is-on) { display: none; }
.places button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px;
  border: 0; border-radius: 10px; background: none; color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-align: left; cursor: pointer;
  transition: background-color 0.25s;
}
.places button::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--teal); background: rgb(11 122 146 / 0.14); }
.places button:hover, .places button.is-ping { background: rgb(255 255 255 / 0.75); }
.loc__btn { justify-self: start; }
@media (min-width: 900px) {
  .loc__grid { grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.3fr) minmax(190px, 0.62fr); column-gap: clamp(28px, 3.5vw, 48px); }
}

/* ---------- enquiry ---------- */
.enq { position: relative; overflow: hidden; isolation: isolate; }
.enq::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 360px at 85% 10%, rgb(19 163 192 / 0.22), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgb(255 255 255 / 0.9), transparent 60%),
    var(--band);
}
.enq__in .h2 { max-width: 20ch; }
.card { position: relative; width: 100%; padding: 26px 22px; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--r-surface); box-shadow: var(--hl), var(--shadow-2); }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; border-radius: var(--r-surface) var(--r-surface) 0 0; pointer-events: none; background: linear-gradient(180deg, rgb(19 163 192 / 0.08), transparent); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { padding: 0; font-weight: 600; font-size: 0.9375rem; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 50px; padding: 0 16px; background: var(--paper);
  border: 1px solid rgb(16 32 42 / 0.18); border-radius: var(--r-input); box-shadow: inset 0 1px 2px rgb(10 60 75 / 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgb(19 163 192 / 0.22); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field .hint { color: var(--muted); font-size: 0.8125rem; }
.field .err { display: none; color: #b3261e; font-size: 0.8125rem; font-weight: 500; }
.field.is-invalid .err { display: block; }
.field.is-invalid input { animation: nudge 0.4s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-5px); } 60% { transform: translateX(4px); } }
fieldset.field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { position: relative; }
.radios input { position: absolute; inset: 0; margin: 0; opacity: 0; }
.radios span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; cursor: pointer;
  border-radius: var(--r-pill); border: 1px solid rgb(16 32 42 / 0.18); background: var(--paper);
  font-weight: 500; font-size: 0.9375rem; transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.radios span .ic { width: 0; margin-right: 0; opacity: 0; transition: width 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.2s; }
.radios input:checked + span { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-deep); font-weight: 600; box-shadow: var(--hl); }
.radios input:checked + span .ic { width: 1em; margin-right: 6px; opacity: 1; }
.radios input:active + span { transform: scale(0.97); }
.radios input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
#getInTouch button[type="submit"] { position: relative; overflow: hidden; }
#getInTouch.is-busy button[type="submit"] { cursor: progress; }
#getInTouch.is-busy button[type="submit"]::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.38) 50%, transparent 80%);
  transform: translateX(-100%); animation: sweep 1.1s var(--ease) infinite;
}
@keyframes sweep { to { transform: translateX(100%); } }
.fine { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.done { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; }
.done__tick { width: 76px; height: 76px; }
.done__tick circle { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done__tick path { fill: none; stroke: var(--teal); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done:not([hidden]) .done__tick circle { animation: draw 0.6s var(--ease) forwards; }
.done:not([hidden]) .done__tick path { animation: draw 0.45s var(--ease) 0.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done p { max-width: 40ch; color: var(--muted); }
.done .btn { margin-top: 6px; }
.steps { position: relative; display: grid; gap: 16px; width: 100%; }
.steps::before, .steps::after { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--teal-soft); }
.steps::after { background: var(--teal); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.steps li { position: relative; min-height: 26px; padding-left: 40px; color: var(--muted); font-size: 0.9375rem; }
.steps li .ic { position: absolute; z-index: 1; left: 0; top: -1px; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--paper-2); color: var(--teal); box-shadow: 0 0 0 2px var(--teal-soft); }
.steps li b { color: var(--ink); font-weight: 600; }
@media (min-width: 640px) { .card { padding: 32px 34px; } }
@media (min-width: 900px) {
  .enq__in { grid-template-areas: "head card" "steps card"; row-gap: 32px; }
  .enq__in > .sec__head { position: static; grid-area: head; }
  .enq__in > .card { grid-area: card; }
  .enq__in > .steps { grid-area: steps; }
}
@media (prefers-reduced-motion: reduce) {
  .done__tick circle, .done__tick path { stroke-dashoffset: 0; animation: none !important; }
  .field.is-invalid input { animation: none; }
}

/* ---------- footer ---------- */
.ftr { padding: 56px 0 calc(28px + 76px); background: var(--ink); color: rgb(255 255 255 / 0.8); font-size: 0.9375rem; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__grid { display: grid; gap: 24px; }
.ftr__logo { width: auto; height: 28px; margin-bottom: 14px; }
.ftr__contact { display: grid; gap: 4px; }
.ftr__contact a { font-weight: 600; }
.ftr__rera { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.9375rem; word-break: break-word; }
.ftr__legal { margin-top: 14px; color: rgb(255 255 255 / 0.6); font-size: 0.8125rem; }
.ftr__legal a { color: rgb(255 255 255 / 0.8); }
@media (min-width: 640px) { .ftr__grid { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 900px) and (min-height: 600px) { .ftr { padding-bottom: 40px; } } /* no sticky bar to clear */

/* ---------- sticky contact bar ---------- */
.stick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgb(247 249 250 / 0.86); border-top: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 -12px 30px -18px rgb(10 60 75 / 0.4);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
@media (max-width: 899px), (max-height: 599px) { :root { --bar: calc(66px + env(safe-area-inset-bottom)); } } /* pinned heads keep clear of it */
.stick.is-on { transform: translateY(0); }
.stick.is-away { transform: translateY(110%); } /* the enquiry card is on screen: its own button is right there */
.stick .btn { min-height: 46px; padding: 0 10px; font-size: 0.9375rem; }
@media (min-width: 900px) and (min-height: 600px) { .stick { display: none; } } /* wide phones held sideways keep it */

/* ---------- full-screen plan ---------- */
html.has-dialog { overflow: hidden; } /* the page behind stays put while the plan is open */
.zoom { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.zoom[open] { display: grid; grid-template-rows: auto 1fr auto; }
.zoom::backdrop { background: rgb(16 32 42 / 0.5); }
.zoom__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line-soft); }
.zoom__title { font-weight: 700; }
.zoom__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(16 32 42 / 0.06); color: var(--ink); cursor: pointer; }
.zoom__close .ic { width: 22px; height: 22px; }
.zoom__view { position: relative; overflow: hidden; min-height: 0; touch-action: none; cursor: zoom-in; background: #fff; }
.zoom__view.is-zoomed { cursor: grab; }
.zoom__view.is-dragging { cursor: grabbing; }
/* absolutely placed so max-height has the view's real height to work from (a grid item's
   percentage height let the drawing overflow the view); margin auto centres it */
.zoom__view img {
  position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto;
  transform-origin: 0 0; user-select: none; -webkit-user-drag: none; transition: transform 0.45s var(--ease);
}
.zoom__view.is-dragging img { transition: none; }
.zoom__hint { padding: 8px 20px calc(8px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.8125rem; text-align: center; }
