/* reset */

  * {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
  }


/* estilos generales */

  html, body {
    height: 100%;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 80px;
  }

  p {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
  }

  h1 {
    font-family: "Outfit", sans-serif;
    color: #0A2146;
    font-size: 36px;
    font-weight: 700;
    text-align: left;
  }

  h2 {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-align: left;
  }


/* header */

  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
  }

  .white-bg {
    background-color: white;
  }

  .logotipo {
    height: 45px;
    margin-left: 10px;
  }

  .nav-link img {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
  }

  .nav-link img:hover {
    transform: scale(1.1);
  }

    /* RESPONSIVE header */
      @media (max-width: 768px) {
        .logotipo {
          height: 30px;
        }
      }


/* landing */

  .index {
    display: flex;
    flex-direction: column;
    min-height: 0vh;
    margin-top: 0px;
  }

  .landing {
    flex: 1;
    align-content: center;
    padding: 10px;
  }

  .landing-txt {
    justify-content: center;
    text-align: center;
  }

  .landing-txt h1 {
    justify-content: center;
    text-align: center;
  }

  .landing-txt img {
    max-width: 500px;
    padding: 25px;
  }

  .language-buttons {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 50px;
  }

  .lang-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: white;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    color: #0A2146;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .lang-btn:hover {
    color: #950C24;
  }

  .contact-button-wrapper {
    margin-top: 40px;
    text-align: center;
  }

  .contact-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0A2146;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .contact-button:hover {
    background-color: #950C24;
  }

    /* RESPONSIVE landing */
      @media (max-width: 768px) {
        h1 {
          font-size: 28px;
        }

        .landing-txt img {
          max-width: 80%;
          padding: 15px;
        }

        .lang-btn, .contact-button {
          font-size: 18px;
          padding: 10px 20px;
        }

        .language-buttons {
          gap: 20px;
          flex-direction: column;
          align-items: center;
        }
      }


/* home */

  .intro-mr-1 {
    justify-content: center;
    text-align: left;
    margin: 100px auto 100px auto;
    padding: 0 20px 0 20px;
    max-width: 824px;
  }

  .intro-mr-1 p {
    font-family: "Outfit", sans-serif;
    color: #666666;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
  }

  .highlight-01 {
    color: #950C24;
    font-weight: 700;
  }

  .highlight-02 {
    font-weight: 700;
  }

  .intro-mr-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/intro/intro-mr-2.webp') center/cover no-repeat;
    box-sizing: border-box;
  }

  .intro-mr-2-cont {
    justify-content: center;
    text-align: left;
    margin: 100px auto 100px auto;
    max-width: 1024px;
  }

  .intro-mr-2-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .intro-mr-2-sub h2 {
    color: #FFFFFF;
  }

  .intro-mr-2-linea {
    width: 80px;
    height: 5px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
  }

  .intro-mr-2-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    grid-gap: 20px;
    justify-content: center;
  }

  .card-intro {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 40px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border: none;
    box-shadow: none;
    padding: 10px 10px 0px 10px;
  }

  .card-intro p {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
  }

  .intro-mr-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .intro-mr-3-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    width: 1024px;
  }

  .intro-mr-3-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .intro-mr-3-sub h2 {
    color: #0A2146;
  }

  .intro-mr-3-linea {
    width: 80px;
    height: 5px;
    background-color: #0A2146;
  }

  .intro-mr-3-mapa img {
    max-width: 100%;
  }

  .scroll-down-arrow {
      position: absolute;
      bottom: 60px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 2.5rem;
      color: white;
      text-decoration: none;
      z-index: 10;
      animation: bounce 2s infinite;
  }

  @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
      40% { transform: translateX(-50%) translateY(-10px); }
      60% { transform: translateX(-50%) translateY(-5px); }
  }

  .intro-video-desktop {
      position: relative;
  }

    /* RESPONSIVE home */
      @media (max-width: 768px) {
        .intro-mr-1,
        .intro-mr-2-cont,
        .intro-mr-3-cont {
          margin: 50px auto 50px auto;
        }

        .intro-mr-1 p {
          font-size: 18px;
        }

        .card-intro {
          width: 250px;
          height: 250px;
        }

        .intro-mr-2-grid {
          grid-template-columns: 1fr;
          justify-items: center;
        }

        .intro-mr-3-cont {
          width: 100%;
          padding-left: 20px;
          padding-right: 20px;
          margin: 50px auto 90px auto;
        }

        .intro-mr-3-mapa img {
          width: 100%;
          height: auto;
          display: block;
        }

        .scroll-down-arrow {
          bottom: 20px;
        }
      }


/* soluciones */

  .soluciones-mr-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/soluciones/soluciones-mr-1.webp') center/cover no-repeat;
    box-sizing: border-box;
  }

  .soluciones-mr-1-cont {
    justify-content: center;
    text-align: left;
    margin: 100px auto 100px auto;
    padding: 0 120px 0 120px;
    max-width: 1024px;
  }

  .soluciones-mr-1-cont p {
    font-family: "Outfit", sans-serif;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 400; /* regular */
    text-align: left;
  }

  .soluciones-mr-2-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    max-width: 1024px;
  }

  .soluciones-mr-2-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .soluciones-mr-2-sub h2 {
    color: #0A2146;
  }

  .soluciones-mr-2-linea {
    width: 80px;
    height: 5px;
    background-color: #0A2146;
    margin-bottom: 30px;
  }

  .soluciones-mr-2-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    grid-gap: 20px;
    justify-content: center;
  }

  .soluciones-mr-2-grid div img {
    width: 200px;
    border-radius: 0 40px 0 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border: none;
    box-shadow: none;
  }

  .soluciones-mr-2-grid div p {
    color: #666666;
    font-size: 21px;
    font-weight: 400;
    margin-top: 20px;
    padding: 0 10px;
    text-align: center;
  }

  .soluciones-mr-3 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #39709F;
  }

  .soluciones-mr-3-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    max-width: 1024px;
  }

  .soluciones-mr-3-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .soluciones-mr-3-sub h2 {
    color: #FFFFFF;
  }

  .soluciones-mr-3-linea {
    width: 80px;
    height: 5px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
  }

  .soluciones-mr-3-txt {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 400;
    text-align: left;
  }

  .soluciones-card p {
    color: #0A2146;
    font-size: 18px;
  }

    /* soluciones - carrusel */
      .soluciones-carousel-container {
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        width: 100%;
        max-width: 1200px;
        margin: auto;
      }

      .soluciones-carousel-track {
          display: flex;
          gap: 30px;
          transition: transform 0.4s ease-in-out;
          will-change: transform;
      }

      .soluciones-card {
          flex: 0 0 auto;
          width: 540px;
          background-color: #FFFFFF;
          padding: 50px;
          border-radius: 0 40px 0 40px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .soluciones-carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #39709F;
        color: white;
        border: none;
        font-size: 24px;
        cursor: pointer;
        z-index: 10;
        padding: 5px 5px;
        border-radius: 0%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        opacity: 0.7;
        transition: opacity 0.2s ease-in-out;
      }

      .soluciones-carousel-btn:hover {
        opacity: 1;
      }

      .soluciones-carousel-btn.prev {
        left: 0px;
      }

      .soluciones-carousel-btn.next {
        right: 0px;
      }

    /* RESPONSIVE soluciones */   
      @media (max-width: 768px) {
      * {
        box-sizing: border-box;
      }

      body {
        overflow-x: hidden;
      }

      .soluciones-mr-1-cont {
        margin: 50px auto;
        padding: 0 30px;
      }

      .soluciones-mr-1-cont p {
        font-size: 18px;
      }

      .soluciones-mr-2-cont {
        margin: 50px auto;
        padding: 0 30px;
      }

      .soluciones-mr-2-grid {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 0;
      }

      .soluciones-mr-2-grid img {
        max-width: 250px;
        height: auto;
        margin-bottom: 10px;
      }

      .soluciones-mr-2-grid div p {
        font-size: 18px;
        padding: 0 10px;
      }

      .soluciones-mr-3-txt p {
        font-size: 18px;
      }

      .soluciones-mr-3-cont {
        margin: 50px auto 50px auto;
        padding: 0 30px 0 30px;
        max-width: 1024px;
      }

      .soluciones-carousel-container {
        overflow: visible;
        flex-direction: column;
        align-items: stretch;
      }

      .soluciones-carousel-track {
        flex-direction: column;
        gap: 20px;
        transform: none !important;
      }

      .soluciones-card {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
      }

      .soluciones-carousel-btn {
        display: none;
      }
    }


/* experiencia */  

  .experiencia-mr-1 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: url('../img/experiencia/experiencia-mr-1.webp') center/cover no-repeat;
  }

  .experiencia-mr-1-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    max-width: 1024px;
  }

  .experiencia-mr-1-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .experiencia-mr-1-sub h2 {
    color: #0A2146;
  }

  .experiencia-mr-1-linea {
    width: 80px;
    height: 5px;
    background-color: #0A2146;
    margin-bottom: 30px;
  }

  .experiencia-card img {
    width: 250px;
    border-radius: 0 40px 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    border: none;
    box-shadow: none;
  }

  .experiencia-card p {
    width: 250px;
    padding: 20px;
    background-color: #0A2146;
    border-radius: 0 0 0 40px;
    color: #FFFFFF;
    font-size: 21px;
    text-align: center;
    align-content: center;
    height: 100px;
  }

  .experiencia-clientes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    padding: 10px;
  }

  .logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .experiencia-mr-3 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #0A2146;
  }

  .experiencia-mr-4 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #39709F;
  }

  .experiencia-mr-2-cont,
  .experiencia-mr-3-cont,
  .experiencia-mr-4-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    width: 1024px;
  }

  .experiencia-mr-2-sub,
  .experiencia-mr-3-sub,
  .experiencia-mr-4-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .experiencia-mr-2-sub h2 {
    color: #0A2146;
  }

  .experiencia-mr-3-sub h2,
  .experiencia-mr-4-sub h2 {
    color: #FFFFFF;
  }

  .experiencia-mr-2-linea {
    width: 80px;
    height: 5px;
    background-color: #0A2146;
    margin-bottom: 30px;
  }

  .experiencia-mr-3-linea,
  .experiencia-mr-4-linea {
    width: 80px;
    height: 5px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
  }

  .experiencia-mr-3-txt,
  .experiencia-mr-4-txt {
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 400;
    text-align: left;
  }

  .experiencia-mr-3-txt p,
  .experiencia-mr-4-txt p {
    position: relative;
    padding-left: 0.4em;
    text-indent: -0.4em;
  }

    /* experiencia - carrusel */
      .experiencia-carousel-container {
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        width: 100%;
        max-width: 1200px;
        margin: auto;
      }

      .experiencia-carousel-track {
          display: flex;
          gap: 30px;
          transition: transform 0.4s ease-in-out;
          will-change: transform;
      }

      .experiencia-card {
          flex: 0 0 auto;
      }

      .experiencia-carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #0A2146;
        color: white;
        border: none;
        font-size: 24px;
        cursor: pointer;
        z-index: 10;
        padding: 5px 5px;
        border-radius: 0%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        opacity: 0.7;
        transition: opacity 0.2s ease-in-out;
      }

      .experiencia-carousel-btn:hover {
        opacity: 1;
      }

      .experiencia-carousel-btn.prev {
        left: 0px;
      }

      .experiencia-carousel-btn.next {
        right: 0px;
      }

    /* RESPONSIVE soluciones */   
      @media (max-width: 768px) {
        .experiencia-mr-1-cont,
        .experiencia-mr-2-cont,
        .experiencia-mr-3-cont,
        .experiencia-mr-4-cont {
          padding: 0 20px;
          margin: 40px auto;
          width: 100%;
          box-sizing: border-box;
        }

        .experiencia-mr-1-sub h2,
        .experiencia-mr-2-sub h2,
        .experiencia-mr-3-sub h2,
        .experiencia-mr-4-sub h2 {
          font-size: 22px;
        }

        .experiencia-mr-1-linea,
        .experiencia-mr-2-linea,
        .experiencia-mr-3-linea,
        .experiencia-mr-4-linea {
          margin-bottom: 20px;
        }

        .experiencia-clientes {
          grid-template-columns: repeat(3, 1fr);
          gap: 15px;
        }

        .logo-box {
          height: 60px;
          padding: 8px;
        }

        .experiencia-mr-3-txt,
        .experiencia-mr-4-txt {
          font-size: 18px;
        }

        .experiencia-mr-3-txt p,
        .experiencia-mr-4-txt p {
          margin-bottom: 10px;
        }
      }
  

/* radar */

  .radar-mr-2-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 40px 0 40px;
    max-width: 1024px;
  }

  .radar-mr-2-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .radar-mr-2-sub h2 {
    color: #0A2146;
  }

  .radar-mr-2-linea {
    width: 80px;
    height: 5px;
    background-color: #0A2146;
    margin-bottom: 30px;
  }

  .radar-mr-2-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .radar-card {
    width: 300px;
    text-align: center;
  }
  .radar-card img {
    width: 100%;
    border-radius: 8px;
  }

  .radar-card a {
    text-decoration: none;
  }

  .radar-card a:hover {
    text-decoration: underline;
  }

  .radar-card p {
    color: #666666;
    font-size: 18px;
    font-weight: 400; /* regular */
    margin-top: 20px;
    padding: 0 10px;
    text-align: center;
  }


/* contacto */

  .contacto-mr-2 {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #39709F;
  }

  .contacto-mr-2-cont {
    justify-content: center;
    text-align: left;
    margin: 50px auto 90px auto;
    padding: 0 80px 0 80px;
    width: 1024px;
  }

  .contacto-mr-2-sub {
    text-align: left;
    margin-bottom: 10px;
  }

  .contacto-mr-2-sub h2 {
    color: #FFFFFF;
  }

  .contacto-mr-2-linea {
    width: 80px;
    height: 5px;
    background-color: #FFFFFF;
    margin-bottom: 30px;
  }

  .contacto-contenido {
    display: flex;
  }

  .form-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 420px;
  }

  label {
    display: block;
    font-family: "Outfit", sans-serif;
    color: #666666;
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    margin-bottom: 8px;
  }

  input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #666666;
    box-sizing: border-box;
  }

  .button-contacto {
    width: 50%;
    background-color: #39709F;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }

  .button-contacto:hover {
    background-color: #0056b3;
  }

  .info-contacto {
    align-self: flex-end;
    font-family: "Outfit", sans-serif;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    padding-left: 50px;
  }

  .info-contacto a {
    color: #FFFFFF;
    text-decoration: none;
  }

  .info-contacto a:hover {
    text-decoration: underline;
  }

    /* RESPONSIVE contacto */  
    @media (max-width: 768px) {
      .contacto-mr-2-cont {
        padding: 0 20px;
        width: 100%;
      }

      .contacto-contenido {
        flex-direction: column;
        gap: 40px;
      }

      .form-container {
        max-width: 100%;
      }

      .info-contacto {
        align-self: auto;
        padding-left: 0;
      }

      .img-wtc img {
        width: 100%;
        height: auto;
      }
    }


/* aviso de privacidad */

  .aviso-privacidad-texto {
    justify-content: center;
    text-align: left;
    margin: 100px auto 100px auto;
    padding: 0 20px 0 20px;
    max-width: 824px;
  }

  .aviso-privacidad-texto p{
    font-family: "Outfit", sans-serif;
    color: #666666;
    font-size: 14px;
    text-align: left;
  }

  .aviso-privacidad-texto h1{
    font-family: "Outfit", sans-serif;
    color: #0A2146;
    font-size: 24px;
    text-align: left;
  }

  .aviso-privacidad-texto h2{
    font-family: "Outfit", sans-serif;
    color: #0A2146;
    font-size: 18px;
    text-align: left;
  }

/* footer */

  footer {
    height: 60px;
    background-color: #0A2146;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
  }

  .footer-legales,
  .footer-contacto {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .footer-legales p,
  .footer-contacto p {
    margin: 0;
    color: #FFFFFF;
  }

  .footer-legales a{
    color: #FFFFFF;
    text-decoration: none;
  }

  .footer-contacto a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .footer-legales a:hover,
  .footer-contacto a:hover {
    text-decoration: underline;
  }

  .footer-contacto img {
    width: 20px;
    height: 20px;
  }

  .footer-contacto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  }

  .footer-contacto-texto {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-contacto-rrss {
    display: flex;
    gap: 10px;
  }

    /* RESPONSIVE footer */
    @media (max-width: 767px) {
      footer {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 20px;
      }

      .footer-contacto {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
      }

      .footer-contacto-texto {
        flex: 1;
      }

      .footer-contacto-rrss {
        justify-content: flex-end;
        align-self: flex-end;
      }
    }

