/* ------------------------- */
/* RESET & GLOBAL STYLES */
/* ------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

/* ------------------------- */
/* HEADER & NAVIGATION */
/* ------------------------- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 40px;
  transition: all 0.3s ease;
}

header.scrolled {
  position: sticky;
  top: 0;
  background-color: linear-gradient(145deg, #0e1a25, #101d2e);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #ffffff;
  margin-right: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.logo img {
  height: 80px; /* Ajusta la altura a lo que necesites */
  width: 150px;
  filter: drop-shadow(2px 2px 2px rgb(255, 255, 255));
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #0e1628;
  transform: scale(1.05);
}

/* ------------------------- */
/* BANNER */
/* ------------------------- */
.automotive-banner {
  width: 100%;
  height: 75vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.banner-content {
  color: white;
  text-align: center;
  padding-top: 220px; /* suficiente espacio para el header absoluto */
  z-index: 2;
  position: relative;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.banner-button {
  background-color: #0e1628;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.banner-button:hover {
  background-color: #001f3f;
}

.banner-icons {
  position: absolute;
  bottom: 30px;
  display: flex;
  gap: 20px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcons {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

/* ------------------------- */
/* HERO (Ejemplo de sección) */
/* ------------------------- */
.hero {
  background-color: #0f172a;
  color: white;
  padding: 120px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #ffc107;
  color: #0033a0;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e0a800;
}

/* ------------------------- */
/* Nosotros */
/* ------------------------- */


.nosotros-section {
  background-color: #f5f5f5;
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}

.nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nosotros-content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.nosotros-imagen {
  flex: 1 1 45%;
  text-align: center;
}

.nosotros-imagen img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.nosotros-contenido {
  flex: 1 1 50%;
  color: #333;
}

.nosotros-contenido h2 {
  font-size: 2em;
  color: #002e5b;
  margin-bottom: 20px;
  text-decoration: underline;
}

.nosotros-contenido p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1rem;
}

.frase-fuerza {
  font-style: italic;
  color: #004080;
  font-weight: bold;
  margin-top: 20px;
}


/* ------------------------- */
/* Diferenciador */
/* ------------------------- */

.diferenciadores-section {
  background: linear-gradient(145deg, #0e1a25, #101d2e);
  padding: 100px 20px;
  color: #f0f0f0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.diferenciadores-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.diferenciadores-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.diferenciadores-section .section-title {
  font-size: 2.8em;
  color: #00d1ff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.diferenciadores-section .section-title span {
  color: #ffcc00;
}

.section-subtitle {
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 60px;
  font-style: italic;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  padding: 0 15px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border-color: #00d1ff;
}

.feature-card i {
  font-size: 3em;
  color: #ffcc00;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #ffffff;
}

.feature-card p {
  font-size: 1em;
  color: #bbbbbb;
  line-height: 1.7;
}

/* Solo visible en pantallas grandes */
@media screen and (min-width: 1024px) {
  .cta-lateral {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
  }
}

/* En móviles: lo centramos abajo */
@media screen and (max-width: 1023px) {
  .cta-lateral {
    margin-top: 30px;
    text-align: center;
    position: relative;
  }
}


/* ------------------------- */
/* Formulario */
/* ------------------------- */
/* Contenedor del formulario */
.seccion-cita {
  background-color: #ffffff;
  color: #f1f1f1;
  padding: 3rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.contenedor-cita {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .contenedor-cita {
    flex-direction: row;
    justify-content: space-between;
  }
}

.formulario-cita {
  flex: 1.2;
  background-color: #1b2435;
  padding: 2rem;
  border-radius: 12px;
}

.titulo-cita {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.subtitulo-cita {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

.formulario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .formulario-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-cita,
textarea,
select {
  background-color: #2a3449;
  color: #f1f1f1;
  border: 1px solid #3b465c;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.input-cita:focus,
textarea:focus,
select:focus {
  border-color: #4fc3f7;
  outline: none;
}

.textarea-cita {
  grid-column: span 2;
  resize: none;
}

.boton-cita {
  grid-column: span 2;
  background-color: #4fc3f7;
  color: #0e1628;
  font-weight: bold;
  padding: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-cita:hover {
  background-color: #42a7d3;
}

/* Tarjeta de contacto */
.tarjeta-contacto {
  flex: 0.9;
  background-color: #1b2435;
  padding: 2rem;
  border-radius: 12px;
  height: fit-content;
}

.contacto-titulo {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
  border-bottom: 1px solid #4fc3f7;
  padding-bottom: 0.5rem;
}

.contacto-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contacto-lista li {
  margin-bottom: 0.5rem;
  color: #dddddd;
}





/* Ocultar menú móvil por defecto */
.menu-movil {
  display: none;
}

/* Estilo de botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
}

/* Estilo menú normal en pantallas grandes */
@media (min-width: 769px) {
  .menu-movil {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
  }

  .menu-movil .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-movil .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background 0.3s;
  }

  .menu-movil .nav-links li a:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
  }
}

/* Estilo hamburguesa para móviles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

.menu-movil {
  display: none;
  flex-direction: column;
  background: rgba(14, 22, 40, 0.95); /* Fondo oscuro con transparencia */
  backdrop-filter: blur(10px); /* Efecto borroso elegante */
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 999;
  text-align: center;
  padding: 20px 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

  .menu-movil.active {
    display: flex;
  }

  .menu-movil .nav-links {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
  }

.menu-movil .nav-links li a {
  color: #ffffff;
  padding: 15px 25px;
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  border-radius: 8px;
  display: block;
}

.menu-movil .nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #4fc3f7;
}
}
