@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-primary: #13a5df;
  --color-secondary: #1356a1;
}

body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.row-cde {
  align-items: center;
  overflow: hidden;
}

.btn {
  padding: 0.5em 1.5em;
  border-radius: 2em;
}

.img-nav-logo {
  width: clamp(180px, 25vw, 260px);
  height: auto;
}

.img-letter-mypes {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(80px, 16vw, 130px);
}

.img-logo-pnte {
  width: clamp(180px, 25vw, 260px);
}

.navbar-cde {
  height: 100px;
  box-shadow: 2px 3px 6px rgb(61 61 61 / 10%);
  border-radius: 0 0 30px 30px;
}

.banner {
  position: relative;
}

.hero {
  width: 420px;
}

.text-right {
  text-align: right;
}

.banner-title {
  color: var(--color-primary);
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.banner-text {
  font-size: clamp(1.2rem, 3vw, 1.3rem);
  color: var(--color-secondary);
}

.btn-banner {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-banner:hover {
  background-color: var(--color-primary);
  color: white;
}

.wrapper-map {
  background-image: url('../assets/images/background-map-mobile.png');
  width: 100%;
  height: auto;
  background-position: center;
  background-size: 100% 99%;
  padding: 3rem 1rem;
  background-repeat: no-repeat;
}

.map-peru-wrapper {
  background-image: url('../assets/images/background-mapa.png');
  background-repeat: no-repeat;
  height: 55vh;
  background-size: 100% 100%;
  background-position: center;
  width: 100%;
}

.map-peru {
  cursor: pointer;
  height: inherit;
}

.map-cde-wrapper {
  height: auto;
}

.map-title {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 500;
}

.card-sub-title {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  background: var(--color-primary);
  top: -1.5rem;
  border-radius: 20px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0px -1px 11px #5d5d5d;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

.map-card {
  padding: 1.5rem;
  border-radius: 40px;
}

.map-card h5 {
  font-size: clamp(1.2rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.map-card p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.3;
}

.svg-peru {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  /* outline: 2px solid red; */
}

.contact-us {
  background-color: #ebecf0;
  padding: 4rem 0;
  border-radius: 0 0 2.5rem 2.5rem;
  margin-top: -5.8px;
}

.contact-us-letter {
  width: clamp(200px, 20vw, 340px);
}

.contact-us-h3 {
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--color-secondary);
  font-weight: 700;
}

.contact-us-number {
  background-color: var(--color-primary);
  color: white;
  font-size: clamp(1rem, 3vw, 3.5rem);
  font-weight: 700;
  padding: .6rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  transition: .25s;
}

.contact-us-number:hover {
  background-color: #0f91c5;
  color: #fff;
}

.benefits-cellphone {
  background-image: url('../assets/images/benefits-cel.png');
}

.benefits-woman {
  width: 570px;
}

.benefits-items {
  /* outline: 1px solid red; */
  display: grid;
  gap: 2.4rem;
  width: 80%;
}

.benefits-items li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefits-items img {
  width: 50px;
  height: 50px;
}

.benefits-items span {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
}

.benefits-items span b {
  color: var(--color-primary);
}

.benefits-text {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 600px;
}

.card-body::-webkit-scrollbar {
  width: 6px;
}

.card-body::-webkit-scrollbar-track {
  background: transparent;
}

.card-body::-webkit-scrollbar-thumb {
  background: rgba(0, 32, 96, 0.35);
  border-radius: 999px;
}

.card-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 32, 96, 0.6);
}

.mac-logo {
  width: 22px;
  margin-right: 6px;
}

.infox-span {
  font-size: clamp(1.1rem, 5.5vw, 3.9rem);
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.1;
}

.infox-img {
  width: 13.3%;
  bottom: 6%;
  right: -14%;
}

.benefits-btn {
  background: var(--color-primary);
  display: inline-block;
  width: 260px;
  margin: auto;
  line-height: 1.3;
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 40px;
  margin-bottom: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #fff;
}

/* .benefits-img-cellphone {
  width: 170px;
} */

.footer {
  background-color: #014872;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer span {
  color: #fff;
  font-weight: 600;
}

/* START MAPA-PERÚ */
#mapaPeru path {
  fill: #3498c5;
  stroke: #fff;
  stroke-width: 0.8;
  transition: fill 0.15s;
}

#mapaPeru path:hover {
  fill: #1a6fa3;
}

#mapaPeru path.active {
  fill: #fff;
}

#tooltip {
  position: fixed;
  background: var(--color-background-primary);
  border: 0.5px solid var(--color-border-secondary);
  border-radius: var(--border-radius-md);
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  background-color: var(--color-primary);
  border-radius: 8px;
}

#info-bar {
  transition: color 0.2s;
}

/* END MAPA-PERÚ */

.skeleton {
  background: #e2e2e2;
  border-radius: 6px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.skeleton-title {
  height: 16px;
  width: 60%;
  margin-bottom: 10px;
}

.skeleton-text {
  height: 12px;
  width: 90%;
  margin-bottom: 8px;
}

.text-none {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}


/* =========================
   LOADER
========================= */

#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ebecf0 100%);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity .8s ease, visibility .8s ease;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  position: relative;
}

.loader-logo {
  width: 180px;
  animation: floatLogo 2.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.loader-text {
  margin-top: 20px;
  font-weight: 600;
  color: #444;
  letter-spacing: 1px;
  animation: fadePulse 1.5s infinite;
}

.loader-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, .05);
  border-top: 4px solid #0d6efd;

  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  animation: rotate 1.2s linear infinite;
}

/* =========================
   ANIMACIONES INICIALES
========================= */

.animate-top {
  opacity: 0;
  transform: translateY(-60px);
  animation: topFade 1s ease forwards;
}

.animate-bottom {
  opacity: 0;
  transform: translateY(60px);
  animation: bottomFade 1s ease forwards;
}

.animate-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: leftFade 1s ease forwards;
}

.animate-right {
  opacity: 0;
  transform: translateX(60px);
  animation: rightFade 1s ease forwards;
}

.animate-zoom {
  opacity: 0;
  transform: scale(.7);
  animation: zoomFade 1s ease forwards;
}

/* delays */

.delay-1 {
  animation-delay: .2s;
}

.delay-2 {
  animation-delay: .5s;
}

.delay-3 {
  animation-delay: .8s;
}

.delay-4 {
  animation-delay: 1.1s;
}

/* keyframes */

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadePulse {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes topFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bottomFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leftFade {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rightFade {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}



@media screen and (min-width: 820px) and (max-width: 1180px) {
  .hero {
    display: none;
  }

  .benefits-woman {
    width: 372px;
  }

  .map-card {
    border-radius: 20px;
  }

  .card-sub-title {
    font-size: 14px;
  }

  .map-title {
    font-size: 26px;
    margin-bottom: 2rem !important;
  }

  .map-card p {
    font-size: 14px;
  }
}

@media screen and (min-width: 992px) {
  .svg-peru {
    min-height: 100vh;
  }

  .mac-logo {
    width: 32px;
  }

  .wrapper-map {
    min-height: 100vh;
    padding: 0;
  }

  .map-cde-wrapper {
    min-height: 100vh;
  }

  .map-peru-wrapper {
    height: 88vh;
  }

  .wrapper-map {
    background-image: url('../assets/images/background-map.png');
    background-repeat: no-repeat;
  }

  .map-card {
    padding: 2rem 1rem 2rem;
  }

  .card-sub-title {
    left: -1.25rem;
    transform: initial;
    padding: 10px 20px;
  }

  .hero {
    width: auto;
  }

  .contact-us {
    padding: 5.5rem 0;
    border-radius: 0 0 10rem 10rem;
  }


  .contact-us {
    border-radius: 0 0 4rem 4rem;
  }

  .text-none {
    text-align: left;
  }

  .benefits-items img {
    width: 70px;
    height: 70px;
  }

  .benefits-text {
    right: 0;
    top: 0;
    height: stretch;
    transform: initial;
  }

}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .banner {
    height: auto;
    margin-top: 4rem !important;
  }

  .banner-text {
    font-size: 18px;
  }

  .img-letter-mypes {
    display: none;
  }

  .btn-banner {
    font-size: 16px !important;
  }

  .img-logo-pnte {
    width: 220px;
  }

  .map-title {
    font-size: 28px;
  }

  .map-card p {
    font-size: 14px;
  }

  .benefits-items span {
    font-size: 16px;
  }

  .benefits-items img {
    width: 50px;
    height: 50px;
  }

  .benefits-items {
    gap: 1.5rem;
  }
}

@media screen and (min-width: 1400px) {
  .banner {
    min-height: calc(100vh - 100px);
  }
}

@media screen and (max-width: 992px) {
  .btn-banner {
    font-size: 16px;
    display: block;
  }
}