.home-page {
    --home-ink: #142452;
    --home-surface: #f4f7fc;
    --home-border: #e4eaf3;
}

.home-page img {
    max-width: 100%;
    height: auto;
}

.home-page p {
    line-height: 1.95;
}

.home-page #header {
    background: #142452f5;
}

.home-page #hero {
    position: relative;
    background: radial-gradient(ellipse at 15% 24%, #31468c 0, transparent 55%), #142452;
}

.home-page #hero::before {
    display: none;
}

.home-page #hero h1 {
    line-height: 1.6;
}

.home-page #hero h1 span {
    margin-inline-start: 0.15em;
    color: #7ae4be;
    border: 0;
}

.home-page #hero .btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
    background: #08765a;
    border-radius: 14px;
    box-shadow: 0 8px 24px #0002;
}

.home-page #hero .btn-get-started i {
    font-size: 0.75em;
}

.home-page #hero .btn-get-started:hover {
    background: #08634d;
}

.home-page .about .video-box img {
    align-self: center;
    object-fit: contain;
    max-height: 480px;
}

.home-page .features .icon-box {
    height: 100%;
    border: 1px solid var(--home-border);
    border-radius: 16px;
}

.home-page .details .content img {
    border-radius: 16px;
}

.home-page .gallery .row {
    row-gap: 12px;
}

.home-page .gallery .gallery-item {
    margin: 0 6px;
    border: 0;
    border-radius: 14px;
}

.home-page .gallery-lightbox {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.home-page .gallery-lightbox:focus-visible {
    outline-offset: -4px;
}

.home-page .gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-page .btn-primary {
    background: #183a76;
    border-color: #183a76;
    border-radius: 12px;
    padding: 12px 22px;
}

.home-page :is(a, button, summary, input, textarea):focus-visible {
    outline: 3px solid #168966;
    outline-offset: 3px;
}

.home-page .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
}

.home-page .swiper:not(.swiper-initialized) .swiper-wrapper {
    display: block;
}

.home-contact {
    scroll-margin-top: 84px;
    background: var(--home-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    align-items: start;
    gap: clamp(14px, 3vw, 32px);
}

.contact-methods,
.contact-message-form {
    display: grid;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: #fff;
    color: var(--home-ink);
    overflow-wrap: anywhere;
}

a.contact-method:hover {
    border-color: #168966;
    color: #126048;
}

.contact-method > i {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    background: #e9f5ef;
    color: #126048;
    font-size: 20px;
}

.contact-method h3 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 800;
}

.contact-method p {
    margin: 0;
    font-size: 15px;
    text-align: start;
}

.contact-method-phone {
    background: #f1fbf6;
    font-weight: 700;
}

.contact-message-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: #fff;
}

.contact-field {
    display: grid;
    align-content: start;
    gap: 6px;
}

.contact-field label {
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 700;
}

.contact-message-form .form-control {
    min-height: 46px;
    border-radius: 10px;
    font-size: 16px;
}

.contact-field-wide,
.contact-submit,
.contact-form-status,
.contact-message-form > .contact-form-error {
    grid-column: 1 / -1;
}

.contact-submit {
    justify-self: start;
    min-height: 48px;
}

.contact-form-error {
    color: #9f201a;
    font-size: 14px;
}

.contact-form-error ul {
    margin: 0;
}

.contact-form-error:empty,
.validation-summary-valid,
.field-validation-valid {
    display: none;
}

.contact-form-status {
    padding: 10px 12px;
    margin: 0;
    border-radius: 9px;
    background: #e9f5ef;
    color: #126048;
}

@media (max-width: 767.98px) {
    .contact-grid,
    .contact-message-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-submit {
        justify-self: stretch;
    }

    .contact-message-form :is(input, textarea, button) {
        scroll-margin-bottom: calc(92px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 991.98px) {
    .home-page #header {
        box-shadow: 0 2px 18px #0d173023;
    }

    .home-page #hero {
        padding: 96px 0 44px;
    }

    .home-page #hero .row {
        row-gap: 22px;
    }

    .home-page #hero .hero-copy {
        justify-content: center;
        text-align: center;
    }

    .home-page #hero h1 {
        max-width: 26ch;
        margin: 0 auto 12px;
        font-size: clamp(25px, 6.6vw, 36px);
        text-wrap: balance;
    }

    .home-page #hero h2 {
        margin-bottom: 20px;
        color: #e1e8f7;
        font-size: 16px;
        line-height: 1.8;
    }

    .home-page #hero .btn-get-started {
        min-height: 52px;
        padding: 10px 28px;
        font-size: 26px;
    }

    .home-page #hero .hero-img img {
        width: clamp(138px, 44vw, 210px);
        max-width: 100%;
    }

    .home-page .hero-waves {
        position: absolute;
        inset: auto 0 0;
        height: 30px;
    }

    .home-page #main section {
        padding: 40px 0;
    }

    .home-page .section-title {
        padding-bottom: 22px;
    }

    .home-page .section-title h2 {
        font-size: 13px;
        letter-spacing: 0;
        line-height: 1.8;
    }

    .home-page .section-title h2::after {
        width: 36px;
    }

    .home-page .section-title p {
        color: var(--home-ink);
        font-size: 24px;
        line-height: 1.6;
    }

    .home-page p,
    .home-page .details li {
        font-size: 15px;
        line-height: 2;
    }

    .home-page .about .video-box {
        min-height: 0;
        padding: 0 20px;
        background: none;
    }

    .home-page .about .video-box img {
        width: 100%;
        max-width: 440px;
        max-height: 270px;
        margin-bottom: 0 !important;
        border-radius: 18px;
    }

    .home-page .about .icon-boxes {
        padding: 24px 20px 0 !important;
    }

    .home-page .about h2,
    .home-page .details h2 {
        color: var(--home-ink);
        font-size: 24px;
        line-height: 1.7;
        font-weight: 800;
    }

    .home-page .about .icon-box {
        margin-top: 22px;
    }

    .home-page .about .icon-box .title {
        font-size: 17px;
        line-height: 1.8;
    }

    .home-page .about .icon-box .description {
        font-size: 14px;
        line-height: 2;
    }

    .home-page .features {
        background: var(--home-surface);
    }

    .home-page :is(.features, .counts) .row {
        --bs-gutter-x: 12px;
        row-gap: 12px;
    }

    .home-page :is(.features, .counts) .row > div {
        margin-top: 0 !important;
    }

    .home-page .features .icon-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 12px;
        background: #fff;
    }

    .home-page .features .icon-box i {
        margin: 0;
        font-size: 24px;
    }

    .home-page .features .icon-box h3 {
        font-size: 14px;
        line-height: 1.8;
    }

    .home-page .counts .row {
        row-gap: 32px;
    }

    .home-page .counts .count-box {
        padding: 28px 12px 16px;
        border-radius: 16px;
    }

    .home-page .counts .count-box span {
        font-size: 29px;
    }

    .home-page .details .content {
        margin-inline: 0;
        padding: 16px;
        border: 1px solid var(--home-border);
        border-radius: 18px;
        align-items: center;
    }

    .home-page .details .content + .content {
        margin-top: 22px;
    }

    .home-page .details .content img {
        display: block;
        width: auto;
        max-height: 250px;
        margin-inline: auto;
    }

    .home-page .details .content .btn {
        float: none !important;
        display: grid;
        place-items: center;
        min-height: 48px;
    }

    .home-page .gallery .row > div {
        width: 50%;
    }

    .home-page .testimonials {
        background-attachment: scroll;
    }

    .home-page .testimonial-item blockquote {
        font-size: 15px;
        line-height: 2;
    }

    .home-page .faq .faq-list li {
        padding: 12px 14px;
        border: 1px solid var(--home-border);
        border-radius: 14px;
    }

    .home-page #footer .footer-newsletter input {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .home-page .glightbox-clean :is(.gprev, .gnext, .gclose) {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: #ffffff30;
    }

    .home-page .glightbox-clean :is(.gprev, .gnext) {
        top: auto;
        bottom: max(18px, env(safe-area-inset-bottom));
    }

    .home-page .glightbox-clean .gprev {
        left: calc(50% - 56px);
    }

    .home-page .glightbox-clean .gnext {
        right: calc(50% - 56px);
    }

    .home-page .glightbox-clean .gclose {
        top: max(12px, env(safe-area-inset-top));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page :is(#hero, #main, #footer, #header, .call-fix) * {
        animation: none !important;
        transition-duration: 0s !important;
    }
}
