#profesionales {
  text-align: center;
  background-color: #f8f9fa;
  overflow-x: hidden;
}

.seccion-premium-profesional {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* DECORACIÓN INTERNA DE TARJETAS - VISIBILIDAD FORZADA */
.decoracion-interna-tarjeta {
    position: absolute;
    opacity: 0.5 !important; /* Visible y elegante */
    width: 100% !important;
    height: auto;
    pointer-events: none;
    z-index: 1; 
    transition: all 0.5s ease;
    /* Filtro para volver la onda color Esmeralda (#00A896) */
    filter: invert(43%) sepia(96%) saturate(434%) hue-rotate(126deg) brightness(91%) contrast(101%) !important;
}

.decoracion-interna-tarjeta.mini {
    width: 150% !important;
    opacity: 0.3 !important;
}

.pos-top-left { top: -20% !important; left: -20% !important; }
.pos-bottom-right { bottom: -20% !important; right: -20% !important; transform: rotate(180deg) !important; }

.tarjeta-maestra-profesional:hover .decoracion-interna-tarjeta {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.2;
}

.tarjeta-maestra-profesional {
    background: #fff;
    border-radius: 40px;
    padding: 80px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    z-index: 1;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden !important; /* Recorta la onda interna */
}

.titular-premium {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'Paytone One', sans-serif;
    color: #2d3436;
    margin-bottom: 60px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.titular-premium span {
    display: block;
    font-size: 0.45em;
    color: #00A896;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 15px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
}

.layout-curso {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.p-destacado {
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    color: #555 !important;
    text-align: left;
    border-left: 5px solid #00A896;
    padding-left: 30px;
}

/* EL CORAZÓN VIVO - REFINADO */
.wrapper-corazon-vivo {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    cursor: pointer;
}

.svg-corazon-latiente {
    position: absolute;
    width: 125%;
    height: 125%;
    z-index: 10;
    object-fit: contain;
    pointer-events: none;
    animation: heartbeatSubtle 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08)) !important;
    transition: all 0.4s ease;
}

/* Animación cuando NO hay mouse over */
@keyframes heartbeatSubtle {
    0%, 100% { transform: scale(0.96); opacity: 0.9; }
    50% { transform: scale(1.02); opacity: 1; }
}

/* Animación intensa para el mouse over */
@keyframes heartbeatActive {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.2); }
}

.wrapper-corazon-vivo:hover .svg-corazon-latiente {
    animation: heartbeatActive 1.5s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(252, 87, 85, 0.3)) !important;
}

.foto-curso-estatica {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 5;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wrapper-corazon-vivo:hover .foto-curso-estatica {
    transform: scale(1.05);
}

.foto-curso-estatica img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}

.boton-premium-color {
    background: #00A896 !important;
    border: none !important;
    padding: 20px 50px !important;
    font-size: 1.1rem !important;
    position: relative;
    z-index: 2;
}

/* TESTIMONIOS PREMIUM */
.testimonios-seccion-premium {
    margin-top: 80px;
    background: #fdfbf7;
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

/* GRID DE BENEFICIOS */
.detalles-modernos, .propuesta-moderna {
    max-width: 1400px !important;
    width: 94% !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0 !important;
}

.card-beneficio {
    background: #fff;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden; /* Crucial para las mini ondas */
}

.card-beneficio:hover {
    transform: translateY(-10px);
    border-color: #00A896;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #f1f8f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.icon-box img { width: 35px; height: 35px; }

.card-beneficio span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.card-beneficio b {
    display: block !important;
    color: #2d3436 !important;
    font-size: 1.15rem !important;
    margin-bottom: 12px !important;
    font-family: 'Work Sans', sans-serif;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 850px) {
    .layout-curso { flex-direction: column-reverse; }
    .tarjeta-maestra-profesional { padding: 40px 20px !important; }
}
