/* ==========================================================================
   MOTO CHRIS - Clean, Elegant, Simple
   ========================================================================== */

:root {
  /* Logo colors - burgundy red */
  --primary: #9B1B30;
  --primary-dark: #7A1526;
  --primary-light: #C42847;
  --primary-pale: rgba(155, 27, 48, 0.08);
  
  /* Neutrals */
  --black: #111;
  --dark: #222;
  --gray-dark: #444;
  --gray: #666;
  --gray-light: #999;
  --gray-pale: #ddd;
  --off-white: #f7f7f7;
  --white: #fff;
  
  /* Functional */
  --text: var(--dark);
  --text-muted: var(--gray);
  --border: var(--gray-pale);
  --bg: var(--white);
  --bg-alt: var(--off-white);
}

/* ==========================================================================
   BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p {
  color: var(--text-muted);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand .logo {
  height: 100px;
  width: auto;
  margin: -15px 0;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color 0.2s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: #0a2850;
  border-radius: 50%;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

.menu-toggle i,
.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 10rem;
  background: 
    linear-gradient(135deg, rgba(10, 40, 80, 0.72) 0%, rgba(155, 27, 48, 0.62) 100%),
    url("hero.jpeg") center 30% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  border-bottom: 4px solid var(--primary);
}

/* Dot pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0a2850;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

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

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.hero-features i {
  width: 18px;
  height: 18px;
  color: var(--primary-light);
}

.hero-features .moto-icon {
  width: 22px;
  height: 22px;
  color: var(--white);
  flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0a2850;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
}

.value-item i,
.value-item svg {
  width: 48px;
  height: 48px;
  color: #0a2850;
  flex-shrink: 0;
}

.value-item h4 {
  margin-bottom: 0.25rem;
  color: #0a2850;
}

.value-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-intro {
  max-width: 540px;
  margin-bottom: 3rem;
}

.services-intro h2 {
  margin-bottom: 1rem;
}

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

.service-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.service-icon {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.service-icon i,
.service-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */

#reviews h2 {
  margin-bottom: 2rem;
}

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

.review-card {
  padding: 2rem;
  background: var(--bg-alt);
  border-top: 3px solid var(--primary);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-stars svg {
  width: 20px;
  height: 20px;
}

.review-stars .star-filled {
  fill: #0a2850;
}

.review-stars .star-outline {
  fill: none;
  stroke: #0a2850;
  stroke-width: 2;
}

.review-stars .star-partial {
  overflow: visible;
}

.review-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--primary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method:hover {
  color: var(--primary);
}

.contact-method > i,
.contact-method > svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-method strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.contact-method--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.contact-text span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  margin-bottom: 0.25rem;
}

.contact-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.hours-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hours-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.hours-block h4 i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-grid div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.hours-grid span:first-child {
  color: var(--gray);
}

.hours-grid span:last-child {
  font-weight: 600;
  color: var(--black);
}

.contact-location {
  height: 100%;
}

.location-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--primary);
  color: var(--white);
}

.location-card > i {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.location-card h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.location-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
}

.directions-link:hover {
  border-color: var(--white);
}

.directions-link i {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.footer-credit a {
  color: var(--gray);
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--gray-dark);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .location-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 0;
  }
  
  .brand .logo {
    height: 85px;
    margin: 0;
  }
  
  .menu-toggle {
    display: block;
    margin: 0;
  }
  
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding-top: 0.5rem;
  }
  
  .site-nav.is-open {
    display: flex;
  }
  
  .site-nav a {
    font-size: 0.95rem;
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border);
  }
  
  .site-nav a::after {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 4rem 0 5rem;
    background-position: 30% 30%;
  }
  
  .hero h1 {
    white-space: normal;
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
  }
  
  .hero-features {
    visibility: hidden;
    margin: 1.5rem 0 2rem;
  }
  
  .hero-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    margin-top: 6rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card,
  .review-card {
    padding: 1.5rem;
  }
  
  .value-item {
    padding: 1.25rem;
  }
  
  .value-item i,
  .value-item svg {
    width: 36px;
    height: 36px;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .brand .logo {
    height: 70px;
  }
  
  .site-nav a {
    font-size: 0.9rem;
    padding: 0.6rem 0;
  }
  
  .hero {
    padding: 3rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-features li {
    font-size: 0.85rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .contact-method strong {
    font-size: 0.9rem;
  }
  
  .hours-grid div {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
