/* Service Body Block */
.acv-service-body-block {
    width: 100%;
    padding: 80px 190px;
    background: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color: #dedede;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.acv-service-body-inner {
    display: flex;
    gap: 175px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

.acv-service-body-main {
    flex: 1 1 60%;
}

.acv-service-body-title {
    font-size: 2.4rem;
    font-weight: 300;
    color: #0f6b82;
    margin: 0 0 40px;
}

.acv-service-body-content {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 40px;
}

.acv-service-body-content p {
    margin: 0 0 16px;
}

.acv-service-body-content p:last-child {
    margin-bottom: 0;
}

/* Video */
.acv-service-body-video {
    margin-bottom: 50px;
    width: 75%;
}

.acv-service-video-player {
    position: relative;
    background: #f1f3f5;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(8, 34, 48, 0.08);
}

.acv-service-video-player video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #e9edf0;
}

/* Three Columns */
.acv-service-body-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.acv-service-column {
    display: flex;
    flex-direction: column;
    padding: 30px;
    align-items: flex-start;
}

.acv-service-column-icon {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0;
}

.acv-service-column-icon i {
    font-size: 3rem;
    color: var(--acvalve-primary-color, #0d4c5f);
    line-height: 1;
}

.acv-service-column-title {
    font-size: 2rem;
    font-weight: 200;
    color: #00657e;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.acv-service-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(13, 76, 95, 0.1);
}

.acv-service-column-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(13, 76, 95, 0.1);
    font-size: 0.95rem;
    color: var(--acvalve-body-text-color, #2c3e50);
    line-height: 1.5;
}

.acv-service-column-list li:last-child {
    border-bottom: none;
}

/* Sidebar */
.acv-service-body-sidebar {
    flex: 1 1 35%;
    max-width: 380px;
    background: #012a39;
    color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: unset;
    margin-top: 0px;
}

.acv-service-sidebar-callout {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.acv-service-sidebar-callout-title {
    margin: 0;
    background: #1cc5d4;
    color: #ffffff;
    padding: 18px 25px 5px;
    font-size: 1.75rem;
    font-weight: 400;
}

.acv-service-sidebar-callout-intro {
    margin: 0;
    background: #37c6d3;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 28px 15px;
    font-size: 0.85rem;
}

.acv-service-sidebar-content {
    padding: 32px 34px 38px;
}

/* Team Member Card */
.acv-service-team-card {
    text-align: left;
    margin-bottom: 30px;
}

.acv-service-team-photo img {
    width: 262px;
    height: 252px;
    object-fit: cover;
}

.acv-service-team-name {
    font-weight: 200;
    font-size: 1.8rem;
    margin: 0;
    margin-top: 20px;
}

.acv-service-team-role {
    margin: 8px 0 25px 0;
    color: rgb(255 255 255);
    font-size: 0.95rem;
}

.acv-service-team-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

/* Button styles moved to /css/buttons.css */
.acv-service-team-btn {
    flex: 1;
}

.acv-service-team-btn-secondary {
    background: #1cc5d4;
    border: none;
    color: #ffffff;
}

/* Form */
.acv-service-sidebar-form {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 32px;
}

.acv-service-sidebar-form h3 {
    margin: 0 0 18px 0;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
}

.acv-service-form-wrapper {
    background: transparent;
    padding: 0;
}

.acv-service-form-wrapper input,
.acv-service-form-wrapper textarea {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 8px;
    border: none;
    padding: 12px 14px;
    background: #f2f5f7;
    color: #073245;
    font-size: 0.95rem;
}

.acv-service-form-wrapper input[type="submit"],
.acv-service-form-wrapper button,
.acv-service-form-wrapper .wpcf7-submit {
    background: var(--acv-btn-primary-bg, #ee7f2d);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 400;
    cursor: pointer;
    width: auto;
    min-width: 140px;
    box-shadow: 0 12px 30px rgba(238, 127, 45, 0.4);
    display: inline-block;
}

.acv-service-form-wrapper input[type="submit"]:hover,
.acv-service-form-wrapper button:hover,
.acv-service-form-wrapper .wpcf7-submit:hover {
    opacity: 0.9;
}

/* Gravity Forms styles moved to /css/gravity-forms.css */

/* Responsive */
@media (max-width: 1024px) {
    .acv-service-body-block {
        padding: 60px 40px;
    }

    .acv-service-body-inner {
        flex-direction: column;
        gap: 60px;
    }

    .acv-service-body-sidebar {
        width: 100%;
        max-width: none;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .acv-service-body-block {
        padding: 50px 20px;
    }

    .acv-service-body-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .acv-service-body-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    .acv-service-body-block {
        padding: 40px 20px;
    }

    .acv-service-team-actions {
        flex-direction: column;
    }

    .acv-service-column {
        display: flex;
        flex-direction: column;
        padding: 0px;
        text-align: left;
        align-items: flex-start;
    }

    .acv-service-column-icon {
        width: auto;
        height: auto;
        border: none;
        border-radius: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .acv-service-body-video {
        margin-bottom: 50px;
        width: 100%;
    }
}

/* ===== Scroll Animations ===== */
.acv-service-body-title,
.acv-service-body-content,
.acv-service-body-video,
.acv-service-column,
.acv-service-body-sidebar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.acv-service-body-title.acv-sb-visible,
.acv-service-body-content.acv-sb-visible,
.acv-service-body-video.acv-sb-visible,
.acv-service-column.acv-sb-visible,
.acv-service-body-sidebar.acv-sb-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar slides from right */
.acv-service-body-sidebar {
    transform: translateX(30px);
}

.acv-service-body-sidebar.acv-sb-visible {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

    .acv-service-body-title,
    .acv-service-body-content,
    .acv-service-body-video,
    .acv-service-column,
    .acv-service-body-sidebar {
        opacity: 1;
        transform: none;
        transition: none;
    }
}