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

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

:root {
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --primary: #b91c1c;
  --foreground: #1a1a1a;
  --background: #fafaf9;
  --muted: #78716c;
  --border: #e7e5e4;
  --card-bg: #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--foreground); background: var(--background); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 20px 0; transition: all 0.3s; }
.navbar.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 12px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--red-600); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; color: white; transition: color 0.3s; }
.navbar.scrolled .logo-text { color: var(--foreground); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); transition: color 0.3s; background: none; }
.nav-link:hover { color: var(--red-400); }
.navbar.scrolled .nav-link { color: rgba(26,26,26,0.8); }
.btn-quote { background: var(--red-600); color: white; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 12px rgba(220,38,38,0.3); transition: transform 0.3s; }
.btn-quote:hover { transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; font-size: 28px; color: white; }
.navbar.scrolled .mobile-toggle { color: var(--foreground); }
.mobile-nav { display: none; flex-direction: column; padding: 16px 24px; gap: 12px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 500; color: var(--foreground); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ========== HERO ========== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(26,26,26,0.9), rgba(26,26,26,0.7), transparent); }
.hero-content { position: relative; z-index: 10; max-width: 640px; }
.hero-badge { display: inline-block; padding: 4px 12px; border-radius: 9999px; background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); color: white; margin-bottom: 24px; font-weight: 800; }
.hero h1 span { color: var(--red-400); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.7; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--red-600); color: white; padding: 16px 32px; border-radius: 8px; font-size: 18px; font-weight: 600; box-shadow: 0 8px 24px rgba(220,38,38,0.3); transition: transform 0.3s; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; padding: 16px 32px; border-radius: 8px; font-size: 18px; font-weight: 600; transition: background 0.3s; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 128px; background: linear-gradient(to top, var(--background), transparent); z-index: 10; }

/* ========== SERVICES ========== */
.services { padding: 96px 0; background: var(--background); }
.section-header { text-align: center; max-width: 768px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.5rem); color: var(--foreground); margin-bottom: 16px; font-weight: 700; }
.section-header h2 span { color: var(--primary); }
.section-header p { font-size: 1.1rem; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card { padding: 32px; border-radius: 16px; border: 1px solid rgba(231,229,228,0.5); background: var(--card-bg); box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: rgba(185,28,28,0.3); }
.service-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(185,28,28,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 28px; transition: all 0.3s; }
.service-card:hover .service-icon { background: var(--primary); color: white; transform: translateY(-4px); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 12px; }
.service-card p { color: var(--muted); line-height: 1.7; }
.services-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.services-image { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.15); min-height: 400px; }
.services-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.services-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; z-index: 1; }
.oem-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--red-600); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: white; font-size: 24px; }
.services-image-overlay h3 { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 8px; }
.services-image-overlay p { color: rgba(255,255,255,0.8); }

/* ========== ABOUT ========== */
.about { padding: 96px 0; background: var(--primary); color: white; position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 16px 48px rgba(0,0,0,0.4); border: 4px solid rgba(239,68,68,0.2); }
.floating-badge { position: absolute; bottom: -32px; right: -32px; background: var(--red-600); color: white; padding: 24px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); text-align: center; }
.floating-badge .big { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 3rem; line-height: 1; }
.floating-badge .label { font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; }
.about-subtitle { color: var(--red-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 16px; }
.about h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 24px; font-weight: 700; }
.about h2 span { color: var(--red-400); }
.about-text { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; line-height: 1.7; }
.benefits-list { margin-bottom: 40px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.benefit-check { color: var(--red-400); font-size: 24px; flex-shrink: 0; }
.benefit-item span { font-size: 1.1rem; font-weight: 500; }
.stats-row { display: flex; align-items: center; gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.2); }
.stat { text-align: center; }
.stat-value { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.25rem; color: var(--red-400); margin-bottom: 4px; }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.2); }

/* ========== TESTIMONIALS ========== */
.testimonials { padding: 96px 0; background: rgba(245,245,244,0.3); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { padding: 32px; border-radius: 16px; background: var(--card-bg); border: 1px solid rgba(231,229,228,0.5); box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: relative; }
.stars { display: flex; gap: 4px; margin-bottom: 24px; color: var(--red-500); font-size: 20px; }
.testimonial-card blockquote { color: rgba(26,26,26,0.8); font-style: italic; margin-bottom: 32px; min-height: 80px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: 1.25rem; }
.author-name { font-weight: 700; color: var(--foreground); }
.author-location { font-size: 0.875rem; color: var(--muted); }
.quote-icon { position: absolute; top: 24px; right: 32px; font-size: 48px; color: rgba(185,28,28,0.1); font-family: serif; line-height: 1; }

/* ========== CONTACT ========== */
.contact { padding: 96px 0; background: var(--background); }
.contact-card { border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(0,0,0,0.05); overflow: hidden; display: grid; grid-template-columns: 2fr 3fr; }
.contact-info { background: var(--primary); padding: 48px; color: white; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-info::before { content: ''; position: absolute; top: -64px; right: -64px; width: 256px; height: 256px; border-radius: 50%; background: rgba(255,255,255,0.05); filter: blur(48px); }
.contact-info h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
.contact-info > p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 48px; position: relative; z-index: 1; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; position: relative; z-index: 1; }
.contact-detail-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red-400); font-size: 24px; }
.contact-detail h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.contact-detail p { color: rgba(255,255,255,0.8); }
.contact-form { padding: 48px; background: var(--card-bg); }
.contact-form h3 { font-size: 1.875rem; font-weight: 700; color: var(--foreground); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 500; color: var(--foreground); margin-bottom: 8px; font-size: 0.95rem; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; background: rgba(245,245,244,0.5); transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(185,28,28,0.1); }
.form-group textarea { min-height: 150px; resize: none; }
.btn-submit { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 12px rgba(185,28,28,0.2); transition: transform 0.3s; }
.btn-submit:hover { transform: translateY(-2px); }

/* ========== FOOTER ========== */
.footer { background: var(--foreground); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.footer .logo-text { color: white; }
.footer-desc { color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 360px; margin-top: 24px; }
.footer h4 { color: white; font-size: 1.1rem; margin-bottom: 24px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact .icon { color: var(--red-400); flex-shrink: 0; font-size: 20px; margin-top: 2px; }
.hours-list li { display: flex; justify-content: space-between; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day-time { color: white; font-weight: 500; }
.hours-list .emergency { color: var(--red-400); font-weight: 500; }
.footer-bottom { margin-top: 64px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--red-400); }

/* ========== LEGAL PAGES ========== */
.legal-header { background: var(--foreground); color: white; padding: 24px 0 32px; }
.legal-header .logo { margin-bottom: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 16px; }
.back-link:hover { color: white; }
.legal-header h1 { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; }
.legal-header .date { color: rgba(255,255,255,0.6); margin-top: 8px; }
.legal-content { max-width: 896px; margin: 0 auto; padding: 48px 24px; }
.legal-content section { margin-bottom: 32px; }
.legal-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 12px; }
.legal-content p { color: rgba(26,26,26,0.8); margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.legal-content li { color: rgba(26,26,26,0.8); margin-bottom: 8px; line-height: 1.6; }
.legal-content li strong { color: var(--foreground); }
.legal-content .contact-info-block { font-weight: 500; color: var(--foreground); line-height: 1.8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-image { min-height: 300px; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .floating-badge { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}
