@import url(../css/fonts.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --font-regular: "Inter-regular", sans-serif;
  --font-medium: "Inter-meidum", sans-serif;
  --font-bold: "Inter-bold", sans-serif;
  --font-lato-bold: "Lato-bold", sans-serif;
  --font-lato-regular: "Lato-regular", sans-serif;
  --bg-header: #f9b52f;
  --bg-button: #020617;
  --bg-button-secondary: #64748b;
  --color-text: #020617;
  --color-text-principal: #494949;
  --color-text-secondary: #707070;
  --color-text-white: #f5f5f5;
  --color-white: #fff;
  --color-text-blue: #2546bb;
  ---header-height: 98px;
}

body {
  width: 100%;
  font-family: var(--font-regular);
  background: radial-gradient(13.71% 6.8% at 24.43% 62.27%,
      rgba(1, 73, 255, 0.33) 0%,
      rgba(1, 200, 255, 0) 100%),
    radial-gradient(15.41% 17.39% at 76.15% 61.4%,
      rgba(244, 212, 91, 0.2) 0%,
      rgba(244, 212, 91, 0) 100%),
    radial-gradient(17.28% 21.49% at 21.17% 56.89%,
      rgba(234, 166, 1, 0.2) 0%,
      rgba(206, 219, 21, 0) 100%),
    var(--surface-100, #f1f5f9);
}

main {
  width: 100%;
  overflow: hidden;
}

section {
  width: 100%;
  height: 100%;
  padding-block: 4rem;
  position: relative;
}

.container {
  width: 92%;
  /* max-width: 1600px; */
  max-width: 83.333vw;
  margin: auto;
}

.d-none {
  display: none !important;
}

p {
  color: #000;

  letter-spacing: 0.0125rem;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  font-size: 0.984rem;
  line-height: 100%;
}

.w-100 {
  width: 100%;
}

/*Clases generales*/
.relative {
  position: relative;
}

.py-3 {
  padding-block: 3rem;
}

.py-0 {
  padding: 0;
}

.glass-efect {
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 30.7px 0 rgba(0, 0, 0, 0.42);
}

.flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.row {
  flex-direction: row;
}

.col {
  flex-direction: column;
}

.center-x {
  justify-content: center;
}

.center-y {
  align-items: center;
}

.grid {
  display: grid;
}

.gap-1 {
  gap: 1rem;
}

.error-field {
  border: 1px solid #ff4d4d !important;
  background-color: rgba(255, 77, 77, 0.05) !important;
}

.error-msg {
  color: #ff4d4d;
  font-size: 0.75rem;
  font-family: var(--font-regular);
  margin-top: 4px;
  display: block;
}

.gap-1_5 {
  gap: 1.5rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.gap-4 {
  gap: 4rem;
}

.rounded-x {
  border-radius: 1.25rem;
}

.title-main {
  font-size: clamp(1.5rem, 2vw + 1rem, 4rem);
  font-family: var(--font-bold);
  color: var(--color-text-white);
  line-height: normal;
  font-style: italic;
}

.title-secondary {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-family: var(--font-bold);
  color: var(--color-text);
  line-height: normal;
}

.btn-secondary {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(2, 6, 23);
  color: white;
  padding: 1rem 3rem;
  border-radius: 100px;
  font-family: var(--font-bold);
  font-size: 1.1rem;

  text-decoration: none;
  transition: all 0.3s ease;

  &:hover {
    background: rgba(2, 6, 23, 0.8);
    /* transform: scale(1.05); */
  }
}

.margin-section {
  /* margin-top: 123.75px; */
  margin-top: 98px;
}

& .splide__pagination {
  & .splide__pagination__page {
    &.is-active {
      background-color: var(--bg-header);
    }
  }
}



.fluentform input,
.fluentform select,
.fluentform textarea {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem !important;
}

.fluentform select {
  padding: 0.5em 2.25em 0.5em 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Removes default browser styling including the arrow */
}

.fluentform .ff-el-input--content:has(select) {
  position: relative;

  &::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

.fluentform {
  .frm-fluent-form {
    .ff_submit_btn_wrapper {
      .ff-btn-submit {
        width: 100%;
        background: rgb(2, 6, 23);
        color: white;
        padding: 1rem 3rem;
        border-radius: 100px;
        font-family: var(--font-bold);
        font-size: 1.1rem;
        border: none;
        cursor: pointer;

        &:hover {
          background: rgba(2, 6, 23, 0.8);
          /* transform: scale(1.05); */
        }
      }
    }
  }



  .ff-el-group {
    margin-bottom: 12px !important;
  }
}

/*Fin clases generales*/
.olva-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  .olva-topbar {
    background: #ffffff;
    height: 44px;

    padding-inline: 12px;
    padding-top: 4px;

    .olva-tabs {
      /* max-width: 1400px; */
      /* padding-inline: 4rem; */
      margin: 0 auto;
      height: 100%;

      .olva-tab {
        font-family: var(--font-bold);
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0.625rem 1.5rem;
        color: var(--bg-button);

        &.active {
          background-color: var(--bg-header);
          border-radius: 0.75rem 0.75rem 0 0;
        }
      }
    }
  }

  .olva-mainbar {
    background-color: var(--bg-header);
    height: 54px;
    padding: 0.75rem 3rem;

    .olva-mainbar__inner {
      /* max-width: 1400px; */
      width: 100%;
      margin: 0 auto;
      /* padding-inline: 4rem; */
      justify-content: space-between;

      /* LEFT NAV */
      .olva-mainnav {
        .olva-menu {
          list-style: none;
          display: flex;
          gap: 2rem;
          margin: 0;
          padding: 0;

          .olva-menu__item {
            position: relative;

            .olva-menu__link {
              text-decoration: none;
              color: var(--color-text-principal);
              transition: 0.2s ease;
            }

            &:hover>ul {
              display: block;
            }
          }
        }
      }

      /* CENTER LOGO */
      .olva-logo {
        width: fit-content;
        flex: 1;
        display: flex;
        justify-content: center;

        span {
          font-weight: 800;
          letter-spacing: 2px;
          color: #ffffff;
        }
      }

      /* RIGHT BUTTONS */
      .olva-actions {
        display: flex;
        gap: 10px;
        align-items: center;

        .olva-actions__desktop {
          display: flex;
          gap: 10px;

          @media (max-width: 991px) {
            display: none;
          }
        }

        .olva-mobile-toggle {
          display: none;
          background: none;
          border: none;
          font-size: 1.5rem;
          color: var(--color-text-principal);
          cursor: pointer;
          padding: 5px;

          @media (max-width: 991px) {
            display: block;
          }
        }

        .olva-btn {
          padding: 9px 14px;
          border-radius: 10px;
          font-weight: 700;
          font-size: 14px;
          text-decoration: none;
          display: inline-flex;
          align-items: center;
          gap: 0.75rem;
          justify-content: center;
          transition: 0.2s ease;

          &.olva-btn--primary {
            background: #1d4ed8;
            color: #ffffff;
          }

          &.olva-btn--outline {
            background: #ffffff;
            color: #1d4ed8;
            border: 1px solid #dbe3ff;
          }

          /* &:hover {
                        transform: translateY(-2px);
                    } */
        }
      }
    }
  }

  .olva-mobile-menu {
    display: none;
  }
}

/**Estilos para main**/

/**Estilos página de inicio**/

.banner__main {
  padding: 0;
  align-items: center;
  height: 100vh;
  /* Ocupa toda la altura del viewport */

  picture {
    position: absolute;
    width: 100%;
    height: 100%;

    img {
      height: 100%;
      width: 100%;
      object-position: center;
      object-fit: cover;
    }
  }

  .container {
    padding-top: var(---header-height);

    .row {
      max-width: 748px;
      gap: 0.75rem;


      .title-main {
        font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
        text-align: center;
      }

      .wrapper {
        /* max-width: 946px; */
        width: 100%;
        padding: 1.5rem;
        border-radius: 32px;
        /* Estilos de cristal directamente en el contenedor */
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 1;

        .hero-search {
          .search-group {
            display: flex;
            width: 100%;
            gap: 1rem;
            flex-wrap: nowrap;

            .input-field {
              display: flex;

              flex: 1;
              position: relative;

              &.tracking-full {
                flex: 1;
                flex-direction: column;
                gap: 1rem;

                .message-error {
                  color: red;
                  font-size: 0.875rem;
                  font-weight: 700;
                }
              }
            }

            .search-input {
              width: 100%;
              border: 2px solid transparent;
              border-radius: 24px;
              /* padding: 1.5rem; */
              padding: 0.75rem 1.5rem;
              background: rgba(255, 255, 255, 0.75);
              box-shadow: 0 4px 43.3px 0 rgba(72, 72, 72, 0.35);
              font-family: var(--font-regular);
              font-size: 1rem;
              line-height: 100%;
              font-family: var(--font-bold);
              transition: all 0.3s ease;

              &:focus {
                outline: none;
                background: rgba(255, 255, 255, 0.95);
                box-shadow: 0 4px 50px 0 rgba(37, 70, 187, 0.25);
              }
            }

            .search-button {
              border: none;
              /* padding: 1.5rem; */
              height: 48px;
              width: 48px;
              max-height: 3rem;
              border-radius: 24px;
              background: #2546bb;
              color: white;
              font-family: var(--font-bold);
              font-size: 1rem;
              cursor: pointer;
              box-shadow: 0 4px 43.3px 0 rgba(72, 72, 72, 0.35);
              transition: all 0.3s ease;
              display: flex;
              align-items: center;
              justify-content: center;
              white-space: nowrap;

              &:hover {
                background: #1e3a9e;
                transform: translateY(-2px);
              }

              &:active {
                transform: translateY(0);
              }
            }
          }
        }

        .hero-cards {
          display: grid;
          grid-template-columns: 1fr 1fr 1fr;
          gap: 1rem;

          .card-link {
            box-shadow: 0 4px 43.3px 0 rgba(72, 72, 72, 0.35);
            border-radius: 1.5rem;
            padding: 1rem;
            gap: 0.75rem;
            max-height: 218px;
            max-width: 218px;
            position: relative;

            .card-title {
              text-align: center;
              font-size: 1.25rem;
              font-family: var(--font-bold);
              color: var(--color-text-blue);
            }

            p {
              font-size: 0.875rem;
              color: var(--color-text-secondary);
              text-align: center;

              line-height: normal;
            }

            &:nth-child(2)::before {
              content: "Más usado";
              display: flex;
              padding: 4px 12px;
              align-items: center;
              justify-content: center;
              position: absolute;
              font-size: 0.75rem;
              font-family: var(--font-bold);
              color: white;
              left: 50%;
              top: -5%;
              transform: translateX(-50%);

              border-radius: 0.5rem;
              background: var(--color-text-blue);
              line-height: 100%;
              box-shadow: 0 4px 43.3px 0 rgba(72, 72, 72, 0.35);
            }
          }
        }

        .contain-alert {
          max-width: 550px;
          margin: 0 auto;

          p {
            font-size: 14px;
            color: var(--color-white);
            line-height: normal;
          }
        }
      }
    }

  }
}

.olva-floating-bar {
  display: none;
}

.experience {
  .container {
    .top {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 3rem;

      .box-solution {
        border-radius: 1.25rem;
        padding: 2.5rem;
        gap: 1rem;
        position: relative;
        overflow: hidden;
        /* min-height: 390px; */
        display: flex;
        flex-direction: column;
        color: var(--color-white);

        /* Alineaciones por defecto y alternadas como en el diseño */
        align-items: flex-end;
        text-align: right;

        &:nth-child(even) {
          align-items: flex-start;
          text-align: left;

          a {
            align-self: flex-start;
          }
        }

        img {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
          z-index: 0;
          transition: transform 0.5s ease;
        }

        &:hover img {
          transform: scale(1.05);
        }

        /* Overlay para lectura */
        &::after {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(180deg,
              rgba(0, 0, 0, 0) 0%,
              rgba(0, 0, 0, 0.7) 100%);
          z-index: 1;
        }

        .contain-info {
          position: relative;
          z-index: 2;
          max-width: 250px;
          display: flex;
          flex-direction: column;
          gap: 0.625rem;
          justify-content: center;
          align-items: end;

          h3,
          h2,
          p {
            color: var(--color-white);
            /* margin-bottom: 0.5rem; */
          }

          h3 {
            font-family: var(--font-bold);
            font-size: 1.5rem;
            line-height: normal;
          }

          p {
            font-size: 0.9rem;
            opacity: 0.9;
          }
        }

        a {
          position: relative;
          z-index: 2;
          background: #020617;
          color: white;
          padding: 0.75rem 2rem;
          border-radius: 100px;
          font-family: var(--font-bold);
          font-size: 1rem;
          text-decoration: none;
          width: fit-content;

          transition: all 0.3s ease;

          &:hover {
            background: #1e293b;
            transform: translateY(-3px);
          }
        }
      }
    }

    .bottom {
      /* margin-top: 4rem; */
      border-radius: 2rem;
      overflow: hidden;
      /* min-height: 450px; */

      .bg-counters {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      .counters-wrapper {
        position: relative;
        z-index: 1;
        padding: 2.5rem 5rem;
        gap: 2.5rem;
        height: 100%;
        width: 100%;
        box-sizing: border-box;

        .counters-glass {
          width: 100%;
          /* max-width: 1100px; */
          grid-template-columns: repeat(4, 1fr);
          padding: 1.5rem;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.2);
          box-shadow: 0 4px 43.3px 0 rgba(72, 72, 72, 0.35);

          .counter-item {
            padding: 0 1.5rem;
            position: relative;
            text-align: center;
            min-height: 200px;

            &:not(:last-child)::after {
              content: "";
              position: absolute;
              right: 0;
              top: 10%;
              height: 80%;
              width: 1px;
              background: rgba(255, 255, 255, 0.3);
            }

            .number-box {
              font-size: clamp(2rem, 4vw, 3.5rem);
              font-family: var(--font-bold);
              color: var(--color-white);
              line-height: 1;
              margin-bottom: 1rem;
            }

            .counter-text {
              font-size: 1rem;
              color: var(--color-white);
              font-family: var(--font-bold);
              line-height: 1.2;
            }
          }
        }

        .btn-conoce {
          background: #020617;
          color: white;
          padding: 1rem 3rem;
          border-radius: 100px;
          font-family: var(--font-bold);
          font-size: 1.1rem;
          text-decoration: none;
          transition: all 0.3s ease;

          &:hover {
            background: #1e293b;
            transform: scale(1.05);
          }
        }
      }
    }
  }
}

.services {
  /* padding-block: 5rem; */
  padding-block: 0;

  .container {
    .title-main {
      color: var(--color-text-principal);
      text-align: center;
    }

    .servicios-wrapper {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;

      @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        /* Un poco más de espacio vertical para resaltar el dinamismo */
      }

      .card-servicio,
      .imagen-completa {
        width: 100%;
        border-radius: 30px;
        /* Bordes más redondeados como en Figma */
        overflow: hidden;
        /* min-height: 283px; */
        max-height: 283px;
        aspect-ratio: 16 / 9;
        height: 100%;
        /* min-height: 380px; */
        /* Asegura que todos tengan una altura consistente pero generosa */
      }

      .card-servicio {
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);

        &:hover {
          background-color: rgba(255, 255, 255, 0.9);
          transform: translateY(-8px);
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
        }

        .top {
          display: flex;
          align-items: center;
          gap: 1.5rem;
          justify-content: center;
          height: 100%;

          .box-img {
            /* flex: 0 0 45%; */
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            /* La ilustración ocupa casi la mitad */

          }

          .box-info {
            max-width: 50%;
            width: 100%;
            height: 100%;
            display: flex;

            flex-direction: column;
            justify-content: center;
            gap: 0.75rem;

            h3 {
              font-size: 1.75rem;
              /* font-size: 1.75vw; */
              font-family: var(--font-bold);
              color: #1E293B;
              text-align: center;

              line-height: 1.1;
            }

            p {
              font-size: 1rem;
              color: #1E293B;
              line-height: normal;
              text-align: center;

            }
          }
        }

        /* Lógica de alternancia: para que el diseño no se vea "igual", 
                   invertimos el orden del texto e imagen en ciertos bloques */
        &:nth-child(even) .top {
          flex-direction: row-reverse;
        }

        .btn-secondary {
          width: 100%;
          margin-top: 1.5rem;
          padding: 1rem;
          text-align: center;
          border-radius: 99px;
          /* Botones tipo píldora de Figma */
        }
      }

      .imagen-completa {
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          /* Crucial para que la imagen ocupe todo el cuadro sin deformarse */
          display: block;
        }
      }
    }
  }
}

.companies {
  .container {
    .title-main {
      color: #1e293b;
      text-align: center;
      font-style: normal;
    }
  }
}

.planes-services {
  .container {
    .planes-slider {
      .splide__track {
        .splide__list {
          align-items: center;

          .plan-card {
            border-radius: 20px;
            padding: 2.5rem;
            background-color: white;
            display: flex;
            flex-direction: column;
            gap: 2rem;

            .header__plan {
              gap: 0.75rem;
              font-size: 36px;
              line-height: normal;
              color: var(--color-text);

              h3 {
                gap: 10px;
                font-family: var(--font-bold);
              }
            }

            p {
              color: var(--color-text);

              font-size: 1rem;
              font-style: normal;

              line-height: normal;
            }

            .precio {
              gap: 0.75rem;

              .price__text {
                color: var(--color-text);
                text-align: center;

                font-size: 3rem;
                font-style: normal;
                font-family: var(--font-bold);
                line-height: normal;
              }

              .descuento {
                border-radius: 0.5rem;
                padding: 0.75rem 1.5rem;
                font-size: 15px;
                text-wrap: nowrap;
                font-family: var(--font-bold);
                color: var(--color-white);
                background-color: var(--bg-header);
              }
            }

            .btn-contact {
              gap: 10px;
              padding: 0.75rem 0.625rem;
              border-radius: 99px;
              background-color: #020617;
              font-size: 1.5rem;
              text-align: center;
              line-height: normal;
              font-family: var(--font-bold);
              color: var(--color-white);
            }

            &.plan-destacado {
              .btn-contact {
                background-color: #2546bb;
              }
            }

            .features {
              margin-left: 1.5rem;
              gap: 0.75rem;

              li {
                gap: 0.75rem;
                position: relative;

                &::before {
                  content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05Ljc1IDEuNUM3LjU2MTk2IDEuNSA1LjQ2MzU0IDIuMzY5MTkgMy45MTYzNyAzLjkxNjM3QzIuMzY5MTkgNS40NjM1NCAxLjUgNy41NjE5NiAxLjUgOS43NUMxLjUgMTAuODMzNCAxLjcxMzM5IDExLjkwNjIgMi4xMjc5OSAxMi45MDcxQzIuNTQyNTkgMTMuOTA4MSAzLjE1MDI5IDE0LjgxNzUgMy45MTYzNyAxNS41ODM2QzQuNjgyNDUgMTYuMzQ5NyA1LjU5MTkzIDE2Ljk1NzQgNi41OTI4NiAxNy4zNzJDNy41OTM4IDE3Ljc4NjYgOC42NjY1OSAxOCA5Ljc1IDE4QzEwLjgzMzQgMTggMTEuOTA2MiAxNy43ODY2IDEyLjkwNzEgMTcuMzcyQzEzLjkwODEgMTYuOTU3NCAxNC44MTc1IDE2LjM0OTcgMTUuNTgzNiAxNS41ODM2QzE2LjM0OTcgMTQuODE3NSAxNi45NTc0IDEzLjkwODEgMTcuMzcyIDEyLjkwNzFDMTcuNzg2NiAxMS45MDYyIDE4IDEwLjgzMzQgMTggOS43NUMxOCA3LjU2MTk2IDE3LjEzMDggNS40NjM1NCAxNS41ODM2IDMuOTE2MzdDMTQuMDM2NSAyLjM2OTE5IDExLjkzOCAxLjUgOS43NSAxLjVaTTIuODU1NzEgMi44NTU3MUM0LjY4NDE5IDEuMDI3MjMgNy4xNjQxNCAwIDkuNzUgMEMxMi4zMzU5IDAgMTQuODE1OCAxLjAyNzIzIDE2LjY0NDMgMi44NTU3MUMxOC40NzI4IDQuNjg0MTkgMTkuNSA3LjE2NDE0IDE5LjUgOS43NUMxOS41IDExLjAzMDQgMTkuMjQ3OCAxMi4yOTgyIDE4Ljc1NzggMTMuNDgxMkMxOC4yNjc4IDE0LjY2NDEgMTcuNTQ5NyAxNS43Mzg5IDE2LjY0NDMgMTYuNjQ0M0MxNS43Mzg5IDE3LjU0OTcgMTQuNjY0MSAxOC4yNjc4IDEzLjQ4MTIgMTguNzU3OEMxMi4yOTgyIDE5LjI0NzggMTEuMDMwNCAxOS41IDkuNzUgMTkuNUM4LjQ2OTYxIDE5LjUgNy4yMDE3NiAxOS4yNDc4IDYuMDE4ODQgMTguNzU3OEM0LjgzNTkxIDE4LjI2NzggMy43NjEwOCAxNy41NDk3IDIuODU1NzEgMTYuNjQ0M0MxLjk1MDM0IDE1LjczODkgMS4yMzIxNiAxNC42NjQxIDAuNzQyMTc0IDEzLjQ4MTJDMC4yNTIxOTEgMTIuMjk4MiAwIDExLjAzMDQgMCA5Ljc1QzUuOTYwNDZlLTA4IDcuMTY0MTQgMS4wMjcyMyA0LjY4NDE5IDIuODU1NzEgMi44NTU3MVpNMTMuMTg1OSA2Ljg4OTdDMTMuNTIzIDcuMTMwNDYgMTMuNjAxMSA3LjU5ODg3IDEzLjM2MDMgNy45MzU5M0w5LjYxMDMgMTMuMTg1OUM5LjQ4MjE2IDEzLjM2NTMgOS4yODE1NyAxMy40NzkzIDkuMDYxODYgMTMuNDk3NEM4Ljg0MjE1IDEzLjUxNTYgOC42MjU1NiAxMy40MzYyIDguNDY5NjcgMTMuMjgwM0w2LjIxOTY3IDExLjAzMDNDNS45MjY3OCAxMC43Mzc0IDUuOTI2NzggMTAuMjYyNiA2LjIxOTY3IDkuOTY5NjdDNi41MTI1NiA5LjY3Njc4IDYuOTg3NDQgOS42NzY3OCA3LjI4MDMzIDkuOTY5NjdMOC45MDQzIDExLjU5MzZMMTIuMTM5NyA3LjA2NDA3QzEyLjM4MDUgNi43MjcwMSAxMi44NDg5IDYuNjQ4OTQgMTMuMTg1OSA2Ljg4OTdaIiBmaWxsPSIjRjlCNTJGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+);
                  left: 0;
                  width: 20px;
                  height: 20px;
                }
              }
            }
          }
        }
      }
    }
  }
}

.blog {
  .container {
    gap: 40px;
  }

  .title {
    font-size: 2rem;
    font-family: var(--font-bold);
    color: var(--color-text);
    line-height: 1.2;
    text-align: center;
  }

  .blog-card {
    background: #ffffff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* &:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        } */

    .blog-card__image {
      width: 100%;
      height: 148px;
      background-color: var(--bg-header);
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }
    }

    &:hover .blog-card__image img {
      transform: scale(1.1);
    }

    .blog-card__content {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      gap: 0.75rem;
    }

    .blog-card__date {
      font-size: 0.85rem;
      color: #94a3b8;
      font-family: var(--font-regular);
    }

    .blog-card__title {
      font-size: 1.25rem;
      font-family: var(--font-bold);
      color: var(--color-text);
      line-height: 1.3;
      /* Limitar a 2 líneas */
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 3.2rem;
    }

    .blog-card__excerpt {
      font-size: 0.95rem;
      color: var(--color-text-secondary);
      line-height: 1.5;
      margin-bottom: 0.5rem;
    }

    .blog-card__categories {
      margin-top: auto;
      margin-bottom: 1rem;

      .blog-category {
        background-color: var(--bg-button-secondary);
        color: var(--color-white);
        padding: 0.35rem 1rem;
        border-radius: 100px;
        font-size: 0.75rem;
        font-family: var(--font-bold);
      }
    }

    .blog-card__btn {
      background: #020617;
      color: #ffffff;
      text-align: center;
      padding: 0.85rem;
      border-radius: 1rem;
      font-family: var(--font-bold);
      font-size: 0.9rem;
      transition: background 0.3s ease;
      text-decoration: none;

      &:hover {
        background: #1e293b;
      }
    }
  }

  .splide__pagination {
    /* background-color: red; */
    position: relative;
    bottom: -1.5rem;
    padding-block: 1rem;

    .splide__pagination__page {
      opacity: 1;

      &.is-active {
        background-color: var(--bg-header);
      }
    }
  }

  .btn-secondary {
    margin: auto;
  }
}

/**Fin estilos página de inicio**/

/** Estilos Página de Blog **/
.blog-page {}

.blog-hero {
  padding-block: 0;

  picture {
    display: flex;
    width: 100%;
    max-height: 240px;

    img {
      width: 100%;

      object-fit: cover;
    }
  }

  .container {
    padding-block: 3rem;
  }

  .title-blog {
    font-size: 3rem;
    font-family: var(--font-bold);
    color: var(--color-text);
    line-height: 1.2;
    text-align: center;
  }
}

.select-wrapper {
  position: relative;

  .filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  &::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

.filter-input,
.filter-select {
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: white;
  font-family: var(--font-regular);
  font-size: 0.95rem;
  color: var(--color-text);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.filter-input {
  padding-right: 3rem;
  min-width: 250px;
}

.search-icon-abs {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #2546bb;
  box-shadow: 0 10px 15px -3px rgba(37, 70, 187, 0.1);
}

/* Featured Post */
.featured-post {
  /* background: white; */
  /* border-radius: 2rem; */
  /* overflow: hidden; */
  gap: 1.5rem;
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); */
  /* min-height: 450px; */
}

.featured-image {
  flex: 1.2;
  overflow: hidden;
  border-radius: 1.25rem;
  /* min-width: 300px;
    height: 388px; */
}

.featured-image img {
  width: 100%;

  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 1;
  border-radius: 1.25rem;
  padding: 3rem;
  background: white;
}

.featured-content .inner-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-medium);
  text-transform: capitalize;
}

.post-excerpt {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.category-pill {
  background-color: var(--bg-button-secondary);
  color: var(--color-white);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--font-regular);
}

.btn-read-more {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #020617;
  color: white;
  padding: 1rem 2rem;

  border-radius: 99px;
  font-family: var(--font-bold);
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #1e293b;
  transform: translateX(5px);
}

/* Grid Posts */
.blog-grid {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 2rem;
}

/* Reusing and refining .blog-card which was already present in style.css */
.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-card__image {
  height: 150px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-header);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-card__date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-medium);
  text-transform: capitalize;
}

.blog-card__title {
  font-size: 1.25rem;
  font-family: var(--font-bold);
  color: var(--color-text);
  line-height: normal;
}

.blog-card__excerpt {
  color: var(--bg-button-secondary);
  font-size: 0.875rem;
  line-height: normal;
  margin: 0;
}

.blog-card__categories {
  gap: 0.5rem;
}

.blog-category {
  font-size: 0.75rem;
  font-family: var(--font-regular);
  color: var(--color-white);
  background: var(--bg-button-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

.blog-card__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #020617;
  color: white;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-family: var(--font-bold);
  transition: all 0.3s ease;
}

.blog-card__btn:hover {
  background: var(--bg-button-secondary);
}

.blog-footer-actions {
  justify-content: center;
  background-color: #fff;
  border-radius: 6px;
  margin: 0 auto;
  padding: 0.438rem 0.875rem;
}

/* Pagination */
.pagination {
  margin-top: 4rem;
}

.pagination a,
.pagination span {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  color: var(--color-text);
  font-family: var(--font-bold);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pagination .current {
  background: #2546bb;
  color: white;
}

.pagination a:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .featured-post {
    flex-direction: column;
  }

  .featured-image {
    height: 300px;
  }

  .post-title {
    font-size: 2rem;
  }
}

/* Advanced Pagination */
.adv-pagination {
  backdrop-filter: blur(10px);
  /* padding: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3); */
}

.pag-btn,
.pag-num {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font-family: var(--font-medium);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pag-num.active {
  background: var(--color-text-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 70, 187, 0.3);
}

.pag-btn:hover:not(:disabled),
.pag-num:hover:not(.active) {
  background: #f1f5f9;
  color: #2546bb;
}

.pag-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ppp-label {
  font-family: var(--font-bold);
  color: #64748b;
  font-size: 0.9rem;
}

.ppp-selector .filter-select {
  padding: 0.2rem;
  /* min-width: 80px; */
  border-radius: 10px;
  font-size: 0.75rem;
}

/* Loader Styles */
.blog-grid.relative {
  min-height: 400px;
}

.blog-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #e2e8f0;
  border-bottom-color: #2546bb;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  font-family: var(--font-medium);
  color: #64748b;
  font-size: 1.2rem;
}

/**Fin estilos página de blog**/

/**Estilos single post**/
.single-post-hero {
  padding-block: 0;

  .container-post {
    width: 92%;
    max-width: 1000px;
    margin: auto;
    padding-block: 2rem;

    .return-blog {
      width: fit-content;
      height: 54px;
      align-self: self-start;
      font-size: 0.875rem;
      font-family: var(--font-bold);
      color: var(--color-text-principal);
      text-decoration: none;
      gap: 0.5rem;
      border-radius: 99px;
      border: 1px solid var(--color-text-secondary);
      background-color: #f8fafc;
      padding: 4px 24px;
    }

    .single-post-hero-image {
      border-radius: 24px;
      overflow: hidden;
    }

    .single-post-hero-meta {
      justify-content: space-between;

      .single-post-hero-date {
        text-transform: capitalize;
        font-size: 1rem;
        font-family: var(--font-regular);
        color: var(--color-text-secondary);
        line-height: normal;
      }
    }

    img {
      width: 100%;
      border-radius: 20px;
      max-height: 404px;
      object-fit: cover;
    }

    .single-post-content,
    .dynamic-content {

      h2,
      h3 {
        color: var(--color-text-secondary);
        font-size: 1.5rem;
        font-family: var(--font-bold);
        line-height: normal;
      }

      h3 {
        font-size: 1.25rem;
      }

      p {
        font-size: 1rem;
        font-family: var(--font-regular);
        color: var(--color-text-secondary);
        line-height: normal;

        strong {
          color: var(--bg-header);
        }
      }

      ul {
        margin-left: 1.5rem;

        li {
          list-style: disc;
          font-size: 1rem;
          font-family: var(--font-regular);
          color: var(--color-text-secondary);
          line-height: normal;

          a {}
        }
      }
    }

    /* Dynamic Content Specifics */
    .dynamic-content {
      .block-card {
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 20px;
        padding: 3rem;

        .card-content {
          flex: 1;
          align-items: center;

          .info {
            flex: 1.5;

            .card-title {
              color: #1e293b;
              text-align: center;
            }

            .card-description {
              text-align: center;
            }
          }
        }

        .btn-secondary {
          margin: 0;
          width: 100%;
        }

        .card-image {
          flex: 1;

          img {
            width: 100%;
            height: auto;
            object-fit: contain;
          }
        }
      }
    }
  }
}

/****/

/* ===== Ubicanos (Mapa + Panel) ===== */
.ubicanos-map-layout {
  position: relative;
  padding-block: 0;
  height: 100dvh;
  width: 100%;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ubicanos-sidebar {
  position: fixed;
  /* top: 20%;
    left: 50%;
    transform: translateX(-50%); */
  left: 20px;
  top: 20%;
  z-index: 1000;
  width: 550px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* max-height: calc(100% - 40px); */
  max-height: 450px;
}

.ubicanos-search-box {
  background: white;
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ubicanos-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #333;
  font-family: inherit;
}

.ubicanos-panel {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.ubicanos-tabs {
  display: flex;
  background-color: var(--color-text-white);
  border-bottom: 1px solid #ebebeb;
}

.ubicanos-tab {
  flex: 1;
  padding: 15px 5px;

  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text-principal);
  transition: all 0.2s;
  font-family: var(--font-bold);
}

/* .ubicanos-tab:hover {
    background: #f9f9f9;
    color: #e9a911;
} */

.ubicanos-tab.active {
  color: #3657a2;
  border-radius: 16px 16px 0 0;
  border-top: 1px solid #e3e9f7;
  border-right: 1px solid #e3e9f7;
  border-left: 1px solid #e3e9f7;
  background-color: var(--color-white);

  /* svg {
        stroke: #3657A2;

        path:last-child {
            fill: #3657A2;
        }

       
    } */
}

.ubicanos-list {
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ubicanos-list::-webkit-scrollbar {
  width: 6px;
}

.ubicanos-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.ubicanos-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.ubicanos-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: white;
}

.ubicanos-card:hover {
  border-color: #e9a911;
  background-color: rgba(233, 169, 17, 0.15);
  box-shadow: 0 2px 8px rgba(233, 169, 17, 0.15);
}

.ubicanos-card.active {
  border-color: #e9a911;
  background: #fffcf2;
}

.ubicanos-card-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  margin-top: 2px;
}

.ubicanos-card-content {
  flex: 1;
  min-width: 0;
}

.ubicanos-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;
}

.ubicanos-card-title {
  font-size: 14px;
  flex: 1;
  color: #334155;
  font-family: var(--font-lato-bold);
  margin: 0;
  line-height: 1.2;
}

.ubicanos-badges {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.ubicanos-badge {
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-family: var(--font-lato-regular);
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.ubicanos-badge-type {
  background-color: #475569;
}

.ubicanos-badge-status {
  background-color: #475569;
}

.ubicanos-badge-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.ubicanos-badge-status.open .dot {
  background-color: #10b981;
}

.ubicanos-badge-status.closed .dot {
  background-color: #ef4444;
}

.ubicanos-card-address {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #334155;
  font-family: var(--font-lato-regular);
  font-size: 14px;
  font-style: normal;

  line-height: normal;
}

.ubicanos-card-address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #9ca3af;
}

/* Map Popup Customization */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 280px !important;
}

.leaflet-popup-close-button {
  color: #999 !important;
  padding: 12px 10px !important;
  font-size: 18px !important;
}

.ubicanos-popup {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ubicanos-popup-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding-right: 15px;
}

.ubicanos-popup-icon {
  color: #555;
  margin-top: 2px;
}

.ubicanos-popup-title {
  font-size: 14px;
  flex: 1;
  color: #334155;
  font-family: var(--font-lato-bold);
  margin: 0;
  line-height: 1.2;
}

.ubicanos-popup-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #334155;
  font-family: var(--font-lato-regular);
  font-size: 14px;
  font-style: normal;
  line-height: normal;
  /* margin-bottom: 15px; */
  /* margin-left: 34px; */
}

.ubicanos-popup-info {
  font-size: 13px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ubicanos-popup-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.ubicanos-popup-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .ubicanos-map-layout {
    height: calc(100vh - 80px);
  }

  .ubicanos-sidebar {
    position: absolute;
    width: calc(100% - 30px);
    /* left: 15px; */
    bottom: 15px;
    top: auto;
    max-height: 55vh;
    gap: 10px;
  }

  .ubicanos-search-box {
    display: none;
  }
}

/*** Fin estilos ubícanos ***/
/*  
   Estilos del Cotizador (Glassmorphism & Nested)
    */

.cotizar-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 50px 0; */
  /* min-height: 80vh; */

  .cotizador-container {
    position: relative;
    background-color: rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 868px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    overflow: hidden;

    /* Loader Overlay */
    .cotizador-loader-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 20;

      &.active {
        display: flex;
      }

      .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(255, 255, 255, 0.2);
        border-top: 4px solid #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }
    }

    .cotizador-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;

      h2 {
        font-size: 2.5rem;
        font-style: italic;
        font-family: var(--font-bold);
      }
    }

    .form-group {
      margin-bottom: 12px;

      label {
        display: block;
        font-family: var(--font-bold);
        margin-bottom: 8px;
        font-size: 1.5rem;
      }
    }

    .select-grid,
    .select-grid-4,
    .select-grid-5 {
      display: grid;
      gap: 15px;
    }

    .select-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .select-grid-4,
    .select-grid-5 {
      grid-template-columns: repeat(4, 1fr);
    }

    .select-grid-5 {
      grid-template-columns: repeat(5, 1fr);
    }

    .cotizador-select-wrapper {
      position: relative;
      background-color: rgba(255, 255, 255, 0.75);
      border-radius: 24px;
      /* overflow: hidden; */
      height: 41px;
      transition: all 0.3s ease;

      &:hover {
        background: rgba(255, 255, 255, 0.95);
      }

      select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
      }

      &::after {
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #000;
      }
    }

    .input-item {
      position: relative;
      border-radius: 24px;
      /* overflow: hidden; */
      height: 41px;
    }

    .cotizador-select,
    .cotizador-input {
      width: 100%;
      height: 100%;
      border: none;
      background: transparent;
      padding: 0 15px;
      font-size: 0.95rem;
      color: #333;
      outline: none;
      font-family: inherit;
    }

    .cotizador-input {
      background: rgba(255, 255, 255, 0.85);
      border-radius: 24px;
      transition: all 0.3s ease;

      &:focus {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 2px rgba(42, 78, 203, 0.5);
      }
    }

    .cotizador-select[disabled] {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .full-width {
      width: 50% !important;
    }

    .cotizar-btn {
      width: 100%;
      background: #2546bb;
      color: #fff;
      border: none;
      border-radius: 99px;
      padding: 15px;
      font-size: 1.5rem;
      font-family: var(--font-bold);
      cursor: pointer;
      transition: all 0.3s ease;
      /* margin-top: 10px; */
      box-shadow: 0 4px 15px rgba(42, 78, 203, 0.4);
      text-transform: capitalize;

      &:hover {
        background: #1e3a9a;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(42, 78, 203, 0.6);
      }

      &:disabled {
        opacity: 0.7;
        cursor: not-allowed;
      }
    }

    .cotizar-result {
      margin-top: 12px;
      text-align: center;
      border-radius: 99px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      padding: 12px 24px;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;

      p {
        font-size: 1.25rem;
        gap: 10px;
        color: var(--color-white);
        font-family: var(--font-regular);
        line-height: normal;

        /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
      }

      #estimated-price {
        font-size: 1.5rem;
        font-family: var(--font-bold);
      }
    }

    .disclaimer {
      display: block;
      font-size: 0.75rem;
      color: var(--color-white);
      text-align: center;
      line-height: 1.4;
      margin-top: 10px;
      /* text-align: left; */
    }

    .toggle-container {
      display: flex;
      align-items: center;
      gap: 12px;

      .toggle-text {
        font-size: 0.85rem;
        font-family: var(--font-regular);
        color: rgba(255, 255, 255, 0.9);
      }

      .switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;

        input {
          opacity: 0;
          width: 0;
          height: 0;
        }

        .slider {
          position: absolute;
          cursor: pointer;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: #cbd5e1;
          transition: 0.4s;

          &:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.4s;
          }

          &.round {
            border-radius: 34px;

            &:before {
              border-radius: 50%;
            }
          }
        }

        input:checked+.slider {
          background-color: #2a4ecb;

          &:before {
            transform: translateX(20px);
          }
        }
      }
    }
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/**fin estilos cotizar page **
/* FAQ Page Styles */
/* FAQ Component Styles (Shared) */
.faq-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* margin-bottom: 4rem; */

  .faq-hero h2 {
    color: var(--color-text-secondary);
    font-size: 2rem;
    font-family: var(--font-bold);
    /* margin-bottom: 2rem; */
  }

  .faq-accordion {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem;  */

    .faq-item {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;

      overflow: hidden;
      transition: all 0.3s ease;

      .faq-question {
        width: 100%;
        padding: 1.25rem 1.5rem;
        background-color: var(--color-white);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        cursor: pointer;
        text-align: left;
        transition: background 0.3s ease;
        outline: none;
        margin: 0;

        span {
          font-size: 1rem;
          font-family: var(--font-bold);
          color: #334155;
        }

        .angle {
          transition: transform 0.3s ease;
        }
      }

      &.active {
        .faq-question {
          background-color: #e2e8f0;
        }

        .faq-answer {
          background-color: #f1f5f9;
        }

        .faq-question .angle {
          transform: rotate(180deg);
        }
      }

      .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: #ffffff;
      }

      .faq-answer__inner {
        padding: 1.5rem;
        font-size: 1rem;
        color: #475569;
        line-height: 1.6;

        p {
          margin-bottom: 1rem;

          &:last-child {
            margin-bottom: 0;
          }
        }

        ul,
        ol {
          padding-left: 1.5rem;
          margin-bottom: 1rem;

          li {
            margin-bottom: 0.5rem;
            list-style: disc;
          }
        }

        ol li {
          list-style: decimal;
        }
      }

      &:first-child {
        border-radius: 8px 8px 0 0;
      }

      &:last-child {
        border-radius: 0 0 8px 8px;
      }
    }
  }
}

.questions-page {
  padding-block: 0;

  picture {
    display: flex;
    width: 100%;
    max-height: 240px;

    img {
      width: 100%;
      object-fit: cover;
    }
  }

  .container-questions {
    padding-block: 3rem;
    width: 92%;
    max-width: 1000px;
    margin: auto;

    .faq-hero h1 {
      color: var(--color-text);
      text-align: center;
    }
  }
}

/**Estilos páginas emprendedores **/
.page-emprendedores,
.page-empresas {
  .container {


    .wrapper-glass {
      max-width: 892px;
      padding: 1.5rem 2.5rem;
      border-radius: 32px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
      position: relative;

      .texts {
        gap: 0.75rem;

        h2 {
          text-align: center;
          font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
        }

        p {
          color: var(--color-white);
          text-align: center;
        }
      }
    }
  }
}

.page-empresas {
  .container {
    justify-content: end;
  }
}

.services-empresas {
  .container {
    .title-main {
      color: var(--color-text-principal);
      text-align: center;
    }

    .card-service {
      min-height: 550px;
      padding: 40px;
      justify-content: flex-end;
      border-radius: 24px;
      overflow: hidden;
      transition: transform 0.3s ease;

      /* &:hover {
                transform: translateY(-5px);
            } */

      &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%); */
        z-index: 1;
      }

      .info {
        position: relative;
        z-index: 2;
        text-align: center;
        margin-bottom: 1.5rem;

        h3 {
          font-family: var(--font-bold);
          font-size: 1.75rem;
          color: var(--color-white);
          margin-bottom: 0.5rem;
        }

        p {
          color: var(--color-white);
          font-size: 1rem;
          line-height: 1.4;
        }
      }

      .btn-secondary {
        position: relative;
        z-index: 2;
        margin: 0 auto;
        padding: 0.75rem 2.5rem;
        font-size: 1rem;
      }

      .img-absolute {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
      }
    }
  }
}

/**Fin estilos páginas empredendores **/

/**Estilos libro de reclamaciones**/
#antisoborno-banner {
  .container-libro {
    padding-block: 3rem;
    width: 92%;
    max-width: 1000px;
    margin: auto;

    .wrapper-info {
      border-radius: 1rem;
      border: 1px solid #e3e9f7;
      background: #f1f5f9;

      .info {
        padding: 1.5rem;
        flex: 1;
        gap: 1.5rem;

        h3 {
          color: var(--color-text);

          font-size: 1.25rem;

          line-height: normal;
        }

        p {
          color: var(--color-text-secondary);
        }

        &:first-child {
          border-right: 1px solid var(--color-text-secondary);
        }
      }
    }
  }

  .title-main {
    color: var(--color-text);
    font-style: normal;
    text-align: center;
  }
}

#antisoborno-contenedor {
  .container-libro {
    padding-block: 3rem;
    width: 92%;
    max-width: 1000px;
    margin: auto;

    #formularioRE {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      .wrap {
        padding: 1.5rem;
        border-radius: 1rem;
        border: 1px solid #e3e9f7;
        background: #f1f5f9;
        gap: 0.75rem;

        .info {
          padding-bottom: 0.75rem;
          gap: 0.75rem;
          border-bottom: 1px solid #cac4d0;

          h3 {
            color: var(--color-text);

            font-size: 1.25rem;

            line-height: normal;
          }

          p {
            color: var(--color-text-secondary);
          }
        }

        small {
          color: var(--color-text-secondary);
          font-size: 0.875rem;
          font-family: var(--font-bold);
        }
      }

      .row {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;

        .col {
          gap: 0.5rem;
          display: flex;
          flex-direction: column;
        }

        .btn-secondary {
          width: 100%;
        }

        .switch-container {
          display: flex;
          align-items: center;
          gap: 10px;
        }

        .switch {
          position: relative;
          display: inline-block;
          width: 46px;
          height: 24px;
        }

        .switch input {
          opacity: 0;
          width: 0;
          height: 0;
        }

        .slider {
          position: absolute;
          cursor: pointer;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: #d1d5db;
          transition: 0.3s;
          border-radius: 34px;
        }

        .slider:before {
          position: absolute;
          content: "";
          height: 18px;
          width: 18px;
          left: 3px;
          bottom: 3px;
          background-color: white;
          transition: 0.3s;
          border-radius: 50%;
        }

        .switch input:checked+.slider {
          background-color: #0d6efd;
        }

        .switch input:checked+.slider:before {
          transform: translateX(22px);
        }
      }

      .form-label {
        color: var(--color-text-secondary);
        font-size: 0.875rem;
      }
    }
  }
}

/**Fin estilos libro de reclamaciones**

/**Estilos páginas gracias**/

.gracias-section {
  .container {
    .content-gracias {
      max-width: 835px;
      width: 100%;
      .top {
        width: 100%; 
        figure{
          flex-shrink: 0;
        }
        .mobile{
          display: none;
        }
        .box-content{
          h2{
            font-size: 3rem;
          }
          p{
            color: var(--color-text-secondary);
            font-size: 1.25rem;
            font-family: var(--font-bold);
            line-height: normal;
          }
        }
        }

      .btn-secondary {
        width: 100%;
      }
    }
  }
}

  /**Fin estilos páginas gracias**/

  /**Estilos footer**/

  .site-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .menu-footer-desktop {
      display: flex;

      .footer-menu-list {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;

        li {
          a {
            color: #000;

            font-size: 15px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
          }
        }
      }
    }

    /* Ubigeo Selectors Styles */
    .ubigeo-selectors-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      width: 100%;
      margin-top: 1rem;
      grid-column: 1 / -1;
      /* Ocupar todo el ancho en el grid de Fluent */

      .ubigeo-field {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        label {
          color: var(--color-white);
          font-size: 0.875rem;
          font-family: var(--font-bold);
        }

        select {
          width: 100%;
          height: 48px;
          border-radius: 12px;
          border: 1px solid rgba(255, 255, 255, 0.3);
          background: rgba(255, 255, 255, 0.15);
          color: var(--color-white);
          padding: 0 15px;
          font-family: inherit;
          outline: none;
          transition: all 0.3s ease;
          font-size: 0.9rem;
          backdrop-filter: blur(8px);

          option {
            background: #020617;
            color: white;
          }

          &:focus {
            background: rgba(255, 255, 255, 0.25);
            border-color: var(--color-white);
          }

          &:disabled {
            opacity: 0.5;
            cursor: not-allowed;
          }
        }
      }
    }

    @media (max-width: 768px) {
      .ubigeo-selectors-container {
        grid-template-columns: 1fr;
      }
    }

    /* Footer Menu Styles (Desktop) */
    .footer-menu-nav {
      display: none;
    }

    .container {}

    .bottom {
      padding: 3rem 1.5rem;
      background-color: var(--color-text);
      gap: 3rem;

      .footer-row-main {
        width: 100%;
        justify-content: center;
        /* justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto; */

        .footer-libro {
          a {
            color: var(--color-white);
            font-family: var(--font-bold);
            font-size: 0.875rem;
            line-height: 1.2;
          }
        }
      }

      .footer-row-apps {
        width: 100%;
        justify-content: center;
        padding-top: 1rem;
      }

      .footer-social {
        ul {
          li {
            a {
              display: flex;
              width: 1.5rem;
              height: 1.5rem;
            }
          }
        }
      }

      .footer-copyright {
        padding-top: 1.75rem;

        p {
          font-size: 1rem;
          color: var(--color-white);
          font-family: var(--font-regular);
          text-align: center;
        }
      }
    }
  }

  /**Fin estilos footer**/