/* Smart Fix Mobile — concept by Beans Digital
   Palette: midnight workshop black, signal lime, repair cyan.
   Type: Space Grotesk (display) + IBM Plex Mono (labels/body accents). */

@view-transition { navigation: auto; }

:root {
  --bg: #0B0E13;
  --bg-raise: #121722;
  --line: #222B3A;
  --lime: #C6F23A;
  --lime-dim: #8FB32A;
  --cyan: #3FD3DC;
  --text: #E8ECF3;
  --muted: #94A0B4;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 100%;
  opacity: 0.16;
  z-index: 0;
}

main, header, footer, .concept-banner, .ticker { position: relative; z-index: 1; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); }

::selection { background: var(--lime); color: #0B0E13; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--lime);
  color: #0B0E13;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
  padding: 0.45rem 1rem;
  font-weight: 600;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 19, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  view-transition-name: sfm-logo;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--lime);
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.logo-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav { display: flex; align-items: center; gap: 0.2rem; }
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { color: var(--lime); }
.main-nav a[aria-current="page"] { color: var(--lime); border-color: var(--lime); }
.main-nav a.nav-cta {
  background: var(--lime);
  color: #0B0E13;
  font-weight: 700;
  margin-left: 0.4rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.main-nav a.nav-cta:hover { background: var(--cyan); color: #0B0E13; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-raise);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding: 0.55rem 1.6rem;
  white-space: nowrap;
}
.ticker span b { color: var(--lime); font-weight: 600; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- hero ---------- */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.2rem 1.25rem 3.4rem;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}
.hero-tag::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--lime);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
  margin-bottom: 1.3rem;
}
.hero h1 .accent { color: var(--lime); }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
}
.hero p.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: #0B0E13; }
.btn-lime:hover { background: var(--cyan); }
.btn-outline {
  border: 1px solid var(--cyan);
  color: var(--cyan);
  clip-path: none;
}
.btn-outline:hover { background: var(--cyan); color: #0B0E13; }

/* ---------- sections ---------- */
section { padding: 3.6rem 1.25rem; }
.wrap { max-width: 1120px; margin: 0 auto; }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.kicker::before { content: "// "; color: var(--lime); }
h2.title {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-bottom: 1rem;
  max-width: 24ch;
}
.intro { color: var(--muted); max-width: 54ch; margin-bottom: 2.2rem; }

/* stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border: 1px solid var(--line);
  background: var(--bg-raise);
}
.stat {
  padding: 1.7rem 1.4rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* service rows */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.service-row:hover { background: var(--bg-raise); padding-left: 1rem; }
.service-row .num {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.85rem;
}
.service-row h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.service-row p { color: var(--muted); font-size: 0.93rem; max-width: 60ch; }
.service-row .arrow { color: var(--lime); font-size: 1.4rem; }

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: 1.8rem 1.5rem;
  transition: background 0.25s ease;
}
.card:hover { background: var(--bg-raise); }
.card .card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.card h3 span { color: var(--lime); }
.card p { color: var(--muted); font-size: 0.92rem; }

/* review strip */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.review {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  padding: 1.4rem 1.3rem;
}
.review .stars { color: var(--lime); letter-spacing: 0.2em; margin-bottom: 0.6rem; }
.review p { font-size: 0.95rem; color: var(--text); }
.review .src {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* hours table */
.hours-table {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  font-size: 0.95rem;
}
.hours-table th, .hours-table td {
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.hours-table th { font-family: var(--font-mono); font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.hours-table td { text-align: right; color: var(--lime); font-weight: 700; }

/* CTA band */
.cta-band {
  border: 1px solid var(--lime);
  background: linear-gradient(120deg, rgba(198, 242, 58, 0.08), rgba(63, 211, 220, 0.07));
  padding: 2.8rem 1.6rem;
  text-align: left;
  display: grid;
  gap: 1.2rem;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; max-width: 22ch; }
.cta-band p { color: var(--muted); max-width: 52ch; }

/* visit */
.map-frame {
  border: 1px solid var(--line);
  width: 100%;
  height: 380px;
  filter: grayscale(0.2);
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  align-items: start;
}
.contact-lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-line {
  background: var(--bg-raise);
  padding: 1.15rem 1.3rem;
}
.contact-line .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-line a { color: var(--text); font-weight: 700; text-decoration-color: var(--lime); }

/* page hero */
.page-hero { max-width: 1120px; margin: 0 auto; padding: 3.4rem 1.25rem 0.6rem; }
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 1rem;
}
.page-hero h1 .accent { color: var(--lime); }
.page-hero p { color: var(--muted); max-width: 52ch; }

/* note */
.note {
  border-left: 3px solid var(--cyan);
  background: var(--bg-raise);
  padding: 1rem 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 760px;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 2.8rem 1.25rem 1.6rem;
  background: var(--bg-raise);
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.site-footer p { color: var(--muted); font-size: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.92rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-legal {
  max-width: 1120px;
  margin: 2.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #04240f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.4), 0 14px 32px -12px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-tag::before { animation: none; }
  .btn, .wa-float, .service-row, .card { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0.3rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; padding: 0.75rem; border: 1px solid var(--line); }
  .hero { padding: 3rem 1.25rem 2.6rem; }
  section { padding: 2.7rem 1.25rem; }
  .service-row { grid-template-columns: auto 1fr; }
  .service-row .arrow { display: none; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.85rem; }
}
