/* ==============================> EFECTOS */

.efecto-de-flash {
  position: relative;
}

.efecto-de-flash img {
  display: block;
}

.efecto-de-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    var(--e-global-color-primary),
    transparent 60%
  ) 100% 100% / 240% 240%;
  transition: .8s;
  pointer-events: none;
  mix-blend-mode: screen;
}

.efecto-de-flash:hover::after {
  background-position: 0 0;
}

/* ==============================> INICIO */

.primera-seccion .jet-carousel__item-link{
    position: relative;
    display: block;
}

.primera-seccion .jet-carousel__item-link img{
    max-width: 200px;
}

.primera-seccion .jet-carousel__item-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    var(--e-global-color-primary),
    transparent 60%
  ) 100% 100% / 240% 240%;
  transition: .8s;
  pointer-events: none;
  mix-blend-mode: screen;
}

.primera-seccion .jet-carousel__item-inner:hover .jet-carousel__item-link img::after {
  background-position: 0 0;
}

.elementor-widget-image-box img {
    width: 100%;
}

/* ==============================> PLANES */

.seccion_planes {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.seccion_planes .plan {
    background: white;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.seccion_planes .plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}


.seccion_planes .best-seller {
    position: absolute;
    width: 200px;
    text-align: center;
    top: 20px;
    left: -65px;
    transform: rotateZ(-45deg);
    background-color: transparent;
    padding: 8px 30px 8px 30px;
    background-image: linear-gradient(85deg, #FF9C00 0%, #F8E007 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.seccion_planes .plan-header {
    text-align: center;
}

.seccion_planes .plan-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    padding: 16px 48px;
	margin: 0;
}

.seccion_planes .plan-price {
    background: linear-gradient(135deg, #04cbf4, var(--e-global-color-primary));
    color: white;
    padding: 16px;
    margin-bottom: 12px;
}

.seccion_planes .plan-price .price {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.seccion_planes .plan-price .currency {
    font-size: 24px;
    margin-right: 4px;
}

.seccion_planes .plan-subtitle {
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.seccion_planes .plan-payment {
    background: white;
    color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

.seccion_planes .plan-features {
    list-style: none;
    padding: 8px 24px;
    margin: 0 !important;
}

.seccion_planes .plan-features li {
    padding: 10px 0 10px 22px;
    color: #555;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    margin: 0 !important;
}

.seccion_planes .plan-features li:not(:last-child) {
    border-bottom: 1px solid #efefef;
}

.seccion_planes .plan-features li::before {
    content: "\f592";
	font-family: "Huge Icons" !important;
	color: var(--e-global-color-primary);
    position: absolute;
    margin-top: 4px;
    width: 16px;
    height: 16px;
    margin-left: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seccion_planes .plan-features li.espacio:before{
    display:none;
}

.seccion_planes .plan-features li.espacio{
    width: -webkit-fill-available;
    background: url(https://tiendasvirtuales.com.pe/wp-content/uploads/2024/09/close-f.svg) no-repeat center;
    background-size: contain;
    margin: 10px 0;
    margin-left: -20px;
    display: flex;
}

.seccion_planes .plan-features li.espacio.e-1{
    height: 42px;
	background-size: 10px;
}

.seccion_planes .plan-features li.espacio.e-2{
    height: 72px;
	background-size: 4.5%;
}

.seccion_planes .plan-features li.espacio.e-3{
    height: 88.17px;
	background-size: 11px;
}

.seccion_planes .accion_plan {
    padding: 16px;
}

.seccion_planes .plan-button {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #04cbf4, var(--e-global-color-primary));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seccion_planes .plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

@media (max-width: 768px) {
    .seccion_planes {
        grid-template-columns: 1fr;
    }

    .seccion_planes .plan-price .price {
        font-size: 36px;
    }
}



/* ==============================> GRID DE SERVICIOS */
.servicios-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.servicios-grid-wrapper .servicio-item-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 16px;
    border: 1px solid #ededed;
    aspect-ratio: 675 / 615;
    cursor: pointer;
}

/* Imagen de fondo (ocupa todo el card) */
.servicios-grid-wrapper .servicio-item-card .servicio-imagen-fondo {

    width: 100%;
    height: 100%;
    z-index: 1;
}

.servicios-grid-wrapper .servicio-item-card .servicio-imagen-fondo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

/* Contenedor de información (Overlay inferior) */
.servicios-grid-wrapper .servicio-item-card .servicio-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 12px;
    z-index: 2;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Título */
.servicios-grid-wrapper .servicio-item-card .servicio-titulo {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--e-global-color-secondary);
    text-align: center;
    transition: color 0.3s ease;
}

/* Contenido (oculto inicialmente) */
.servicios-grid-wrapper .servicio-item-card .servicio-descripcion {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    text-align: center;
    transition: all 0.5s ease;
}

/* EFECTOS HOVER */

.servicios-grid-wrapper .servicio-item-card:hover .servicio-imagen-fondo img {
    transform: scale(1.1);
}

.servicios-grid-wrapper .servicio-item-card:hover .servicio-titulo {
    color: var(--e-global-color-primary);
    margin-bottom: 10px;
}

.servicios-grid-wrapper .servicio-item-card:hover .servicio-descripcion {
    max-height: 200px;
    opacity: 1;
}

/* RESPONSIVE (Móvil < 768px) */
@media (max-width: 768px) {
    .servicios-grid-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .servicios-grid-wrapper .servicio-item-card .servicio-titulo {
        font-size: 18px;
    }
	
	.servicios-grid-wrapper .servicio-item-card .servicio-descripcion {
		font-size: 16px;
	}
}