* {
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body {
background:#fff;
color:#000;
}

header {
background-color: #ffffff ;
color:#0078e7;
padding: 40px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo {
font-weight:bold;
font-size:15px;
}

.hero {
background: #fff;
color:#000000;
padding:20px 20px;
text-align:center;
}

input {
width:100%;
max-width:400px;
padding:10px;
margin:10px auto;
display:block;
border:1px solid #ccc;
}

button {
background:#0078e7;
border:none;
padding:10px 20px;
cursor:pointer;
font-weight:bold;
margin-top:10px;
}

.vehiculo-card {
background:#fff;
padding:40px;
margin:20px auto;
max-width:400px;
border:2px solid #0078e7;
border-radius: 25px;
}

.admin-container {
padding:30px;
text-align:center;
}

.btn-admin {
background:#0078e7;
color:#000;
border:none;
padding:8px 15px;
cursor:pointer;

}

.btn-volver {
margin-top:20px;
}

/* 📱 Mobile Optimización */
@media (min-width:768px){
.hero h1 {font-size:40px;}
.simulador, .vehiculos {padding:60px;}
}
.logo-img {
height:250px;
}


.logo-footer {
height:150px;
margin-bottom:2px;
padding-left: 560px;

}
footer{
    background: linear-gradient(135deg,#858585 40%,#000 60%, #0078e7 90%);
    
}
footer p{
    color: white;
    text-align: center;
}
.auto-img {
width:100%;
max-width:300px;
margin-bottom:10px;
}

.login-body {
background:#000;
display:flex;
justify-content:center;
align-items:center;
height:100vh;
}

.login-box {
background:#fff;
padding:30px;
text-align:center;
}
/* SECCIÓN COMO FUNCIONA */
.como-funciona {
background: #000;
color: #fff;
padding: 80px 20px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.como-funciona h2 {
margin-bottom: 40px;
margin-top: auto;
font-size: 32px;
}

.pasos {
display: flex;
justify-content: center;
align-items: center;
gap: 80px;
flex-wrap: wrap;
max-width: 800px;
}

.paso {
max-width: 300px;
animation: fadeUp 1s ease forwards;
opacity: 0;
}

.paso:nth-child(1){ animation-delay: 0.2s; }
.paso:nth-child(2){ animation-delay: 0.4s; }
.paso:nth-child(3){ animation-delay: 0.6s; }

.paso h3 {
color: #0078e7;
margin-bottom: 15px;
font-size: 20px;
border:3px solid #fff;
border-radius: 25px;
}

.paso p {
font-size: 16px;
}

/* ANIMACIÓN SUAVE */
@keyframes fadeUp {
from {
    transform: translateY(40px);
    opacity: 0;
}
to {
    transform: translateY(0);
    opacity: 1;
}
}

/* MOBILE */
@media (max-width:768px){
.pasos {
    flex-direction: column;
    gap: 40px;
}
}
/* BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
position: fixed;
width: 60px;
height: 60px;
bottom: 25px;
right: 25px;
background: #25D366;
color: #fff;
border-radius: 50%;
text-align: center;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
z-index: 1000;
transition: 0.3s;
text-decoration: none;
}

.whatsapp-float:hover {
transform: scale(1.1);
background: #1ebe5d;
}
/* FONDO DEGRADADO PREMIUM */
.como-funciona {
background: linear-gradient(135deg, #000 60%, #0078e7 100%);
color: #fff;
padding: 120px 20px;
text-align: center;
}

.pasos {
display: flex;
justify-content: center;
gap: 80px;
flex-wrap: wrap;
}

.paso {
max-width: 280px;
opacity: 0;
transform: translateY(60px);
transition: 1s ease;
}

.paso.active {
opacity: 1;
transform: translateY(0);
}

/* ICONOS ANIMADOS */
.icon {
font-size: 40px;
margin-bottom: 20px;
transition: 0.4s;
}

.paso:hover .icon {
transform: scale(1.2) rotate(8deg);
}
hr {
    border: none; /* Elimina el borde por defecto */
    height: 4px; /* Define el grosor */
    background-color: #0078e7; /* Cambia el color a azul */
    width: 75%; /* Ancho del 50% del contenedor */
    margin-bottom: 50px;
    margin-top: -80px;
}
.vehiculo-card button {
margin: 5px;
padding: 8px 12px;
border: none;
cursor: pointer;
font-weight: bold;
background: #0078e7;
}

.vehiculo-card button:hover {
opacity: 0.8;
}
/* SECCIONES GENERALES */
.seccion-blanca {
padding: 100px 10%;
text-align: center;
background: #fff;
color: #000;
}

.seccion-oscura {
padding: 100px 10%;
text-align: center;
background: #000;
color: #fff;

}

.seccion-blanca h2,
.seccion-oscura h2 {
margin-bottom: 30px;
font-size: 32px;
}

/* FAQ */
.faq-item {
margin-bottom: 25px;
}

.faq-item h4 {
color: #0078e7;
margin-bottom: 8px;
}
html {
scroll-behavior: smooth;
}
/* HEADER CON IMAGEN */
.header-premium {
position: relative;
height: 140px;
background-image: url("");
background-size: cover;
background-position: center bottom;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: linear-gradient(135deg,#858585 20%,#000 60%, #0078e7 100%);
}

/* Overlay para mejorar contraste */
.header-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

}

/* Contenido visible encima */
.header-content {
position: relative;
z-index: 2;
width: 100%;
max-width: 1300px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 5%;
}


/* Logo */
.logo-img {
height: 200px;
}

/* NAV */
.header-premium nav {
display: flex;
gap: 30px;
align-items: center;
}

/* Links normales */
.header-premium nav a {
color: #fff;
text-decoration: underline;
font-weight: 500;
position: relative;
transition: 0.3s;
font-family:monospace;
font:bold;
font-size:medium;
}

/* Línea animada debajo */
.header-premium nav a::after {
content: "";
position: absolute;
left: 0;
bottom: -5px;
width: 0%;
height: 2px;
background: #0078e7;
transition: 0.3s;

}

.header-premium nav a:hover {
color: #0078e7;
}

.header-premium nav a:hover::after {
width: 100%;
}

/* Botón destacado */
.btn-nav {
background: #0078e7;
color: #000 !important;
padding: 8px 18px;
border-radius: 30px;
font-weight: bold;
}

.btn-nav:hover {
background: #fff;
color: #000 !important;
}
@media (max-width: 768px) {

.header-premium {
height: 100%;
background-position: center;
}

.header-content {
flex-direction: column;
gap: 100%;
}

.header-premium nav {
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}

}
.simulador {
  padding: 80px 20px;
  background: linear-gradient(135deg, #000000, #111111);
  text-align: center;
  color: white;
}

.simulador h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: white;
}

.simulador-box {
  max-width: 500px;
  margin: 30px auto;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

.simulador-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
}

.simulador-box button {
  width: 100%;
  padding: 14px;
  background: #0078e7;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.simulador-box button:hover {
  background: #0078e7;
}

.resultado {
  margin-top: 20px;
}

.aviso {
  font-size: 12px;
  color: #ffffff;
  margin-top: 20px;
}

