/* Tech Care — phone repair & hobby shop
   Vanilla CSS, mobile-first, no external deps */

:root {
  --blue: #1a3a8e;
  --blue-deep: #0d1d4a;
  --yellow: #ffd60a;
  --yellow-soft: #fff4b3;
  --ink: #0f1422;
  --text: #1f2333;
  --muted: #5b6172;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --border: #e6e8ef;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 6px 30px rgba(15, 20, 34, 0.08);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 22px; letter-spacing: 0.5px;
  color: var(--blue); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.bolt { width: 22px; height: 28px; fill: var(--yellow); filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15)); }
.brand-text { display: inline-flex; align-items: center; gap: 4px; }
.brand-sep { display: inline-block; width: 4px; }

.site-nav { display: none; gap: 24px; }
.site-nav a {
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--yellow); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}
.btn-primary:hover { background: #ffe34a; text-decoration: none; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); text-decoration: none; }
.btn-call {
  background: var(--blue); color: #fff; border-color: var(--blue);
  padding: 10px 14px; font-size: 14px;
}
.btn-call:hover { background: var(--blue-deep); text-decoration: none; }
.btn-call-num { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("/images/storefront.jpg");
  background-size: cover; background-position: center;
  filter: saturate(105%);
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,29,74,0.35) 0%, rgba(13,29,74,0.55) 50%, rgba(13,29,74,0.85) 100%),
    radial-gradient(80% 60% at 20% 30%, rgba(255,214,10,0.20), transparent 60%);
  z-index: -1;
}
.hero-inner { padding: 80px 20px 70px; }
.eyebrow {
  display: inline-block;
  background: var(--yellow); color: var(--ink);
  padding: 4px 12px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0 0 16px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 .amp { color: var(--yellow); }
.lede {
  margin: 0 0 28px;
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 620px;
  color: #f1f3ff;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-addr { margin: 0; font-size: 14px; color: #d8def0; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  margin: 0 0 36px;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.section-title::after {
  content: ""; display: block;
  width: 56px; height: 4px; margin-top: 12px;
  background: var(--yellow); border-radius: 4px;
}

/* ---------- cards ---------- */
.cards {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
}
.card-tag {
  display: inline-block;
  background: var(--blue); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-repair .card-tag { background: var(--ink); }
.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--ink);
  font-weight: 800;
}
.card p { margin: 0 0 16px; color: var(--text); }
.bullets {
  margin: 0; padding: 0; list-style: none;
}
.bullets li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.bullets li:first-child { border-top: none; padding-top: 0; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--yellow);
  clip-path: polygon(55% 0, 0 60%, 35% 60%, 25% 100%, 100% 35%, 65% 35%);
}
.bullets li:first-child::before { top: 6px; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.visit-info .section-title { margin-bottom: 24px; }
.info-block { margin-bottom: 22px; }
.info-block h3 {
  margin: 0 0 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 800;
}
.info-block p { margin: 0; font-size: 17px; }
.hours {
  border-collapse: collapse;
  font-size: 16px;
}
.hours th, .hours td {
  padding: 6px 16px 6px 0;
  text-align: left;
  font-weight: 500;
}
.hours th { color: var(--ink); font-weight: 700; width: 130px; }

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  min-height: 360px;
  box-shadow: var(--shadow);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: #cdd4ee;
  padding: 40px 0 28px;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 800;
}
.foot-brand .bolt { fill: var(--yellow); }
.foot-meta {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-size: 14px;
}
.foot-meta a { color: #fff; }
.copyright { margin: 12px 0 0; font-size: 13px; color: #8a93b8; }

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .btn-call-num { display: inline; }
  .btn-call-label { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 880px) {
  .site-nav { display: flex; }
  .hero-inner { padding: 110px 20px 90px; }
}
@media (min-width: 980px) {
  .visit-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .visit-map { min-height: 480px; }
  .visit-map iframe { min-height: 480px; }
}

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