/*
  LB Shingles Roofing Specialist — design system
  VOICE   Premium Malaysian contractor: calm, solid, direct.
  IDEA    The roofline — a gold ridge line over charcoal, repeated as the brand mark.
  PICTURE Charcoal roof-and-building illustrations (swap for real photos later).
  COLOUR  Charcoal #141518 dominant, white/bone support, gold #c9a14a accent (gold text only on dark).
  TYPE    Archivo semi-condensed for headings, Manrope for body. Four sizes.
*/

@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-var.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #141518;
  --charcoal: #1c1e22;
  --graphite: #2b2e34;
  --steel: #555a62;
  --muted: #6b7079;
  --line: #e3e1dc;
  --line-dark: #34373d;
  --bone: #f5f3ee;
  --white: #fff;
  --gold: #c9a14a;
  --gold-light: #dcbb6f;
  --gold-ink: #8a6516; /* gold for text on light backgrounds (AA) */
  --danger: #b42318;
  --ok: #1d6b3a;

  --f-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --fs-1: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); /* h1 */
  --fs-2: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); /* h2 */
  --fs-3: 1.2rem; /* h3 */
  --fs-body: 1.03rem;
  --fs-small: 0.9rem;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --hh: 64px; /* header height */
  --shadow: 0 1px 2px rgba(20, 21, 24, .06), 0 8px 24px rgba(20, 21, 24, .08);
}
@media (min-width: 1080px) { :root { --hh: 80px; } }
/* Whole-pixel gutters so the logo and text never sit on fractional pixels */
@media (min-width: 600px) and (max-width: 799.98px) { :root { --gutter: 24px; } }
@media (min-width: 800px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-padding-top: calc(var(--hh) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, .h3 {
  font-family: var(--f-head); font-stretch: 88%; font-weight: 750; line-height: 1.1;
  letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: var(--fs-1); line-height: 1.05; }
h2 { font-size: var(--fs-2); }
h3, .h3 { font-size: var(--fs-3); line-height: 1.25; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .strip :focus-visible, .section-dark :focus-visible, .page-hero :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .side-dark :focus-visible, .mobile-bar :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s; text-align: center;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 44px; padding: .55em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more, .link-strong { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.more .icon, .link-strong .icon { width: 1.05em; height: 1.05em; transition: transform .15s; }
a:hover > .more .icon, .more:hover .icon, .link-strong:hover .icon { transform: translateX(3px); }

/* ── Header & navigation ─────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { position: relative; display: flex; align-items: center; gap: 16px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; margin-right: auto; }
.brand-logo { display: block; height: 48px; width: auto; max-width: 100%; object-fit: contain; flex: none; }
@media (max-width: 1079.98px) { .brand-logo { height: 42px; } }
@media (max-width: 359.98px) { .brand-logo { height: 38px; } .brand-name { font-size: 1rem; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-head); font-stretch: 88%; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; color: var(--gold); font-weight: 600; margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone { display: none; align-items: center; gap: 8px; padding-block: 10px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header-phone:hover span { text-decoration: underline; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius);
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-icon-close { display: none; }
.nav-open .menu-icon-open { display: none; }
.nav-open .menu-icon-close { display: block; }

.nav-link { display: flex; align-items: center; text-decoration: none; font-weight: 600; color: #fff; }
.nav-link[aria-current="page"] { color: var(--gold); }
.dd-row { display: flex; align-items: center; }
.dd-toggle { display: inline-grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; }
.dd-toggle .icon { transition: transform .2s; }
.dd-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown a { text-decoration: none; }
.dd-head { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-stretch: 88%; font-weight: 750; font-size: 1.1rem; }
.dd-head .icon, .dd-cat-name .icon { color: var(--gold); }
.dd-cat-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.dd-cat-sum { display: block; font-size: .85rem; color: #a9adb4; margin-top: 2px; padding-left: calc(1.25em + 10px); }
.dd-cats .dd-all a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); }

/* Mobile / tablet nav (< 1080px) */
@media (max-width: 1079.98px) {
  .header-quote { display: none; }
  .site-nav {
    position: fixed; inset: var(--hh) 0 0 0; z-index: 99; background: var(--ink);
    overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav-open { overflow: hidden; }
  .nav-list > li { border-bottom: 1px solid var(--line-dark); }
  .nav-link { min-height: 56px; font-size: 1.1rem; flex: 1; }
  .dd-toggle { width: 56px; height: 56px; margin-right: -12px; }
  .dd-toggle .icon { width: 22px; height: 22px; }
  .dropdown { display: none; padding: 0 0 12px; }
  .dropdown.is-open { display: block; }
  .dd-sub, .dd-cat-sum { display: none; }
  .dd-head, .dd-cats a { display: flex; align-items: center; min-height: 48px; padding-left: 4px; font-size: 1rem; font-family: var(--f-body); font-stretch: 100%; font-weight: 600; color: #e6e7e9; }
  .dd-cats .dd-all a { color: var(--gold); }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  /* Without JavaScript the menu is shown as a normal list so it is never inaccessible */
  .no-js .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding-top: 0; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; }
  .no-js .menu-toggle { display: none; }
  .no-js .dropdown { display: block; }
}
@media (min-width: 640px) and (max-width: 1079.98px) {
  .header-quote { display: inline-flex; }
}

/* Desktop nav */
@media (min-width: 1080px) {
  .menu-toggle, .nav-mobile-cta { display: none; }
  .header-phone { display: inline-flex; }
  .site-nav { height: 100%; }
  .nav-list { display: flex; height: 100%; gap: 4px; }
  .nav-list > li { display: flex; align-items: stretch; }
  .nav-link { padding: 0 14px; position: relative; }
  .nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .has-dd .nav-link { padding-right: 4px; }
  .has-dd .nav-link::after { right: 0; }
  .dd-toggle { width: 30px; height: 40px; }
  .dropdown {
    position: absolute; top: 100%; left: 50%; width: min(940px, calc(100vw - 48px));
    transform: translate(-50%, 6px); background: var(--charcoal); border: 1px solid var(--line-dark); border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
    visibility: hidden; opacity: 0; transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .dropdown.is-open {
    visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity .15s, transform .15s;
  }
  .no-hover .has-dd:hover .dropdown:not(.is-open) { visibility: hidden; opacity: 0; }
  .dd-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px 32px; padding: 28px; }
  .dd-head { color: #fff; margin-bottom: 12px; }
  .dd-head:hover { color: var(--gold); }
  .dd-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .dd-sub a { display: block; padding: 7px 0; color: #d4d6da; font-size: .95rem; }
  .dd-sub a:hover { color: var(--gold); }
  .dd-cats { display: grid; gap: 4px; border-left: 1px solid var(--line-dark); padding-left: 28px; }
  .dd-cats a { display: block; padding: 8px 0; color: #fff; }
  .dd-cats a:hover .dd-cat-name { color: var(--gold); }
  .dd-all { margin-top: 6px; }
}
@media (min-width: 1080px) and (max-width: 1200px) {
  .header-phone span { display: none; }
  .nav-link { padding: 0 10px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background-color: var(--ink); background-size: cover; background-position: center; background-repeat: no-repeat;
}

.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; z-index: -2; }
/* Overlay keeps text readable over any photo */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 14, 16, .86) 0%, rgba(13, 14, 16, .68) 38%, rgba(13, 14, 16, .12) 66%, rgba(13, 14, 16, 0) 100%); }
.hero-inner { min-height: clamp(460px, 62vh, 600px); display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
.hero .lead { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero h1 { max-width: 13em; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .lead { max-width: 34em; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #e2e4e7; margin-bottom: 32px; }
@media (max-width: 1023.98px) {
  .hero::before { background: linear-gradient(90deg, rgba(13, 14, 16, .82) 0%, rgba(13, 14, 16, .55) 60%, rgba(13, 14, 16, .25) 100%); }
  .hero-inner { min-height: clamp(480px, 70vh, 640px); }
}
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(13, 14, 16, .35) 0%, rgba(13, 14, 16, .62) 40%, rgba(13, 14, 16, .82) 100%); }
  .hero-inner { min-height: 0; padding-block: 120px 48px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
.strip { background: var(--charcoal); color: #e6e7e9; border-top: 1px solid var(--line-dark); }
.strip-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-list li { display: flex; align-items: center; gap: 10px; padding: 18px 16px; font-weight: 600; font-size: .95rem; border-left: 1px solid var(--line-dark); }
.strip-list li:first-child { border-left: 0; padding-left: 0; }
.strip-list .icon { color: var(--gold); }
.strip-list a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.strip-list a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .strip-list { grid-template-columns: 1fr 1fr; }
  .strip-list li { border-left: 0; padding: 14px 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 420px) { .strip-list li { font-size: .88rem; } }

/* ── Sections ────────────────────────────────────────────── */
.section { padding-block: clamp(48px, 6vw, 88px); }
.section-alt { background: var(--bone); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #c4c7cc; }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { color: var(--steel); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: #c4c7cc; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.split-head > div { max-width: 640px; }

.media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.svc-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.svc-card:hover { box-shadow: var(--shadow); border-color: #d2cfc8; }
.svc-card:hover img { transform: scale(1.03); }
.svc-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card-body p { color: var(--steel); font-size: .97rem; flex: 1; }
.svc-card h3 { margin-bottom: .35em; }


/* ── Homepage blocks (reference layout) ── */
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.rule-title { display: inline-flex; align-items: center; gap: 18px; }
.rule-title::before, .rule-title::after { content: ''; width: clamp(24px, 6vw, 80px); height: 2px; background: var(--gold); }
.section-dark .rule-title { color: var(--gold); }
.h1-accent { display: block; color: var(--gold); }
.center-link { text-align: center; margin: 28px 0 0; }

.tile-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .tile-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 760px) { .tile-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 479.98px) { .tile-grid.three { grid-template-columns: 1fr; } .tile-grid.three .tile-media { aspect-ratio: 16 / 9; } }
.tile-lg .tile-label { font-size: 1.1rem; padding: 32px 14px 14px; justify-content: flex-start; }
.tile-lg .tile-desc { font-size: .95rem; }
@media (min-width: 1200px) { .tile-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
/* Our Services: five cards, no empty slots — 2+2+1(wide) on phones, 3+2 on tablets, 5 in a row on desktop */
.tile-grid.five > :last-child { grid-column: 1 / -1; }
.tile-grid.five > :last-child .tile-media { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .tile-grid.five { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .tile-grid.five > * { grid-column: span 2; }
  .tile-grid.five > :nth-child(n+4) { grid-column: span 3; }
  .tile-grid.five > :nth-child(n+4) .tile-media { aspect-ratio: 2 / 1; }
}
@media (min-width: 1200px) {
  .tile-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .tile-grid.five > *, .tile-grid.five > :nth-child(n+4), .tile-grid.five > :last-child { grid-column: auto; }
  .tile-grid.five > :nth-child(n+4) .tile-media, .tile-grid.five > :last-child .tile-media { aspect-ratio: 4 / 3; }
}
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--graphite); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 6px;
  padding: 22px 12px 10px; text-align: left; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25;
  background: linear-gradient(180deg, rgba(13,14,16,0) 0%, rgba(13,14,16,.82) 45%, rgba(13,14,16,.92) 100%);
}
.tile-label .icon { width: 1em; height: 1em; flex: none; margin-bottom: .15em; color: var(--gold); transition: transform .2s; }
.tile-desc { display: block; margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--steel); }
.tile-dark .tile-desc { color: #a9adb4; }
@media (hover: hover) {
  .tile:hover img { transform: scale(1.06); }
  .tile:hover .tile-label .icon { transform: translateX(3px); }
  .tile:hover .tile-label { color: var(--gold-light); }
}
@media (max-width: 420px) { .tile-label { font-size: .88rem; padding: 18px 6px 8px; } .tile-desc { font-size: .85rem; } }

.why-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-row li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 24px; border-left: 1px solid var(--line); }
.why-row li:first-child { border-left: 0; padding-left: 0; }
.why-row h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why-row p { color: var(--steel); font-size: .93rem; margin: 0; }
.why-icon { width: 38px; height: 38px; color: var(--gold-ink); flex: none; }
@media (max-width: 1023.98px) { .why-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; } .why-row li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .why-row { grid-template-columns: 1fr; gap: 20px; } .why-row li { border-left: 0; padding: 0; } }

.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: f; }
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow li:not(:last-child)::after { content: '›'; position: absolute; right: -14px; top: 14px; font-size: 1.8rem; line-height: 1; color: var(--gold); }
.flow-icon { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold); color: #fff; margin-bottom: 14px; }
.flow-icon .icon { width: 26px; height: 26px; }
.flow-num { position: absolute; top: -6px; left: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.flow h3 { font-size: 1rem; color: #fff; margin-bottom: .35em; }
.flow p { font-size: .86rem; color: #a9adb4 !important; margin: 0; }
@media (max-width: 1023.98px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } .flow li::after { display: none; } }
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .flow li:last-child { border-bottom: 0; }
  .flow-icon { grid-row: span 2; margin: 0; }
}

.g-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 3px; background: rgba(13,14,16,.78); color: #fff; font-size: .72rem; font-weight: 700; }

/* Placeholder note for unconfirmed info */
.section-head.center + .todo, .why-row + .todo { max-width: 760px; margin: 28px auto 0; }
.todo { border: 1.5px dashed #c9a14a; background: #fbf7ec; color: #5b4510; border-radius: var(--radius); padding: 12px 14px; font-size: var(--fs-small); margin: 16px 0; }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 20px; }
.step-num { position: absolute; top: 14px; right: 16px; font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; line-height: 1; color: #e2ddd1; }
.step-icon { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--steel); margin: 0; }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .step-icon { grid-row: span 2; margin: 2px 0 0; }
  .step h3 { margin-bottom: .25em; padding-right: 28px; }
}

/* CTA band */
.cta-band { background: var(--ink) center / cover no-repeat; color: #fff; position: relative; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 14, 16, .95) 25%, rgba(13, 14, 16, .78) 60%, rgba(13, 14, 16, .6)); z-index: -1; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta-inner h2 { margin-bottom: .35em; }
.cta-inner p { color: #c4c7cc; margin: 0; max-width: 40em; }
@media (max-width: 960px) { .cta-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cta-inner .btn { flex: 1 1 100%; } }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1199.98px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 359.98px) { .gallery { grid-template-columns: 1fr; gap: 12px; } }
.g-item[hidden] { display: none; }
/* Placeholder tiles: show only complete rows (5 / 4 / 3 / 2 columns) */
@media (max-width: 1199.98px) and (min-width: 992px) { .g-placeholder:nth-child(n+9) { display: none; } }
@media (max-width: 991.98px) and (min-width: 640px) { .g-placeholder:nth-child(n+10) { display: none; } }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: var(--radius); overflow: hidden; }
.g-media { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite); border-radius: var(--radius); }
.g-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-btn:hover img { transform: scale(1.04); }
.g-cap { display: block; padding: 10px 2px 0; }
.g-type { display: block; font-size: .8rem; font-weight: 700; color: var(--gold-ink); }
.g-name { display: block; font-weight: 700; line-height: 1.3; }
.g-placeholder .g-media { background: repeating-linear-gradient(135deg, #ece9e2 0 12px, #f3f1ec 12px 24px); border: 1.5px dashed #c9c4b8; align-content: center; gap: 6px; text-align: center; color: #7a7466; }
.g-ph-icon { width: 30px; height: 30px; }
.g-ph-label { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.gallery-note { display: flex; align-items: flex-start; gap: 10px; color: var(--steel); font-size: var(--fs-small); margin-bottom: 18px; }
.gallery-note .icon { color: var(--gold-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.lightbox::backdrop { background: rgba(10, 10, 12, .88); }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); background: var(--charcoal); color: #fff; border-radius: var(--radius); overflow: hidden; }
.lb-media { position: relative; background: #000; aspect-ratio: 4 / 3; }
.lb-media img { width: 100%; height: 100%; object-fit: contain; }
.lb-info { padding: 28px; }
.lb-info p { color: #c4c7cc; }
.lb-type { color: var(--gold) !important; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.lb-count { font-size: .85rem; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(20, 21, 24, .8); color: #fff; cursor: pointer; z-index: 2; }
.lb-close { top: 10px; right: 10px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-nav[hidden] { display: none; }
@media (max-width: 760px) { .lb-inner { grid-template-columns: 1fr; } .lb-info { padding: 20px; } }

/* ── Inner pages ─────────────────────────────────────────── */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; bottom: -1px; width: 420px; height: 160px; background: linear-gradient(135deg, transparent 49.5%, rgba(201, 161, 74, .14) 50%); pointer-events: none; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { font-size: 1.12rem; color: #d6d8dc; max-width: 46em; }
.page-hero p { color: #c4c7cc; max-width: 46em; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; position: relative; z-index: 1; }
.hero-media { border-radius: var(--radius); border: 1px solid var(--line-dark); }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .page-hero .btn-row .btn { flex: 1 1 100%; } }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .88rem; color: #a9adb4; margin-bottom: 18px; }
.breadcrumb li + li::before { content: '/'; margin: 0 8px; color: #6b7079; }
.breadcrumb a { color: #d4d6da; text-decoration: none; display: inline-block; padding-block: 4px; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold); padding-block: 4px; }

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .svc-card .media { aspect-ratio: 1 / 1; height: auto; margin: 12px 0 12px 12px; border-radius: 4px; }
  .svc-card-body { padding: 12px 14px; }
  .svc-card-body p { font-size: .9rem; margin-bottom: .4em; }
}

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; }
.chip-list a:hover { border-color: var(--ink); }
.jump { margin-bottom: 32px; }

.svc-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .svc-sections { grid-template-columns: 1fr; gap: 14px; } }
.svc-section { border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.svc-section h2 { font-size: 1.35rem; }
.svc-section > p { color: var(--steel); }
.svc-section-cta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-section-cta a { min-height: 44px; display: inline-flex; align-items: center; }
.link-wa { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-wa:hover { text-decoration: underline; }
.related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--gold-ink); margin-top: .2em; }
.check-list.small { gap: 8px; margin-top: 12px; }
.check-list.small li { font-size: .97rem; }
.section-dark .check-list .icon, .side-dark .check-list .icon { color: var(--gold); }

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.svc-main > p { color: #33363b; max-width: 44em; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.list-card { background: var(--bone); border-radius: var(--radius); padding: 24px; }
.enquiry-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
.enquiry-box p { margin: 0; color: var(--steel); }
.svc-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--hh) + 20px); }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } }
@media (max-width: 640px) { .two-lists { grid-template-columns: 1fr; } .enquiry-box .btn-row, .enquiry-box .btn { width: 100%; } }

.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.side-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-dark p { color: #c4c7cc; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; text-decoration: none; font-weight: 600; }
.link-list a:hover { color: var(--gold-ink); }
.link-list .icon { color: var(--gold-ink); }
.side-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: #fff; text-decoration: none; font-family: var(--f-head); }
.side-phone .icon { color: var(--gold); }

.svc-index { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row .media { border-radius: var(--radius); }
.svc-row h2 a { text-decoration: none; }
.svc-row h2 a:hover { color: var(--gold-ink); }
.svc-row > div > p { color: var(--steel); }
.svc-row .chip-list { margin: 16px 0 18px; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; gap: 16px; } .svc-row .media { aspect-ratio: 16 / 9; } }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose p { color: #33363b; max-width: 44em; }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .three-col, .two-col { grid-template-columns: 1fr; } }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-plain p { color: var(--steel); margin: 0; }
.big-icon { width: 36px; height: 36px; color: var(--gold-ink); margin-bottom: 14px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); background: #fff; box-shadow: var(--shadow); }
.form-intro { color: var(--steel); font-size: var(--fs-small); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; border: 1.5px solid #cfccc5; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141518' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input[type="file"] { padding: 10px; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(201, 161, 74, .45); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hint-box { display: flex; gap: 12px; align-items: flex-start; background: var(--bone); border-radius: var(--radius); padding: 14px 16px; font-size: .93rem; color: #33363b; margin-bottom: 20px; }
.hint-box .icon { color: var(--gold-ink); margin-top: 2px; }
.form-foot { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-success { border: 1.5px solid var(--ok); background: #eef7f1; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.form-success h3 { color: var(--ok); }
.form-success p { margin-bottom: 12px; }
.form-success.is-error { border-color: var(--danger); background: #fdf0ef; }
.form-success.is-error h3 { color: var(--danger); }
.contact-side { display: grid; gap: 20px; }
.contact-list { display: grid; gap: 16px; margin: 8px 0 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: 4px; }
.cl-label { display: block; font-size: .82rem; color: #a9adb4; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-side .todo { margin: 0; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bone); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; color: var(--steel); background: repeating-linear-gradient(135deg, #ece9e2 0 12px, #f3f1ec 12px 24px); }
.map-placeholder p { margin: 0 0 4px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #0e0f11; color: #c4c7cc; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 30em; font-size: .95rem; }
.footer-h { font-family: var(--f-body); font-stretch: 100%; font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-links a, .footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; font-size: .95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact .icon { color: var(--gold); flex: none; }
.footer-addr { align-items: flex-start !important; line-height: 1.5; padding-block: 6px; }
.footer-addr .icon { margin-top: 2px; }
.cl-addr { display: block; color: #fff; font-weight: 600; line-height: 1.5; }
.cl-map { display: inline-block; margin-top: 6px; font-size: .9rem !important; font-weight: 600 !important; color: var(--gold) !important; padding-block: 6px; }
.footer-base { border-top: 1px solid #23252a; }
.footer-base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: .88rem; }
.footer-base p { margin: 0; }
.to-top { color: #c4c7cc; text-decoration: none; display: inline-block; padding-block: 6px; }
.to-top:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* Mobile quick-contact bar + desktop floating WhatsApp */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 700; }
.mobile-bar a + a { border-left: 1px solid var(--line-dark); }
.mobile-bar .icon { width: 22px; height: 22px; color: var(--gold); }
.mobile-bar .mb-wa { background: var(--gold); color: var(--ink); }
.mobile-bar .mb-wa .icon { color: var(--ink); }
body { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
@media (max-width: 1079.98px) { html { background: #0e0f11; } }
.wa-float { display: none; }
@media (min-width: 1080px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .wa-float { display: grid; place-items: center; position: fixed; right: 16px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
  .wa-float .icon { width: 28px; height: 28px; }
}
@media (min-width: 1080px) and (max-width: 1399.98px) {
  .wa-float { width: 50px; height: 50px; right: 10px; bottom: 84px; }
  .wa-float .icon { width: 24px; height: 24px; }
  .wa-float:hover { background: var(--gold-light); }
}
.nav-open .mobile-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print { .site-header, .mobile-bar, .wa-float, .cta-band { display: none; } body { padding: 0; } }
