/* ==========================================================================
   CARTEC CENTRO AUTOMOTIVO E AUTO PEÇAS - OFFICIAL BRANDING STYLESHEET
   Location: Atendimento Regional - MG
   ========================================================================== */

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

/* --- Root Variables & Official Logo Color Palette --- */
:root {
  --bg-darkest: #07080b;
  --bg-dark: #0e1118;
  --bg-card: rgba(18, 22, 32, 0.88);
  --bg-card-hover: rgba(28, 34, 48, 0.95);
  --bg-glass: rgba(12, 15, 22, 0.85);
  
  /* Official Logo Crimson Red */
  --accent-primary: #e50914;
  --accent-primary-hover: #b70912;
  --accent-gradient: linear-gradient(135deg, #ff1e27 0%, #d32f2f 60%, #9a0007 100%);
  --accent-glow: rgba(229, 9, 20, 0.4);

  /* Official Logo Racing Gold / Yellow */
  --accent-gold: #ffd700;
  --accent-gold-hover: #fbc02d;
  --accent-gold-gradient: linear-gradient(135deg, #ffe033 0%, #ffd700 50%, #f57f17 100%);
  --accent-gold-glow: rgba(255, 215, 0, 0.3);

  /* Official Logo Electric Chrome Blue */
  --accent-blue: #00b0ff;
  --accent-blue-glow: rgba(0, 176, 255, 0.3);
  
  /* Metallic Silver Chrome */
  --chrome-border: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(148,163,184,0.2) 50%, rgba(255,255,255,0.1) 100%);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-active: rgba(229, 9, 20, 0.6);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px var(--accent-glow);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* --- Fixed Video Background --- */
.hero-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.65;
  filter: brightness(0.85) contrast(1.15);
  pointer-events: none;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(229, 9, 20, 0.22) 0%, transparent 65%),
              linear-gradient(180deg, rgba(7, 8, 11, 0.55) 0%, rgba(7, 8, 11, 0.88) 100%);
  z-index: -1;
  pointer-events: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient-red {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

.text-blue {
  color: var(--accent-blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #ff4d4d;
}

.badge-gold {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--accent-gold);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(229, 9, 20, 0.6);
}

.btn-gold {
  background: var(--accent-gold-gradient);
  color: #0f172a;
  box-shadow: var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: #fff;
  background: rgba(229, 9, 20, 0.15);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

/* --- Emergency Top Bar --- */
.emergency-bar {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
}

.emergency-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.emergency-call {
  background: #fff;
  color: #dc2626;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.emergency-call:hover {
  background: #f8fafc;
  transform: scale(1.04);
}

/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 95px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(229, 9, 20, 0.45));
  transition: transform 0.3s ease;
}

.logo-brand:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 1.25rem 0;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover img {
  transform: scale(1.04);
}

.floating-logo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 15, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
}

.floating-logo-badge img {
  width: 46px;
  height: auto;
}

.floating-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  font-weight: 800;
}

.floating-text p {
  font-size: 0.8rem;
  color: var(--accent-gold);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Services Section --- */
.services-section {
  padding: 6rem 0;
  background: rgba(14, 17, 24, 0.88);
  backdrop-filter: blur(12px);
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.service-features svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.service-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.service-link:hover {
  color: #ff333d;
  gap: 0.7rem;
}

/* --- Diagnostic Highlights --- */
.diagnostic-banner {
  padding: 6rem 0;
  background: rgba(7, 8, 11, 0.90);
  backdrop-filter: blur(12px);
}

.banner-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.banner-card img {
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.tech-features {
  margin: 1.5rem 0 2rem;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tech-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Reviews Section --- */
.reviews-section {
  padding: 6rem 0;
  background: rgba(14, 17, 24, 0.92);
  backdrop-filter: blur(12px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.review-source {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Location & Hours --- */
.location-section {
  padding: 6rem 0;
  background: rgba(7, 8, 11, 0.94);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location-info {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(229, 9, 20, 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-container {
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(120%);
}

/* --- Modal Agendamento --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 8, 11, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}

.modal-backdrop.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: #fff;
  background: rgba(229, 9, 20, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-header img {
  height: 50px;
  width: auto;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(12, 15, 22, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.25);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Footer --- */
.footer {
  background: #040507;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  margin: 1rem 0;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.footer-title {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* --- Comprehensive Responsive Media Queries (Mobile Portrait & Landscape Audit) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .banner-card, .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .header .container {
    height: 85px;
    padding: 0 1rem;
  }
  .logo-img {
    height: 68px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: rgba(14, 17, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.75rem;
    border-bottom: 1px solid var(--border-light);
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 3rem 0 3rem;
  }
  .hero-content h1 {
    font-size: 2.15rem;
    line-height: 1.2;
  }
  .hero-description {
    font-size: 1.02rem;
    margin-bottom: 1.75rem;
  }
  .hero-card img {
    height: 320px;
  }
  .floating-logo-badge {
    left: 12px;
    bottom: 12px;
    padding: 0.65rem 0.85rem;
  }
  .floating-logo-badge img {
    width: 36px;
  }
  .banner-card {
    padding: 2rem 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .emergency-bar .container {
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
  }
}

/* Mobile Portrait Mode (320px to 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .emergency-bar {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }
  .emergency-call {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  .header .container {
    height: 75px;
  }
  .logo-img {
    height: 55px;
  }
  .header-cta .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
  .hero {
    padding: 2rem 0 2.5rem;
  }
  .hero-content h1 {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: center;
  }
  .stat-item h3 {
    font-size: 1.5rem;
  }
  .hero-card img {
    height: 240px;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  .section-header p {
    font-size: 0.95rem;
  }
  .service-card {
    padding: 1.35rem;
  }
  .service-title {
    font-size: 1.2rem;
  }
  .review-card {
    padding: 1.35rem;
  }
  .modal-content {
    padding: 1.5rem 1.15rem;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-header h3 {
    font-size: 1.25rem;
  }
  .modal-header img {
    height: 38px;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 18px;
    right: 18px;
  }
}
