@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}


:root {
    --naranja: #FF5722;
    --gris: #333;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/*Boton flotante*/

.boton_flotante {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    margin: 0px 25px 25px 0px;
    border-radius: 100px;
    z-index: 1;
}

.boton_flotante img{
    height: 50px;
}

.boton_flotante:hover {
    transform: scale(1.08);
    cursor: pointer;
    transition: transform 1s;
}

/* Barra superior */
.top-bar {
    background-color: var(--gris);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 32px;
}

/* Menú principal */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
  position: relative;
  width: 200px;
}

.logo-img,
.logo-video {
  width: 170%;
  display: block;
}

.logo-video {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  z-index: 2;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gris);
    font-size: 16px;
    padding: 5px 10px;
}

.nav-links a:hover {
    color: var(--naranja);
}


.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    top: 120%;
    left: 0;
    z-index: 10;
}

.dropdown-content a {
    color: var(--gris);
    padding: 10px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: var(--naranja);
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--gris);
    color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s;
    padding-top: 50px;
    z-index: 2000;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-size: 18px;
}

.menu a:hover {
    background-color: var(--naranja);
}

.menu.active {
    right: 0;
}

.submenu {
    display: none;
    padding-left: 20px;
}

.menu .dropdown.active .submenu {
    display: block;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/*Banner*/

.carrusel_publicidad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carrusel_publicidad img {
    width: 100%;
    height: auto;
    display: none;
}

.carrusel_publicidad img:first-child {
    display: block;
}

.carrusel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px;
}

.carrusel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carrusel-prev {
    left: 0px;
}

.carrusel-next {
    right: 0px;
}

/* Contadores */

.counter-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    box-sizing: border-box;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;
    height: 100px;
}

.counter-number {
    font-size: 3em;
    font-weight: bold;
    color: var(--naranja);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-item p {
    margin: 0;
    font-size: 1em;
    line-height: 1.2;
}

/* Botón de descarga */

.download-bar {
    background-color: var(--naranja);
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
  
.download-bar h2 {
color: white;
margin: 0;
padding: 0 20px;
display: inline-block;
vertical-align: middle;
font-size: 1.5em;
font-weight: 800;
}

.download-button {
display: inline-block;
background-color: white;
color: var(--naranja);
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
vertical-align: middle;
margin-left: 20px;
}

.download-button:hover {
background-color: var(--gris);
color: white;
}

/* Linea whatsapp */

.linea_WA {
    display: flex;
    flex-direction: column;
    background-color: var(--gris);
    color: white;
    padding: 30px 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.linea_WA h1 {
    font-size: 3.2rem;
}

/* Portafolio */

.portafolio-container {
    max-width: 900px;
    margin: auto;
    margin-bottom: 50px;
}
.portafolio-title {
    font-size: 3.5rem;
    color: var(--naranja);
    margin-bottom: 40px;
    text-align: center;
}
.portafolio-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px 20px;
}
.portafolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(25% - 20px);
}

.portafolio-item:hover {
    transform: scale(1.05);
}

.portafolio-icon {
    width: 70px;
    height: auto;
}
.portafolio-text {
    margin-top: 10px;
    font-size: 1rem;
}

/* Sec 1 Inicio Banner */

.sec-1-inicio-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 2;
    background-image: url('../img/Sec 1 Brindamos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
}

/* Cobertura nacional */

.presencia-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    background: white;
  }

  .presencia-text-content {
    flex: 1 1 400px;
    max-width: 600px;
    margin-right: 30px;
  }

  .presencia-title-box {
    display: inline-block;
    background: #fff;
    border: 2px solid var(--naranja);
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    text-align: left;
    max-width: 90%;
  }

  .presencia-title-box h2 {
    color: var(--gris);
    font-size: 20px;
    margin: 0;
  }

  .presencia-title-box h2 span {
    color: var(--naranja);
    font-weight: bold;
  }

  .presencia-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .presencia-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .presencia-item {
    background: #ececec;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .presencia-item-number {
    background: var(--naranja);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .presencia-item-text {
    flex: 1;
    font-size: 15px;
  }

  .presencia-image-content {
    flex: 1 1 300px;
    max-width: 430px;
    text-align: center;
  }

  .presencia-image-content img {
    width: 100%;
    border-radius: 10px;
    max-width: 500px;
  }

/* Form y botones */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 500px;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0px;
}

.social-and-directions h3 {
    color: var(--naranja);
    margin-bottom: 10px;
}

.social-and-directions {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.social-and-directions, .quotation-form {
    flex-basis: 48%;
}

.social-links a, .direction-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--naranja);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    margin-right: 10px; /* Ajusta el margen derecho para separación */
}

.social-links a:hover, .direction-buttons a:hover {
    background-color: var(--naranja);
    transform: scale(1.05); /* Efecto de crecimiento al hacer hover */
}

.direction-buttons a {
    border: none; /* Remueve el borde si prefieres un look sin bordes */
}

.direction-buttons a img {
    width: 20px;
    margin-right: 5px;
}

.quotation-form h2 {
    color: var(--gris);
    text-align: center;
    font-size: 30px;
    margin-bottom: 15px;
}

.quotation-form p {
    text-align: center;
    color: var(--naranja);
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--azul);
}

.quotation-form form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacio entre campos */
}

.quotation-form input[type="text"],
.quotation-form input[type="number"],
.quotation-form input[type="email"],
.quotation-form textarea {
    padding: 10px;
    border: 1px solid var(--gris);
    border-radius: 5px;
    outline: none; /* Elimina el borde al enfocar */
}

.quotation-form input[type="text"]:focus,
.quotation-form input[type="number"]:focus,
.quotation-form input[type="email"]:focus,
.quotation-form textarea:focus {
    border-color: var(--naranja);
}

.quotation-form button {
    padding: 10px 20px;
    background-color: var(--naranja);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quotation-form button:hover {
    background-color: var(--gris);
    transition: background-color 1s;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    gap: 12px 20px; /* Espacio entre filas y columnas */
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--gris);
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.checkbox-group label:hover {
    background-color: var(--naranja);
    color: white;
    transform: scale(1.02);
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--naranja);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* Oferta de valor */

.contenedor-oferta-valor {
    width: 100%;
    margin: 0 auto;
    padding: 40px 200px 50px 200px;
    background-color: var(--gris);
    color: #fff;
}

.header-oferta {
    text-align: center;
    margin-bottom: 40px;
}

.header-oferta h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.header-oferta p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card-custom {
    background: #fff;
    border-radius: 8px;
    padding: 5dvb 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

.card-custom:hover {
    transform: translateY(-10px);
}

.card-custom img {
    width: 70px;
    height: 70px;
    margin-bottom: 60px;
    border: 2px solid var(--gris);
    border-radius: 10px;
    padding: 10px;
}

.card-custom h3 {
    color: var(--gris);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-custom p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    text-align: justify;
    margin-bottom: 20px;
}

.card-custom a {
    font-size: 1rem;
    color: white;
    background-color: var(--naranja);
    padding: 5px;
    border-radius: 6px;
}

/* Clientes */

.clientes-container {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    font-weight: 100;
    margin-top: 40px;
}

.clientes-container h1 {
    font-size: 3.2rem;
    color: var(--naranja);
    margin-bottom: 15px;
}

.carousel {
    width: 80%; 
    display: flex;
    max-height: 250px; 
    overflow: hidden;
}

.slide {
    flex: 0 0 25%;
    height: 150px;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.arrow {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    margin: 0 10px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.navigation {
    display: flex;
}

/* Preguntas */

.faq-redplus {
    padding: 3rem 6rem;
    text-align: center;
    background: url(../img/Banner\ preguntas.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.faq-redplus__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: white;
}

.faq-redplus__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: white;
}

.faq-redplus__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: auto;
}

.faq-redplus__item {
    background-color: var(--gris);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    text-align: left;
    align-self: start;
}

.faq-redplus__question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 1.2rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-redplus__icon {
    transition: transform 0.3s ease;
    color: var(--naranja);
}

.faq-redplus__item.active .faq-redplus__icon {
    transform: rotate(180deg);
}

.faq-redplus__answer {
    background-color: #fff;
    color: #000;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    display: none;
    visibility: hidden;
}

.faq-redplus__item.active .faq-redplus__answer {
    display: block;
    padding: 1rem;
    visibility: visible;
}

/* Aliados */

.gallery-redplus {
    padding: 2.5rem 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 5rem;
    margin: 0 auto;
    font-size: 16px;
  }

  .gallery-redplus__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100px;
  }

  .gallery-redplus__image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }

  .gallery-redplus__label {
    margin-top: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .gallery-redplus__count {
    background-color: var(--naranja);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: bold;
  }

/* Footer */

footer {
    display: flex;
    width: 100%;
    background-color: var(--gris);
    padding: 40px 0;
}

.sec_final {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 85%;
    margin: auto;
    gap: 30px;
}

.footer_col {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.col_larga {
    flex: 2;
}

.col_larga img {
    max-height: 55px;
    display: block;
    margin-bottom: 10px;
}

.col_larga p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    max-width: 500px;
}

.footer_col ul {
    list-style: none;
    padding: 0;
}

.footer_col ul li {
    margin-bottom: 8px;
}

.footer_col ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer_col ul li a:hover {
    color: var(--naranja);
    transition: color 0.3s ease-in-out;
}

.footer_col h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer_col p {
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

.footer_col a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer_col a:hover {
    color: var(--naranja);
    transition: color 0.3s ease-in-out;
}

.mapa iframe {
    width: 100%;
    max-width: 340px;
    height: 210px;
    border-radius: 10px;
}

/* Derechos de autor*/

.Derechos_Autor {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 40px;
    background-color: var(--naranja);
    font-size: 0.8rem;
    text-align: center;
}

/*Responsive*/

@media (max-width: 1280px) {
    /* Oferta de valor */

    .contenedor-oferta-valor {
        padding: 40px 70px 50px 70px;
    }

    .header-oferta p {
        font-size: 1rem;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
        gap: 20px;
    }

    .card-custom {
        padding: 4dvb 20px;
    }

    .card-custom h3 {
        font-size: 1.2rem;
    }
    
    .card-custom p {
        font-size: 0.95rem;
    }
    
    .gallery-redplus {
        padding: 2.5rem 6rem;
        gap: 2rem 7rem;
        font-size: 16px;
    }
    
    .gallery-redplus__item {
        max-width: 100px;
    }

    /* Formulario */

    .contact-container {
        padding: 20px 200px;
        gap: 30px;
        margin: 30px 0px;
    }

    /* Footer */

    footer {
        width: 100%;
        padding: 40px 0;
    }
    
    .sec_final {
        width: 90%;
        gap:20px;
    }
    
    .footer_col {
        flex: 1;
        min-width: 150px;
        text-align: left;
    }
    
    .col_larga {
        flex: 2.2;
    }

    .col_larga2 {
        flex: 1.9;
    }
    
    .col_larga img {
        height: 40px;
    }
    
    .col_larga p {
        font-size: 12px;
        max-width: 300px;
    }
    
    .footer_col ul li a {
        font-size: 12px;
    }
    
    .footer_col h3 {
        font-size: 14px;
    }
    
    .footer_col p {
        font-size: 12px;
    }
    
    .mapa iframe {
        max-width: 290px;
        height: 220px;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {

    /* Menu */

    .nav-links {
        display: none;
    }
    .menu-icon {
        display: block;
    }

    .logo{
        width: 120px;
    }

    /* Contadores */

    .counter-container {
        gap: 10px;
        padding: 40px 0px 10px 0px;
    }
    
    .counter-number {
        font-size: 2em;
        font-weight: bold;
        line-height: 1;
        margin-bottom: 10px;
    }
    
    .counter-item p {
        margin: 0;
        font-size: 0.79em;
        line-height: 1.2;
    }

    /* Portafolio */

    .portafolio-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .portafolio-item {
        width: calc(50% - 20px);
    }

    .portafolio-icon {
        width: 60px;
        height: auto;
    }

    .portafolio-text {
        margin-top: 10px;
        font-size: 0.8rem;
    }

    .linea_WA h1 {
        font-size: 2.3rem;
    }

    /* Sec 1 Inicio banner */
    .sec-1-inicio-banner {
        background-image: url('../img/Sec 1 Movil Brindamos.png');
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 9;
      }

    /* Cobertura nacional */

    .presencia-section {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 50px;
      }
  
      .presencia-text-content,
      .presencia-image-content {
        max-width: 100%;
        margin: 0;
      }

      .presencia-image-content{
        margin-top: 30px;
      }
  
      .presencia-title-box {
        max-width: 100%;
        text-align: left;
      }
  
      .presencia-items {
        align-items: stretch;
      }
  
      .presencia-item {
        flex-direction: row;
      }

    /* Clientes */
    .clientes-container h1 {
        font-size: 2rem;
        padding: 0px 30px;
    }

    .slide {
        flex: 0 0 50%; /* Muestra 2 logos a la vez en dispositivos móviles */
    }

    .navigation {
        z-index: 1;
    }

    .carousel {
        width: 90%; 
        max-height: 250px; 
    }

    /* Oferta de valor */

    .contenedor-oferta-valor {
        padding: 40px 60px 50px 60px;
    }

    .card-custom {
        padding: 3dvb 30px;
    }

    /*Preguntas*/
    .faq-redplus {
        padding: 20px;
        text-align: center;
        background: url(../img/Banner\ preguntas.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    /* Formulario */

    .quotation-form h2 {
        margin-top: 70px;
    }

    .contact-container {
        padding: 20px 30px;
        flex-direction: column;
        gap: 30px;
        margin: -30px 0px 40px 0px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .sec_final {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_col {
        flex: 1 1 100%;
        text-align: center;
    }

    .col_larga {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 100%;
        gap: 20px;
    }

    /* Descarga */
    
    .download-bar a {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    
    .faq-redplus__title {
        font-size: 2rem;
      }
      .faq-redplus__subtitle {
        font-size: 1rem;
      }
}