.spanish-hero {
    padding-top: 0;
}

.spanish-hero .spanish-hero-title {
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 64px;
    font-style: normal;
    font-weight: 800;
    line-height: 72px;
    text-align: left;
    max-width: 842px;
}

.spanish-hero .google-reviews-wrapper {
    margin-left: auto;
}

.spanish-hero .google-reviews-count {
    color: var(--bs-white);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.spanish-hero .google-reviews-wrapper-mobile img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.spanish-hero .spanish-hero-quicklinks {
    row-gap: 8px;
    column-gap: 40px;
    margin-top: 40px;
}

.spanish-hero .spanish-hero-quicklink {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-dm-sans, "DM Sans");
    font-weight: 600;
    font-size: 20px;
    font-style: italic;
    line-height: 24px;
    color: var(--bs-white);
}

.spanish-hero .spanish-hero-quicklink:hover {
    color: var(--bs-white);
}

.spanish-hero .video-hero-logos {
    margin-top: 120px;
}

.spanish-hero .video-hero-logos-label {
    color: var(--bs-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.spanish-hero .spanish-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.spanish-hero .spanish-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 708px;
    object-fit: cover;
    z-index: 0;
}

.spanish-hero .cta-spanish-primary {
    border-right: 1px solid var(--bs-white);
}

.spanish-hero .cta-spanish-primary, .spanish-hero .cta-spanish-secondary {
    text-align-last: center;
    color: var(--bs-white);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    padding: 28px 0;
    transition: background-color 0.3s ease;
}

.spanish-hero .cta-spanish-primary:hover {
    background-color: var(--bs-secondary-700) !important;
}

.spanish-hero .cta-spanish-secondary:hover {
    background-color: var(--bs-secondary-500) !important;
}

@media (max-width: 768px) {
    .spanish-hero .spanish-hero-bg {
        height: 564px;
    }

    .spanish-hero .cta-spanish-primary {
        border-right: none;
    }

    .spanish-hero .cta-spanish-primary, .spanish-hero .cta-spanish-secondary {
        width: 100% !important;
        text-transform: none !important;
        padding: 14px 0;
        font-size: 14px;
        line-height: 20px;
    }

    .spanish-hero .spanish-hero-quicklinks {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 8px;
        column-gap: 24px;
        margin-top: 24px;
    }

    /* The forced row-break (3-per-row on desktop) isn't needed once the layout
       is a single column — display:none removes it from the flex flow entirely,
       so it no longer eats an extra row-gap between Robos and Posesión de drogas. */
    .spanish-hero .spanish-hero-quicklinks > .w-100 {
        display: none;
    }

    .spanish-hero .spanish-hero-quicklink {
        font-size: 14px;
        line-height: 20px;
    }

    .spanish-hero .spanish-hero-quicklink svg {
        width: 16px;
        height: 16px;
    }

    .spanish-hero .video-hero-logos {
        margin-top: 40px;
    }

    .spanish-hero .video-hero-logos img {
        height: 24px;
        width: auto;
        object-fit: contain;
    }

    .spanish-hero .thanks-hero {
        height: 564px;
    }

    .spanish-hero .google-reviews-count {
        font-size: 14px;
        line-height: 16px;
    }
}

@media (max-width: 992px) {
    .spanish-hero .spanish-hero-title {
        margin-top: 0;
        margin-bottom: 4px;
        font-size: 32px;
        line-height: 40px;
        text-align: left;
    }

    .spanish-hero .spanish-hero-content {
        padding: 32px 24px 42px 24px;
    }
}
