/* eFix Electronics Repair — concept by Beans Digital
   Clean-bench tech theme: ice white + electric blue + mint,
   rounded bento cards, circuit-dot motif.
   Derived from the business's identity: precision electronics repair
   with video-proof transparency. */

@view-transition { navigation: auto; }

:root {
  --bg: #f4f8fb;
  --card: #ffffff;
  --ink: #0d1b2a;
  --muted: #5a6b7d;
  --blue: #0b63f6;
  --blue-dark: #0848b4;
  --mint: #12c2a0;
  --mint-soft: #e2f8f2;
  --blue-soft: #e7effe;
  --line: #dbe5ee;
  --radius: 20px;
  --wrap: min(1100px, 100% - 2rem);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 99, 246, 0.07) 1px, transparent 0) 0 0 / 26px 26px,
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--ink);
  color: #cfe0f5;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 0.45rem 1rem;
  position: relative;
  z-index: 60;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  view-transition-name: logo;
}
.logo:hover { text-decoration: none; }
.logo .bolt {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.logo .e { color: var(--blue); }

.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
  border-radius: 8px;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.5rem 1.05rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }

.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-soft) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.07);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.3rem; }
.chip {
  background: var(--mint-soft);
  color: #0a7a63;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.chip.blue { background: var(--blue-soft); color: var(--blue-dark); }

.hero h1 .hl {
  background: linear-gradient(120deg, var(--blue), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { max-width: 36rem; color: var(--muted); margin-top: 1.1rem; font-size: 1.12rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(11, 99, 246, 0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.hero-rating { margin-top: 1.9rem; display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.stars { color: #f6a90b; letter-spacing: 0.08em; }

/* ---------- sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.8rem) 0; }

.kicker {
  color: var(--mint);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.6rem;
}
.kicker.blue { color: var(--blue); }

.section-head { margin-bottom: 2.2rem; max-width: 44rem; }
.section-head p { color: var(--muted); margin-top: 0.7rem; }

/* ---------- bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(13, 27, 42, 0.09);
  border-color: var(--blue);
}
.tile .ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
}
.tile.mint .ico { background: var(--mint-soft); color: #0a7a63; }
.tile h3 { margin-bottom: 0.45rem; }
.tile p { color: var(--muted); font-size: 0.96rem; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tile .tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 0; position: relative; max-width: 42rem; }
.t-step {
  position: relative;
  padding: 0 0 1.8rem 2.4rem;
}
.t-step::before {
  content: "";
  position: absolute;
  left: 10px; top: 26px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.t-step:last-child::before { display: none; }
.t-step .dot {
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  border: 5px solid var(--mint-soft);
}
.t-step h3 { margin-bottom: 0.3rem; }
.t-step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  position: relative;
}
.review::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--mint);
  display: block;
  margin-bottom: 0.2rem;
}
.review p { font-size: 0.97rem; }
.review .src { color: var(--muted); font-size: 0.8rem; margin-top: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.hours-table th { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
.hours-table td:last-child { color: var(--blue-dark); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  align-items: start;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  margin-bottom: 1.1rem;
}
.contact-card h3 { color: var(--blue); margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); }
.contact-card a.big { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%;
  height: 380px;
}

/* ---------- CTA strip ---------- */
.cta-strip { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.cta-card {
  background: linear-gradient(135deg, var(--ink), #15314d);
  color: #eaf2fb;
  border-radius: calc(var(--radius) * 1.4);
  text-align: center;
  padding: clamp(2.2rem, 6vw, 4rem) 1.5rem;
}
.cta-card h2 { color: #fff; }
.cta-card p { color: #a9c0d8; max-width: 32rem; margin: 0.9rem auto 1.7rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 5.5rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h3 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.7rem; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-legal {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

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

/* ---------- mobile ---------- */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.4rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .map-frame { height: 300px; }
}
