/* ============================================
   BEACON PAIN CLINIC - ABOUT PAGE STYLES
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
}

.about-hero__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #374151;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.about-hero__subtitle {
    font-size: 18px;
    color: #6B7280;
    margin: 0 0 32px 0;
}

.about-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.about-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero__stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #5BA3D0;
    line-height: 1;
}

.about-hero__stat-label {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.about-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 163, 208, 0.3);
}

.about-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 163, 208, 0.4);
}

.about-hero__cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.about-hero__cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 0;
    }
    
    .about-hero__stats {
        gap: 24px;
    }
    
    .about-hero__stat-number {
        font-size: 28px;
    }
    
    .about-hero__stat-label {
        font-size: 12px;
    }
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAFBFC 0%, #F3F4F6 100%);
}

.team-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-section__header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-section__badge {
    display: inline-block;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.team-section__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: #374151;
    margin-bottom: 24px;
    margin-top: 0;
}

.team-section__description {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

.team-section__consultants,
.team-section__support {
    margin-bottom: 60px;
}

.team-section__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.team-section__subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    border-radius: 2px;
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
    display: grid;
    gap: 32px;
    justify-items: center;
}

.team-grid--consultants {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid--support {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   TEAM MEMBER CARDS
   ============================================ */
.team-member {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    max-width: 300px;
    width: 100%;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(91, 163, 208, 0.3);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member__image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 163, 208, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .team-member__overlay {
    opacity: 1;
}

.team-member:hover .team-member__image {
    transform: scale(1.1);
}

.team-member__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    color: #FFFFFF;
}

.team-member__badge--research {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.team-member__badge--management {
    background: linear-gradient(135deg, #059669, #047857);
}

.team-member__badge--admin {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
}

.team-member__badge--tech {
    background: linear-gradient(135deg, #7C2D12, #92400E);
}

.team-member__name {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-member__role {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.4;
}

.team-member__qualifications {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 500;
    opacity: 0.8;
}

.team-member__orcid a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5BA3D0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-member__orcid a:hover {
    color: #4A8BC2;
}

.team-member__orcid img {
    width: 16px;
    height: 16px;
}

/* ============================================
   TEAM MODAL
   ============================================ */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.team-modal__content {
    position: relative;
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.team-modal.active .team-modal__content {
    transform: translateY(0) scale(1);
}

.team-modal__close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 12px 0 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.team-modal__close:hover {
    background: #5BA3D0;
    color: #FFFFFF;
    border-color: #5BA3D0;
}

.team-modal__body {
    padding: 40px;
}

.modal-member__header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-member__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-member__name {
    font-size: 28px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.modal-member__role {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 12px;
}

.modal-member__qualifications {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
    font-weight: 500;
    opacity: 0.9;
}

.modal-member__bio {
    font-size: 16px;
    line-height: 1.7;
    color: #6B7280;
}

.modal-member__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 24px;
    background: #fff;
    color: #1a5e8f;
    border: 2px solid #1a5e8f;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.modal-member__linkedin:hover {
    background: #1a5e8f;
    color: #fff;
}

.modal-member__linkedin i {
    font-size: 1rem;
    color: #0077B5;
    transition: color 0.2s ease;
}

.modal-member__linkedin:hover i {
    color: #fff;
}

/* ============================================
   TREATMENT SECTION - WITH CARDS
   ============================================ */
.treatment-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #5BA3D0 0%, #4A8BC2 100%);
    color: #FFFFFF;
    text-align: center;
}

.treatment-section__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.treatment-section__header {
    margin-bottom: 32px;
}

.treatment-section__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0;
}

/* Benefits row */
.treatment-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.treatment-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.treatment-benefit i {
    font-size: 18px;
    opacity: 0.9;
}

.treatment-benefit span {
    font-size: 14px;
    font-weight: 600;
}

/* Treatment cards */
.treatment-cards__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px 0;
    opacity: 0.9;
}

.treatment-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.treatment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.treatment-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.treatment-card i {
    font-size: 28px;
    opacity: 0.95;
}

.treatment-card span {
    font-size: 13px;
    font-weight: 600;
}

.treatment-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.treatment-view-all:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.treatment-view-all i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.treatment-view-all:hover i {
    transform: translateX(4px);
}

/* CTA */
.treatment-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.treatment-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #FFFFFF;
    color: #5BA3D0;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.treatment-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.treatment-cta-btn i {
    font-size: 20px;
}

.treatment-cta__note {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

/* ============================================
   CONDITIONS LINKS - SEO SECTION
   ============================================ */
.conditions-links {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.conditions-links__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.conditions-links__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px 0;
}

.conditions-links__subtitle {
    font-size: 16px;
    color: #6B7280;
    margin: 0 0 32px 0;
}

.conditions-links__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.condition-link {
    display: inline-block;
    padding: 10px 20px;
    background: #FFFFFF;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.condition-link:hover {
    background: #5BA3D0;
    color: #FFFFFF;
    border-color: #5BA3D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 163, 208, 0.25);
}

.conditions-links__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5BA3D0;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.conditions-links__all:hover {
    color: #4A8BC2;
}

.conditions-links__all:hover i {
    transform: translateX(4px);
}

.conditions-links__all i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 50%, #F3F4F6 100%);
    position: relative;
}

.resources-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resources-section__header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resources-section__badge {
    display: inline-block;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.resources-section__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: #374151;
    margin-bottom: 24px;
}

.resources-section__description {
    font-size: 18px;
    line-height: 1.7;
    color: #6B7280;
    margin: 0;
}

/* ============================================
   RESOURCE CARDS
   ============================================ */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
    list-style: none;
    padding: 0;
}

.resource-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.resource-card * {
    text-decoration: none !important;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(91, 163, 208, 0.3);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.resource-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(91, 163, 208, 0.2), #5BA3D0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.resource-card:hover .resource-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card__type {
    background: rgba(91, 163, 208, 0.1);
    color: #5BA3D0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-card__content {
    flex: 1;
}

.resource-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 16px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-card__title {
    color: #5BA3D0;
}

.resource-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 24px;
}

.resource-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.resource-card__duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6B7280;
}

.resource-card__category {
    background: #F3F4F6;
    color: #6B7280;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.resource-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-card__cta {
    font-size: 16px;
    font-weight: 600;
    color: #5BA3D0;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-card__cta {
    color: #4A8BC2;
}

.resource-card__arrow {
    width: 40px;
    height: 40px;
    background: rgba(91, 163, 208, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5BA3D0;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-card__arrow {
    background: #5BA3D0;
    color: #FFFFFF;
    transform: translateX(4px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-section__content {
    z-index: 2;
    position: relative;
}

.contact-section__title {
    font-size: 28px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 16px;
    line-height: 1.3;
}

.contact-section__description {
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 32px;
}

.contact-section__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.contact-btn--phone {
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.contact-btn--phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-btn--email {
    background: #F3F4F6;
    color: #374151;
    border: 2px solid #E5E7EB;
}

.contact-btn--email:hover {
    background: #5BA3D0;
    color: #FFFFFF;
    border-color: #5BA3D0;
    transform: translateY(-3px);
}

.contact-section__visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-visual__shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91, 163, 208, 0.1), rgba(74, 139, 194, 0.15));
}

.contact-visual__shape--1 {
    width: 120px;
    height: 120px;
    top: 20px;
    left: 40px;
    animation: float 6s ease-in-out infinite;
}

.contact-visual__shape--2 {
    width: 80px;
    height: 80px;
    bottom: 30px;
    right: 30px;
    animation: float 8s ease-in-out infinite reverse;
}

.contact-visual__icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #5BA3D0, #4A8BC2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(91, 163, 208, 0.3);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91, 163, 208, 0.3); }
    50% { box-shadow: 0 0 0 20px rgba(91, 163, 208, 0); }
}

/* ============================================
   ACCESSIBILITY STYLES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.team-member:focus,
.resource-card:focus {
    outline: 3px solid #5BA3D0;
    outline-offset: 2px;
}

.team-member:focus-visible,
.resource-card:focus-visible {
    outline: 3px solid #5BA3D0;
    outline-offset: 2px;
}

.team-modal[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.team-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-btn:focus,
.team-modal__close:focus {
    outline: 3px solid #5BA3D0;
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .team-grid--consultants {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 992px) {
    .resources-section {
        padding: 80px 0;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        text-align: center;
    }
    
    .contact-section__visual {
        height: 150px;
    }
}

@media (max-width: 900px) {
    .treatment-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 80px 0;
    }
    
    .team-section__header {
        margin-bottom: 60px;
    }
    
    .team-section__title {
        font-size: 2rem;
    }
    
    .team-section__description {
        font-size: 16px;
    }
    
    .team-grid {
        gap: 24px;
    }
    
    .team-grid--consultants {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .team-member {
        padding: 24px 20px;
    }
    
    .team-member__image-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .team-modal__close {
        top: 8px;
        margin: 8px 8px 0 0;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .team-modal__body {
        padding: 32px 24px;
    }
    
    .modal-member__image {
        width: 120px;
        height: 120px;
    }
    
    .treatment-section {
        padding: 50px 0;
    }
    
    .treatment-benefits {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .treatment-benefit {
        padding: 10px 16px;
    }
    
    .treatment-benefit i {
        font-size: 16px;
    }
    
    .treatment-benefit span {
        font-size: 12px;
    }
    
    .treatment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .treatment-card {
        padding: 16px 10px;
    }
    
    .treatment-card i {
        font-size: 24px;
    }
    
    .treatment-card span {
        font-size: 12px;
    }
    
    .treatment-cta-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .conditions-links {
        padding: 40px 0;
    }
    
    .conditions-links__grid {
        gap: 8px;
    }
    
    .condition-link {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .resources-section {
        padding: 60px 0;
    }
    
    .resources-section__header {
        margin-bottom: 60px;
    }
    
    .resource-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .resource-card {
        padding: 24px;
    }
    
    .contact-section {
        padding: 32px 24px;
    }
    
    .contact-section__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .team-member,
    .resource-card,
    .contact-section,
    .treatment-card,
    .treatment-benefit,
    .contact-visual__shape,
    .contact-visual__icon {
        animation: none !important;
        transition: none !important;
    }
    
    .team-member,
    .resource-card,
    .contact-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

body.modal-open .dpc-back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}
