.contact-actions-inline .btn-label {
    display: inline;
    margin-left: 6px;
}

@media (max-width: 767px) {
    .contact-actions-inline .btn-label {
        display: none !important;
    }
    .contact-actions-inline .btn i {
        margin-left: 0;
        margin-right: 0;
        font-size: 20px;
    }
}
#home .logo img {
    height: 40px;
    max-height: 52px;
    max-width: 190px;
    width: auto;
}

#home .menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 1205;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#home .home-nav-inline-form,
footer .home-nav-inline-form,
footer .home-footer-inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

#home .home-nav-link-button {
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
}

#home .home-nav-link-button:hover,
#home .home-nav-link-button:focus {
    color: #fa5c58;
    text-decoration: none;
}

#home .home-nav-icon-button,
footer .home-nav-icon-button {
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

#home .home-nav-icon-button:hover,
#home .home-nav-icon-button:focus,
footer .home-nav-icon-button:hover,
footer .home-nav-icon-button:focus {
    color: #fa5c58;
    text-decoration: none;
}

#home .menu-toggle:hover,
#home .menu-toggle:focus {
    color: #fa5c58;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

body.home-menu-scrolled #home .menu-toggle {
    color: #fa5c58;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

body.home-menu-scrolled #home .menu-toggle:hover,
body.home-menu-scrolled #home .menu-toggle:focus {
    color: #fa4b2a;
}

#home .header-info {
    max-width: 860px;
    margin: 0 auto;
}

#home {
    overflow: hidden;
    background-size: cover !important;
    background-position: center center;
}

#home .header-info h1 {
    letter-spacing: 1px;
    margin-bottom: 20px;
}

#home .header-info p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

#home .mask {
    opacity: 0.6;
    z-index: 1;
}

#home .home-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

#home .container,
#home .home-top-alert-strip {
    position: relative;
    z-index: 2;
}

#home .logo {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 2;
}

#home .menu-toggle {
    z-index: 1205;
}

#home .menu {
    z-index: 1200;
}

#home .header-info,
#home .header-info p,
#home .header-info h1 {
    color: #ffffff;
}

#home .header-info .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

#home .header-info .btn:last-child {
    margin-right: 0;
}

section header h2 {
    margin-bottom: 12px;
}

section header p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#services .service-item p,
#security header p,
footer p {
    line-height: 1.8;
}

#services .service-item h3 {
    margin-bottom: 24px;
}

#portfolio h5 {
    margin-top: 12px;
    margin-bottom: 22px;
}

.contact-card {
    background: #f8f9fb;
    border: 1px solid #e5e7ec;
    padding: 28px;
    margin-bottom: 24px;
}

.contact-card p {
    margin-bottom: 18px;
}

.contact-card .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.contact-card .btn:last-child {
    margin-right: 0;
}

.contact-actions-row {
    margin-bottom: 10px;
}

.contact-actions-row:last-child {
    margin-bottom: 0;
}

.contact-actions-inline {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
}

.contact-actions-inline .btn {
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10px;
}

.home-flash-msg {
    display: inline-block;
    text-align: left;
    max-width: 740px;
}

.home-flash-msg-modern {
    display: block;
    max-width: 860px;
    margin: 0 auto 22px;
    padding: 10px 14px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #e5e7ec;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-flash-msg-modern.is-dismissing {
    opacity: 0;
    transform: translateY(-6px);
}

.home-top-alert-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    text-align: center;
    background: rgba(250, 92, 88, 0.82);
    color: #ffffff;
}

.home-top-alert-strip .alert,
.home-top-alert-strip .alert-success,
.home-top-alert-strip .alert-danger,
.home-top-alert-strip p {
    margin: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    display: inline-block;
    max-width: 980px;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
}

.home-footer-icons {
    display: inline-flex;
    margin-left: 16px;
    vertical-align: middle;
}

.home-footer-icons > li {
    margin-right: 10px;
}

.home-footer-icons > li:last-child {
    margin-right: 0;
}

.home-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.home-modal.is-open {
    display: block;
}

.home-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.home-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(92%, 640px);
    margin: 6vh auto;
    background: #ffffff;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    max-height: 88vh;
    overflow-y: auto;
}

.home-modal-dialog h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.home-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    color: #555;
    cursor: pointer;
}

.home-modal-form .form-group {
    margin-bottom: 14px;
}

.home-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.home-modal-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.home-modal-feedback {
    min-height: 22px;
    font-size: 14px;
    margin-top: 6px;
}

.home-modal-feedback.success {
    color: #1f7a36;
}

.home-modal-feedback.error {
    color: #b32424;
}

.home-modal-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map-preview {
    border: 1px solid #e5e7ec;
    background: #f8f9fb;
    padding: 14px;
    margin-top: 12px;
}

.menu a:focus-visible,
.menu-toggle:focus-visible,
.close:focus-visible,
.btn:focus-visible,
.home-footer-icons a:focus-visible,
.social-icons a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.btn.btn-default {
    border-width: 2px;
}

.btn.btn-default:hover,
.btn.btn-default:focus {
    border-color: #fa5c58;
    color: #fa5c58;
}

.service-item p,
#portfolio h5,
#contact p,
#contact address p,
#contact address span {
    color: #4a4a4a;
}

#security .portfolio-item .mask {
    display: flex;
    align-items: center;
    justify-content: center;
}

#security .portfolio-item .mask span {
    color: #fff;
    font-size: 28px;
}

footer .btn.btn-primary.btn-sm {
    padding: 8px 18px;
}

@media (max-width: 991px) {
    .jumbotron .container {
        margin-top: 30%;
    }

    #home .header-info h1 {
        font-size: 48px;
        margin-bottom: 18px;
    }

    #home .header-info p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .menu a:focus-visible,
    .menu-toggle:focus-visible,
    .close:focus-visible,
    .btn:focus-visible,
    .home-footer-icons a:focus-visible,
    .social-icons a:focus-visible {
        outline-width: 3px;
    }

    #services .service-item,
    #security .portfolio-item,
    #portfolio .portfolio-item {
        margin-bottom: 24px;
    }

    #contact address {
        margin-bottom: 24px;
    }

    footer {
        text-align: center;
    }

    footer .text-right {
        text-align: center;
        margin-top: 16px;
    }

    .home-footer-icons {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .menu {
        width: 260px;
        right: -260px;
    }

    .jumbotron .container {
        margin-top: 36%;
        padding-left: 20px;
        padding-right: 20px;
    }

    #home .header-info h1 {
        font-size: 38px;
        margin-bottom: 14px;
    }

    #home .header-info p {
        font-size: 15px;
        line-height: 1.6;
    }

    #home .btn {
        width: 100%;
        max-width: 320px;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .contact-card .btn {
        width: 100%;
        margin-right: 0;
    }

    .contact-actions-inline .btn {
        width: auto;
        max-width: none;
        font-size: 12px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .home-modal-dialog {
        margin: 3vh auto;
        padding: 18px;
        max-height: 94vh;
    }

    .home-modal-form textarea.form-control {
        min-height: 110px;
        max-height: 30vh;
    }

    .home-modal-actions {
        margin-top: 12px;
        gap: 8px;
    }

    .home-modal-actions .btn {
        width: 100%;
        margin-bottom: 0;
    }

    #contact-modal .home-modal-actions button[type="submit"] {
        order: 1;
    }

    #contact-modal .home-modal-actions [data-modal-close] {
        order: 2;
    }

    section {
        padding: 56px 0;
    }

    section header {
        margin-bottom: 44px;
    }

    #home .logo {
        left: 12px;
        top: 10px;
    }

    #home .logo img {
        height: 32px;
        max-width: 140px;
    }

    #home .menu-toggle {
        right: 12px;
        top: 10px;
        width: 42px;
        height: 42px;
        line-height: 42px;
    }

    .home-top-alert-strip {
        padding: 7px 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    }

    .home-top-alert-strip .alert,
    .home-top-alert-strip .alert-success,
    .home-top-alert-strip .alert-danger,
    .home-top-alert-strip p {
        font-size: 13px;
        line-height: 1.35;
    }
}
