/* ============================================================
   ELDECO 7 PEAKS RESIDENCES — LANDING PAGE
   Palette taken from the brochure (forest green, cream, bronze)
   with peacock teal and blue for the feather prints.
   ============================================================ */

:root {
  --cream-50:  #FCFAF5;
  --cream-100: #F6F1E7;
  --cream-200: #EEE6D5;

  --green-950: #051E17;
  --green-900: #0A2E23;
  --green-800: #0F3C2E;
  --green-700: #175241;

  --teal-600: #0F6B6F;
  --teal-400: #3E9D97;
  --blue-800: #0B3A57;

  --bronze-200: #F0D6A6;
  --bronze-300: #E0B97F;
  --bronze-500: #B8844A;
  --bronze-600: #9A6935;
  --bronze-700: #7C5226;

  --ink:    #15261F;
  --text-2: #46574F;
  --text-3: #6A7A71;
  --on-dark:     #F2ECDF;
  --on-dark-dim: #B7C3BA;

  --line:      rgba(21, 38, 31, 0.13);
  --line-dark: rgba(242, 236, 223, 0.14);

  --bronze-grad:      linear-gradient(135deg, #F7E3BA 0%, #E2B878 50%, #C28B4D 100%);
  --bronze-grad-deep: linear-gradient(135deg, #C99555 0%, #9A6632 50%, #6E4119 100%);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --gutter:    clamp(16px, 5vw, 72px);
  --section-y: clamp(72px, 9vw, 150px);
  --radius:    10px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:    0 22px 60px -28px rgba(10, 46, 35, 0.45);

  /* peacock eye colours, used by the #eye symbol */
  --pe-1: var(--bronze-300);
  --pe-2: var(--teal-400);
  --pe-3: var(--blue-800);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream-100); color: var(--ink);
  font-family: var(--font-sans); font-weight: 300; font-size: 1rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.ico { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 0.4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal-400); outline-offset: 3px; }
::selection { background: rgba(62, 157, 151, 0.25); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; overflow: hidden; padding-block: var(--section-y); }
.section--sunken { background: var(--cream-200); }
.section--dark { background: var(--green-900); color: var(--on-dark); }
.section > .container { position: relative; z-index: 1; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze-700);
}
.eyebrow svg { width: 13px; height: 17px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--bronze-300); }
.title { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.title em { color: var(--bronze-600); }
.section--dark .title { color: var(--on-dark); }
.section--dark .title em { color: var(--bronze-300); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--text-2); max-width: 60ch; }
.section--dark .lead { color: var(--on-dark-dim); }
.head--center { text-align: center; max-width: 780px; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }
.gold-text { background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.gold-text--deep { background-image: var(--bronze-grad-deep); }

/* feather ornament under headings */
.orn { display: flex; align-items: center; gap: 14px; color: var(--bronze-600); margin-top: 26px; }
.orn::before, .orn::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, currentColor); }
.orn::after { transform: scaleX(-1); }
.orn svg { width: 18px; height: 24px; }
.head--center .orn { justify-content: center; }
.section--dark .orn { color: var(--bronze-300); }

/* ---------- peacock prints ---------- */
.print { position: absolute; pointer-events: none; z-index: 0; color: var(--bronze-500); --pk-body: var(--cream-100); --pe-1: none; --pe-2: none; --pe-3: currentColor; }
.pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='108' viewBox='0 0 84 108'%3E%3Cg fill='none' stroke='%23E0B97F' stroke-opacity='.2'%3E%3Cpath d='M42 6C66 18 74 52 42 102C10 52 18 18 42 6Z'/%3E%3Cellipse cx='42' cy='42' rx='13' ry='17'/%3E%3Cpath d='M42 32c5 0 7 7 6 13s-4 9-6 10c-2-1-5-4-6-10s1-13 6-13z' fill='%23E0B97F' fill-opacity='.12'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='108' viewBox='0 0 84 108'%3E%3Cg fill='none' stroke='%23E0B97F' stroke-opacity='.2'%3E%3Cpath d='M42 6C66 18 74 52 42 102C10 52 18 18 42 6Z'/%3E%3Cellipse cx='42' cy='42' rx='13' ry='17'/%3E%3Cpath d='M42 32c5 0 7 7 6 13s-4 9-6 10c-2-1-5-4-6-10s1-13 6-13z' fill='%23E0B97F' fill-opacity='.12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 84px 108px; background-position: 0 0, 42px 54px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 80%);
}
.section--dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(55% 60% at 85% 0%, rgba(62, 157, 151, 0.22), transparent 70%),
              radial-gradient(45% 55% at 0% 100%, rgba(184, 132, 74, 0.16), transparent 70%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 500 0.76rem/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--gold { background: var(--bronze-grad); color: var(--green-950); box-shadow: 0 12px 30px -14px rgba(184, 132, 74, 0.8); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(184, 132, 74, 1); }
.btn--ghost { border-color: rgba(242, 236, 223, 0.55); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(242, 236, 223, 0.12); }
.btn--sm { padding: 12px 22px; font-size: 0.68rem; }
.btn--block { width: 100%; }

/* ---------- logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo__7 { font-family: var(--font-display); font-weight: 500; font-size: 3.2rem; line-height: 0.8; background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 2px; }
.logo__txt { display: flex; flex-direction: column; gap: 4px; }
.logo__txt small { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.34em; }
.logo__txt b { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; letter-spacing: 0.16em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter); color: var(--on-dark);
  background: linear-gradient(to bottom, rgba(5, 30, 23, 0.6), rgba(5, 30, 23, 0));
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 231, 0.92); color: var(--ink); padding-block: 10px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(10, 46, 35, 0.08);
}
.nav.is-scrolled .logo__7 { background-image: var(--bronze-grad-deep); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { position: relative; padding-block: 4px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-500); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__toggle { display: none; background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

.drawer {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; overflow-y: auto;
  padding: 24px var(--gutter); background: var(--green-900); color: var(--on-dark);
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.55s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.drawer__close svg { width: 28px; height: 28px; }
.drawer nav { display: flex; flex-direction: column; margin: 44px 0 36px; }
.drawer nav a { font-family: var(--font-display); font-size: 1.9rem; padding-block: 12px; border-bottom: 1px solid var(--line-dark); }
.drawer nav a:hover { color: var(--bronze-300); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--green-950); color: var(--on-dark); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; animation: kenburns 18s ease-in-out infinite alternate; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 30, 23, 0.82) 0%, rgba(5, 30, 23, 0.45) 42%, rgba(5, 30, 23, 0) 72%),
              linear-gradient(to top, rgba(5, 30, 23, 0.9) 0%, rgba(5, 30, 23, 0) 50%);
}
.hero .print { left: -14%; bottom: 40px; width: min(80vw, 820px); color: var(--bronze-300); opacity: 0.14; --pk-body: transparent; }
.hero__inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 56px; }
/* RERA disclosure: required on the page but kept small and quiet */
.rera {
  position: absolute; z-index: 3; top: 104px; right: var(--gutter); display: flex; align-items: flex-start; gap: 8px;
  max-width: 230px; padding: 6px; border-radius: 5px; background: rgba(5, 30, 23, 0.32);
  color: rgba(242, 236, 223, 0.6); font-size: 0.48rem; line-height: 1.45; letter-spacing: 0.02em;
}
.rera img { width: 42px; height: 42px; flex: 0 0 auto; padding: 2px; border-radius: 2px; background: #fff; }
.rera p { margin: 0; }
.hero__title { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 0.98; margin: 0; }
.hero__kicker { display: flex; font-family: var(--font-sans); line-height: 1.5; }
.hero__tag { display: block; max-width: 12ch; }
.hero__sub { max-width: 48ch; margin: 26px 0 36px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); opacity: 0.92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- payment offer ---------- */
sup { font-size: 0.6em; line-height: 0; vertical-align: 0.45em; margin-left: 1px; }
/* fine print for the ** payment scheme, kept small and quiet like the print ad */
.offer__fine { max-width: 64ch; margin: 0 0 26px; font-size: 0.64rem; line-height: 1.5; letter-spacing: 0.02em; color: rgba(242, 236, 223, 0.55); }
.fineprint { max-width: 70ch; margin: 6px auto 0; font-size: 0.66rem; line-height: 1.55; color: var(--text-3); opacity: 0.8; }
.offer {
  display: inline-flex; align-items: center; gap: 12px; margin: -12px 0 8px; padding: 6px 20px 6px 6px;
  border: 1px solid rgba(224, 185, 127, 0.6); border-radius: 999px; background: rgba(5, 30, 23, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--on-dark); font-size: 0.95rem; font-weight: 500;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.offer:hover { border-color: var(--bronze-300); background: rgba(5, 30, 23, 0.75); transform: translateY(-1px); }
.offer__tag { padding: 6px 12px; border-radius: 999px; background: var(--bronze-grad); color: var(--green-950); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.price-cta__offer { margin: -4px 0 0; padding: 7px 18px; border-radius: 999px; background: rgba(62, 157, 151, 0.13); color: var(--teal-600); font-size: 0.9rem; font-weight: 500; }
.hero__bar { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); background: rgba(5, 30, 23, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__bar ul { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.hero__bar li { padding: 22px 26px; border-left: 1px solid var(--line-dark); }
.hero__bar li:first-child { border-left: 0; padding-left: 0; }
.hero__bar small { display: block; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-300); }
.hero__bar strong { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.3; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }

/* ---------- overview ---------- */
.overview .print { right: -12%; top: 30px; width: min(70vw, 820px); opacity: 0.1; }
.overview__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
.stat { padding-top: 18px; border-top: 1px solid var(--line); }
.stat__v { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; }
.stat__l { margin-top: 10px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.stat__d { margin: 4px 0 0; font-size: 0.9rem; color: var(--text-3); }
.section--dark .stat { border-color: var(--line-dark); }
.section--dark .stat__d { color: var(--on-dark-dim); }
.peaks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.peaks li { display: flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream-50); font-size: 0.82rem; }
.peaks li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-900); color: var(--bronze-300); font-size: 0.62rem; font-weight: 600; }

/* ---------- legacy band ---------- */
.legacy__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.legacy .stats { grid-template-columns: repeat(2, 1fr); }
.legacy .stat__v { background-image: var(--bronze-grad); }

/* ---------- features ---------- */
.features__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 14px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); background: linear-gradient(to top, rgba(5, 30, 23, 0.75), transparent); }
.features .frame { aspect-ratio: 4 / 5; }
.features .frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(240, 214, 166, 0.55); border-radius: 6px; z-index: 1; pointer-events: none; }
.flist { margin-top: 26px; }
.flist li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.flist li:last-child { border-bottom: 0; }
.flist svg { flex: 0 0 auto; width: 13px; height: 17px; margin-top: 6px; }

/* ---------- view band ---------- */
.view { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--on-dark); background: var(--green-950); }
.view > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.view::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5, 30, 23, 0.88) 0%, rgba(5, 30, 23, 0.25) 45%, rgba(5, 30, 23, 0) 70%); }
.view .container { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 110px); }
.view h2 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); max-width: 14ch; margin: 0; }
.view p { margin: 20px 0 0; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; }

/* ---------- residences ---------- */
.residences .print { width: min(60vw, 700px); opacity: 0.09; --pk-body: var(--cream-200); }
.residences .print--l { left: -20%; top: -40px; transform: rotate(-24deg); }
.residences .print--r { right: -20%; bottom: -60px; transform: rotate(160deg); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.plan { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--cream-50); border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(10, 46, 35, 0.4); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #efe9dc; }
.plan__media img { width: 100%; height: 100%; object-fit: cover; }
/* Before an enquiry only the layout drawing is veiled. The plan name, areas and key plan stay readable.
   Each card sets --x --y --w --h (and --clip for odd shapes) in % of the image to match its drawing. */
.plan__lock {
  position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 100%); height: var(--h, 100%); clip-path: var(--clip, none);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px; border-radius: 6px; text-align: center;
  background: linear-gradient(160deg, rgba(10, 46, 35, 0.55), rgba(15, 107, 111, 0.4));
  -webkit-backdrop-filter: blur(10px) saturate(0.7); backdrop-filter: blur(10px) saturate(0.7);
  color: var(--on-dark); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase;
  transition: background 0.3s var(--ease);
}
.plan__media:hover .plan__lock { background: linear-gradient(160deg, rgba(10, 46, 35, 0.7), rgba(15, 107, 111, 0.5)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .plan__lock { background: rgba(10, 46, 35, 0.94); } }
.plan__lock svg { width: 22px; height: 22px; color: var(--bronze-200); }
.is-unlocked .plan__lock { display: none; }
.plan__body { padding: 24px 24px 26px; }
.plan__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan h3 { font-size: 1.7rem; margin: 0; }
.tag { padding: 4px 12px; border-radius: 999px; background: rgba(62, 157, 151, 0.12); color: var(--teal-600); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.plan__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__specs--4 { grid-template-columns: repeat(4, 1fr); }
/* penthouse: full-width featured card */
.plan--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; border-color: rgba(184, 132, 74, 0.45); }
.plan--feature .plan__media { aspect-ratio: 850 / 594; background: #fff; }
.plan--feature .plan__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.5vw, 48px); }
.plan--feature .eyebrow { margin-bottom: 12px; }
.plan--feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.plan__desc { margin: 14px 0 0; font-size: 0.95rem; color: var(--text-2); }
.plan__specs dt { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.plan__specs dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.price-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 56px; text-align: center; }
.price-cta__tag { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.price-cta__note { font-size: 0.85rem; color: var(--text-3); }

/* ---------- amenities ---------- */
.amenities .print { left: 50%; top: -30px; width: min(110vw, 1100px); transform: translateX(-50%); color: var(--bronze-300); opacity: 0.12; --pk-body: var(--green-900); }
.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.acard { padding: 30px 26px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)); transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease); }
.acard:hover { transform: translateY(-5px); border-color: rgba(224, 185, 127, 0.5); background: linear-gradient(160deg, rgba(62, 157, 151, 0.16), rgba(255, 255, 255, 0.02)); }
.acard svg { width: 30px; height: 30px; color: var(--bronze-300); stroke-width: 1.3; }
.acard h3 { margin: 20px 0 8px; font-size: 1.5rem; color: var(--on-dark); }
.acard p { margin: 0; font-size: 0.9rem; color: var(--on-dark-dim); }

/* ---------- master plan ---------- */
.mp__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 52px; }
.mp__img { background: var(--cream-50); border: 1px solid var(--line); }
.mp__img img { height: auto; }
.mp__img figcaption { position: static; padding: 12px 18px; color: var(--text-3); background: none; border-top: 1px solid var(--line); letter-spacing: 0.08em; text-transform: none; font-size: 0.8rem; }
.mp .stats { grid-template-columns: 1fr 1fr; }
.mp .stat__v { background-image: var(--bronze-grad-deep); }

.architects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.arch { padding: 28px 26px; border-radius: var(--radius); background: var(--cream-50); border: 1px solid var(--line); text-align: center; }
.arch strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; line-height: 1.15; }
.arch span { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-700); }

/* ---------- location ---------- */
.loc__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 52px; }
.loc__map { background: #fff; border: 1px solid var(--line); }
.loc__map img { height: auto; }
.loc__list li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.loc__list li:last-child { border-bottom: 0; }
.loc__list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--bronze-600); stroke-width: 1.5; }
.loc__list b { margin-left: auto; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--bronze-700); white-space: nowrap; }
.hl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.hl li { padding: 26px 24px; border-radius: var(--radius); background: var(--cream-50); border: 1px solid var(--line); }
.hl svg { width: 26px; height: 26px; color: var(--teal-600); stroke-width: 1.4; }
.hl h3 { margin: 16px 0 6px; font-size: 1.45rem; }
.hl p { margin: 0; font-size: 0.9rem; color: var(--text-2); }

/* ---------- enquiry ---------- */
.enquiry .print { left: -16%; bottom: -80px; width: min(70vw, 760px); opacity: 0.08; --pk-body: var(--cream-200); }
.enq__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact { margin-top: 34px; display: grid; gap: 22px; }
.contact li { display: flex; gap: 14px; align-items: flex-start; }
.contact svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 3px; color: var(--bronze-600); stroke-width: 1.5; }
.contact small { display: block; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-700); }
.panel { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--cream-50); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--teal-600), var(--bronze-500), var(--blue-800)); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .span2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font: 400 0.95rem/1.4 var(--font-sans); color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal-400); box-shadow: 0 0 0 3px rgba(62, 157, 151, 0.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--teal-600); }
.check a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq .btn { margin-top: 12px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: 0 0 auto; font: 300 1.7rem/1 var(--font-sans); color: var(--bronze-600); transition: transform 0.3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: 0 0 22px; max-width: 62ch; color: var(--text-2); }

/* ---------- thank you + privacy pages ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter); }
.ty { min-height: 100svh; display: flex; flex-direction: column; }
.ty main { flex: 1; display: grid; place-items: center; padding-block: 40px 80px; }
.ty .print { left: 50%; top: 50%; width: min(120vw, 1100px); transform: translate(-50%, -60%); color: var(--bronze-300); opacity: 0.1; --pk-body: var(--green-900); }
.ty__box { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.ty__check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; background: var(--bronze-grad); color: var(--green-950); }
.ty__check svg { width: 34px; height: 34px; stroke-width: 2.4; }
.ty .lead { margin-inline: auto; }
.ty__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; padding: 0; list-style: none; text-align: left; }
.ty__steps li { padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); }
.ty__steps b { display: block; font: 500 1.8rem/1 var(--font-display); color: var(--bronze-300); }
.ty__steps span { display: block; margin: 10px 0 4px; font: 500 1.3rem/1.2 var(--font-display); color: var(--on-dark); }
.ty__steps small { font-size: 0.86rem; color: var(--on-dark-dim); }
.ty .hero__cta { justify-content: center; }
.legal { max-width: 760px; margin-inline: auto; padding: 24px var(--gutter) 96px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal h2 { margin-top: 1.6em; font-size: 1.7rem; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--teal-600); text-decoration: underline; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0; padding: 10px 14px; border-radius: 6px; background: rgba(180, 72, 59, 0.1); color: #9A3A2E; font-size: 0.86rem; }
.form__error[hidden] { display: none; }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- enquiry popup ---------- */
html:has(.modal[open]) { overflow: hidden; }
.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; overflow: auto;
  border-radius: 14px; background: var(--cream-50); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(5, 30, 23, 0.7);
}
.modal[open] { animation: modal-in 0.45s var(--ease); }
.modal::backdrop { background: rgba(5, 30, 23, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.modal__head { position: relative; overflow: hidden; padding: 30px 56px 26px 32px; background: var(--green-900); color: var(--on-dark); }
.modal__head > :not(.print, .modal__close) { position: relative; z-index: 1; }
.modal__head .print { right: -34%; top: -30px; width: 440px; color: var(--bronze-300); opacity: 0.18; --pk-body: var(--green-900); }
.modal__head .eyebrow { margin-bottom: 10px; color: var(--bronze-300); }
.modal__head h2 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.5rem); }
.modal__head h2 em { color: var(--bronze-300); }
.modal__head p { margin: 8px 0 0; font-size: 0.92rem; color: var(--on-dark-dim); }
.modal__head .modal__offer { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 10px; background: var(--bronze-grad); color: var(--green-950); font-size: 0.82rem; font-weight: 600; }
.modal__head .modal__fine { margin-top: 8px; font-size: 0.62rem; line-height: 1.5; opacity: 0.6; }
.modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; background: none; border: 0; padding: 6px; color: var(--on-dark); cursor: pointer; }
.modal__close svg { width: 24px; height: 24px; }
.modal__body { padding: 26px 32px 30px; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--green-950); color: var(--on-dark-dim); padding-block: 72px 32px; }
.footer .container { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer .logo { color: var(--on-dark); margin-bottom: 20px; }
.footer__col-title { margin-bottom: 16px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-300); }
.footer__col a { display: block; padding-block: 6px; font-size: 0.92rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.partner { display: flex; align-items: center; gap: 14px; }
.partner__logo { width: 72px; height: 72px; margin: -10px; object-fit: contain; transform-origin: 50% 85%; animation: partner-wave 4.5s var(--ease) infinite; transition: transform 0.35s var(--ease), filter 0.35s var(--ease); }
.partner:hover .partner__logo, .partner:focus-visible .partner__logo { animation: none; transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(224, 185, 127, 0.6)); }
.partner small { display: block; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-300); }
.partner b { display: block; font: 500 1.45rem/1.2 var(--font-display); color: var(--on-dark); }
.partner span { display: block; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--on-dark-dim); transition: color 0.25s; }
.partner:hover span { color: var(--bronze-300); text-decoration: underline; text-underline-offset: 3px; }
/* gentle wave that hints the logo is a link; switched off for reduced motion by the global rule */
@keyframes partner-wave {
  0%, 55%, 100% { transform: rotate(0); }
  8% { transform: rotate(-12deg); }
  18% { transform: rotate(10deg); }
  28% { transform: rotate(-7deg); }
  38% { transform: rotate(4deg); }
  46% { transform: rotate(-2deg); }
}
.fine { max-width: 72ch; margin: 0; font-size: 0.74rem; line-height: 1.6; color: #86998f; }

/* ---------- mobile call bar ---------- */
.mbar { display: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .hl { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .overview__grid, .legacy__grid, .features__grid, .mp__grid, .loc__grid, .enq__grid, .faq__grid { grid-template-columns: 1fr; }
  .ty__steps { grid-template-columns: 1fr; }
  .plan--feature { grid-template-columns: 1fr; }
  .plan__specs--4 { grid-template-columns: repeat(2, 1fr); }
  .features .frame { aspect-ratio: 4 / 3; }
  .hero__bar ul { grid-template-columns: repeat(2, 1fr); }
  .hero__bar li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { padding-bottom: 72px; }
  .hero__media img { object-position: 72% center; }
  .hero__inner { padding-top: 180px; padding-bottom: 36px; }
  .rera { top: 82px; left: auto; right: 16px; max-width: 250px; font-size: 0.44rem; background: rgba(5, 30, 23, 0.25); color: rgba(242, 236, 223, 0.55); }
  .rera img { width: 34px; height: 34px; }
  .hero__bar li { padding: 16px 14px; }
  .hero__bar strong { font-size: 1.25rem; }
  .plans, .amen, .hl, .architects, .form { grid-template-columns: 1fr; }
  .form .span2 { grid-column: 1; }
  .stats { gap: 28px 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .drawer nav a { font-size: 1.6rem; }
  .mbar {
    position: fixed; inset: auto 0 0; z-index: 40; display: block;
    box-shadow: 0 -8px 24px -12px rgba(5, 30, 23, 0.5);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 10px 18px;
    background: var(--bronze-grad); color: var(--green-950); text-align: center; text-wrap: balance;
    font-size: clamp(1.02rem, 4.6vw, 1.2rem); font-weight: 700; line-height: 1.25; letter-spacing: 0.01em;
  }
  .hero .offer, .offer__fine { display: none; }
  /* compact header so Enquire Now fits beside the logo and menu */
  .nav { gap: 10px; }
  .nav__right { gap: 4px; }
  .nav__right .btn { padding: 10px 14px; font-size: 0.64rem; letter-spacing: 0.12em; }
  .nav .logo__7 { font-size: 2.6rem; }
  .nav .logo__txt b { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
