/* EV PRO Tesla Repair Specialist - Trust-optimized design system */
:root {
  --primary: #0077B6;          /* Trust blue from logo */
  --primary-dark: #023E8A;
  --primary-light: #00B4D8;
  --accent: #00A8E8;
  --success: #10B981;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text span { color: var(--primary); }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  box-shadow: 0 4px 14px 0 rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(0, 119, 182, 0.45);
  color: white !important;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white !important;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white !important;
}

.btn-whatsapp:hover { background: #1da851; color: white !important; }

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu .btn { margin-top: 1rem; width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0F172A 0%, #023E8A 50%, #0077B6 100%);
  color: white;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: #90E0EF; }

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.65;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--dark); color: white; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.section-dark .section-header h2 { color: white; }

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

.section-dark .section-header p { color: var(--gray-300); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.service-card .btn { width: 100%; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.why-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #FBBF24;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  line-height: 1.65;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.review-name { font-weight: 600; font-size: 0.95rem; }
.review-source { font-size: 0.8rem; color: var(--gray-500); }

/* ===== BLOG TEASERS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.blog-img {
  height: 160px;
  background: linear-gradient(135deg, #0F172A, #0077B6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.blog-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  background: #E0F2FE;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.blog-meta { font-size: 0.8rem; color: var(--gray-500); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-ctas { justify-content: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-link { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.65; max-width: 280px; }

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { color: var(--gray-300); font-size: 0.95rem; }
.footer a:hover { color: white; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== BOOKING PAGE ===== */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.booking-form-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-options {
  display: grid;
  gap: 0.75rem;
}

.service-option {
  position: relative;
}

.service-option input { position: absolute; opacity: 0; }

.service-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.service-option input:checked + label {
  border-color: var(--primary);
  background: #F0F9FF;
}

.service-option label:hover { border-color: var(--primary-light); }

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.time-slot {
  position: relative;
}

.time-slot input { position: absolute; opacity: 0; }

.time-slot label {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.time-slot input:checked + label {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.time-slot label:hover { border-color: var(--primary-light); }

.booking-sidebar {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  height: fit-content;
}

.booking-sidebar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sidebar-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.sidebar-item svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }

/* ===== ABOUT / OTHER ===== */
.about-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-content h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.25rem; }

/* ===== BLOG ARTICLE ===== */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.article header { margin-bottom: 2.5rem; }

.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  color: var(--dark);
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}

.article-content p {
  margin-bottom: 1.15rem;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--gray-700);
}

.article-content li { margin-bottom: 0.5rem; line-height: 1.65; }

.article-content strong { color: var(--dark); }

.callout {
  background: #F0F9FF;
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 1.75rem 0;
}

.callout p { margin: 0; }

/* ===== MAP ===== */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 350px;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.gap-2 { gap: 0.75rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ECFDF5;
  color: #047857;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
}

/* Sticky mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 999;
  gap: 0.75rem;
}

.mobile-sticky-cta .btn { flex: 1; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1 1fr 1fr; }
  .time-slots { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; gap: 0.75rem; }
  .mobile-toggle { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .about-hero { grid-template-columns: 1.1fr 0.9fr; }
  .booking-layout { grid-template-columns: 1.4fr 0.9fr; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.25rem 0; }
}
