.main-menu-three__social,
.mobile-nav__social {
    gap: 10px;
}

.main-menu-three__social a,
.mobile-nav__social a,
.site-footer__social a {
    text-decoration: none;
}

.about-one__img picture,
.team-details__img picture,
.rewaterproofing-lead-media picture,
.rewaterproofing-process-card picture {
    display: block;
}

.about-one__img picture {
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
}

.about-one__fleet-image {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.team-details__team-image {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.about-story p {
    color: var(--roofsie-gray);
    font-size: 18px;
    line-height: 1.85;
}

.about-story p + p {
    margin-top: 18px;
}

.about-story p:first-child {
    color: var(--roofsie-base);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
}

.services-one__video {
    border-top: 1px solid rgba(var(--roofsie-black-rgb), .1);
    margin-top: 20px;
    padding-top: 18px;
}

.service-video-button,
.review-video-button,
.trust-company__video-trigger {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.service-video-button {
    align-items: center;
    background: #eef8fc;
    border-radius: 8px;
    color: var(--roofsie-black);
    display: flex;
    gap: 14px;
    padding: 10px;
    text-align: left;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.service-video-button:hover {
    background: #dff2f9;
    transform: translateY(-2px);
}

.service-video-button__poster {
    border-radius: 6px;
    display: block;
    flex: 0 0 58px;
    height: 76px;
    object-fit: cover;
    width: 58px;
}

.service-video-button__label {
    align-items: center;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 9px;
    line-height: 1.4;
}

.service-video-button__label i {
    align-items: center;
    background: var(--roofsie-base);
    border-radius: 50%;
    color: var(--roofsie-white);
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.trust-company__video-trigger {
    background: transparent;
    border-radius: 50%;
    padding: 0;
}

.trust-company__video-trigger .trust-company__video-icon {
    display: flex;
}

.site-video-dialog {
    background: transparent;
    border: 0;
    margin: auto;
    max-height: 95vh;
    max-width: min(92vw, 760px);
    padding: 0;
    width: 100%;
}

.site-video-dialog::backdrop {
    background: rgba(4, 17, 25, .86);
}

.site-video-dialog__panel {
    background: #07131b;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    color: #fff;
    overflow: hidden;
}

.site-video-dialog__header {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 16px 18px;
}

.site-video-dialog__title {
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
    margin: 0;
}

.site-video-dialog__close {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 50%;
    color: #07131b;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 18px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.site-video-dialog video {
    background: #000;
    display: block;
    max-height: calc(95vh - 74px);
    object-fit: contain;
    width: 100%;
}

.review-intro {
    margin-bottom: 48px;
    text-align: center;
}

.review-intro__eyebrow {
    color: var(--roofsie-base);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.review-intro__title {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.review-intro__rating {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.review-intro__stars {
    color: #f5b301;
    letter-spacing: 2px;
}

.customer-story-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 56px;
}

.customer-story-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(13, 38, 52, .1);
    overflow: hidden;
}

.customer-story-card__media {
    aspect-ratio: 9 / 16;
    background: #07131b;
    max-height: 620px;
    overflow: hidden;
    position: relative;
}

.customer-story-card__media iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.review-video-button {
    background: #07131b;
    height: 100%;
    padding: 0;
    position: relative;
    width: 100%;
}

.review-video-button picture,
.review-video-button img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.review-video-button__overlay {
    align-items: center;
    background: linear-gradient(180deg, transparent 42%, rgba(3, 15, 23, .76));
    bottom: 0;
    color: #fff;
    display: flex;
    font-size: 17px;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    left: 0;
    padding: 28px 18px;
    position: absolute;
    right: 0;
}

.review-video-button__overlay i {
    align-items: center;
    background: var(--roofsie-base);
    border-radius: 50%;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.customer-story-card__content {
    padding: 20px 22px 24px;
}

.customer-story-card__content h2 {
    font-size: 22px;
    line-height: 1.35;
}

.gallery-page-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-page-grid .gallery-page__single {
    margin: 0;
    min-width: 0;
}

.gallery-page__link {
    border-radius: var(--roofsie-bdr-radius);
    display: block;
    overflow: hidden;
    position: relative;
}

.gallery-page-grid .gallery-page__img {
    aspect-ratio: 4 / 3;
}

.gallery-page-grid .gallery-page__img img {
    height: 100%;
    object-fit: cover;
}

.gallery-page-grid .gallery-page__img::before {
    background: linear-gradient(180deg, transparent 48%, rgba(var(--roofsie-base-rgb), .78));
    transform: none;
}

.gallery-page-grid .gallery-page__icon {
    align-items: flex-end;
    color: #fff;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
}

.gallery-page-grid .gallery-page__icon span {
    align-items: center;
    background: rgba(0, 0, 0, .68);
    border-radius: 50%;
    display: inline-flex;
    font-size: 18px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.gallery-page-grid .gallery-page__single:hover .gallery-page__img::before,
.gallery-page-grid .gallery-page__link:focus-visible .gallery-page__img::before {
    background: rgba(var(--roofsie-base-rgb), .72);
}

.rewaterproofing-lead-media {
    margin-top: 30px;
}

.rewaterproofing-lead-media img {
    border-radius: var(--roofsie-bdr-radius);
    display: block;
    height: auto;
    width: 100%;
}

.rewaterproofing-process {
    margin-top: 64px;
}

.rewaterproofing-process__heading {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 28px;
    text-align: center;
}

.rewaterproofing-process__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rewaterproofing-process-card {
    background: #fff;
    border-radius: var(--roofsie-bdr-radius);
    box-shadow: 0 12px 34px rgba(13, 38, 52, .1);
    overflow: hidden;
}

.rewaterproofing-process-card img {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.rewaterproofing-process-card figcaption {
    color: var(--roofsie-black);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 18px 18px;
    text-align: center;
}

.service-video-button:focus-visible,
.review-video-button:focus-visible,
.trust-company__video-trigger:focus-visible,
.site-video-dialog__close:focus-visible,
.gallery-page__link:focus-visible,
.main-menu-three__social a:focus-visible,
.mobile-nav__social a:focus-visible,
.site-footer__social a:focus-visible {
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--roofsie-base);
    outline: 0;
}

@media (max-width: 767px) {
    .customer-story-grid,
    .gallery-page-grid,
    .rewaterproofing-process__grid {
        grid-template-columns: 1fr;
    }

    .customer-story-card__media {
        max-height: none;
    }

    .site-video-dialog {
        max-width: calc(100vw - 24px);
    }

    .site-video-dialog__header {
        padding: 12px 14px;
    }

    .site-video-dialog__title {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-video-button,
    .gallery-page__img img,
    .gallery-page__img::before {
        transition: none;
    }
}
