/* Service Introduction Section */
.service-intro {
    padding: min(10vh, 120px) 0;
    background-color: var(--wp--preset--color--white);
    width: 100%;
}

/* Container Layout */
.service-intro .container {
    width: min(90%, var(--container-width));
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Title Styling */
.service-intro__title {
    font-size: clamp(1.5rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--wp--preset--color--dark);
    max-width: min(90%, 800px);
    margin-left: auto;
    margin-right: auto;
}

/* Main Content */
.service-intro__content {
    font-size: clamp(1rem, 1vw + 0.75rem, 1.125rem);
    line-height: 1.7;
    color: var(--wp--preset--color--gray-700);
    max-width: min(90%, 800px);
    margin: 0 auto clamp(2.5rem, 6vw, 4rem);
    text-align: center;
}

.service-intro__content p {
    margin-bottom: 1.5rem;
}

.service-intro__content p:last-child {
    margin-bottom: 0;
}

/* Benefits Grid */
.service-intro__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0 auto;
}

/* Individual Benefit Cards */
.service-intro__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: var(--wp--preset--color--gray-100);
    border-radius: 0.5rem;
    transition: var(--transition-base);
    height: 100%;
}

/* Adjust benefit card background when section has gray background */
.gray-bg .service-intro__benefit {
    background-color: var(--wp--preset--color--white);
}

.service-intro__benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Benefit Icons */
.service-intro__benefit-icon {
    width: clamp(3rem, 4vw, 4rem);
    height: clamp(3rem, 4vw, 4rem);
    background-color: var(--wp--preset--color--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--wp--preset--color--primary);
    flex-shrink: 0;
}

/* Adjust icon background when section has gray background */
.gray-bg .service-intro__benefit-icon {
    background-color: var(--wp--preset--color--gray-100);
}

.service-intro__benefit-icon i {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

/* Benefit Titles */
.service-intro__benefit-title {
    font-size: clamp(1.125rem, 1.5vw + 0.75rem, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    color: var(--wp--preset--color--dark);
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefit Descriptions */
.service-intro__benefit-description {
    font-size: clamp(0.875rem, 0.5vw + 0.8rem, 1rem);
    line-height: 1.6;
    color: var(--wp--preset--color--gray-700);
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* Larger screens */
@media screen and (min-width: 1440px) {
    .service-intro .container {
        width: min(85%, var(--container-width));
    }
    
    .service-intro__benefits {
        gap: 3rem;
    }
}

/* Medium screens */
@media screen and (max-width: 1024px) {
    .service-intro {
        padding: min(8vh, 100px) 0;
    }
}

/* Mobile screens */
@media screen and (max-width: 768px) {
    .service-intro {
        padding: min(6vh, 80px) 0;
    }
    
    .service-intro .container {
        width: 90%;
    }
    
    .service-intro__benefits {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.25rem;
        margin: 0 auto;
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    .service-intro {
        padding: min(5vh, 60px) 0;
    }
    
    .service-intro .container {
        width: 95%;
    }
    
    .service-intro__benefit {
        padding: 1.25rem;
    }
}