/* SR Group website — palette and type taken from The Lake Side brochure:
   deep lake green, logo teal, the brochure's watercolour mint wash, and the laterite brick of the villas. */
:root {
  --lake: #0e3a38;        /* deep lake water — text on light, dark sections */
  --teal: #1b8a83;        /* The Lake Side logo teal — links, focus, highlights */
  --mist: #e6f0ec;        /* brochure watercolour wash — quiet section ground */
  --paper: #fbfcfa;       /* page */
  --stone: #55645f;       /* secondary text */
  --brick: #a4552f;       /* villa laterite brick — used once per page, for the main action */
  --line: #cfdcd6;
  --wa: #1f9d55;          /* WhatsApp */
  --display: 'Antonio', 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--lake); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--lake); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: 0.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(44px, 8.4vw, 104px); text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 500; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--stone); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--lake); background: var(--lake); color: #fff; font: 700 16px/1 var(--body);
  text-decoration: none; cursor: pointer; }
.btn:hover { background: #082826; color: #fff; }
.btn.main { background: var(--brick); border-color: var(--brick); }
.btn.main:hover { background: #8a4424; border-color: #8a4424; }
.btn.ghost { background: transparent; color: var(--lake); }
.btn.ghost:hover { background: var(--lake); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--lake); }
.btn.wa { background: var(--wa); border-color: var(--wa); }
.btn.wa:hover { background: #17803f; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 252, 250, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lake); }
.brand img { height: 58px; width: auto; }
.brand span { font: 600 20px/1 var(--display); letter-spacing: .04em; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--lake); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-color: var(--teal); }
.nav a:hover { color: var(--teal); }
.nav .btn { color: #fff; font-size: 15px; min-height: 42px; padding: 0 18px; border-bottom: 0; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--lake); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--teal); border-color: var(--line); }
  .nav .btn { margin-top: 14px; min-height: 52px; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--lake); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,32,30,.05) 30%, rgba(8,32,30,.78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 120px clamp(36px, 7vw, 72px); }
.hero h1 { max-width: 13ch; margin-bottom: .25em; }
.hero p { color: rgba(255,255,255,.92); font-size: clamp(18px, 1.8vw, 22px); max-width: 46ch; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--lake); }
.hero.short { min-height: min(70vh, 640px); }
.hero.plain { min-height: 0; background: var(--lake) radial-gradient(120% 90% at 85% 10%, rgba(27,138,131,.55), transparent 60%); }
.hero.plain::after { display: none; }
.hero.plain .wrap { padding-block: clamp(70px, 12vw, 140px) clamp(40px, 7vw, 80px); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts div { padding: 26px 20px 24px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 600 clamp(30px, 3.6vw, 44px)/1 var(--display); color: var(--lake); }
.facts span { display: block; margin-top: 6px; color: var(--stone); font-size: 15px; line-height: 1.4; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 18px 12px 18px 0; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.sec { padding-block: clamp(56px, 9vw, 112px); }
.sec.mist { background: var(--mist); }
.sec.dark { background: var(--lake); color: #e9f2ef; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .lede, .sec.dark p { color: #c5d8d3; }
.sec.dark a:not(.btn) { color: #9fe0d9; }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }

/* Project split */
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.project + .project { margin-top: clamp(56px, 8vw, 96px); }
.project.flip > :first-child { order: 2; }
.project figure { margin: 0; position: relative; }
.project figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.project .logo { height: 86px; width: auto; margin-bottom: 18px; }
.project ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.project li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.project li span { color: var(--stone); }
.project li b { text-align: right; font-weight: 700; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } .project.flip > :first-child { order: 0; } }

/* Proof band */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.proof .big { font: 600 clamp(88px, 14vw, 180px)/.85 var(--display); color: #fff; margin: 0 0 12px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

/* Video (loads YouTube only when tapped) */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000 center / cover no-repeat; border-radius: 6px; overflow: hidden; cursor: pointer; }
.yt.short { aspect-ratio: 9 / 16; }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.yt .play::after { content: ""; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--lake); margin-left: 5px; }
.yt .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font-weight: 700; font-size: 15px; text-align: left; line-height: 1.3; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.videos.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 24px 8px 0; border-top: 2px solid var(--lake); }
.steps li + li { padding-left: 24px; }
.steps li::before { content: counter(s); display: block; font: 600 44px/1 var(--display); color: var(--teal); margin-bottom: 10px; }
.steps p { color: var(--stone); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery figure { margin: 0; grid-column: span 2; }
.gallery figure.w { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.gallery figure.w img { aspect-ratio: auto; height: 100%; }
.gallery figcaption { font-size: 14px; color: var(--stone); padding: 6px 2px 0; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure, .gallery figure.w { grid-column: span 2; } .gallery figure.w img { aspect-ratio: 4/3; } }

/* Villa types */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.type { margin: 0; }
.type img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; cursor: zoom-in; }
.type figcaption { padding-top: 12px; }
.type h3 { margin-bottom: 4px; }
.type p { color: var(--stone); font-size: 15px; margin: 0; }

/* Lists */
.ticks { columns: 3 220px; column-gap: 32px; padding: 0; margin: 0; list-style: none; }
.ticks li { break-inside: avoid; padding: 9px 0 9px 28px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.sec.dark .ticks li { border-color: rgba(255,255,255,.15); }
.sec.dark .ticks li::before { border-color: #9fe0d9; }
.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin: 0; }
.spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { margin: 2px 0 0; color: var(--stone); font-size: 15px; }

/* Two-column text + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { border-radius: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 30px/1 var(--body); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--stone); padding-bottom: 8px; }

/* Enquiry */
.enquire { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .enquire { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-list b { display: block; font-size: 14px; color: #9fbdb6; font-weight: 600; }
.form { background: #fff; color: var(--lake); border-radius: 10px; padding: clamp(20px, 3.5vw, 36px); }
.form h3 { margin-bottom: 6px; }
.form .note { color: var(--stone); font-size: 15px; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #b9cbc4; border-radius: 8px;
  font: 400 16px/1.4 var(--body); color: var(--lake); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(27,138,131,.2); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #b42318; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; font-size: 15px; }
.chips label { position: relative; }
.field .chips input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; padding: 0; left: 0; top: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #b9cbc4; border-radius: 999px; cursor: pointer; }
.chips input:checked + span { background: var(--lake); border-color: var(--lake); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; min-height: 54px; font-size: 17px; }
.form .consent { font-size: 13px; color: var(--stone); margin: 12px 0 0; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.err { color: #b42318; }
.done { text-align: left; }
.done h3 { color: var(--lake); }

/* Footer */
.site-footer { background: #082826; color: #b7cbc6; padding: 56px 0 120px; font-size: 15px; }
.site-footer a { color: #e6f0ec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.fgrid h4 { color: #fff; font: 600 20px/1 var(--display); margin: 0 0 14px; letter-spacing: .02em; }
.fgrid ul { list-style: none; padding: 0; margin: 0; }
.fgrid li { padding: 4px 0; }
.fgrid img { height: 70px; width: auto; margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: #e6f0ec; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8fa9a3; }
.legal p { max-width: 110ch; }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,252,250,.97); border-top: 1px solid var(--line); }
.actionbar a { min-height: 48px; padding: 0 10px; font-size: 15px; }
@media (max-width: 900px) { .actionbar { display: grid; } }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 900px) { .wa-float { display: none; } }

/* Lightbox for floor plans and master plan */
dialog.zoom { border: 0; padding: 0; max-width: 96vw; max-height: 92vh; background: #fff; border-radius: 6px; }
dialog.zoom::backdrop { background: rgba(5, 20, 19, .85); }
dialog.zoom img { max-width: 96vw; max-height: 86vh; width: auto; }
dialog.zoom button { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lake); color: #fff; font-size: 24px; cursor: pointer; }

.center { text-align: center; }
.mt { margin-top: 28px; }
.small { font-size: 14px; color: var(--stone); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 18px; }

/* Grid children must be allowed to shrink below their content (date inputs are wide on iOS/Android) */
.enquire > *, .two > *, .split > *, .project > *, .proof > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
.sec.dark .form h3 { color: var(--lake); }
.sec.dark .form p, .sec.dark .form .note, .sec.dark .form .consent { color: var(--stone); }
.sec.dark .form .form-msg { color: var(--lake); }
.sec.dark .form .form-msg.err { color: #b42318; }
.sec.dark .form a:not(.btn) { color: var(--teal); }
.project figure img.ytthumb { aspect-ratio: 16 / 9; }

/* Guides */
.article { max-width: 760px; }
.article h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.4em; }
.article p, .article li { font-size: 18px; }
.article ol, .article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.guide-list a { display: block; text-decoration: none; color: var(--lake); border-top: 2px solid var(--lake); padding-top: 16px; }
.guide-list a:hover h3 { color: var(--teal); }
.guide-list p { color: var(--stone); font-size: 16px; }
.crumbs { font-size: 14px; color: var(--stone); margin-bottom: 18px; }
.crumbs a { color: var(--stone); }
/* Keep hero text readable over busy aerial photos */
.hero::after { background:
  linear-gradient(90deg, rgba(8,32,30,.72) 0%, rgba(8,32,30,.38) 45%, rgba(8,32,30,0) 75%),
  linear-gradient(180deg, rgba(8,32,30,0) 45%, rgba(8,32,30,.65) 100%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(8,32,30,.25) 0%, rgba(8,32,30,.45) 40%, rgba(8,32,30,.82) 100%); } }
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* Gujarati pages */
html[lang="gu-IN"] body { font-family: 'Noto Sans Gujarati', var(--body); line-height: 1.75; }
html[lang="gu-IN"] h1, html[lang="gu-IN"] h2, html[lang="gu-IN"] h3 { font-family: 'Noto Sans Gujarati', var(--body); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; }
html[lang="gu-IN"] h1 { font-size: clamp(36px, 6vw, 68px); }

/* Google reviews */
.rbadges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.rbadge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--lake); text-decoration: none; }
.rbadge b { font: 600 24px/1 var(--display); }
.rbadge span { font-size: 14px; color: var(--stone); }
.stars { color: #e0a100; letter-spacing: 1px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; flex: 1; }
.review figcaption b { display: block; }
.review figcaption span { font-size: 13px; color: var(--stone); }
.sec.dark .review { color: var(--lake); }
.rbadge .stars { color: #e0a100; font-size: 15px; }

/* Site progress film */
.film { margin: 0 0 8px; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--lake); }
.film figcaption { font-size: 14px; color: var(--stone); padding: 8px 2px 0; }
.gallery figure.poster img { object-fit: contain; background: #fff; }
.note { font-size: 14px; color: var(--stone); margin: 18px 0 0; max-width: 64ch; }
.sec.dark .note { color: rgba(255,255,255,.72); }
.gallery figure.tall img { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .gallery figure.tall { grid-column: span 1; } }
