/* @Jhon Hover landing-feature-card */
.landing-feature-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

/* Fondo degradado */
.landing-feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0%;
  width: 100%;
  background: linear-gradient(to top, rgba(var(--bs-primary-rgb), 0.15), rgba(var(--bs-primary-rgb), 0));
  transition: height 0.4s ease;
  z-index: 0;
}

.landing-feature-card:hover::before {
  height: 100%;
}

/* Logo SVG en la esquina superior derecha */
.landing-feature-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='16.71mm' height='16.71mm' version='1.1' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' viewBox='0 0 35.95 35.95' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:xodm='http://www.corel.com/coreldraw/odm/2003'%3E%3Cdefs%3E%3Cstyle type='text/css'%3E.str0 {stroke:%23333333;stroke-width:0.43;stroke-miterlimit:22.9256} .fil0 {fill:%23333333} .fil1 {fill:white;fill-rule:nonzero}%3C/style%3E%3C/defs%3E%3Cg id='Capa_x0020_1'%3E%3Cmetadata id='CorelCorpID_0Corel-Layer'/%3E%3Ccircle class='fil0 str0' cx='17.97' cy='17.97' r='17.76'/%3E%3Cpath class='fil1' d='M18.78 16.96c-0.19,-0.61 -0.44,-1.41 -0.55,-2.11l-0.08 0c-0.14,0.69 -0.36,1.47 -0.55,2.08l-4.38 12.31 -3.68 -0 6.57 -18.29 4.2 0 6.54 18.29 -3.73 -0 -4.35 -12.28z'/%3E%3Crect class='fil1' x='14' y='4.79' width='8.41' height='3.31'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transition:
    top 0.4s ease,
    opacity 0.4s ease;
  z-index: 2;
}

.landing-feature-card:hover::after {
  top: 10px;
  right: 10px;
  opacity: 1;
}

/* Línea inferior desde el centro */
.landing-feature-card .hover-border {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: #333333;
  transform: translateX(-50%);
  transition: width 0.4s ease;
  z-index: 2;
}

.landing-feature-card:hover .hover-border {
  width: 100%;
}

/* Contenido */
.landing-feature-card .card-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Hover visual */
.landing-feature-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px);
}

/* Texto */
.landing-feature-card:hover h5,
.landing-feature-card:hover .features-icon-description {
  color: #20252c;
}

.btn-flotante {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  /* Ya no necesitas:
  position: fixed;
  bottom: 20px;
  right: 30px;
  */
}

/* @Jhon Card de solicitar créditos */
.btn-flotante:hover {
  transform: scale(1.1) rotate(-2deg);
}

.square-card {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.square-card:hover {
  transform: scale(1.05);
}

.square-card i {
  font-size: 2.2rem; /* Aumentado el tamaño del icono */
  line-height: 1;
}

/* @Jhon Estilos imágen de fondo principal con gradiente */
#landingHero {
  background-image: url('../../assets/img/front-pages/backgrounds/landingHero-bg.png');
  background-size: cover;
  background-position: center;
}

#landingHero.overlay-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(138.18deg, rgb(72, 72, 72) 0%, rgba(0, 141, 151, 0.409) 94.44%);
  border-radius: inherit; /* 👈 esto es clave */
  z-index: 0;
}

#landingHero .container,
#landingHero .hero-dashboard-img {
  position: relative;
  z-index: 1;
}

#landingPimes {
  position: relative; /* Contexto para z-index */
}

.watermark-img {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 220px;
  height: auto;
  pointer-events: none;
  z-index: 0; /* Debajo del texto */
}

#landingPimes .container > h1,
#landingPimes .container > span {
  position: relative; /* Para que el z-index funcione */
  z-index: 10; /* Por encima de la imagen */
  background-color: transparent; /* Si quieres fondo blanco, pon background aquí */
}
