/* WasherRepairSG — Google Ads Landing Page (mobile-first CRO / CWV) */
:root {
  --bg: #050806;
  --bg-2: #0a100c;
  --card: #101811;
  --card-2: #152018;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a7b3aa;
  --dim: #6d786f;
  --lime: #e9ff00;
  --lime-ink: #050806;
  --wa: #25d366;
  --wa-ink: #053318;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --container: min(1120px, calc(100% - 2rem));
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dock-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: #040705;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  position: relative;
  isolation: isolate;
}

/* Ambient background effects (CSS-only, no layout shift) */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(233, 255, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(37, 211, 102, 0.08), transparent 50%),
    linear-gradient(180deg, #07100a 0%, #050806 40%, #040705 100%);
}
.bg-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
}
.bg-glow-1 {
  width: 280px; height: 280px;
  top: 12%; left: -80px;
  background: rgba(233, 255, 0, 0.18);
  animation: floatGlow 14s ease-in-out infinite;
}
.bg-glow-2 {
  width: 320px; height: 320px;
  top: 55%; right: -100px;
  background: rgba(37, 211, 102, 0.14);
  animation: floatGlow 18s ease-in-out infinite reverse;
}
.bg-glow-3 {
  width: 220px; height: 220px;
  bottom: 8%; left: 35%;
  background: rgba(233, 255, 0, 0.08);
  animation: floatGlow 16s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -18px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glow { animation: none; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; }

.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--lime); color: var(--lime-ink); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Top bar */
.topbar {
  background: #0c1510;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted);
}
.topbar-inner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: .55rem 0; flex-wrap: wrap;
}
.topbar a { color: var(--lime); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 64px;
}
.brand-logo { width: 148px; height: 36px; object-fit: contain; }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
.nav-links { display: none; gap: 1rem; font-size: .9rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; padding: .75rem 1.1rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: -.01em; cursor: pointer; text-align: center;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: #f2ff43; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: rgba(233,255,0,.45); background: rgba(233,255,0,.06); }
.btn-wa { background: var(--wa); color: #04160a; }
.btn-wa:hover { background: #2ee072; }
.btn-full { width: 100%; }
.btn-sm { min-height: 42px; padding: .55rem .85rem; font-size: .9rem; }

.btn:focus-visible,
.faq-q:focus-visible,
.brand-card:focus-visible,
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 1rem 0 1.25rem;
  overflow: clip;
}
.hero-bg-cells {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-cells::before {
  content: "";
  position: absolute;
  top: -15%;
  left: 5%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, rgba(233, 255, 0, 0.12) 0%, rgba(26, 77, 46, 0.08) 45%, transparent 70%);
  filter: blur(48px);
}
.hero-bg-cells::after {
  content: "";
  position: absolute;
  top: 35%;
  right: -8%;
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: radial-gradient(circle, rgba(233, 255, 0, 0.08) 0%, rgba(37, 211, 102, 0.07) 50%, transparent 70%);
  filter: blur(56px);
}
.hero-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 15%, transparent 80%);
  opacity: 0.9;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid; gap: 1.25rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(233,255,0,.28);
  background: rgba(233,255,0,.08); color: var(--lime); font-size: .8rem; font-weight: 700;
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lime);
}
.hero h1 {
  font-size: clamp(1.85rem, 6vw, 3.1rem);
  line-height: 1.12; letter-spacing: -.03em; margin-bottom: .85rem; max-width: 16ch;
}
.hero-lead {
  color: var(--muted); font-size: 1.02rem; max-width: 42rem; margin-bottom: 1.15rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.trust-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
}
.trust-chip {
  display: flex; align-items: flex-start; gap: .4rem;
  padding: .65rem .7rem; border-radius: 12px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 600;
}
.trust-chip span:first-child { color: var(--lime); }
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  aspect-ratio: 4 / 3;
  max-height: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(233,255,0,.08);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(4,7,5,.75));
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile: hero image edge-to-edge full width */
@media (max-width: 899px) {
  .hero-grid > .hero-visual {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    max-height: none;
    aspect-ratio: 16 / 11;
  }
}

/* Media split + card images */
.split-media {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow), 0 0 28px rgba(233,255,0,.06);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233,255,0,.12), transparent 45%);
  pointer-events: none;
  z-index: 1;
}
.card-media {
  margin: -1.1rem -1.1rem .85rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a100c;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.has-media {
  padding-top: 0;
  overflow: hidden;
}
.problem-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(233,255,0,.1);
  border: 1px solid rgba(233,255,0,.22);
  color: var(--lime);
  font-size: 1.15rem;
  margin-bottom: .15rem;
}

/* Prose intent blocks */
.prose {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
}
.prose p + p { margin-top: .85rem; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }

.near-cta {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(233,255,0,.22);
  background: rgba(233,255,0,.05);
}
.near-cta h3 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

/* Sections + title watermark effects */
.section {
  padding: 3rem 0;
  position: relative;
  overflow: clip;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(233,255,0,.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }
.section-alt {
  background: rgba(255,255,255,.025);
  border-block: 1px solid var(--line);
}
.section-alt::before {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(233,255,0,.08), transparent 72%),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(37,211,102,.05), transparent 70%);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2rem;
  position: relative;
  padding-top: .75rem;
}
.section-head .watermark-bg-text {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: 0.12em;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
  line-height: 1;
}
.section-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lime);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .85rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(233,255,0,.28);
  background: rgba(233,255,0,.07);
  box-shadow: 0 0 18px rgba(233,255,0,.1);
}
.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulseDot 2.2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .45; }
}
.section-head h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .65rem;
}
.section-head p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40rem;
  margin-inline: auto;
}
@media (prefers-reduced-motion: reduce) {
  .section-tag-dot { animation: none; }
}

/* Booking form */
.booking-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--shadow);
}
.booking-card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.booking-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.form-grid { display: grid; gap: .85rem; }
.field label {
  display: block; font-size: .84rem; font-weight: 700; color: var(--muted); margin-bottom: .35rem;
}
.req { color: #ff8a8a; }
.field input, .field select {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: #0a100c; color: var(--text); padding: .7rem .85rem;
}
.field input:focus, .field select:focus {
  outline: 2px solid rgba(233,255,0,.45); outline-offset: 1px; border-color: rgba(233,255,0,.45);
}
.field input.error, .field select.error { border-color: #ff6b6b; }
.field .hint { display: none; color: #ff8a8a; font-size: .78rem; margin-top: .3rem; }
.field input.error + .hint, .field select.error + .hint { display: block; }
.form-note { color: var(--dim); font-size: .8rem; margin-top: .75rem; }
.success-banner {
  display: none; margin-top: .85rem; padding: .85rem 1rem; border-radius: 12px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: #7dffb4; font-weight: 600;
}
.success-banner.is-visible { display: block; }

/* Cards grids */
.card-grid {
  display: grid; gap: .85rem; grid-template-columns: 1fr;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; display: flex; flex-direction: column; gap: .55rem; height: 100%;
}
.card h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .92rem; }
.card .meta { color: var(--dim); font-size: .84rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .35rem; }
.problem-card.is-selected { border-color: rgba(233,255,0,.45); box-shadow: 0 0 0 1px rgba(233,255,0,.2); }

.brand-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.brand-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem; text-align: center; cursor: pointer; min-height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
}
.brand-card:hover, .brand-card.is-selected { border-color: rgba(233,255,0,.4); }
.brand-card .logo-plate {
  width: 100%; aspect-ratio: 3 / 1; max-height: 54px; background: #fff; border-radius: 8px;
  display: grid; place-items: center; overflow: hidden; padding: .35rem .5rem;
}
.brand-card .logo-plate img { max-height: 36px; width: auto; object-fit: contain; }
.brand-card strong { font-size: .9rem; color: var(--lime); }
.disclaimer { color: var(--dim); font-size: .82rem; margin-top: 1rem; }

.area-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.area-pill {
  padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--muted); font-size: .86rem; font-weight: 600;
}

.steps { display: grid; gap: .75rem; counter-reset: step; }
.steps-3 { counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--lime); color: var(--lime); font-weight: 800; font-size: .9rem;
}
.step h3 { font-size: 1rem; margin-bottom: .25rem; }
.step p { color: var(--muted); font-size: .9rem; }

.price-box {
  background: var(--card-2); border: 1px solid rgba(233,255,0,.22); border-radius: 16px; padding: 1.2rem;
}
.price-box ul { margin-top: .85rem; display: grid; gap: .45rem; }
.price-box li {
  position: relative; padding-left: 1.2rem; color: var(--muted); font-size: .95rem;
}
.price-box li::before {
  content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800;
}

.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.faq-item + .faq-item { margin-top: .65rem; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; color: var(--text);
  padding: 1rem 1.1rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer;
}
.faq-q .icon { color: var(--lime); font-size: 1.2rem; line-height: 1; }
.faq-a { display: none; padding: 0 1.1rem 1rem; color: var(--muted); font-size: .95rem; }
.faq-item.is-open .faq-a { display: block; }

.final-cta {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(4,7,5,.62), rgba(4,7,5,.88)),
    url("/washing-machine-repair-singapore/images/happy_customer_washer.png") center/cover no-repeat;
  border: 1px solid rgba(233,255,0,.22);
  border-radius: 18px;
  padding: 1.8rem 1.15rem;
  box-shadow: 0 0 40px rgba(233,255,0,.08);
}
.final-cta h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); margin-bottom: .55rem; }
.final-cta p { color: #d5ddd7; margin-bottom: 1rem; }

.site-footer {
  padding: 2.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); color: var(--dim); font-size: .86rem;
}
.footer-grid {
  display: grid; gap: 1.25rem; margin-bottom: 1.25rem;
}
.footer-grid h4 { color: var(--text); margin-bottom: .55rem; font-size: .95rem; }
.footer-grid a { color: var(--muted); display: block; padding: .2rem 0; }
.footer-grid a:hover { color: var(--lime); }
.footer-note {
  border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; color: var(--muted);
}
.footer-address {
  margin-top: .45rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Portfolio gallery */
.portfolio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.portfolio-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.portfolio-media,
button.portfolio-media {
  aspect-ratio: 16 / 10;
  background: #0a0f0c;
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
}
button.portfolio-media:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.portfolio-media img,
.portfolio-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
button.portfolio-media:hover img,
button.portfolio-media:hover video {
  transform: scale(1.04);
}
.portfolio-play {
  position: absolute;
  inset: auto auto 0.75rem 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(5,8,6,.82);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: .75rem;
  border: 1px solid rgba(233,255,0,.35);
  pointer-events: none;
}
.portfolio-card figcaption {
  padding: .85rem 1rem 1rem;
}
.portfolio-card figcaption strong {
  display: block;
  color: var(--text);
  margin-bottom: .25rem;
  font-size: .95rem;
}
.portfolio-card figcaption p {
  color: var(--muted);
  font-size: .85rem;
  margin: 0;
}
.portfolio-empty,
.reviews-empty {
  color: var(--muted);
  font-size: .95rem;
}

/* Location + map */
.location-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .location-grid { grid-template-columns: .9fr 1.1fr; gap: 1.5rem; }
}
.location-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  background: rgba(255,255,255,.03);
}
.location-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.1rem;
  color: var(--text);
}
.location-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}
.location-address {
  color: var(--text) !important;
  font-size: 1.05rem;
  font-weight: 700;
}
.location-map {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  background: #0a0f0c;
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

/* Portfolio lightbox */
body.lightbox-open { overflow: hidden; }
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.portfolio-lightbox[hidden] { display: none !important; }
.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
}
.portfolio-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.portfolio-lightbox-close {
  position: absolute;
  top: -0.35rem;
  right: -0.15rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5,8,6,.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.portfolio-lightbox-media {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  max-height: calc(100vh - 5.5rem);
}
.portfolio-lightbox-media img,
.portfolio-lightbox-media video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 5.5rem);
  height: auto;
  object-fit: contain;
  background: #000;
}
.portfolio-lightbox-title {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: 1.75rem;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  background: rgba(255,255,255,.03);
}
.review-stars {
  color: var(--lime);
  letter-spacing: .08em;
  margin-bottom: .55rem;
  font-size: .95rem;
}
.review-text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 .85rem;
}
.review-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: var(--muted);
  font-size: .85rem;
}
.review-card footer strong { color: var(--text); }

.review-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(233,255,0,.03);
  display: grid;
  gap: .85rem;
}
.review-form h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}
.review-form .form-row {
  display: grid;
  gap: .85rem;
}
@media (min-width: 720px) {
  .review-form .form-row { grid-template-columns: 1fr 1fr; }
}
.review-form label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .35rem;
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0f0c;
  color: var(--text);
  padding: .7rem .85rem;
  font: inherit;
}
.review-form textarea { min-height: 110px; resize: vertical; }
.form-msg {
  margin-top: .85rem;
  font-size: .92rem;
  padding: .75rem 1rem;
  border-radius: 10px;
}
.form-msg.is-ok {
  background: rgba(16,185,129,.12);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.35);
}
.form-msg.is-error {
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,.35);
}

/* Sticky mobile dock */
.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: .55rem;
  padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 8, 6, 0.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.mobile-dock .btn { min-height: 52px; font-size: 1rem; }
.mobile-dock .btn-wa { order: 0; }
.mobile-dock .btn-call { order: 1; }

/* Problem detail routing blocks */
.problem-picker {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.problem-pick {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-align: left;
  padding: .9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  min-height: 88px;
}
.problem-pick:hover, .problem-pick.is-selected {
  border-color: rgba(233,255,0,.45);
  box-shadow: 0 0 0 1px rgba(233,255,0,.18);
}
.problem-pick strong { font-size: .92rem; color: var(--lime); }
.problem-pick span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.fault-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  scroll-margin-top: 88px;
}
.fault-block h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  margin-bottom: .65rem;
  letter-spacing: -.02em;
}
.fault-block .cause-list {
  margin: .75rem 0 1rem;
  display: grid;
  gap: .4rem;
}
.fault-block .cause-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .92rem;
}
.fault-block .cause-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 800;
}
.safety-note {
  margin: .75rem 0 1rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,138,138,.25);
  background: rgba(255,90,90,.08);
  color: #ffb4b4;
  font-size: .86rem;
}

.brand-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  scroll-margin-top: 88px;
}
.brand-block h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  margin-bottom: .55rem;
}
.brand-block p { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }

.wa-fast-box {
  margin: 1rem 0;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(37,211,102,.35);
  background: rgba(37,211,102,.08);
}
.wa-fast-box h3 { margin-bottom: .4rem; font-size: 1.05rem; }
.wa-fast-box p { color: var(--muted); font-size: .9rem; margin-bottom: .85rem; }

@media (min-width: 640px) {
  .problem-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .problem-picker { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .hero-visual { max-height: 320px; }
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 2rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; }
  .hero-visual { display: block; max-height: none; aspect-ratio: 1 / 1; }
  .split-media { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .split-media.reverse { grid-template-columns: .95fr 1.05fr; }
  .split-media.reverse .media-frame { order: -1; }
  .card-grid.problems { grid-template-columns: repeat(2, 1fr); }
  .card-grid.services { grid-template-columns: repeat(3, 1fr); }
  .card-grid.why { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; text-align: center; }
  .step::before { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .mobile-dock { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
