/* Reset básico */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    letter-spacing: 1px;
}

/* Navegación */
#main-navbar {
    background: #222;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 60px 0 130px;
}

.nav-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 0 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
}



/* Hero */
header {
    background: url('assets/img/header/header_04.png') no-repeat center center/cover;
    color: white;
    padding-top: 120px;
    padding-bottom: 100px;
    text-align: center;
    text-shadow: 3px 3px 6px #000;
    height: 90dvh;
}

header img {
    max-width: 50dvh;
}
header h1{
  font-size: 40px;
} 
header p{
  font-size: 30px;
}
header span{
  font-size: large;
}
/* Secciones */
section {
    padding: 60px 20px;
    text-align: center;
}

.bg-light {
    background: #f9f9f9;
    color: #333;
}

.bg-gray {
    background: #c5c5c5;
    color: #333;
}

.bg-dark {
    background: #222;
    color: #fff;
}
.img_section{
max-width: 70dvw;
}

/* Modelos */
.modelos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.modelo {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modelo img {
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

.modelo h3 {
    margin-bottom: 10px;
}


/*valores*/
#valores{
  min-height: 50dvh;
  margin-top: auto;
}

/* Prestaciones */
.prestaciones { list-style: none; margin: 15px 0; padding: 0; }
.prestaciones li { padding: 8px 0; font-size: 1rem; color: #333; }
.prestaciones hr { border: none; border-top: 1px solid #ddd; margin: 4px 0; }

/* Botones */
.btn, .modelo a {
    display: inline-block;
    padding: 10px 20px;
    background: #222222;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    margin: 15px;
}

.btn:hover, .modelo a:hover {
    background: #8a8a8a;
    color: #000;
}

.btn-menu {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    border-radius: 5px;
    transition: 0.3s;
    margin: 15px;
    text-decoration: none;
}

.btn-menu:hover, .modelo a:hover {
    background: #ffffff;
    
    color: #000;
}

/* Formularios */
form input, form select, form textarea, form button {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
}

form button {
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #444;
}

/* Garantía */
.garantia{
  margin: 10dvh 0px;
}
.garantia-container {
    display: flex;
    justify-content: center;
    gap: 10dvw;
    flex-wrap: wrap;
}

.img-section {
    width: 7dvw;
    padding: 15px;
}

/* Sección Valores */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.valor-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-8px);
}

.valor-item img {
    width: 60px;
    margin-bottom: 15px;
}

.valor-item h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #222;
}

.valor-item p {
    font-size: 0.95em;
    color: #555;
}

/*Sección Puntos de venta*/
.img-venta{
  max-width: 70dvw;
  min-width: 500px;
  margin-inline:calc(15dvw);
}
/* PUNTOS DE VENTA */
.dealers-section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.dealers-section h2 {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.dealers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  align-items: stretch; /* fuerza misma altura */
}

.dealer-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  
  /* estructura interna para alinear botones */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dealer-location {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 12px;
  margin-bottom: 12px;
}

.dealer-card h3 {
  font-size: 20px;
  margin: 8px 0;
  color: #333;
}

.dealer-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px 30px 20px; /* 👈 más espacio adentro */
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dealer-buttons {
  margin-top: auto; /* siempre empuja los botones al fondo */
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px 10px;
}

.dealer-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #fff;
  border: 2px solid #007bff;
  color: #007bff;
  transition: all 0.3s ease;
  font-size: 20px;
  padding: 10px;
}

.dealer-buttons .btn:hover {
  background: #007bff;
  color: #fff;
}
/* ---------------------------
   SECCIÓN POSVENTA – NUEVO
----------------------------*/

/* Contenedor principal */
.posventa {
  position: relative;
  background: url("assets/img/posventa/fondo_servicios.png") center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  min-height: 90vh;
}

/* Oscurecer fondo */
.posventa .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
  z-index: 1;
}

.posventa-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.posventa-titulo {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ---------------------------
   GARANTÍA
----------------------------*/
.garantia-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.garantia-item {
  text-align: center;
  max-width: 260px;
}

.garantia-item img {
  width: 120px;
  margin-bottom: 15px;
}

.garantia-item p {
  font-size: 1.1rem;
  line-height: 1.5;
}


/* ---------------------------
   TALLERES (ESTILO PREMIUM)
----------------------------*/
.talleres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.taller-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  padding: 30px 25px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.taller-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.18);
}

.taller-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.taller-direccion {
  color: #ddd;
  margin-bottom: 20px;
}

/* Botones */
.taller-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-t {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* Colores */
.taller-wpp { background: #25D366; color: #fff; }
.taller-map { background: #E63946; color: #fff; }
.taller-web { background: #1D3557; color: #fff; }

.btn-t:hover {
  transform: scale(1.12);
}

/* Responsividad */
@media (max-width: 768px) {
  .posventa h2 { font-size: 1.6rem; }
  .posventa p { font-size: 1rem; }
  .posventa-buttons .btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}


/*CONTACTO*/
.contenedor-formulario{
  max-width: 80dvw;
  text-align: center;
  margin: 0 auto;
}
/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  color: #aaa;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0,0,0,0.4);
  color: #fff;
}

/* Responsividad */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }
}


/* Animaciones */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .modelos-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modelos-container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        flex-direction: column;
        display: none;
        background: #222;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}
/* Sección Contacto WhatsApp */
.contacto-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.contacto-whatsapp h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contacto-whatsapp p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-whatsapp-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-big i {
  font-size: 1.5rem;
}

.btn-whatsapp-big:hover {
  background-color: #1ebe5c;
  transform: scale(1.05);
}

