/* =========================================================
   Selangor Welding & Racking Service
   Plain CSS, no build step. Dark steel theme, single blue accent.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("BarlowCondensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("BarlowCondensed-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0e1116;
  --bg-2: #141922;
  --bg-3: #1b2130;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1f6;
  --muted: #a7b0be;
  --accent: #2f6fe4;
  --accent-2: #4d86ec;
  --accent-soft: rgba(47, 111, 228, 0.16);
  --on-accent: #ffffff;

  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --radius: 6px;
  --container: 1240px;
  --container-wide: 1440px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Anchor jumps land below the sticky header instead of under it */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(2.1rem, 3.8vw, 3.3rem); text-transform: uppercase; }
h3 { font-weight: 600; font-size: 1.45rem; }
p { text-wrap: pretty; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.1rem; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
.link-arrow:hover { color: var(--accent-2); border-color: var(--accent-2); }
.link-arrow .icon { width: 1.05em; height: 1.05em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.05rem; font-size: .95rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }
.btn-whatsapp { background: var(--bg-3); border-color: var(--line-strong); color: var(--text); }
.btn-whatsapp:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 17, 22, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(14, 17, 22, 0.86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 12px; height: 34px; background: var(--accent); border-radius: 2px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.brand-line1 { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.brand-line2 { font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a { font-weight: 500; color: var(--muted); padding: .4rem 0; position: relative; transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.tel-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.tel-link:hover { color: var(--accent-2); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); }
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }

.mobile-menu {
  position: absolute; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.5rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: .9rem 0; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu-contact { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100dvh, 920px);
  margin-top: calc(-1 * var(--header-h));
  display: grid; align-items: center;
  padding-block: calc(var(--header-h) + 2rem) 4rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 72% 50%; transform-origin: 70% 60%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 17, 22, 0.94) 0%, rgba(14, 17, 22, 0.78) 34%, rgba(14, 17, 22, 0.25) 62%, rgba(14, 17, 22, 0.05) 100%),
    linear-gradient(0deg, rgba(14, 17, 22, 0.9) 0%, rgba(14, 17, 22, 0) 35%);
}
/* The hero copy sits on the same left edge as the logo and navigation (the page gutter),
   and is capped at a comfortable reading width rather than hugging the viewport edge. */
.hero-content { padding-right: var(--gutter); }
.hero-content > * { max-width: 760px; }
.hero-title {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: .96; letter-spacing: -0.01em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub {
  margin-top: 1.4rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #cfd6e1; max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Hero entrance: image settles, headline lines rise, then copy fades in. Communicates hierarchy on load. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { animation: hero-settle 2.2s var(--ease) both; }
  .js .hero-title .line > span { transform: translateY(112%); animation: rise .9s var(--ease) forwards; }
  .js .hero-title .line:nth-child(1) > span { animation-delay: .15s; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: .27s; }
  .js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(14px); animation: fade-up .8s var(--ease) forwards; }
  .js .hero-sub { animation-delay: .55s; }
  .js .hero-cta { animation-delay: .7s; }
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ---------- Facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-list li { padding: 1.4rem 1.5rem; border-left: 1px solid var(--line); }
.facts-list li:first-child { border-left: 0; padding-left: 0; }
.fact-value {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase;
}
.fact-value .icon { color: var(--accent-2); width: 1.05em; height: 1.05em; }
.fact-label { display: block; color: #b9c2cf; margin-top: .35rem; font-size: 1rem; }

/* ---------- Sections ---------- */
section { padding-block: clamp(4rem, 8vw, 7rem); }
.facts { padding-block: 0; }

/* ---------- Services: expanding panels ---------- */
.services { padding-bottom: clamp(3rem, 6vw, 5rem); }
.panels { display: flex; gap: 8px; height: 500px; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-3); cursor: pointer;
  transition: flex-grow .7s var(--ease);
}
.panel.is-active { flex-grow: 2.7; }
.panel picture, .panel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.8) brightness(.82); }
.panel.is-active img { filter: none; }
.panel:hover img { transform: scale(1.03); }
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 17, 22, 0.9) 0%, rgba(14, 17, 22, 0.45) 32%, rgba(14, 17, 22, 0) 58%);
  transition: opacity .5s;
}
.panel-body {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.panel-icon {
  width: 2.4rem; height: 2.4rem; padding: .5rem; color: var(--accent-2);
  background: rgba(14, 17, 22, 0.72); border: 1px solid var(--line-strong); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.panel h3 { font-size: 1.2rem; line-height: 1.08; }
.panel.is-active h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.panel p {
  color: #d3d9e3; font-size: 1rem; max-width: 46ch;
  opacity: 0; max-height: 0; overflow: hidden; transform: translateY(8px);
  transition: opacity .45s .15s, transform .55s .15s var(--ease), max-height .6s var(--ease);
}
.panel.is-active p { opacity: 1; max-height: 12em; transform: none; }
.panel:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.services-more { margin-top: 1.6rem; color: #b9c2cf; font-size: 1.05rem; }

/* ---------- Projects: 3-cell asymmetric grid ---------- */
.projects { background: var(--bg-2); border-block: 1px solid var(--line); }
.project-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto;
}
.project-large { grid-row: 1 / span 2; }
.project a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project a:hover img { transform: scale(1.03); }
.project-large a { height: 100%; min-height: 560px; }
.project:not(.project-large) a { aspect-ratio: 16 / 10; }
.project figcaption { padding: 1rem .2rem .25rem; display: flex; flex-direction: column; gap: .2rem; }
.project figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.project figcaption span { color: var(--muted); font-size: .98rem; max-width: 52ch; }
.project-large { display: grid; grid-template-rows: 1fr auto; }
.projects-more { margin-top: 2.25rem; }

/* ---------- Process: horizontal flow ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: var(--line-strong);
}
.steps li { position: relative; padding-top: 4.4rem; }
.step-icon {
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; padding: 13px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--accent-2);
}
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--muted); margin-top: .5rem; font-size: 1rem; }

/* ---------- Why us ---------- */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why-copy p { color: var(--muted); margin: 1.2rem 0 1.8rem; font-size: 1.1rem; max-width: 52ch; }
.why-list { display: flex; flex-direction: column; }
.why-list li { display: flex; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list .icon { width: 2.6rem; height: 2.6rem; padding: .6rem; background: var(--accent-soft); color: var(--accent-2); border-radius: var(--radius); }
.why-list strong { display: block; font-weight: 600; font-size: 1.08rem; }
.why-list span { color: var(--muted); font-size: .98rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rating-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.rating-number { font-family: var(--font-display); font-weight: 700; font-size: 5rem; line-height: .9; margin-top: .9rem; }
.stars { display: flex; gap: .15rem; color: var(--accent-2); margin-top: .8rem; }
.stars .icon { width: 1.5rem; height: 1.5rem; }
.rating-note { color: var(--muted); margin: .9rem 0 1.4rem; }
.quote p {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.005em;
}
.quote footer { margin-top: 1.4rem; font-weight: 600; }
.quote footer span { display: block; color: var(--muted); font-weight: 400; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-lead { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; max-width: 46ch; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 2.2rem; }
.contact-details dt { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-details dt .icon { color: var(--accent-2); width: 1.1rem; height: 1.1rem; }
.contact-details dd { margin-top: .35rem; line-height: 1.5; }
.contact-details dd a:hover { color: var(--accent-2); }

.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: #8b95a5; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field select:invalid { color: #8b95a5; }
.field select option { color: var(--text); background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.hint { color: var(--muted); font-size: .9rem; }
.form-note { color: var(--muted); font-size: .92rem; }
.contact-form .btn { align-self: flex-start; }

.map-band { border-top: 1px solid var(--line); background: var(--bg-3); }
/* Dark treatment for the Google Maps embed so it sits inside the dark theme */
.map-band iframe { display: block; width: 100%; height: 400px; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.9) contrast(.96); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); margin-top: 1.1rem; max-width: 40ch; }
.footer-legal { font-size: .9rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; color: var(--muted); }
.footer-col h3 { font-size: 1.1rem; color: var(--text); margin-bottom: .4rem; }
.footer-col a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-col a:hover { color: var(--accent-2); }
.footer-col address { font-style: normal; line-height: 1.5; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .92rem;
}

/* ---------- Floating WhatsApp (small screens) ---------- */
.wa-float {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  align-items: center; gap: .5rem; padding: .85rem 1.1rem;
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius); font-weight: 600;
  box-shadow: 0 10px 30px rgba(14, 17, 22, 0.55);
}
.wa-float .icon { width: 1.4rem; height: 1.4rem; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: var(--text); }
.lightbox::backdrop { background: rgba(8, 10, 14, 0.92); }
.lightbox figure { position: absolute; inset: 0; display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 3.5rem 4.5rem 2rem; gap: .8rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--muted); text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.lightbox button:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox button .icon { width: 1.5rem; height: 1.5rem; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll reveal (IntersectionObserver adds .is-visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .85s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 1.25rem; }
  .tel-link { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .site-header { background: rgba(14, 17, 22, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }

  .hero { min-height: auto; padding-block: calc(var(--header-h) + 4.5rem) 3.5rem; }
  .hero-media img { object-position: 78% 50%; }
  .hero-scrim { background: linear-gradient(0deg, rgba(14, 17, 22, 0.96) 0%, rgba(14, 17, 22, 0.8) 45%, rgba(14, 17, 22, 0.35) 100%); }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }

  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list li { padding: 1.1rem 1rem; }
  .facts-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fact-value { font-size: 1.5rem; }

  /* Panels become a vertical stack with text always visible */
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel, .panel.is-active { flex: none; height: 300px; }
  .panel p, .panel.is-active p { opacity: 1; max-height: none; transform: none; }
  .panel h3, .panel.is-active h3 { font-size: 1.5rem; }

  .project-grid { grid-template-columns: 1fr; }
  .project-large { grid-row: auto; }
  .project-large a { min-height: 0; aspect-ratio: 4 / 5; }

  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .steps::before { display: none; }

  .why-grid, .reviews-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .rating-card { max-width: 420px; }
  .footer-grid { gap: 2rem; }
  .wa-float { display: inline-flex; }
  .footer-bottom { padding-bottom: 5.5rem; }
  .lightbox figure { padding: 4rem 1rem 3.5rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: .75rem; transform: none; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .panel, .panel.is-active { height: 260px; }
  .brand-line2 { font-size: 1.1rem; }
}
