body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #222;
}


.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 12px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #1d4ed8;
  border-bottom: 3px solid #1d4ed8;
  padding-bottom: 4px;
}

.btn-login {
  background-color: #2a7cff;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.btn-login:hover {
  background-color: #1a5edb;
}

.header {
  background: linear-gradient(to right, #000000, #004080);
  color: white;
  text-align: center;
  padding: 120px 20px 60px; 
}


.faq-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  background: #f9f9f9;
}

.faq-card {
  width: 280px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}

.faq-front,
.faq-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  backface-visibility: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.faq-front {
  background-color: #002c5a;
  color: white;
}

.faq-back {
  background-color: white;
  color: #003366;
  transform: rotateY(180deg);
}

.faq-card.flipped .faq-front {
  transform: rotateY(180deg);
}

.faq-card.flipped .faq-back {
  transform: rotateY(360deg);
}

.faq-icon {
  font-size: 36px;
  margin-bottom: 10px;
}



.contact-section {
  background-color: #f5f7fa;
  padding: 80px 20px;
}


.contact-box {
  max-width: 620px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 45px 40px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


.contact-form {
  display: flex;
  flex-direction: column;
}


.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
  margin-top: 18px;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccd5e0;
  font-size: 15px;
  background-color: #fff;
}


.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2a7cff;
  box-shadow: 0 0 0 3px rgba(42, 124, 255, 0.15);
}


.contact-form button {
  margin-top: 30px;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background-color: #003366;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #002244;
  transform: translateY(-2px);
}


@media (max-width: 600px) {
  .contact-box {
    padding: 30px 20px;
  }
}


.horario {
  background-color: #e9ecef;
  padding: 60px 20px;
  text-align: center;
}

.horario h2 {
  color: #003366;
}

.horario-box {
  display: inline-block;
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.footer {
  background-color: #001d3d;
  color: white;
  padding: 50px 20px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-brand img {
  width: 100px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ffffff33;
  padding-top: 15px;
  color: #ccc;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 999;
}


.form-wrapper {
  max-width: 850px;
  margin: 60px auto;
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-wrapper h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 10px;
}

.form-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 35px;
  font-size: 15px;
}

.diagnostic-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.diagnostic-form label {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.diagnostic-form input,
.diagnostic-form select,
.diagnostic-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  font-size: 14px;
  transition: border 0.2s, box-shadow 0.2s;
}

.diagnostic-form input:focus,
.diagnostic-form select:focus,
.diagnostic-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
  background: #fff;
}

.diagnostic-form textarea {
  resize: vertical;
  min-height: 100px;
}

.diagnostic-form hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 25px 0;
}

.diagnostic-form button {
  margin-top: 10px;
  align-self: center;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.diagnostic-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}


@media (max-width: 768px) {
  .form-wrapper {
    padding: 35px 25px;
  }
}
/* Ajuste del header para que no tape el menú flotante */
.header {
  padding-top: 120px; /* sube el contenido por encima del menú flotante */
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .header {
    padding-top: 100px;
  }
}
/* Menú flotante al hacer scroll */
.menu-oculto {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.icono-flotante {
  position: fixed;
  top: 15px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: none;
  z-index: 1001;
}

.icono-flotante img {
  width: 100%;
  height: 100%;
}

.icono-visible {
  display: block !important;
}
/* Icono flotante del camión */
.icono-flotante {
  position: fixed;
  bottom: 30px;      /* Abajo de la pantalla */
  right: 30px;       /* Separado del borde derecho */
  width: 50px;       /* Tamaño pequeño */
  height: 50px;
  cursor: pointer;
  z-index: 999;
  display: none;     /* Oculto por defecto */
  transition: transform 0.3s, opacity 0.3s;
}

.icono-flotante.icono-visible {
  display: block;    /* Aparece cuando el menú se oculta */
  animation: bounce 1s infinite alternate;
}


@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}
/* Texto intermedio azul */
.info-text {
  text-align: center;
  color: #050970; /* azul fuerte */
  font-size: 56px;
  font-weight: 600;
  margin: 10px 0; /* espacio arriba y abajo */
}
/* =========================
   HAMBURGUESA
========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #004080;
  border-radius: 3px;
  transition: 0.3s;
}

/* Animación X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px,-6px);
}



.menu-mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  z-index: 999;
}

.menu-mobile.show {
  display: flex;
}

.menu-mobile a {
  padding: 16px;
  text-decoration: none;
  color: #002c5a;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.menu-mobile a:hover {
  background: #eaf2ff;
  color: #1a5fff;
}


@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-login {
    display: none;
  }
}

@media (min-width: 769px) {
  .menu-toggle,
  .menu-mobile {
    display: none !important;
  }
.popup-exito{
position: fixed;
top:0;
left:0;
width:100%;
height:100%;
background: rgba(0,0,0,0.6);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.popup-contenido{
background:white;
padding:40px;
border-radius:12px;
text-align:center;
max-width:400px;
width:90%;
animation: aparecer 0.4s ease;
}

.popup-contenido i{
font-size:50px;
color:#2ecc71;
margin-bottom:15px;
}

.popup-contenido h3{
margin-bottom:10px;
color:#002b55;
}

.popup-contenido button{
margin-top:20px;
padding:10px 25px;
border:none;
background:#004aad;
color:white;
border-radius:25px;
cursor:pointer;
}

.popup-contenido button:hover{
background:#003580;
}

@keyframes aparecer{
from{
transform:scale(0.7);
opacity:0;
}
to{
transform:scale(1);
opacity:1;
}
}