/* ==========================================================================
   www.shahalamresidences.com — shared stylesheet
   Same design language as nexsproperty.com. Each project page sets a
   `theme-*` class on <body> to swap the palette and the type pairing.
   The one rule that differs from the other sites: the hero is an image only,
   never text over an image.
   ========================================================================== */

/* ---------- palettes ------------------------------------------------------ */

:root,
body.theme-house {
  --dark:        #101010;
  --dark-2:      #1d1a15;
  --accent:      #a87f20;
  --accent-2:    #c9a24b;
  --hi:          #c9a24b;
  --hi-2:        #e6c980;
  --spot:        #c9a24b;
  --bg:          #ffffff;
  --bg-2:        #faf7f1;
  --bg-3:        #f4efe5;
  --ink:         #101010;
  --body:        #55514a;
  --muted:       #8a857d;
  --line:        #e8e2d6;
  --line-accent: rgba(168,127,32,.30);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Astrum — midnight navy, facade blue, gold */
body.theme-astrum {
  --dark:#0d1b2e; --dark-2:#152740;
  --accent:#3a6ea5; --accent-2:#6fa3d2;
  --hi:#c9a45c; --hi-2:#eed9a8; --spot:#c9a45c;
  --bg:#ffffff; --bg-2:#f5f7fa; --bg-3:#e8edf3;
  --ink:#16202c; --body:#4d5966; --muted:#6b7684;
  --line:#dde4ec; --line-accent:rgba(58,110,165,.28);
  --serif:'Cormorant Garamond', Georgia, serif;
  --sans:'Jost', system-ui, sans-serif;
}

/* Sena — terracotta and espresso */
body.theme-sena {
  --dark:#33150d; --dark-2:#4a2114;
  --accent:#c4502a; --accent-2:#e07a3f;
  --hi:#f0b24c; --hi-2:#f8d59a; --spot:#e07a3f;
  --bg:#ffffff; --bg-2:#faf5ef; --bg-3:#f3e7db;
  --ink:#2b2018; --body:#5f5044; --muted:#7a685c;
  --line:#ecdfd0; --line-accent:rgba(196,80,42,.30);
  --serif:'Space Grotesk', system-ui, sans-serif;
  --sans:'Inter', system-ui, sans-serif;
}

/* Bayu @ Mori Park — summer ember, cream, a forest green spot */
body.theme-bayu {
  --dark:#2b2118; --dark-2:#3d2d1f;
  --accent:#ca5329; --accent-2:#df734c;
  --hi:#f3a24c; --hi-2:#fdd79a; --spot:#5f7050;
  --bg:#ffffff; --bg-2:#f8f3ea; --bg-3:#efe6d8;
  --ink:#2e241b; --body:#5c5044; --muted:#857767;
  --line:#e9dfcf; --line-accent:rgba(202,83,41,.28);
  --serif:'Fraunces', Georgia, serif;
  --sans:'DM Sans', system-ui, sans-serif;
}

/* Tamu @ Mori Park — travertine, terracotta, mosaic teal */
body.theme-tamu {
  --dark:#2e2b25; --dark-2:#3b372f;
  --accent:#b96a45; --accent-2:#d4906a;
  --hi:#e2b491; --hi-2:#efd3ba; --spot:#3f8e85;
  --bg:#ffffff; --bg-2:#f8f3ea; --bg-3:#efe7d8;
  --ink:#2b2723; --body:#5d564d; --muted:#837a6e;
  --line:#e7ded0; --line-accent:rgba(185,106,69,.32);
  --serif:'Playfair Display', Georgia, serif;
  --sans:'Jost', system-ui, sans-serif;
}

/* Viera 15 — sage green off deep umber, with the bronze kept for highlights.
   Sage is the accent rather than the bronze so this page does not read as a
   second Bayu; both colours are taken from viera15.com.my. */
body.theme-viera {
  --dark:#33301f; --dark-2:#4b452e;
  --accent:#6b7a68; --accent-2:#8a9a86;
  --hi:#d9a955; --hi-2:#f3cf90; --spot:#b0823f;
  --bg:#ffffff; --bg-2:#f5f4ec; --bg-3:#e6e4d6;
  --ink:#2c2c20; --body:#565346; --muted:#857f6c;
  --line:#e2e0d2; --line-accent:rgba(107,122,104,.28);
  --serif:'Marcellus', Georgia, serif;
  --sans:'Karla', system-ui, sans-serif;
}

/* ---------- base ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.h2 { font-size: clamp(28px, 4vw, 44px); }
.h3 { font-size: clamp(21px, 2.4vw, 27px); }
.lead { max-width: 720px; margin-top: 13px; font-size: 16.5px; color: var(--body); }
.eyebrow {
  color: var(--accent); font-size: 12.5px; letter-spacing: 3.4px;
  text-transform: uppercase; margin-bottom: 12px; font-weight: 500;
}
.head-c { text-align: center; }
.head-c .lead { margin-left: auto; margin-right: auto; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.center { text-align: center; }

section.sec { padding: 78px 0; }
section.alt { background: var(--bg-2); }
section.tint { background: var(--bg-3); }

/* ---------- buttons ------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 40px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .3px;
  cursor: pointer; border: none; transition: .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb958; transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-accent:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--hi), var(--hi-2)); color: #33270c; }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border: 1px solid var(--line-accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.acts-c { justify-content: center; }

/* ---------- referrer disclosure bar --------------------------------------- */

.ref-notice {
  background: #fff7e0; border-bottom: 1px solid #e3c98d; color: #3d3520;
  position: relative; z-index: 200;
  font-family: 'Jost', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.ref-notice-inner {
  max-width: 1140px; margin: 0 auto; padding: 11px 22px;
  display: flex; gap: 10px; align-items: flex-start;
}
.ref-notice .rn-ico { flex: 0 0 auto; font-size: 14px; line-height: 1.6; }
.ref-notice p { font-size: 13.2px; line-height: 1.6; color: #3d3520; }
.ref-notice strong { color: #241d08; font-weight: 600; }
.ref-notice a { color: #8a6810; text-decoration: underline; }
.ref-notice a:hover { color: #5f480a; }
@media (max-width: 640px) {
  .ref-notice-inner { padding: 10px 17px; gap: 8px; }
  .ref-notice p { font-size: 12.3px; line-height: 1.55; }
}

/* ---------- header -------------------------------------------------------- */

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brand { display: flex; align-items: baseline; gap: 9px; }
.brand .nx {
  font-family: var(--serif); font-size: 25px; font-weight: 700;
  letter-spacing: .5px; color: var(--ink); white-space: nowrap;
}
.brand .nx span { color: var(--accent); }
.brand .sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a.ml { font-size: 14.5px; color: var(--body); transition: .16s; }
.menu a.ml:hover { color: var(--accent); }
.menu a.ml[aria-current="page"] { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--accent); }
.burger { display: none; width: 40px; height: 36px; background: none; border: 0; cursor: pointer; padding: 8px 6px; }
.burger i { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

@media (max-width: 960px) {
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 22px 18px; box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  .menu.open { display: flex; }
  .menu a.ml { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; }
  .burger { display: block; }
  header.site .nav { position: relative; }
}
@media (max-width: 520px) { .brand .sub { display: none; } }

/* ---------- hero: the image, and nothing on it ---------------------------- */

.hero-shot { position: relative; background: var(--dark); }
.hero-shot img {
  width: 100%; height: clamp(320px, 62vh, 720px);
  object-fit: cover; object-position: center;
}
.hero-shot img.focus-low  { object-position: center 78%; }
.hero-shot img.focus-high { object-position: center 28%; }

/* Portrait-ish renders (a tall tower on a near-square canvas) lose their crown
   and their podium to a wide cover-crop, so those heroes show the whole plate
   on the theme's dark ground instead. Still just the image — no text. */
.hero-shot--fit { display: flex; justify-content: center; }
.hero-shot--fit img {
  height: clamp(320px, 72vh, 760px);
  width: auto; max-width: 100%;
  object-fit: contain; object-position: center;
}
@media (max-width: 760px) {
  .hero-shot--fit img { height: auto; width: 100%; }
}
.hero-cap {
  background: var(--dark); color: rgba(255,255,255,.52);
  font-size: 12.2px; letter-spacing: .4px;
}
.hero-cap .wrap {
  display: flex; justify-content: space-between; gap: 6px 26px;
  flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px;
}

/* ---------- title band (everything the hero would have carried) ----------- */

.titleband {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding: 54px 0 46px; text-align: center;
  position: relative; overflow: hidden;
}
.titleband::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 380px at 50% -40%, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.titleband .wrap { position: relative; z-index: 1; }
.titleband .badge {
  display: inline-block; border: 1px solid rgba(255,255,255,.34);
  color: var(--hi-2); font-size: 11.5px; letter-spacing: 2.6px; text-transform: uppercase;
  padding: 8px 19px; border-radius: 40px; margin-bottom: 20px;
}
.titleband h1 {
  color: #fff; font-size: clamp(36px, 6.4vw, 70px); letter-spacing: .5px;
}
.titleband .tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.6vw, 27px); color: var(--hi-2); margin-top: 12px;
}
.titleband .loc {
  margin-top: 16px; color: rgba(255,255,255,.80); font-size: 15px; letter-spacing: .4px;
}
.titleband .pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.titleband .pills span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 30px; font-size: 13px; letter-spacing: .5px;
}
.titleband .acts { justify-content: center; margin-top: 30px; }

/* ---------- stats strip --------------------------------------------------- */

.stats { background: var(--dark-2); color: #fff; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.08); }
.stats .g { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 22px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: 30px; color: var(--hi-2); font-weight: 600; line-height: 1.1; }
.stats span { display: block; margin-top: 5px; font-size: 11px; letter-spacing: 1.9px; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* ---------- cards --------------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 20px; margin-top: 38px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 15px;
  padding: 26px 24px; transition: .22s;
}
section.alt .card, section.tint .card { background: #fff; }
.card:hover { transform: translateY(-3px); border-color: var(--line-accent); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.card .ic {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px;
  background: var(--line-accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.card .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 14.6px; }

/* ---------- split feature -------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 38px; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.split .pic { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.split .pic img { width: 100%; }
.split .pic .cap { padding: 11px 15px; font-size: 12.5px; color: var(--muted); text-align: center; }
.ticks { margin-top: 18px; }
.ticks li {
  list-style: none; padding: 10px 0 10px 27px; position: relative;
  font-size: 15.3px; border-bottom: 1px solid var(--line);
}
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--spot); font-size: 12px; top: 12px; }
.ticks li b { color: var(--ink); font-weight: 500; }

/* ---------- layout tabs ---------------------------------------------------- */

.lt { margin-top: 38px; }
.tabbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 10px; margin-bottom: 26px; }
.tabbar button {
  display: block; cursor: pointer; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 15px 12px; text-align: center; transition: .2s; font-family: var(--sans);
}
.tabbar button:hover { border-color: var(--accent); }
.tabbar .tt { display: block; font-family: var(--serif); font-size: 21px; color: var(--ink); font-weight: 600; line-height: 1.1; }
.tabbar .tb { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tabbar .sz { display: block; font-size: 12px; color: var(--accent); margin-top: 5px; letter-spacing: .6px; }
.tabbar button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); }
.tabbar button[aria-selected="true"] .tt { color: #fff; }
.tabbar button[aria-selected="true"] .tb { color: rgba(255,255,255,.72); }
.tabbar button[aria-selected="true"] .sz { color: var(--hi-2); }

.panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.panel[hidden] { display: none; }
.panel .plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: zoom-in; }
.panel .plan img { width: 100%; border-radius: 6px; }
.panel .plan .pcap { display: block; text-align: center; font-size: 12.3px; color: var(--muted); margin-top: 9px; }
.panel .det .dt { font-family: var(--serif); font-size: 31px; color: var(--ink); font-weight: 600; line-height: 1.1; }
.panel .det .dbed { color: var(--accent); font-size: 14px; letter-spacing: .7px; margin-bottom: 15px; }
.panel .det .dnote { font-size: 14.8px; margin-bottom: 15px; }
.drow { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.6px; }
.drow b { color: var(--ink); font-weight: 500; text-align: right; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0 6px; }
.tags span {
  background: var(--line-accent); color: var(--accent);
  font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px;
}
.tags span.hot { background: rgba(201,164,92,.20); color: #8c6a1d; }

/* WhatsApp call-to-action band under the floor plans */
.plan-cta {
  margin-top: 30px; border-radius: 16px; padding: 26px 28px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--line-accent);
}
.plan-cta h3 { color: #fff; font-size: 24px; margin-bottom: 5px; }
.plan-cta p { color: rgba(255,255,255,.76); font-size: 14.6px; max-width: 46ch; }
.plan-cta .acts { margin-top: 0; }

/* ---------- facilities zones ----------------------------------------------- */

.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px; margin-top: 36px; }
.zn { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 24px 22px; }
.zn h3 {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.zn .ct { font-size: 11px; color: var(--muted); letter-spacing: 1.2px; margin-bottom: 12px; text-transform: uppercase; }
.zn li { list-style: none; font-size: 14.3px; padding: 4px 0 4px 17px; position: relative; }
.zn li::before { content: "◆"; position: absolute; left: 0; color: var(--spot); font-size: 7px; top: 10px; }

/* ---------- gallery -------------------------------------------------------- */

.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; margin-top: 36px; }
.gal figure { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: zoom-in; margin: 0; }
.gal img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 15px 11px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff; font-size: 12.6px; letter-spacing: .4px;
}
.wide { margin-top: 26px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; }
.wide img { width: 100%; }
.wide .cap { padding: 12px 16px; font-size: 12.8px; color: var(--muted); text-align: center; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.plates .wide { margin-top: 0; }

/* ---------- location / connectivity ---------------------------------------- */

.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; margin-top: 36px; }
.loc-list li {
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.loc-list li b { color: var(--ink); font-weight: 500; white-space: nowrap; }
.loc-list li span.k { color: var(--body); }

.appt {
  margin-top: 32px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-accent); background: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 0;
}
.appt .ap-txt { padding: 28px 30px; }
.appt .ap-txt h3 { font-size: 25px; margin-bottom: 7px; }
.appt .ap-txt p { font-size: 14.8px; }
.appt .ap-act {
  padding: 28px 30px; background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.appt .ap-act p { color: rgba(255,255,255,.74); font-size: 13.4px; }
.appt .ap-act .btn { width: 100%; }

/* ---------- specification table --------------------------------------------- */

.spec { margin-top: 34px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.spec dl { display: grid; grid-template-columns: 220px 1fr; }
.spec dt {
  padding: 14px 20px; font-size: 11.5px; letter-spacing: 1.7px; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line); background: var(--bg-2); font-weight: 500;
}
.spec dd { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.spec dt:first-of-type, .spec dd:first-of-type { border-top: 0; }
.spec a { color: var(--accent); text-decoration: underline; }
@media (max-width: 620px) {
  .spec dl { grid-template-columns: 1fr; }
  .spec dd { border-top: 0; padding-top: 0; }
}

/* ---------- comparison table (hub) ------------------------------------------ */

.tablewrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.6px; min-width: 760px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cmp thead th {
  background: var(--dark); color: #fff; font-family: var(--sans); font-weight: 500;
  font-size: 11.5px; letter-spacing: 1.7px; text-transform: uppercase; border-bottom: 0;
}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: var(--bg-2); }
table.cmp th[scope="row"] { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 600; }
table.cmp th[scope="row"] a { text-decoration: none; }
table.cmp th[scope="row"] a:hover { color: var(--accent); }
table.cmp .num { white-space: nowrap; }

/* ---------- project index (hub) --------------------------------------------- */

.plist { display: grid; gap: 26px; margin-top: 38px; }
.pitem {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: .24s;
}
.pitem:hover { box-shadow: 0 18px 44px rgba(0,0,0,.10); transform: translateY(-2px); border-color: var(--line-accent); }
.pitem .ph { position: relative; overflow: hidden; min-height: 280px; }
.pitem .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pitem:hover .ph img { transform: scale(1.05); }
.pitem .ph .no {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pitem .pb { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.pitem .pb h3 { font-size: clamp(25px, 3vw, 33px); margin-bottom: 6px; }
.pitem .pb .where {
  font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-weight: 500;
}
.pitem .pb p { font-size: 15px; }
.pitem .facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 20px; }
.pitem .facts span {
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 20px; font-size: 12.6px; color: var(--body);
}
.pitem .facts span b { color: var(--ink); font-weight: 500; }
.pitem .pacts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .pitem { grid-template-columns: 1fr; }
  .pitem .ph { min-height: 230px; }
}

/* ---------- register ---------------------------------------------------------- */

.reg { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; padding: 78px 0; }
.reg h2, .reg h3 { color: #fff; }
.reg .eyebrow { color: var(--hi-2); }
.reg .lead { color: rgba(255,255,255,.74); }
.reg .box { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 38px; align-items: start; }
.reg .why li {
  list-style: none; padding: 10px 0 10px 28px; position: relative;
  color: rgba(255,255,255,.84); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.reg .why li::before { content: "✓"; position: absolute; left: 0; color: var(--hi-2); }
.reg .wa-alt { margin-top: 22px; }

form.enquiry {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 28px 26px;
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--hi-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff;
  font-family: var(--sans); font-size: 15px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.42); }
.field select option { background: var(--dark); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--hi); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 13px; color: rgba(255,255,255,.72); }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 3px; accent-color: var(--hi); }
.consent a { color: var(--hi-2); text-decoration: underline; }
form.enquiry button[type="submit"] { width: 100%; margin-top: 6px; }
.form-status { margin-top: 13px; font-size: 13.4px; text-align: center; color: rgba(255,255,255,.62); min-height: 1.4em; }
.form-status.ok { color: #9be7b4; }
.form-status.err { color: #ffb4a2; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ------------------------------------------------------------- */

footer.site { background: #0c0c0c; color: #8a95a1; padding: 48px 0 30px; font-size: 14px; }
body.theme-astrum footer.site { background: #08121f; }
body.theme-sena   footer.site { background: #200c07; }
body.theme-bayu   footer.site { background: #1c150f; }
body.theme-tamu   footer.site { background: #1e1c18; }
body.theme-viera  footer.site { background: #23221a; }
footer.site a { color: inherit; }
footer.site a:hover { color: var(--hi-2); }
.frow { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 22px; }
@media (max-width: 820px) { .frow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .frow { grid-template-columns: 1fr; } }
footer.site .nx { font-family: var(--serif); font-size: 24px; color: #fff; font-weight: 700; }
footer.site .nx span { color: var(--hi-2); }
footer.site .fsub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #6d7883; margin-top: 4px; }
footer.site .fh { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #6d7883; margin-bottom: 9px; }
.flinks li { list-style: none; padding: 3px 0; }
.flinks a:hover { text-decoration: underline; }
.site-contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 15px 26px; margin: 4px 0 18px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.10); font-size: 13.5px; line-height: 1.6;
}
.site-contact .sc-k { display: block; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; opacity: .62; margin-bottom: 4px; }
.site-contact a { text-decoration: underline; }
.disc { border-top: 1px solid rgba(255,255,255,.10); padding-top: 16px; font-size: 12px; color: #6d7883; line-height: 1.7; }
.disc p { margin-bottom: 10px; }
.disc p:last-child { margin-bottom: 0; }
.disc strong { color: #9ea8b2; font-weight: 600; }
.disc a { text-decoration: underline; }
.copyline { margin-top: 18px; font-size: 12px; color: #5f6871; }
.copyline a { text-decoration: underline; }

/* ---------- floating whatsapp --------------------------------------------------- */

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; background: #25D366;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.42); transition: .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- lightbox -------------------------------------------------------------- */

.lightbox {
  position: fixed; inset: 0; background: rgba(6,10,16,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .22s; z-index: 120; padding: 26px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox .x {
  position: absolute; top: 16px; right: 24px; color: #fff; font-size: 36px;
  line-height: 1; background: none; border: 0; cursor: pointer; font-family: var(--sans);
}
.lightbox .cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255,255,255,.7); font-size: 13px; }

/* ---------- article pages (about / privacy / disclaimer) ------------------------- */

.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(25px, 3.2vw, 34px); margin: 38px 0 14px; }
.article h3 { font-size: 20px; margin: 30px 0 10px; }
.article p { margin-bottom: 14px; }
.article ul { margin: 0 0 16px 0; }
.article li { list-style: none; padding: 8px 0 8px 27px; position: relative; border-bottom: 1px solid var(--line); }
.article li::before { content: "✦"; position: absolute; left: 0; color: var(--spot); font-size: 12px; top: 10px; }
.article a { color: var(--accent); text-decoration: underline; }
.article .stamp { font-size: 12px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); }

/* ---------- reveal on scroll ------------------------------------------------------ */

/* Gated on `html.js` so that if the script fails to load, nothing is ever
   left invisible — the content simply renders without the fade-in. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .pitem:hover, .fab:hover { transform: none; }
}

/* ---------- responsive --------------------------------------------------------------- */

@media (max-width: 900px) {
  .split, .split.wide-left, .loc-grid, .reg .box, .plates { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .appt { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section.sec { padding: 56px 0; }
  .titleband { padding: 40px 0 36px; }
  .plan-cta { padding: 22px; }
  .plan-cta .acts .btn { width: 100%; }
}

.skip { position: absolute; left: -9999px; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 300; }
.skip:focus { left: 10px; top: 10px; }
