*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Open Sans", sans-serif;
}

:root{
    --text-color: #000;
    --bg-color: #F2EFE7;
    --main-color: #fff;

    --h1-font: 6rem;
    --h2-font: 2rem;
    --p-font: 1rem;
}

body {
    color: var(--text-color);
    background: var(--bg-color);
}

header{
    position:  fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    padding: 27px 17%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
}

.logo{
    font-size: 33px;
    color: var(--main-color);
    font-weight: 700;
}


header  a{
  color: white;
}



.navbar{
    display: flex;
}

.navbar a{
    color: var(--main-color);
    font-size: var(--p-font);
    font-weight: 500;
    margin: 15px 22px;
    transition: all .50s ease;
}

.navbar a:hover{
    color: var(--main-color);
}

#menu-icon{
    color: var(--text-color);
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

section{
    padding: 70px 17% 60px;
}

.home{
    position: relative;
    height: 100vh;
    width: 100%;
   /*/ background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url(../img/principal2.jpg); /*/
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    
}

.home--short {
  height: 30vh;
}

.home.bg1 {
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../img/principal2.jpg');
}

.home.bg2 {
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../img/OTS.png');
}

.home.bg3 {
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../img/CarWash.jpg');
}

.home.bg4 {
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../img/services.png');
    
}

.home.bg5 {
    background-image: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('../img/imgblue.png');
    
}


.contact-section {
  background: #03224c; /* azul oscuro */
  color: #fff;
  padding: 50px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas */
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.contact-info ul li i {
  margin-right: 10px;
  font-size: 18px;
  color: #fff; /* amarillo */
}

/* Formulario */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 15px;
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.contact-form button {
  background: #FEA405; /* amarillo */
  color: #03224c; /* azul */
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #FEA405;
}

.home-text h5{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 6px;;
    color: var(--main-color);
}




.home-text h1{
    font-size: var(--h1-font);
    color: var(--main-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home-text p{
    font-size: 500;
    line-height: 30px;
    color: #fff;
    margin-bottom: 35px;
}

.btn{
    display: inline-block;
    padding: 13px 40px;
    background: var(--main-color);
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all .50s ease;
    cursor: pointer;
}

.btn:hover{
    transform: translateX(10px);
    border: 2px solid var(--main-color);
    background: transparent;
    color: var(--main-color);
}

.btn:hover{
    transform: translateX(10px);
    border: 2px solid var(--main-color);
    background: transparent;
    color: var(--main-color);
}

.btn.black:hover {
  background: transparent;
  color: #000;
  border-color: var(--text-color);
  transform: translateX(10px);
}

header.sticky{
    padding: 8px 17%;
    background: transparent;
    backdrop-filter: blur(35px);
}

header.color-change .logo {
  color: black;
}

header.color-change  a{
  color: black;
}

.hero{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 9rem;
    
}
.hero-text{
    top: 0;
}
.hero-img img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-text h5{
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.hero-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p{
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: #000;
    margin-bottom: 35px;
}


    
.center-text{
    text-align: center;
}

.center-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
}

.services-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
}

.box{
    position: relative;
    margin-bottom: 2rem;
}

.box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all .3s cubic-bezier(0.499, 0.05, 0.55, 0.95);
    will-change: filter;
    display: block;
}

.box h6{
    position: absolute;
    left: 25px;
    bottom: 95px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    backdrop-filter: blur(50px);
    padding: .5vh;
}

.box h4{
    position: absolute;
    left: 25px;
    bottom: 65px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    backdrop-filter: blur(50px);
    padding: .2vh;
}

.box h3{
    text-align: center;
    left: 25px;
    bottom: 65px;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    padding: .2vh;
    margin-bottom: 30px;
}

.box.box-section p {
  margin: 0;
  padding-left: 32px; /* alineado con el <b> */
  padding-top: 5px;
  color: #333;
}


.box img:hover{
    transform: scale(1.04);
    cursor: pointer;
}

.lista {
    padding-left: 0;
    margin: 2rem 0;
  }
  
  .lista li {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    font-weight: 700;
    
  }

  ul.puntos {
    list-style-type: disc !important;
  padding-left: 1em !important;
    margin: 1em 0 !important;
  }

   ul.puntos li {
   margin-bottom: 0.5em;
  color: #333;
  font-size: 1rem;
  }



  /* Estilo general para todas las listas */
.puntos ul {
    list-style-type: disc; /* círculos para subniveles */
    margin-left: 20px;     /* sangría para subniveles */
}

/* Si quieres subniveles más profundos */
.puntos ul ul {
    list-style-type: circle; /* círculos más pequeños */
    margin-left: 20px;       /* sangría adicional */
}


.box-header .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;   /* ancho fijo para que todos los títulos queden alineados */
  height: 22px;
  margin-right: 10px;
  font-size: 16px;
  color: #1d72b8; /* el color que quieras para el ícono */
}
  

.box-header b {
  font-size: var(--p-font);
  
  color: #000;
}

.box-list {
  margin: 0;
  padding-left: 62px; /* para alinear con el texto del <b> */
  list-style: none; /* quitamos los bullets por defecto */
}

.box-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 28px; /* espacio para el icono personalizado */
  line-height: 1.2;
  
  color: #333;
}

.box-list li::before {
  content: "●"; /* aquí puedes poner cualquier icono o emoji */
  position: absolute;
  left: 0;
  color: #1d72b8; /* color del icono */
  font-weight: bold;
}


.btn-whatsapp {
    position: fixed;
    bottom: 15px;
    right: 25px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.btn-whatsapp img {
    width: 30px;
    height: 30px;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
}

/* Sección de videos */
.videos-section {
  background: #f9fafb; /* gris claro */
  padding: 3rem 0;
}

.videos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.videos-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #1f2937; /* gris oscuro */
  margin-bottom: 2rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.video-card h3{
  font-weight: normal;
  padding: 3px 3px;
}

.video-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.video-card iframe {
  width: 100%;
  height: 250px;
}


/* Botón */
.videos-button {
  text-align: center;
  margin-top: 2.5rem;
}

.videos-button a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #059669; /* verde */
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.videos-button a:hover {
  background: #047857; /* verde más oscuro */
}

/* Responsive */
@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-card iframe {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-card iframe {
    height: 315px;
  }
}


.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, auto));
    gap: 2rem;
}

.footer-box{
    display: flex;
    flex-direction: column;
}


.copyright p{
    text-align: center;
    font-size: 12px;
    padding: 5px;
}

.mx-map{
  width: 100%;
  min-width: 1100px;  
  margin: 0 auto;
  padding: 1em;
  position: relative;
}

.mx-map img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pin{
    background: #3A7D44;
    position: absolute;
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
}

.pin::before{
    content: '';
    background: #3A7D44;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 1.3s ease-in-out infinite;
}

.pin span{
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    left: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 3em;
    padding: 0.3em 0.6em;
    font-size: 0.9em;
}

/* === REGIONES DEL MAPA === */
.chiapas    { top: 83%;   left: 79%; }
.cdmx       { top: 70.5%; left: 58.1%; }
.edomex     { top: 73.1%; left: 54.9%; }
.BajaC      { top: 12%;   left: 12%; }
.Sinaloa    { top: 45%;   left: 33%; }
.NuevoL     { top: 43%;   left: 57%; }
.SanL       { top: 57%;   left: 54%; }
.Guanajuato { top: 63%;   left: 52%; }
.Jalisco    { top: 65%;   left: 45%; }
.Hidalgo    { top: 66%;   left: 59%; }

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.sector-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.sector-box .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}


@keyframes pulse{
    100%{
        opacity: 0;
        transform: 
            translate(-50%, -50%)
            scale(2.5);
    }
}

@media (max-width: 1700px){
    header{
        padding: 18px 8%;
    }

    header.sticky{
        padding: 7px 8%;
    }

    section{
        padding: 50px 8% 40px;
    }
    
}

@media (max-width: 1500px){
    header{
        padding: 14px 5%;
    }

    header.sticky{
        padding: 7px 5%;
    }

    section{
        padding: 45px 5% 35px;
    }
    :root{
    --h1-font: 4.6rem;
    --h2-font: 1.8rem;
    --p-font: 15px;
    }

    .home{
        height: 90vh;
    }

    .home--short {
        height: 10vh;
        }
    

    .mx-map{
        min-width: 100%; 
        
    }

    .pin span{
        font-size: 0.6em;
    }

    .navbar{
        position: absolute;
        width: 100%;
        height: 150vh;
        padding: 40px 60px;
        top: 0;
        bottom: 0;
        left: 100%;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all 0.5s ease;
    }

    .navbar a{
        display: block;
        color: #979797;
        padding: 0;
        margin: 0px 0px 40px 0px;
        font-size: 2rem;
        font-weight: 400;
    }

    .navbar.open{
        left: 0;
    }
    #menu-icon{
        display: block;
        color: var(--main-color);
        filter: contrast(1.7);
        transition: color 0.3s ease;

    }

    #menu-icon.color-change {
        color: black;
        }

    
}

@media (max-width: 1050px){
   

    

    .hero{
        gap: 2rem;
    }

    .home--short {
        height: 10vh;
        }
}


@media (max-width: 800px){
    .hero{
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .home--short {
        height: 10vh;
        }
    
 .contact-container {
    grid-template-columns: 1fr; /* de 2 columnas a 1 */
    gap: 28px;
  }

  .contact-section {
    padding: 32px 0;
  }

  .contact-info h2 {
    font-size: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  .contact-form button {
    width: 100%; /* botón ancho completo en móvil */
  }


}

@media (max-width: 600px){
    :root{
        --h1-font: 2.8rem;
        --h2-font: 1rem;
    }

    .home{
        height: 110vh;
    }

    .home--short {
        height: 10vh;
        }

    .mx-map{
        font-size: 13px;
    }

    .footer{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(45%), auto);
        gap: 0.1rem;
    }
}

@media (max-width: 450){
    header{
        padding: 12px 3%;
    }

    header.sticky{
        padding: 7px 3%;
    }

    section{
        padding: 60px 3% 50px;
    }

    .contact-info p,
  .contact-info ul li {
    font-size: 14px;
  }
}

.online-support-section {

  padding: 40px 20px;
  text-align: center;
}

.online-support-section h2 {
  color: #1a73e8;
  margin-bottom: 15px;
}

.online-support-section p {
  font-size: 16px;
  margin-bottom: 20px;
}

.online-support-section ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.online-support-section ul li {
  margin: 10px 0;
  font-size: 15px;
  position: relative;
}

.online-support-section ul li::before {
  content: "✔";
  color: #1a73e8;
  margin-right: 10px;
}
