﻿/* ═══════════════════════════════════════════════════════════
   GEN-PHASE ELECTRICAL INC. — COMBINED STYLESHEET
   Original Home & Overview | New Header, Services & Contact
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Montserrat:wght@300;400;600;700&display=swap');

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --bg:           #000000;
  --surface:      #070707;
  --card:         #0d0d0d;
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.18);
  --accent:       #00a0e0;
  --accent-glow:  rgba(0, 160, 224, 0.13);
  --accent-mid:   rgba(0, 160, 224, 0.35);
  --white:        #ffffff;
  --grey-1:       #cccccc;
  --grey-2:       #888888;
  --grey-3:       #3a3a3a;
  --header-h:     76px;
  --r:            4px;
  --ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io:      cubic-bezier(0.4, 0, 0.2, 1);
  --t:            0.4s var(--ease);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Inter', sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   NEW HEADER & NAVIGATION
═══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(22px, 6vw, 80px);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  flex-shrink: 0;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
}
.logo-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #ffffff;
}
.logo-secondary {
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--grey-2);
  margin-top: 3px;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: #ffffff; }
.nav-link.active::after,
.nav-link:hover::after { width: 100%; }

/* Header CTA pill */
.header-cta {
  margin-left: 10px;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  color: #ffffff;
  transition: var(--t);
  flex-shrink: 0;
}
.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 26px;
  padding: 3px 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: #ffffff;
  transition: var(--t);
  transform-origin: center;
}
.burger.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:last-child  { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-io);
  z-index: 999;
}
.mobile-menu.open { max-height: 360px; }
.mobile-link {
  display: block;
  padding: 18px clamp(22px, 6vw, 80px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:hover,
.mobile-link.active { color: #ffffff; }
.mobile-link.mobile-cta {
  color: var(--accent);
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   ORIGINAL TAB STRUCTURE (Home & Overview rely on these)
═══════════════════════════════════════════════════════════ */
.tab-content {
  display: none;
  width: 100%;
  min-height: 100vh;
  padding: 120px 10% 80px 10%;
  background-color: #050505;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.tab-content.active {
  display: flex;
  align-items: center;
  animation: fadeIn 0.6s forwards;
}
.scrollable-section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Breathing background (original hero effect) */
@keyframes breathingBackground {
  0%   { background-size: 100%; }
  100% { background-size: 108%; }
}
.hero-section {
  animation: breathingBackground 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Original backgrounds ── */
.home-bg {
  background-image:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
    url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1920&q=80');
}
.alt-bg-1 {
  background-image:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1920&q=80');
}

/* ═══════════════════════════════════════════════════════════
   ORIGINAL LAYOUT UTILITIES (Home & Overview)
═══════════════════════════════════════════════════════════ */
.section-inner {
  max-width: 850px;
  z-index: 10;
  margin: 0 auto;
}
.full-width-inner { max-width: 1000px; }
.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.text-left { text-align: left; }
.mt-40 { margin-top: 40px; }
.pt-40 { padding-top: 40px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.section-divider {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 60px 0;
}

/* ── Full-section wrapper for new sections ── */
.full-section-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   ORIGINAL TYPOGRAPHY (Home & Overview)
═══════════════════════════════════════════════════════════ */
.pre-title {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: #e0e0e0;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.main-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  line-height: 1.1;
  text-transform: uppercase;
}
.section-desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #dcdcdc;
  margin-bottom: 35px;
}

/* ── New typography (Services & Contact) ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.body-copy {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--grey-2);
  max-width: 54ch;
}

/* ═══════════════════════════════════════════════════════════
   ORIGINAL BUTTONS (Home & Overview)
═══════════════════════════════════════════════════════════ */
.spacex-btn {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}
.spacex-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #ffffff;
  transform: translateX(-101%);
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}
.spacex-btn:hover {
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}
.spacex-btn:hover::before { transform: translateX(0); }
.highlight-btn { border-color: #00a0e0; color: #ffffff; }
.highlight-btn::before { background-color: #00a0e0; }
.highlight-btn:hover { color: #000000; box-shadow: 0 10px 30px rgba(0, 160, 224, 0.2); }

/* ── New buttons (Services & Contact) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: var(--t);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn--solid {
  background: var(--accent);
  color: #000;
  border: 1px solid transparent;
}
.btn--solid:hover {
  background: #11b8ff;
  box-shadow: 0 8px 28px rgba(0, 160, 224, 0.3);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-hover);
}
.btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════════════════════════
   ORIGINAL COMPONENTS (Overview page)
═══════════════════════════════════════════════════════════ */
.vision-mission-box {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}
.box-item {
  flex: 1;
  border-left: 2px solid #00a0e0;
  padding-left: 20px;
}
.box-item h3 {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.box-item p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #b0b0b0;
  font-weight: 300;
}
.spacex-quote {
  font-style: italic;
  border-left: 3px solid #ffffff;
  padding-left: 20px;
  font-size: 1.15rem;
  color: #e0e0e0;
  font-weight: 300;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   NEW SERVICES — Card Grid
═══════════════════════════════════════════════════════════ */
/* Extra breathing room inside scrollable section */
#services .full-section-wrap { padding-top: 20px; padding-bottom: 60px; }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 44px;
  margin-bottom: 88px;
}
.srv-card {
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background 0.3s;
}
.srv-card:hover { background: var(--card); }

.srv-img {
  width: 100%;
  height: 215px;
  background-size: cover;
  background-position: center;
  background-color: #111111;
  overflow: hidden;
  position: relative;
  transition: transform 0.65s var(--ease);
}
.srv-card:hover .srv-img { transform: scale(1.05); }

.srv-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.75) 100%);
}
.srv-body { padding: 26px 28px 30px; }

.srv-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.srv-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 0.2s;
}
.srv-card:hover .srv-title { color: var(--accent); }

.srv-desc {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--grey-2);
  margin-bottom: 18px;
}
.srv-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.3s var(--ease);
}
.srv-arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.srv-card:hover .srv-link { color: #ffffff; gap: 12px; }
.srv-card:hover .srv-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   NEW SERVICES — Repairs Division
═══════════════════════════════════════════════════════════ */
.repairs { border-top: 1px solid var(--border); padding-top: 72px; }
.repairs-head { margin-bottom: 44px; }
.repairs-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}
.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cccccc;
  background: rgba(255,255,255,0.03);
}
.badge--blue {
  border-color: var(--accent-mid);
  color: var(--accent);
  background: var(--accent-glow);
}
.repairs-left .body-copy { margin-bottom: 32px; }

.rlist { margin-bottom: 40px; }
.rlist li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rlist li:first-child { border-top: 1px solid var(--border); }
.rlist strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
}
.rlist span {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--grey-2);
  line-height: 1.65;
}
.rphoto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rphoto {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: #111111;
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.rphoto:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   NEW CONTACT
═══════════════════════════════════════════════════════════ */
#contact.tab-content { background-color: #050505; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 8px;
}
.contact-card {
  background: var(--surface);
  padding: 46px 42px;
}
.cc-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.cc-row:first-child { border-top: 1px solid var(--border); }
.cc-icon {
  font-size: 1.1rem;
  color: var(--accent);
  min-width: 28px;
  margin-top: 2px;
}
.cc-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 6px;
}
.cc-val {
  font-size: 1.05rem;
  font-weight: 400;
  color: #ffffff;
  transition: color 0.2s;
}
.cc-val:hover { color: var(--accent); }
.cc-actions {
  display: flex;
  gap: 14px;
  padding-top: 32px;
  flex-wrap: wrap;
}

/* Brand card */
.brand-card {
  background: var(--surface);
  padding: 60px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bc-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.bc-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}
.bc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  position: relative;
}
.bc-sub {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--grey-2);
  margin-top: 4px;
  position: relative;
}
.bc-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin: 26px auto;
  position: relative;
}
.bc-tagline {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 8px;
  position: relative;
}
.bc-loc {
  font-size: 0.65rem;
  color: var(--grey-3);
  letter-spacing: 0.07em;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.87);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.modal--active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 48px;
  position: relative;
  border-radius: var(--r);
  transform: translateY(28px);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  scrollbar-width: thin;
  scrollbar-color: var(--grey-3) transparent;
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: var(--grey-3); border-radius: 2px; }
.modal.modal--active .modal-box { transform: translateY(0); }

.m-close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 1.1rem;
  color: var(--grey-2);
  transition: color 0.2s, transform 0.25s;
  line-height: 1;
  padding: 8px;
  z-index: 1;
  cursor: pointer;
}
.m-close:hover { color: #ffffff; transform: rotate(90deg); }

.m-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.m-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
}
.m-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: #00a0e0;
}
.m-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--grey-1);
  letter-spacing: 0.04em;
}
.m-intro {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--grey-2);
  margin-bottom: 28px;
}

/* Modal body: 2-col */
.m-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.m-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-list li:first-child { border-top: 1px solid var(--border); }
.m-list strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 9px;
}
.m-list strong::before {
  content: '→';
  color: var(--accent);
  font-size: 0.85rem;
}
.m-list span {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--grey-2);
  line-height: 1.72;
  padding-left: 18px;
}
.m-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-img {
  flex: 1;
  min-height: 138px;
  background-size: cover;
  background-position: center;
  background-color: #111111;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.m-footer {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (supports both .revealed and .is-visible)
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.revealed,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }

/* Stagger service cards */
.srv-grid .srv-card:nth-child(2) .reveal { transition-delay: 0.08s; }
.srv-grid .srv-card:nth-child(3) .reveal { transition-delay: 0.16s; }
.srv-grid .srv-card:nth-child(4) .reveal { transition-delay: 0.04s; }
.srv-grid .srv-card:nth-child(5) .reveal { transition-delay: 0.12s; }
.srv-grid .srv-card:nth-child(6) .reveal { transition-delay: 0.20s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-section { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1100px) {
  .srv-grid      { grid-template-columns: repeat(2, 1fr); }
  .repairs-body  { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .brand-card    { padding: 44px; }
  .m-body        { grid-template-columns: 1fr; }
  .m-gallery     { flex-direction: row; }
  .m-img         { min-height: 160px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav        { display: none; }
  .header-cta { display: none; }
  .burger     { display: flex; }

  /* Tab content */
  .tab-content { padding: 100px 6% 60px 6%; }

  /* Original typography */
  .main-title { font-size: 2.2rem; }
  .vision-mission-box { flex-direction: column; }

  /* New typography */
  .section-title { font-size: 2rem; }

  /* Services */
  .srv-grid { grid-template-columns: 1fr; }
  .srv-img  { height: 195px; }

  /* Repairs */
  .repairs-body  { grid-template-columns: 1fr; gap: 32px; }
  .rphoto-grid   { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid  { background: none; border: none; gap: 0; }
  .contact-card  { border: 1px solid var(--border); padding: 28px 22px; }
  .brand-card    { display: none; }
  .cc-actions    { flex-direction: column; }

  /* Modals */
  .modal-box { padding: 28px 22px; }
  .m-body    { grid-template-columns: 1fr; }
  .m-gallery { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
  .main-title   { font-size: 1.8rem; }
  .section-title { font-size: 1.7rem; }
  .badge-row    { flex-direction: column; align-items: flex-start; }
}
