#hero-section {
    position: relative;
    width: 100%;
    max-width: 3200px;
    margin: 0 auto;
    height: calc(100dvh - var(--h-header-desktop));
    min-height: 700px;
    max-height: 1200px;
    background-color: var(--clr-bg);
    contain: layout paint;
}
.hero-media-container, .hero-video, .hero-image, .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-media-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 200px;
    z-index: 1;
}
.hero-video, .hero-image {
    object-fit: cover;
    z-index: -1;
}
.hero-video {
    opacity: 0;
    animation: hero-fade 1s ease-in-out 0.1s forwards;
}
.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 75%;
    max-width: 1200px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-content h1 {
    font-size: 30px;
    line-height: 38px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
}
.hero-content p {
    font-size: 14px;
    line-height: 20px;
    margin: 0 auto;
}
@keyframes hero-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero-cards-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-w-container);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 40px;
}
.hero-card {
    background-color: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 5px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.card-icon {
    margin-right: 10px;
}
.card-header h2 {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
}
.card-text {
    flex: 1;
    margin-bottom: 20px;
}
.card-text p {
    font-size: 14px;
    line-height: 20px;
}
.card-text p:nth-child(1) {
    margin-bottom: 5px;
}
.card-text p:nth-child(2) {
    font-weight: bold;
    margin-bottom: 0;
}
.card-buttons {
    display: flex;
    gap: 20px;
}
.services-overview-section {
    position: relative;
    width: 100%;
    background: var(--clr-text);
    border-top: 1px solid var(--clr-border);
    contain: layout paint;
}
.services-container {
    width: 100%;
    max-width: var(--max-w-container);
    margin: 0 auto;
    padding: 69px 40px 75px 40px;
    display: flex;
    flex-direction: column;
}
.services-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 34px 0;
    color: var(--clr-btn-primary-txt);
}
.services-header h2 {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}
.services-header p {
    font-size: 14px;
    line-height: 20px;
    text-align: left;
}
.how-it-works-block {
    color: var(--clr-btn-primary-txt);
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}
.how-it-works-header {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 25px;
}
.accent-line {
    width: 4px;
    background-color: var(--clr-accent);
    border-radius: 2px;
    flex-shrink: 0;
}
.how-it-works-header h2 {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    margin: 0;
    flex: 1;
}
.how-it-works-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}
.how-it-works-content:last-child {
    margin-bottom: 0;
}
.how-it-works-content p {
    font-size: 14px;
    line-height: 20px;
}
.how-it-works-content ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.how-it-works-content ul li {
    font-size: 14px;
    line-height: 20px;
    padding-left: 24px;
    position: relative;
}
.how-it-works-content ul li::before {
    content: "•";
    color: var(--clr-accent);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}
@media (max-width: 1050px) {
    #hero-section {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    .hero-media-container {
        position: relative;
        height: 100vw;
        max-height: 320px;
        padding-bottom: 0;
    }
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, #000 90%, #000 100%);
    }
    .hero-content {
        width: 100%;
        padding: 0 40px;
    }
    .hero-content h1 {
        font-size: 26px;
        line-height: 32px;
    }
    .hero-cards-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 20px;
        margin-top: 20px;
    }
}
@media (max-width: 750px) {
    .hero-content {
        width: 100%;
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 22px;
        line-height: 28px;
    }
    .hero-cards-container {
        padding: 0 20px 20px 20px;
        margin-top: 20px;
    }
    .card-header {
        justify-content: center;
    }
    .card-text {
        text-align: center;
    }
    .card-buttons {
        flex-direction: column;
        gap: 20px;
    }
    .card-buttons > a,
    .card-buttons > button {
        width: 100%;
        height: 40px;
        flex: none;
    }
    .services-container {
        padding: 30px 20px 35px 20px;
    }
}
