html,
body {
  background-color: var(--body-bg);
  font-family: "Mukta", sans-serif;
  font-size: 20px;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

header {
  padding: 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  column-gap: 2rem;
  height: 3rem;
}

h5,
h6 {
  color: var(--heading);
}

h5 {
  font-size: 1.8rem;
  margin: 1rem 0 0;
}

h6 {
  font-size: 1rem;
  margin: 1rem 0 0.8rem;
}

p {
  margin: 0.5rem 0;
  font-size: 0.7rem;
}

.tarjeta__datos p {
  margin-top: 0;
}

a {
  color: #000;
  text-decoration: none;
}

header a {
  display: flex;
  flex-flow: column nowrap;
  align-items: start;
  justify-content: end;
}

.tarjeta {
  background-color: #FFF;
  border-radius: 1rem;
  margin: 1rem 0.5rem;
  width: calc(100% - 1rem);
}

.tarjeta .footer--digit {
  background-color: var(--body-bg);
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  padding: 1rem 2rem;
  text-align: center;
}

.tarjeta .footer--digit a {
  margin: auto;
  color: var(--heading);
  font-weight: bolder;
  display: inline-block;
}

.tarjeta .footer--digit a:hover {
  color: #AAA;
  font-weight: bolder;
}

.tarjeta .footer--digit p {
  margin: 0 0 0.6rem;
}

.footer--kimerkia {
  background-color: #1B1A17;
  color: #FFF;
  padding: 1rem;
  text-align: center;
}

.footer--kimerkia .redes-sociales {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-template-rows: 1fr;
  column-gap: 1.5rem;
  place-content: center;
  margin: 1rem 0;
}

.footer--kimerkia a {
  color: #FF6701;
  font-weight: bolder;
}

.footer--kimerkia a:hover {
  color: #AAA;
  font-weight: bolder;
}

.footer--kimerkia p {
  font-size: 0.7rem;
}

.footer--kimerkia .icon {
  height: 1.2rem;
  width: 1.2rem;
  background-color: #FF6701;
}

.p--title {
  font-weight: bolder;
}

.tab section>div {
  padding-top: 1rem;
}

.tab section>div:nth-child(1) {
  padding-top: 0rem;
}

.img {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 100%;
  width: 100%;
}

header .logo-digit {
  height: 2rem;
  width: 3rem;
}

.logo-digit {
  background-image: url("../IMAGENES/logo.svg");
  background-position: center;
  height: 3rem;
  width: 4rem;
}

.logo-negocio {
  background-position: right;
  margin: auto;
  width: 100%;
}

.logo-negocio--small {
  background-position: center;
  margin: auto;
  height: 4rem;
  width: 8rem;
}

.img-bg {
  background-image: url("../IMAGENES/bg.jpg");
  height: 10rem;
  width: 100%;
  background-size: cover;
  position: relative;
}

.img-perfil {
  border-radius: 50%;
  background-image: url("../IMAGENES/perfil_default.svg");
  background-size: cover;
  height: 10rem;
  width: 10rem;
  margin: auto;
  position: absolute;
  left: calc(50% - 5rem);
  top: -10rem;
}

.icon {
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  height: 1.6rem;
  width: 1.6rem;
}

.icon--facebook {
  /* background-image: url("../IMAGENES/facebook.svg"); */
  mask-image: url("../IMAGENES/facebook.svg");
  -webkit-mask-image: url("../IMAGENES/facebook.svg");
}

.icon--twitter {
  background-image: url("../IMAGENES/twitter.svg");
  /* mask-image: url("../IMAGENES/twitter.svg"); */
  background-color: transparent !important;
}

.icon--instagram {
  /* background-image: url("../IMAGENES/instagram.svg"); */
  mask-image: url("../IMAGENES/instagram.svg");
  -webkit-mask-image: url("../IMAGENES/instagram.svg");
}

.icon--web {
  /* background-image: url("../IMAGENES/web.svg"); */
  mask-image: url("../IMAGENES/web.svg");
  -webkit-mask-image: url("../IMAGENES/web.svg");
}

.icon--linkedin {
  /* background-image: url("../IMAGENES/linkedin.svg"); */
  mask-image: url("../IMAGENES/linkedin.svg");
  -webkit-mask-image: url("../IMAGENES/linkedin.svg");
}

.icon--youtube {
  /* background-image: url("../IMAGENES/youtube.svg"); */
  mask-image: url("../IMAGENES/youtube.svg");
  -webkit-mask-image: url("../IMAGENES/youtube.svg");
}

.icon--tiktok {
  /* background-image: url("../IMAGENES/tiktok.svg"); */
  mask-image: url("../IMAGENES/tiktok.svg");
  -webkit-mask-image: url("../IMAGENES/tiktok.svg");
}

.grid-redes .icon {
  background-position: center;
  background-size: contain;
  width: unset;
}

.icon--11 {
  position: relative;
  top: 0.5rem;
}

.icon--13 {
  background-size: 200% !important;
}

/* .icon--1::after {
  content: "Facebook";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: -0.4rem;
}

.icon--2::after {
  content: "Twitter";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
}

.icon--3::after {
  content: "Instagram";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: -0.4rem;
}

.icon--4::after {
  content: "TikTok";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: 0;
}

.icon--5::after {
  content: "Web";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: -0.1rem;
}

.icon--6::after {
  content: "Youtube";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: -0.3rem;
}

.icon--7::after {
  content: "Linkedin";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
} */

.icon--whatsapp::after {
  content: "Whatsapp";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
  left: -0.4rem;
}

.icon--qr::after {
  content: "QR";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
}

.icon--correo::after {
  content: "Correo";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
}

.icon--pinterest::after {
  content: "Pinterest";
  font-size: 0.6rem;
  position: relative;
  bottom: -1.3rem;
}

.icon--dropdown {
  bottom: 2rem;
}

.tab {
  padding: 1rem 0;
}

.tab--seleccionado {
  font-weight: bolder;
  border-bottom: solid var(--heading) 0.2rem;
  color: var(--heading);
}

.grid-redes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));
  grid-template-rows: auto;
  column-gap: 1.2rem;
  row-gap: 2.5rem;
  place-content: center;
  padding: 4rem 1rem 0;
  position: relative;
}

.grid-redes a {
  display: inline-block;
  margin: auto;
}

.tarjeta__datos {
  padding-top: 1rem;
  position: relative;
  top: 4rem;
  text-align: center;
}

.tarjeta__contacto {
  padding: 0 1rem 1rem;
  text-align: center;
  position: relative;
  max-width: 30rem;
  margin: 3rem auto 1rem;
}

.tarjeta__tabs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  place-content: center;
  grid-template-rows: 1fr;
  column-gap: 1rem;
}

.tarjeta__tabs p {
  cursor: pointer;
}

.btn--contact {
  background-color: transparent;
  border: solid var(--heading) 2px;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-block;
  margin: 0 auto 1rem;
  min-width: 50%;
  padding: 0.2rem 0.5rem;
  background-image: linear-gradient(45deg, var(--heading) 50%, transparent 50%);
  background-position: 100%;
  background-size: 400%;
  transition: background 300ms ease-in-out;
}

.btn--contact:hover,
.btn--contact:focus {
  color: #fff;
  outline: none;
}

.btn--contact:hover {
  background-position: 0;
}

.modal--shareCard {
  align-items: center;
  background-color: #FFF;
  display: flex;
  flex-flow: column nowrap;
  height: 100vh;
  justify-content: center;
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
}

.modal--shareCard h5 {
  position: relative;
  top: -1rem;
}

.modal__icons {
  display: grid;
  column-gap: 2rem;
  grid-template-columns: repeat(2, 2rem);
  grid-template-rows: repeat(4, 2rem);
  place-content: center;
  justify-content: center;
  row-gap: 2rem;
  margin-top: 2rem;
  position: relative;
  top: -2rem;
}

.modal__icons .icon {
  background-size: contain;
  background-position: center;
  height: 100%;
  width: 100%;
}

.modal__icons .icon--1::after {
  content: "";
}

.modal__icons .icon--2::after {
  content: "";
}

.modal__icons .icon--7::after {
  content: "";
}

.modal__icons .icon--whatsapp::after {
  content: "";
}

.modal__icons .icon--qr::after {
  content: "";
}

.modal__icons .icon--correo::after {
  content: "";
}

.modal__icons .icon--pinterest::after {
  content: "";
}

.qrcode {
  align-items: center;
  background-color: #FFF;
  display: flex;
  flex-flow: column nowrap;
  height: 100vh;
  justify-content: center;
  margin: auto;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 2000;
}

.qrcode h5 {
  margin-bottom: 2rem;
}

.formulario {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  margin: auto;
  max-width: 25rem;
  padding: 0 3rem;
}

.formulario>input,
.formulario>textarea {
  border: none;
  border: solid 2px #EEE;
  border-radius: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  padding: 0.5rem;
  resize: none;
  width: calc(100% - 1rem);
  margin-bottom: 1.8rem;
}

.formulario>input:focus,
.formulario>textarea:focus {
  outline: solid 2px var(--heading);
}

.formulario button {
  background-color: #FFF;
  border: solid 2px var(--heading);
  border-radius: 0.5rem;
  color: var(--heading);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: bold;
  outline: none;
  padding: 0.7rem 0.5rem;
  margin-top: 2rem;
}

.formulario button:hover,
.formulario button:active,
.formulario button:focus {
  background-color: var(--heading);
  color: #FFF;
}

.formulario__error {
  color: var(--heading);
  font-size: 1rem;
  height: 2rem;
  padding: 0.5rem;
  text-align: center;
  position: relative;
  top: -2rem;
}

.oculto {
  display: none;
}

.fade--in {
  opacity: 1;
  animation: fade-in 1500ms forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-icon {
  animation: animate-icon 4s infinite;
}

@keyframes animate-icon {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 360px) {
  p {
    margin: 0.5rem 0;
    font-size: 1rem;
  }
}

@media screen and (min-width: 540px) {
  .tarjeta {
    box-shadow: 0px 0px 0.5rem 2px rgba(0, 0, 0, 0.3);
    margin: 4rem auto;
    width: 60vw;
  }

  .img-bg {
    width: 100%;
  }

  p {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 768px) {

  html,
  body {
    font-size: 25px;
  }

  .tarjeta {
    width: 50vw;
  }

  .modal__icons {
    row-gap: 3rem;
    column-gap: 3rem;
    display: grid;
    column-gap: 3rem;
    grid-template-columns: repeat(3, 3rem);
    grid-template-rows: repeat(3, 3rem);
  }
}

@media screen and (min-width: 1080px) {
  .tarjeta {
    width: 40vw;
  }

  .tarjeta__contacto {
    padding: 0 4rem 2rem;
  }

  .tarjeta__tabs {
    column-gap: 1rem;
  }
}

.container_rSociales {
  width: 100%;
  height: auto;
  margin: 0.5rem 0;
}

.container_rSociales a i {
  color: #141E61;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.container_rSociales a i:hover {
  color: #000000;
}

.p-redes-sociales {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
}

.formulario label {
  font-size: 0.8rem;
}

.btn--install {
  background-color: transparent;
  border: none;
  padding: 0;
  height: 100%;
  width: 100%;
}

/* ESTILOS CSS DEL MODAL IMAGEN PERFIL AMPLIAR */
.cta_perfil {
  color: #fff;
  cursor: pointer;
  margin: 1rem auto;
}

.modal-container_perfil {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.modal_perfil {
  width: 80%;
  height: 80%;
  background: #fff;
  position: relative;
  transition: transform 0.5s;
  transform: scale(1);
  position: relative;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.modal-close_perfil {
  transform: scale(0);
}

.close_perfil {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-block;
  color: #000;
  line-height: 27px;
  cursor: pointer;
  font-size: 1.5rem;
  background: #fff;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0px 0px 15px 0px black;
}

.close_perfil:hover {
  color: grey;
}

.img_modal_perfil {
  width: 100%;
  height: 100%;
}

@media (max-width: 576px) {

  .modal_perfil {
    width: 95%;
  }
}

/* TERMINAN ESTILOS CSS DEL MODAL IMAGEN PERFIL AMPLIAR */

/* ESTILOS CSS DEL MODAL AMPLIAR IMAGEN DEL BACKGROUND */
.cta_bg {
  color: #fff;
  cursor: pointer;
  margin: 1rem auto;
}

.modal-container_bg {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.modal_bg {
  width: 80%;
  height: 80%;
  background: #fff;
  position: relative;
  transition: transform 0.5s;
  transform: scale(1);
  position: relative;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.modal-close_bg {
  transform: scale(0);
}

.close_bg {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-block;
  color: #000;
  line-height: 27px;
  cursor: pointer;
  font-size: 1.5rem;
  background: #fff;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0px 0px 15px 0px black;
}

.close_bg:hover {
  color: grey;
}

.img_modal_bg {
  width: 100%;
  height: 100%;
}

@media (max-width: 576px) {

  .modal_bg {
    width: 95%;
  }
}

/* TERMINAN ESTILOS CSS DEL MODAL AMPLIAR IMAGEN DEL BACKGROUND */



/*ESTILO DE LOS ICONOS DE CAMBIO DE IDIOMA */
.radio-image-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex-direction: row;
  position: fixed;
  /* Cambiado a fixed para que permanezca en la parte superior izquierda */
  top: 10px;
  /* Ajusta la distancia desde la parte superior */
  left: 10px;
  /* Ajusta la distancia desde la izquierda */
  z-index: 1000;
  /* Asegúrate de que esté por encima de otros elementos */
}

/* Ocultar los inputs reales */
.radio-image-group input[type="radio"] {
  display: none;
}

/* Estilo para cada label que contiene imagen */
.radio-image-group label {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  width: 30px;
  height: 30px;
}

.radio-image-group img {
 width: 100%;        /* Ocupa todo el ancho del label */
    height: 100%;       /* Ocupa toda la altura del label */
    object-fit: cover;  /* Cubre todo el botón sin deformar */
    display: block;
    user-select: none;
}

/* Al estar seleccionado, el label cambia su borde y sombra */
.radio-image-group input[type="radio"]:checked+label {
  border-color: #FF6701;
  box-shadow: 0 0 15px #FF6701;
}

/* Efecto hover */
.radio-image-group label:hover {
  box-shadow: 0 0 10px #FF6701;
}
