/* ============================================
   EXPERTISE SECTION STYLES
   ============================================ */

.expertise-section {
    position: relative;
    width: 100%;
    overflow: visible;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

/* Bottle Vector Background - Extends above section to show neck */
.expertise-bottle-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2946px;
    z-index: 0;
    pointer-events: none;
}

.expertise-bottle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    overflow: visible;
}

/* Content Container */
.expertise-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1700px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 1;
}

/* Content */
.expertise-content {
    text-align: center;
    margin-bottom: 60px;
}

.expertise-title {
    color: #181818;
    text-align: center;
    font-family: Costaline, serif;
    font-size: 48px;
    font-weight: 100;
    line-height: 1.5;
    margin: 0 0 16px;
}

.expertise-title-highlight {
    color: #833C1E;
    font-family: "Alamendro", serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.1;
}

.expertise-description {
    color: #181818;
    text-align: center;
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 900px;
    margin: 0 auto 50px;
}

.expertise-description-highlight {
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #833C1E;
}

/* Services List - Interactive Accordion */
.expertise-services {
    display: flex;
    flex-direction: column;
    gap: 64.516px;
    margin-bottom: 50px;
    max-width: 945px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-service-item {
    display: flex;
    align-items: center;
    gap: 109.677px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Bulletin Dot */
.expertise-service-bullet {
    width: 8.871px;
    height: 8.871px;
    border-radius: 50%;
    background: var(--Grey-1, #B4B2AD);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.expertise-service-item.active .expertise-service-bullet {
    background: var(--Brown, #833C1E);
}

/* Serial Number */
.expertise-service-number {
    color: var(--Grey-1, #B4B2AD);
    font-family: Costaline, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 100;
    line-height: 1.7;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.expertise-service-item.active .expertise-service-number {
    color: var(--Brown, #833C1E);
    font-size: 48px;
    line-height: 1.7;
}

/* Title and Content Wrapper */
.expertise-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15.323px;
}

.expertise-service-title {
    color: var(--Grey-1, #B4B2AD);
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    transition: color 0.3s ease;
}

.expertise-service-item.active .expertise-service-title {
    color: var(--Brown, #833C1E);
}

/* Description (hidden by default, shown when active) */
.expertise-service-description {
    color: var(--Black, #181818);
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.expertise-service-item.active .expertise-service-description {
    max-height: 200px;
    opacity: 1;
}

/* Arrow Icon */
.expertise-service-arrow {
    width: 52.419px;
    height: 12.903px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-service-item.active .expertise-service-arrow {
    opacity: 1;
}

/* Button Group */
.expertise-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Desktop Large */
@media (min-width: 1601px) {
    .expertise-bottle-bg {
        height: 3200px;
        top: 250px;
    }

    .expertise-inner {
        padding-top: 2250px;
    }
}

/* Tablet/Laptop */
@media (min-width: 801px) and (max-width: 1024px) {
    .expertise-bottle-bg {
        height: 2200px;
        top: -150px;
    }

    .expertise-inner {
        padding-top: 1250px;
        max-width: 700px;
    }

    .expertise-title {
        font-size: 40px;
    }

    .expertise-title-highlight {
        font-size: 48px;
    }
}

/* Tablet/Mobile */
@media (max-width: 768px) {
    .expertise-bottle-bg {
        height: 1710px;
        top: -100px;
    }

    .expertise-inner {
        padding-top: 1000px;
        padding-bottom: 40px;
    }

    .expertise-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .expertise-title-highlight {
        font-size: 32px;
    }

    .expertise-description,
    .expertise-description-highlight {
        font-size: 16px;
        margin-bottom: 40px;
        max-width: 311px;
    }

    /* Mobile: No accordion, all items visible, smaller gaps */
    .expertise-services {
        gap: 24px;
        padding: 0;
        max-width: 301px;
    }

    .expertise-service-item {
        gap: 20px;
        cursor: default;
        align-items: flex-start;
    }

    .expertise-service-bullet {
        width: 2.929px;
        height: 2.2px;
        border-radius: 50%;
        background: var(--Brown, #833C1E);
        margin-top: 13px;
    }

    .expertise-service-number {
        color: var(--Brown, #833C1E);
        font-size: 16px;
        line-height: 1.7;
        width: 22.633px;
    }

    .expertise-service-content {
        gap: 12px;
    }

    .expertise-service-item.active .expertise-service-number {
        color: var(--Brown, #833C1E);
        font-size: 16px;
        line-height: 1.7;
    }

    .expertise-service-title {
        color: var(--Black, #181818);
        font-size: 16px;
    }

    .expertise-service-description {
        color: var(--Grey-1, #B4B2AD);
        font-size: 16px;
        max-height: none;
        opacity: 1;
    }

    .expertise-service-arrow {
        width: 17px;
        height: 19px;
        opacity: 1;
    }

    .expertise-actions {
        flex-direction: row;
        margin: 0 auto;
    }

    .expertise-actions .btn {
        width: auto;
    }
}

/* Small Mobile */
@media (max-width: 500px) {
    .expertise-bottle-bg {
        height: 1500px;
        top: -80px;
    }

    .expertise-inner {
        padding-top: 820px;
    }
}

@media (max-width: 400px) {
    .expertise-bottle-bg {
        height: 1400px;
        top: -70px;
    }

    .expertise-inner {
        padding-top: 730px;
    }

    .expertise-title {
        font-size: 24px;
    }

    .expertise-title-highlight {
        font-size: 28px;
    }
}

/* Tablet range */
@media (min-width: 500px) and (max-width: 800px) {
    .expertise-bottle-bg {
        height: 1900px;
        top: -120px;
    }

    .expertise-inner {
        padding-top: 1080px;
    }
}