/* One Stop — iExpert-inspired dark space theme */

:root {
  --bg: #04162a;
  --bg-2: #071d36;
  --bg-card: rgba(255, 255, 255, .04);
  --bg-card-strong: rgba(12, 36, 68, .72);
  --line: rgba(125, 180, 255, .16);
  --text: #e8f1ff;
  --muted: #9bb4d4;
  --cyan: #4de2ff;
  --blue: #3a8bff;
  --accent: #ff7a1a;
  --accent-2: #ff9a4d;
  --wa: #25d366;
  --ok: #5eead4;
  --danger: #ff7b72;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 18px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; color: #fff; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 9999; }
.skip:focus { left: 1rem; top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.45em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; line-height: 1.1; cursor: pointer;
  text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap; max-width: 100%;
}
.btn:hover { transform: translateY(-2px); }
.btn-glow {
  color: #04162a;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 1px rgba(77, 226, 255, .25), 0 10px 40px rgba(58, 139, 255, .35);
}
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(77, 226, 255, .4), 0 14px 48px rgba(58, 139, 255, .5); }
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-accent {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(255, 122, 26, .3);
}
.btn-wa { color: #fff; background: var(--wa); box-shadow: 0 10px 28px rgba(37, 211, 102, .28); }
.btn-sm { padding: .65em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(4, 22, 42, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(4, 22, 42, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.1;
  text-decoration: none !important;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 24px rgba(77, 226, 255, .35);
}
.logo-mark .icon { width: 20px; height: 20px; }
.logo small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }

.nav > ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav a, .nav button.nav-link {
  appearance: none; background: none; border: 0; font: inherit;
  color: var(--muted); font-weight: 600; font-size: .92rem;
  padding: .55rem .8rem; border-radius: 999px; cursor: pointer;
}
.nav a:hover, .nav button.nav-link:hover,
.nav a.is-active, .nav button.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.nav .btn { margin-left: .5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(4, 22, 42, .97);
    padding: calc(var(--header-h) + 1rem) 1.25rem 5rem;
    transform: translateX(100%);
    visibility: hidden; pointer-events: none;
    transition: transform .28s ease, visibility .28s;
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; visibility: visible; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .35rem; }
  .nav a, .nav button.nav-link { font-size: 1.1rem; padding: .95rem 1rem; text-align: left; }
  .nav .btn { margin: 1rem 0 0; width: 100%; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse at 70% 40%, rgba(58, 139, 255, .28), transparent 55%),
              radial-gradient(ellipse at 20% 60%, rgba(77, 226, 255, .12), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
  width: min(100% - 2rem, var(--container)); margin-inline: auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.hero h1 .soft { color: #9fd0ff; font-weight: 700; }
.hero .lead { font-size: clamp(1rem, 2vw, 1.15rem); max-width: 34rem; color: #c5d7ef; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.trust-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.trust-pills span {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-size: .82rem; font-weight: 600; color: #d7e6fb;
}
.hero-grid--phone-right .hero-phone-spacer { min-height: 1px; }
.about-layout {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items: center;
}
.about-phone-spacer { min-height: 360px; }
#about.section { padding-block: clamp(3rem, 6vw, 5rem); }

/* Repair: copy on top, phone band below — keep height tight so it doesn’t feel empty */
.section-repair {
  background: transparent !important;
  padding-top: calc(var(--header-h) + 0.25rem);
  padding-bottom: 1rem;
  min-height: auto;
}
.repair-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: min(88vh, 760px);
}
.repair-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  padding: .35rem 1rem .5rem;
  flex: 0 0 auto;
  text-align: center;
  pointer-events: none;
}
.repair-copy h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  margin-bottom: .3em;
}
.repair-copy p {
  margin: 0;
  font-size: .95rem;
  max-width: 42ch;
  margin-inline: auto;
}
.repair-phone-spacer {
  flex: 1 1 auto;
  width: 100%;
  min-height: min(58vh, 520px);
  pointer-events: none;
}

/* Full-viewport WebGL stage (scroll-driven like iExpert) */
#phone-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* DOM content stays clickable; JS raycasts for phone drag */
  cursor: default;
  transition: opacity .45s ease, visibility .45s ease;
}
#phone-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
/* After the phone flies out, hide the stage so later sections aren’t covered */
body.phone-gone #phone-canvas {
  opacity: 0;
  visibility: hidden;
}
.canvas-hint {
  position: fixed;
  right: max(2vw, calc((100vw - var(--container)) / 2));
  bottom: 8vh;
  z-index: 3;
  width: min(42vw, 420px);
  margin: 0;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  pointer-events: none;
  transition: opacity .35s ease;
}
body.phone-gone .canvas-hint { opacity: 0; }
body.phone-repair .canvas-hint {
  right: 50%;
  transform: translateX(50%);
  bottom: 5vh;
  width: min(90vw, 420px);
}

/* Content sits above the 3D stage; keep early sections translucent so the phone shows through */
.site-header { z-index: 20; }
main { position: relative; z-index: 2; }
.hero,
.section,
.marquee,
.site-footer {
  background: transparent;
}
.section-alt {
  background: linear-gradient(180deg, rgba(4, 22, 42, .72), rgba(4, 22, 42, .55));
}
.hero-grid,
.about-layout,
.repair-copy,
.section-head,
.card,
.trust-pills,
.hero-cta,
.stats,
.steps,
.faq,
.brands-block,
.areas-block,
.reviews-block,
.grid,
.tags,
.brands {
  position: relative;
  z-index: 4;
}

.scroll-cue {
  position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 48px; margin-top: .8rem;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 50% { opacity: .35; transform: translateY(6px); } }

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  overflow: hidden; white-space: nowrap;
  padding: .9rem 0;
}
.marquee-track {
  display: inline-flex; gap: 2rem; min-width: 100%;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-weight: 700; color: #b7cce8; font-size: .95rem;
}
.marquee span::before { content: "✦"; color: var(--cyan); margin-right: .75rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* Always visible — never leave sections looking empty if JS/observer misses */
.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Cards / grids */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: rgba(8, 32, 58, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
  z-index: 4;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 226, 255, .35);
  background: rgba(77, 226, 255, .05);
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: .8rem; }
.card-ic {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(58, 139, 255, .35), rgba(77, 226, 255, .2));
  color: var(--cyan); border: 1px solid var(--line);
}
.card-ic .icon { width: 22px; height: 22px; }
.card-link { font-weight: 700; color: var(--cyan); display: inline-flex; align-items: center; gap: .35em; }
.card-link::after { content: ""; position: absolute; inset: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 2rem;
}
.stat {
  padding: 1.3rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-card);
  text-align: center;
}
.stat strong {
  display: block; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff; line-height: 1.1; margin-bottom: .25rem;
}
.stat strong .cyan { color: var(--cyan); }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  padding: 1.7rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-card); text-align: center;
}
.step .num {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--cyan);
  border: 1px solid rgba(77, 226, 255, .4);
  background: rgba(77, 226, 255, .08);
}
.step .num .icon { width: 24px; height: 24px; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--cyan); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Areas */
.areas-block,
.brands-block,
.reviews-block {
  margin-top: 2.5rem;
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(8, 32, 58, .94), rgba(4, 18, 36, .92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}
.areas-block .section-head,
.brands-block .section-head,
.reviews-block .section-head { margin-bottom: 1.25rem; }
.areas-block .section-head p,
.brands-block .section-head p,
.reviews-block .section-head p { margin-bottom: 0; }
.brand-groups { display: grid; gap: 1.25rem; }
.brand-group h4 {
  margin: 0 0 .65rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.tags li {
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid rgba(77, 226, 255, .22);
  background: rgba(20, 56, 96, .9);
  font-size: .9rem; font-weight: 600; color: #e8f1ff;
  display: inline-flex; align-items: center; gap: .4em;
}
.tags .icon { width: 1em; height: 1em; color: var(--cyan); }
.areas-note {
  margin: 1.1rem 0 0;
  font-size: .95rem;
  color: var(--muted);
}
.areas-note a { font-weight: 700; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; gap: .55rem; }
.brand {
  display: inline-flex; align-items: center;
  padding: .65rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(77, 226, 255, .28);
  background: rgba(20, 56, 96, .95);
  font-weight: 800; color: #fff; font-size: .92rem;
}

/* Reviews */
.reviews-score {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .75rem 1.25rem; margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, .25);
  background: rgba(251, 191, 36, .06);
}
.reviews-score strong {
  font-size: 2rem; line-height: 1; color: #fff;
}
.reviews-score .stars { margin: 0; }
.reviews-score span { color: var(--muted); font-weight: 600; font-size: .95rem; }
.review {
  padding: 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-card-strong);
  height: 100%;
  margin: 0;
}
.stars { display: flex; gap: 2px; color: #fbbf24; margin-bottom: .8rem; }
.stars .icon { width: 16px; height: 16px; }
.review blockquote { margin: 0 0 1rem; color: #dce8f8; line-height: 1.55; }
.review cite { font-style: normal; font-weight: 700; color: #fff; }
.review cite span { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.reviews-cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-card); padding: 0 1.2rem;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 700; color: #fff; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 1.4rem; font-weight: 400;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 1.1rem; }

/* Contact / form */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 1rem; margin: 1.2rem 0 1.5rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(77, 226, 255, .08); border: 1px solid var(--line);
}
.contact-list strong { display: block; color: #fff; }
.contact-list a, .contact-list span { color: var(--muted); }

.form-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 48, 88, .65), rgba(7, 29, 54, .85));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; color: #fff; margin-bottom: .35rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: #fff;
  padding: .85rem .95rem; border-radius: 12px;
  border: 1px solid rgba(125, 180, 255, .22);
  background: rgba(4, 22, 42, .55);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(77, 226, 255, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #7f98b8; }
.field select option { color: #04162a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.alert { padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; }
.alert-error { background: rgba(255, 123, 114, .12); color: #ffb4ae; border: 1px solid rgba(255, 123, 114, .35); }
.alert[hidden] { display: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 6rem;
  background: #03101f;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: .9rem; }
.site-footer a { color: #b7cce8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer .logo { margin-bottom: .8rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: var(--muted);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp / mobile bar */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--wa);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
}
.wa-float .icon { width: 28px; height: 28px; }
.mobile-bar { display: none; }

@media (max-width: 820px) {
  /* Text first, reserved phone band below — never overlap */
  .hero-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-grid--phone-right .hero-phone-spacer {
    order: 2;
    min-height: min(46vh, 400px);
    margin-top: 0.35rem;
  }
  .hero-grid > .reveal { order: 1; z-index: 3; }
  .about-layout { grid-template-columns: 1fr; gap: 1rem; }
  .about-phone-spacer {
    order: 2;
    min-height: min(42vh, 360px);
  }
  .about-copy { order: 1; z-index: 3; }
  .repair-layout { min-height: min(80vh, 680px); }
  .repair-phone-spacer { min-height: min(52vh, 440px); }
  .repair-copy h2 { font-size: 1.35rem; }
  #about.section,
  #doorstep.section,
  #reviews.section,
  #faq.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
  .canvas-hint {
    right: 50%;
    left: auto;
    transform: translateX(50%);
    width: min(78vw, 340px);
    bottom: 4vh;
    font-size: .75rem;
  }
  .scroll-cue { display: none; }
  .hero {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 1rem;
    min-height: auto;
    align-items: flex-start;
  }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .hero .lead { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .hero-cta { margin: 1rem 0 0.85rem; }
  .trust-pills { gap: 0.45rem; }
  .trust-pills span:nth-child(n+3) { display: none; }
}

@media (max-width: 620px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; white-space: normal; }
  .hero-grid--phone-right .hero-phone-spacer { min-height: min(44vh, 360px); }
  .about-phone-spacer { min-height: min(40vh, 320px); }
  .repair-layout { min-height: min(78vh, 640px); }
  .repair-phone-spacer { min-height: min(50vh, 400px); }
}

@media (max-width: 560px) {
  .wa-float { display: none; }
  .canvas-hint { bottom: 4.8rem; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(4, 22, 42, .96); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
    backdrop-filter: blur(10px);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: .55rem 0 .6rem; font-size: .75rem; font-weight: 700; color: #d7e6fb;
    text-decoration: none;
  }
  .mobile-bar a.wa { color: #7dffa8; }
  .mobile-bar a.book { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; }
  .mobile-bar .icon { width: 20px; height: 20px; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue::after { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
