/* Estilos específicos para la página de Áreas de Tratamiento */
.hero-section {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.18), transparent 65%);
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0.12) 100%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-700);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.treatment-card {
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(59, 130, 246, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    /* Ensure the pseudo-element does not intercept mouse events so inner links/buttons remain clickable */
    pointer-events: none;
}

.treatment-card:hover::before {
    opacity: 1;
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.treatment-card h5 {
    color: var(--secondary-900);
    font-weight: 700;
}

.treatment-card p {
    color: var(--secondary-600);
    line-height: 1.65;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.pill-list .pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--secondary-600);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cta-section {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
    color: white;
    padding: clamp(4rem, 8vw, 6rem) clamp(3rem, 8vw, 6rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    /*border-radius: clamp(1.5rem, 4vw, 2.5rem);*/
    margin-bottom: clamp(1.1rem, 4vw, 1.1rem);
    margin-top: clamp(1.1rem, 4vw, 1.1rem);
    box-shadow: var(--shadow-xl);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: cta-float 25s infinite linear;
    pointer-events: none;
}

@keyframes cta-float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.cta-section .btn-light {
    background: #ffffff;
    color: #059669;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-light:hover {
    background: #f8fafc;
    color: #047857;
    border-color: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-outline-light:hover {
    background: #ffffff;
    color: #059669;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-section .btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.cta-section .btn:hover i {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .hero-section::before {
        width: 380px;
        height: 380px;
        top: -140px;
        right: -160px;
    }
}
