/* =============================================
   TENNYSON AUTO REPAIR — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --red: #cc1f1f;
  --red-dark: #a31818;
  --red-glow: rgba(204, 31, 31, 0.15);
  --black: #0a0a0a;
  --dark: #111111;
  --dark-card: #1a1a1a;
  --dark-border: #2a2a2a;
  --silver: #9ca3af;
  --silver-light: #c8cdd6;
  --white: #ffffff;
  --light: #f5f5f5;
  --light-card: #fafafa;
  --text-muted: #6b7280;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-red: 0 4px 20px rgba(204,31,31,0.25);
  --transition: all 0.3s ease;
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: #1a1a1a;
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title.light { color: var(--white); }
.section-title.dark { color: var(--dark); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 600px;
}
.section-subtitle.light { color: var(--silver-light); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(204,31,31,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark-border);
}
.btn-dark:hover {
  background: var(--dark-card);
  transform: translateY(-2px);
}

/* ===== NAV ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver-light);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; }

.nav-staff {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver) !important;
  border: 1px solid var(--dark-border) !important;
  padding: 6px 12px !important;
  border-radius: var(--radius) !important;
}
.nav-staff::after { display: none !important; }
.nav-staff:hover { color: var(--silver-light) !important; border-color: var(--silver) !important; }

.nav-phone {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--silver-light);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone:hover { color: var(--red); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--dark-border);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--red); padding-left: 8px; }
.mobile-menu a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(204,31,31,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(204,31,31,0.05) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0d0d0d 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-eyebrow span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--red);
}
.hero-eyebrow::after { display: none; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--silver-light);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--red); }
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 50px;
  background: var(--dark-border);
  align-self: center;
}

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--red);
  padding: 0;
}
.info-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.info-bar-item:last-child { border-right: none; }
.info-bar-item:hover { background: rgba(0,0,0,0.1); }
.info-bar-item svg { flex-shrink: 0; opacity: 0.9; }
.info-bar-text {}
.info-bar-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
  font-weight: 500;
}
.info-bar-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ===== SERVICES SECTION (HOME) ===== */
.services-home { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--red-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { color: var(--red); }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ABOUT SECTION (HOME) ===== */
.about-home { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-card) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--silver);
}
.about-image-placeholder svg { opacity: 0.3; }
.about-image-placeholder p { font-size: 0.9rem; opacity: 0.5; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-red);
}
.about-badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-top: 2px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--red-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { color: var(--red); }
.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204,31,31,0.1) 0%, transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner p {
  font-size: 1.1rem;
  color: var(--silver-light);
  margin: 16px 0 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== HOURS SECTION ===== */
.hours-section { background: var(--light); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.hours-table { width: 100%; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; color: var(--dark); }
.hours-time { color: var(--text-muted); }
.hours-time.open { color: #16a34a; font-weight: 500; }
.hours-time.closed { color: var(--red); }
.hours-map {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hours-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { color: var(--red); }
.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-item p, .contact-info-item a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}
.contact-info-item a:hover { color: var(--red); }

/* ===== FORM STYLES ===== */
.form-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,31,31,0.08);
}
.form-control::placeholder { color: #9ca3af; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }

/* ===== SERVICES PAGE ===== */
.page-hero {
  background: var(--black);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(204,31,31,0.07) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--silver);
}
.breadcrumb a { color: var(--silver); transition: var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--dark-border); }

.services-full { background: var(--light); }
.services-category { margin-bottom: 60px; }
.services-category:last-child { margin-bottom: 0; }
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.category-icon {
  width: 52px;
  height: 52px;
  background: var(--dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.category-icon svg { color: var(--red); }
.category-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.service-item {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-item-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.service-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 4px;
}
.service-item p { font-size: 0.85rem; color: var(--text-muted); }

.no-alignment-notice {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
}
.no-alignment-notice svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.no-alignment-notice p { font-size: 0.9rem; color: var(--silver-light); }
.no-alignment-notice strong { color: var(--white); }

/* ===== ABOUT PAGE ===== */
.about-story { background: var(--white); }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-values { background: var(--light); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 64px;
  height: 64px;
  background: var(--red-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-icon svg { color: var(--red); }
.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 10px;
}
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== WORK ORDER / LOGIN ===== */
.login-page {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204,31,31,0.06) 0%, transparent 60%);
}
.login-card {
  position: relative;
  z-index: 1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.login-logo { margin: 0 auto 32px; width: 180px; }
.login-card h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}
.login-card p { font-size: 0.9rem; color: var(--silver); margin-bottom: 32px; }
.login-card .form-label { color: var(--silver-light); text-align: left; }
.login-card .form-control {
  background: rgba(255,255,255,0.05);
  border-color: var(--dark-border);
  color: var(--white);
}
.login-card .form-control:focus { border-color: var(--red); background: rgba(255,255,255,0.08); }
.login-card .form-control::placeholder { color: #4b5563; }
.login-error {
  background: rgba(204,31,31,0.12);
  border: 1px solid rgba(204,31,31,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #fca5a5;
  margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }
.login-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
.back-to-site {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--silver);
}
.back-to-site a { color: var(--red); }
.back-to-site a:hover { color: var(--red-dark); }

/* ===== WORK ORDER PAGE ===== */
.work-order-page {
  background: #f3f4f6;
  min-height: 100vh;
}
.wo-topbar {
  background: var(--black);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.wo-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wo-topbar img { height: 40px; }
.wo-topbar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  border-left: 2px solid var(--dark-border);
  padding-left: 16px;
}
.wo-topbar-actions { display: flex; gap: 12px; align-items: center; }
.wo-date {
  font-size: 0.82rem;
  color: var(--silver);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}
.btn-logout {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--dark-border);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-logout:hover { color: var(--white); border-color: var(--silver); }

.wo-container { max-width: 960px; margin: 0 auto; padding: 32px 24px; }
.wo-section {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.wo-section-header {
  background: var(--dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wo-section-header svg { color: var(--red); flex-shrink: 0; }
.wo-section-header h2 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
}
.wo-section-body { padding: 28px 24px; }

/* Taxi toggle */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
}
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 26px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--red); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.taxi-fields {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 4px;
}
.taxi-fields.visible { display: block; }

/* Inspection */
.inspection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.inspection-corner {
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.inspection-corner-header {
  background: var(--dark);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.corner-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
}
.corner-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--silver-light);
}
.inspection-corner-body { padding: 18px; }
.inspection-field { margin-bottom: 16px; }
.inspection-field:last-child { margin-bottom: 0; }
.inspection-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.condition-options {
  display: flex;
  gap: 8px;
}
.condition-opt {
  flex: 1;
  position: relative;
}
.condition-opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.condition-opt label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  margin-bottom: 0;
  color: var(--text-muted);
}
.condition-opt input:checked + label { border-color: currentColor; }
.cond-good label { color: #16a34a; }
.cond-good input:checked + label { background: #dcfce7; border-color: #16a34a; color: #15803d; }
.cond-fair label { color: #d97706; }
.cond-fair input:checked + label { background: #fef3c7; border-color: #d97706; color: #b45309; }
.cond-poor label { color: var(--red); }
.cond-poor input:checked + label { background: #fee2e2; border-color: var(--red); color: var(--red-dark); }
.inspection-measurement {
  display: flex;
  align-items: center;
  gap: 8px;
}
.inspection-measurement input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.inspection-measurement input:focus { border-color: var(--red); }
.inspection-measurement span {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* WO success */
.wo-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}
.wo-success.show { display: block; }
.wo-success h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #15803d;
  margin-top: 12px;
  margin-bottom: 8px;
}
.wo-success p { font-size: 0.9rem; color: #166534; }
.wo-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer { background: var(--black); color: var(--silver-light); }
.footer-top {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--dark-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand {}
.footer-logo { width: 160px; margin-bottom: 20px; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--silver);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--silver);
}
.footer-contact-item svg { color: var(--red); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: var(--silver); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--red); }
.footer-hours-list { display: flex; flex-direction: column; gap: 6px; }
.footer-hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--silver);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-hours-item:last-child { border-bottom: none; }
.footer-hours-item .day { color: var(--silver-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #4b5563;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #4b5563; transition: var(--transition); }
.footer-bottom a:hover { color: var(--silver); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  background: var(--light-card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-photo {
  aspect-ratio: 1;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--silver);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-info {
  padding: 24px;
}
.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-role {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}
.team-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== ADMIN DASHBOARD ===== */
.admin-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.admin-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.admin-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(204,31,31,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.admin-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 4px;
}
.admin-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}
.admin-card-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--silver);
  transition: var(--transition);
}
.admin-card:hover .admin-card-arrow { color: var(--red); transform: translateX(4px); }

.mechanics-list { display: flex; flex-direction: column; gap: 0; }
.mechanic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.mechanic-row:last-child { border-bottom: none; }
.mechanic-row-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--dark);
}
.btn-remove {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(204,31,31,0.3);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  background: transparent;
}
.btn-remove:hover { background: var(--red); color: var(--white); }
.mechanics-empty {
  text-align: center;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid, .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: -10px; right: 10px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.6rem; }
  .hero-stats { gap: 24px; }
  .hero-divider { display: none; }
  .info-bar-inner { flex-direction: column; }
  .info-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); width: 100%; justify-content: center; }
  .info-bar-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-pad { padding: 56px 0; }
  .inspection-grid { grid-template-columns: 1fr; }
  .wo-container { padding: 20px 16px; }
  .form-card { padding: 24px 20px; }
  .login-card { padding: 36px 24px; }
  .wo-actions { flex-direction: column; }
  .wo-actions .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
