.services {
    max-height: 800px;
    overflow: hidden;
}

.services .section-content {
    min-height: 80vh;
    align-items: center !important;
}

.services canvas {
    opacity: 0.5;
}

.h1 {
    padding: 0;
}

.plan.flex .section-content {
    gap: 6rem;
    max-width: 1250px !important;
}

.plan .section-content > .flex.row {
    width: 100%;
    gap: 4rem;
    position: relative;
    align-items: center !important;
}

.plan .section-content > .flex.row svg {
    align-self: flex-end !important;
    position: absolute;
    top: 50%;
    right: 4rem;
    max-width: calc(100vw - 600px - 12rem);
}

.plan .section-content > .flex.row:last-of-type svg {
    top: -30%;
    -moz-transform: scale(-1, -1);
    -webkit-transform: scale(-1, -1);
    -o-transform: scale(-1, -1);
    -ms-transform: scale(-1, -1);
    transform: scale(-1, -1);
    left: 3rem;
}

.plan .section-content > .flex.row path {
    stroke: var(--accent) !important;
    opacity: 0.7;
}

.plan .section-content > .flex.row:last-of-type path {
    stroke: var(--accent-alt) !important;
}

.plan .flex.row:has(.right) {
    justify-content: flex-end !important;
}

.plan .hero-sub {
    max-width: 600px !important;
}

.plan .grid-background {
    background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 0.75px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0.75px, transparent 1px);
}

.plan .overlay-background:not(.alt) {
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.3) 100%) !important;
}

.plan .window {
    transform: rotateX(9deg) rotateY(20deg) rotateZ(-3deg);
}

.plan .window-content {
    filter: grayscale(0.7);
}

.plan .window:hover .window-content {
    filter: none;
}

.card-container {
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: flex-start !important;
    max-height: 100% !important;
}

.card {
    max-height: 100% !important;
    max-width: 250px !important;
    padding-bottom: 1.5rem;
    transition: all 1s ease;
}

.card.flex:not(.active) {
    opacity: 0.7 !important;
}

.card:hover {
    padding-bottom: 0 !important;
    background-color: var(--accent) !important;
}

.card:hover .button-container {
    height: 2.65rem !important;
    padding-bottom: 2rem !important;
    position: relative;
}

.card:hover .button-container .button {
    height: 100% !important;
    opacity: 1 !important;
}

.card .button-container {
    height: 0 !important;
    padding: 0 !important;
    transition: all 0.5s ease;
}

.card .button-container .button {
    height: 0 !important;
    opacity: 0 !important;
    transition: all 0.5s ease;
}

.question-container {
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    overflow-y: scroll;
    padding: 1rem;
    margin: -1rem;
}

details {
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background-color: var(--line);
    transition: all 0.5s ease;
    opacity: 0.7;
    scroll-margin-top: 200px;
}

details[open], details:hover {
    transform: translateY(2px);
    scale: 1.01;
    opacity: 1;
}

details p {
    margin: 1rem 0 0;
    line-height: 1.5rem;
}

details .button-container {
    margin: 1.25rem 0 0.25rem;
    justify-content: flex-start;
    gap: 0.5rem;
}

summary {
    font-weight: 700;
    line-height: 1.5rem;
}

.faq .section-content {
    align-items: center !important;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr) !important;
        align-items: center !important;
    }

    .card {
        max-width: 325px !important;
        min-height: 225px;
    }

    .plan .section-content.left {
        flex-direction: column !important;
        gap: 4rem !important;
    }

    .plan .section-content > .flex.row {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .faq .section-content {
        flex-direction: column-reverse !important;
    }

    .plan .hero-sub {
        max-width: 100% !important;
    }

    .plan .section-content > .flex.row svg {
        display: none;
    }
}

@media (max-width: 767px) {
    .services {
        max-height: 100% !important;
    }

    .services .section-content {
        min-height: 90vh !important;
        align-items: flex-end !important;
    }

    .process .hero-sub.secondary.extended {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .process br {
        display: block !important;
    }

    .card-container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}