/* DID Section */
.did-section {
    position: relative;
    overflow: hidden;
}

.did-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.did-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease;
}

.did-logo {
    height: 10rem;
    width: auto;
    margin-bottom: 20px;
}

.did-title {
    margin-bottom: 1rem;
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
}

.did-quote {
    font-size: 1.5rem;
    color: var(--accent-mind);
    font-style: italic;
    margin-top: 1rem;
}

/* Content */
.did-content {
    max-width: 1000px;
    margin: 0 auto;
}

.did-intro-text {
    margin-bottom: 4rem;
}

.did-paragraph {
    color: var(--text-light-gray);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Services Section */
.did-services {
    margin-top: 3rem;
}

.did-services-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.did-services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-mind);
}

.did-services-intro {
    margin-bottom: 3rem;
}

/* 
   Services List
    */
.did-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.did-service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.did-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 204, 185, 0.05) 0%, transparent 100%);
    transition: width 0.4s ease;
    z-index: 0;
}

.did-service-item:hover {
    border-left-color: var(--accent-mind);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(8px);
}

.did-service-item:hover::before {
    width: 100%;
}

/* 
   Service Icon
    */
.service-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-mind) 0%, rgba(7, 204, 185, 0.6) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.did-service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(7, 204, 185, 0.4);
}

.service-icon svg {
    color: var(--dark-blue);
    width: 1.25rem;
    height: 1.25rem;
}

/* 
   Service Text
    */
.service-text {
    flex: 1;
    color: var(--text-light-gray);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-text strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 0.25rem;
}

/* 
   Responsive Design
    */
@media (max-width: 768px) {
    .did-container {
        padding: 0 1rem;
    }

    /* .did-title {
        font-size: 1.75rem;
    } */

    .did-quote {
        font-size: 1.125rem;
    }

    .did-paragraph {
        font-size: 1rem;
        text-align: left;
    }

    .did-services-title {
        font-size: 1.5rem;
    }

    .did-service-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .service-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .service-icon svg {
        width: 1rem;
        height: 1rem;
    }

    .service-text {
        font-size: 0.9375rem;
    }

    .did-intro-text {
        margin-bottom: 2.5rem;
    }

    .did-services-intro {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .did-quote {
        font-size: 1rem;
    }

    .did-paragraph {
        font-size: 0.9375rem;
    }

    .did-services-title {
        font-size: 1.25rem;
    }
}

/* Párrafos - Desktop */
.did-paragraph {
    display: block;
}

.did-paragraph-mobile {
    display: none;
}

/* MÓVIL */
@media (max-width: 768px) {
    .did-paragraph {
        display: none;
    }

    .did-paragraph-mobile {
        display: block;
    }
}

/* DESKTOP - Normal */
.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border: none;
    background: none;
    cursor: auto;
    padding: 0;
}

.service-toggle-icon {
    display: none;
}

.service-content {
    display: block;
}

.service-content p {
    margin-top: 0.5rem;
}

/* MÓVIL - Acordeón */
@media (max-width: 768px) {
    .did-services-list {
        gap: 0.75rem;
    }

    .did-service-item {
        display: flex;
        flex-direction: column;
        padding: 0;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(7, 204, 185, 0.2);
        border-left: none;
        border-radius: 0.5rem;
        gap: 0;
    }

    .did-service-item::before {
        display: none;
    }

    .did-service-item:hover {
        border-left-color: transparent;
        transform: none;
        background: rgba(255, 255, 255, 0.02);
    }

    .service-icon {
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1.25rem 0 0 1.25rem;
        flex-shrink: 0;
    }

    .service-text {
        flex: 1;
        width: 100%;
    }

    .service-header {
        display: flex;
        width: 100%;
        border: none;
        background: none;
        cursor: pointer;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem 1rem 1.25rem;
        text-align: left;
        margin: 0;
        margin-top: -3rem;
        padding-left: 4.5rem;
    }

    /* .service-header:hover {
        background: rgba(7, 204, 185, 0.05);
    } */

    .service-header strong {
        flex: 1;
        font-size: 0.95rem;
        color: var(--text-white);
    }

    .service-toggle-icon {
        display: block;
        font-size: 1.5rem;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        color: var(--accent-mind);
        user-select: none;
    }

    .did-service-item.active .service-toggle-icon {
        transform: rotate(45deg);
    }

    .service-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0;
    }

    .did-service-item.active .service-content {
        max-height: 300px;
        padding: 0 1.25rem 1.25rem 4.5rem;
        border-top: 1px solid rgba(7, 204, 185, 0.15);
    }

    .service-content p {
        font-size: 0.9375rem;
        color: var(--text-light-gray);
        margin: 0;
        line-height: 1.6;
    }
}