/* ═══════════════════════════════════════════════════════════
   Toronto Mobile Mechanic Inc. — Premium dark automotive
   Fonts: Epilogue (display) + Outfit (body)
   Palette: near-black, warm orange, cream
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0e0e0e;
  --bg-card: #181818;
  --bg-elevated: #222222;
  --text: #f0ece4;
  --text-muted: #9a9590;
  --orange: #e8752a;
  --orange-glow: rgba(232, 117, 42, 0.25);
  --cream: #f0ece4;
  --font-display: 'Epilogue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 8px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 236, 228, 0.06);
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand span { color: var(--orange); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  min-height: 44px;
}

.nav-call:hover { background: #d46820; text-decoration: none; transform: scale(1.02); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(40%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 30%),
    linear-gradient(0deg, var(--bg) 0%, transparent 50%),
    linear-gradient(90deg, var(--bg) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(6rem, 15vh, 10rem) clamp(1.2rem, 4vw, 2.5rem) clamp(4rem, 10vh, 8rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 117, 42, 0.12);
  border: 1px solid rgba(232, 117, 42, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-h em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  min-height: 52px;
}

.btn-primary:hover { background: #d46820; text-decoration: none; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cream);
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(240, 236, 228, 0.2);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  min-height: 52px;
}

.btn-outline:hover { border-color: var(--orange); background: rgba(232, 117, 42, 0.06); text-decoration: none; }

/* ── STATS ── */
.stats {
  border-top: 1px solid rgba(240, 236, 228, 0.06);
  border-bottom: 1px solid rgba(240, 236, 228, 0.06);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.stat-value span { color: var(--orange); }

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── SECTIONS (shared) ── */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-h em {
  font-style: normal;
  color: var(--orange);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid rgba(240, 236, 228, 0.06);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  transition: border-color 0.3s;
}

.how-card:hover { border-color: rgba(232, 117, 42, 0.3); }
a.how-card-link { text-decoration: none; color: inherit; cursor: pointer; }
a.how-card-link:hover { border-color: var(--orange); }

.how-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.how-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.how-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── SERVICES ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
  border: 1px solid rgba(240, 236, 228, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.svc-card {
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background 0.3s;
}

.svc-card:hover { background: var(--bg-elevated); }

.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.svc-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── PHOTO BREAK ── */
.photo-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(240, 236, 228, 0.06);
}

.photo-break img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.photo-break img:hover { filter: grayscale(0%); }

/* ── TEAM ── */
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--cream);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.team-name em { font-style: normal; color: var(--orange); }

.team-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.team-pull {
  border-left: 3px solid var(--orange);
  padding-left: 1.2rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.team-pull-cite {
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── REVIEWS ── */
.reviews-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(240, 236, 228, 0.06);
  border-bottom: 1px solid rgba(240, 236, 228, 0.06);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg);
  border: 1px solid rgba(240, 236, 228, 0.06);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.review-card:hover { border-color: rgba(232, 117, 42, 0.2); }

.review-stars {
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}

.review-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cream);
}

/* ── CONTACT / SERVICE AREA ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-block { margin-bottom: 2rem; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.5;
}

.contact-value a { color: var(--cream); }
.contact-value a:hover { color: var(--orange); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(240, 236, 228, 0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) grayscale(30%);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(240, 236, 228, 0.06);
  font-size: 0.92rem;
}

.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--text-muted); }
.hours-list .time { color: var(--cream); font-weight: 500; }

/* ── FOOT CTA ── */
.foot-cta {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 2.5rem);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(232, 117, 42, 0.06) 100%);
}

.foot-cta-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1rem;
}

.foot-cta-h em { font-style: normal; color: var(--orange); }

.foot-cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-xl {
  padding: 1.2rem 2.8rem;
  font-size: 1.1rem;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid rgba(240, 236, 228, 0.06);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 4vw, 2.5rem);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
}

.footer-brand span { color: var(--orange); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--orange); }

.footer-fine {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ═══════════════════════════════════════
   RESPONSIVE — mobile first breakpoints
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr; }
  .team-photo img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { min-height: 280px; }
  .photo-break { grid-template-columns: 1fr; }
  .photo-break img { height: 240px; }
}

@media (max-width: 600px) {
  .nav-inner { height: 56px; }
  .nav-brand { font-size: 0.95rem; }
  .nav-status { display: none; }
  .hero { min-height: 80vh; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
