:root {
  --bosch-blue: #062a47;
  --bosch-blue-light: #0f3e6b;
  --bosch-red: #e03631;
  --bosch-gray: #f5f7fa;
  --bosch-dark: #1a1a1a;
  --bosch-white: #ffffff;
  --radius: 14px;
  --transition: 0.28s ease;
  --font-main: "Montserrat", system-ui, sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 200px;
  font-family: var(--font-main);
  background: var(--bosch-gray);
  color: var(--bosch-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* HEADER — Sticky con fondo borroso */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 42, 71, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  width: 90px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav a {
  color: var(--bosch-white);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--bosch-red);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

/* HERO — Fondo con gradiente moderno */
.hero {
  background: linear-gradient(135deg, var(--bosch-blue) 0%, var(--bosch-blue-light) 100%);
  color: var(--bosch-white);
  text-align: center;
  padding: 11rem 2rem 7rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-hero {
  background: var(--bosch-red);
  padding: 0.9rem 2rem;
  color: white;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius);
  display: inline-block;
  transition: var(--transition);
}

.btn-hero:hover {
  background: #ff4a45;
  transform: translateY(-2px);
}

/* REVIEWS — Tarjetas con sombra suave */
.reviews {
  padding: 5rem 2rem;
}

.reviews h2 {
  text-align: center;
  color: var(--bosch-blue);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.review-card {
  background: var(--bosch-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.GoogleReviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 300px;
  margin: 0 auto 2rem;
  align-items: center;
  justify-content: center;
}

/* CONTACTO — diseño limpio tipo "card" */
.contact {
  background: var(--bosch-white);
  padding: 5rem 2rem;
  border-top: 1px solid #e3e3e3;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.contact h2 {
  font-size: 2rem;
  color: var(--bosch-blue);
  margin-bottom: 1rem;
}

.map {
  width: 100%;
  max-width: 520px;
  height: 320px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

/* FOOTER */
.footer {
  background: var(--bosch-blue);
  color: var(--bosch-white);
  text-align: center;
  padding: 1.4rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 8rem;
  }

  .contact-content {
    flex-direction: column;
    text-align: center;
  }
}

.about,
.services-page {
  padding: 6rem 2rem;
  background: var(--bosch-white);
}

.about-content,
.services-content-page {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about h2,
.services-page h2 {
  font-size: 2.4rem;
  color: var(--bosch-blue);
  margin-bottom: 1.2rem;
}

.about p {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 1rem;
}

.social-icon {
  width: 70px;
  margin-left: 10px;
  transition: 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}



.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.inicio {
  background: linear-gradient(135deg, var(--bosch-blue) 0%, var(--bosch-blue-light) 100%);
  color: var(--bosch-white);
  text-align: center;
  padding: 11rem 2rem 2rem;
}

.inicio h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* --- SECCIÓN DE SERVICIOS (Estilo de Tarjeta Tipo Grid) --- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}

.service-card {
  position: relative;
  background-color: var(--bosch-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card-bg,
.cambio-de-aceite {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
  transition: transform 0.3s ease;
  z-index: 0;
}


.service-card:hover .service-card-bg,
.service-card:hover .cambio-de-aceite {
  transform: scale(1.05);
}

.service-card h2 {
  position: relative;
  color: var(--bosch-white);
  font-size: 1.8rem;
  margin: 0;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

/* Responsivo para el Grid */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }

  .service-card {
    height: 220px;
  }

  .service-card h2 {
    font-size: 1.6rem;
  }
}

.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
  color: #111;
  border: 1px solid #e5e5e5;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-btn.whatsapp span {
  color: #111;
}
