:root {
    --tone-dark: #f7fbff;
    --tone-deep: #0f2f55;
    --tone-blue: #51acfb;
    --tone-orange: #ffab00;
    --tone-light: #1a4f82;
    --tone-text: #e2eefb;
    --tone-border: rgba(185, 221, 255, 0.42);
    --nav-glass: rgba(69, 132, 196, 0.44);
    --bg-overlay-1: 0.82;
    --bg-overlay-2: 0.82;
    --bg-overlay-3a: 0.22;
    --bg-overlay-3b: 0.22;
    --bg-overlay-3c: 0.22;
    --bg-overlay-4: 0.30;
}

html,
body {
    height: 100%;
    margin: 0;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    font-family: 'Barlow', 'Segoe UI', Tahoma, sans-serif;
    color: var(--tone-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--tone-light);
    background-image:
        radial-gradient(circle at 0% 50%, rgb(6 35 67 / var(--bg-overlay-1)) 0%, rgb(6 35 67 / 0) 34%),
        radial-gradient(circle at 100% 50%, rgb(7 37 70 / var(--bg-overlay-2)) 0%, rgb(7 37 70 / 0) 34%),
        linear-gradient(130deg, rgb(20 82 142 / var(--bg-overlay-3a)) 0%, rgb(42 122 194 / var(--bg-overlay-3b)) 45%, rgb(12 70 126 / var(--bg-overlay-3c)) 100%),
        radial-gradient(circle at 22% 12%, rgb(129 197 255 / var(--bg-overlay-4)) 0%, rgb(129 197 255 / 0) 34%),
        url('../img/background_01.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.site-nav {
    background: var(--nav-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(7, 28, 55, 0.28);
    margin: 1rem;
    border-radius: 0.35rem;
}

.nav-shell {
    min-height: 4.6rem;
}

.site-nav .navbar-brand {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0;
}

.site-nav .navbar-brand:hover,
.site-nav .navbar-brand:focus {
    color: #ffffff;
}

.brand-logo {
    display: block;
    width: auto;
    height: 90px;
    max-width: 300px;
    object-fit: contain;
}

.site-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}

.site-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.98rem;
    padding: 1.25rem 0.75rem !important;
    position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: #8fd0ff;
}

.site-nav .nav-link.active {
    color: #8fd0ff !important;
}

.site-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 3px;
    border-radius: 99px;
    background: #59b5ff;
}

.nav-main-links .nav-item {
    position: relative;
}

.nav-main-links .nav-item:not(:last-child) {
    margin-right: 0.8rem;
    padding-right: 0.9rem;
}

.nav-main-links .nav-item:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: -0.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.nav-contact {
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-contact-icon {
    color: #83ff00;
    font-size: 1.4rem;
    opacity: 0.9;
}

.nav-contact-link {
    color: #83ff00;
    text-decoration: none;
    opacity: 0.88;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-block;
    min-width: 8.6ch;
}

.nav-contact-link:hover,
.nav-contact-link:focus {
    color: #fdfdfd;
    opacity: 1;
}

.btn-call {
    background: #52aefb;
    border: 1px solid #52aefb;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 0.35rem;
    font-size: 1.0rem;
    padding: 0.7rem 1.2rem;
    min-width: 8.9rem;
    text-align: center;
}

.btn-call:hover,
.btn-call:focus {
    background: #78c1ff;
    border-color: #78c1ff;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .brand-logo {
        width: 250px;
        height: auto;
        max-width: 100%;
    }

    .site-nav {
        margin: 0.75rem;
    }

    .nav-main-links .nav-item:not(:last-child) {
        margin-right: 0;
        padding-right: 0;
    }

    .nav-main-links .nav-item:not(:last-child)::after {
        content: none;
    }

    .site-nav .nav-link {
        padding: 0.6rem 0 !important;
    }

    .site-nav .nav-link.active::after {
        left: 0;
        right: 65%;
        bottom: 0.2rem;
    }

    .nav-contact {
        margin-top: 0.5rem;
    }

    .site-nav .btn-call {
        display: inline-block;
        margin-top: 0.65rem !important;
    }
}

.site-main {
    flex: 1 0 auto;
    padding: 2.25rem 0 2rem;
}

.content-card {
    border: 1px solid var(--tone-border);
    border-radius: 1.1rem;
    background: rgba(17, 57, 95, 0.56);
    box-shadow: 0 18px 36px rgba(8, 33, 62, 0.26);
}

.content-card h1,
.content-card h2,
.content-card h3 {
    color: var(--tone-dark);
    font-weight: 700;
}

.content-card p,
.content-card .mb-0 {
    color: #e3effd;
}

.content-card .lead {
    color: #ebf5ff;
}

.contact-form-alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.45);
    color: #ffb3bd;
}

.contact-form-alert-success {
    background: rgba(25, 135, 84, 0.48);
    border: 1px solid rgba(25, 135, 84, 0.92);
    color: #dcffe9;
}

.content-card .contact-form-alert-error,
.content-card .contact-form-alert-error li {
    color: #ffb3bd;
}

.contact-captcha-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.contact-captcha-line label {
    font-weight: 700;
}

.contact-captcha-input {
    width: 90px;
    flex: 0 0 90px;
    max-width: 100%;
}

.contact-form .form-control::placeholder {
    font-style: italic;
}

@media (max-width: 767.98px) {
    .contact-captcha-input {
        width: 100%;
        flex-basis: 100%;
    }
}

.home-hero {
    background: linear-gradient(145deg, rgb(24 79 131 / 0.68) 0%, rgb(15 61 104 / 0.72) 100%);
}

.home-kicker {
    color: #8fd0ff;
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.35;
}

.home-inline-link,
.home-inline-link:visited {
    color: #8fd0ff;
    font-weight: 600;
    text-decoration: none;
}

.home-inline-link:hover,
.home-inline-link:focus {
    color: #ffffff;
    text-decoration: none;
}

.home-quote-card {
    background: rgb(11 43 77 / 0.6);
    border: 1px solid rgb(143 208 255 / 0.26);
    border-radius: 1rem;
    padding: 1.4rem;
    text-align: center;
}

.home-quote-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 0.8rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 3.33rem;
    color: #dff0ff;
    background: linear-gradient(140deg, rgb(94 170 245 / 0.45), rgb(35 103 173 / 0.7));
}

.home-quote {
    margin: 0;
    color: #8fd0ff;
    font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.home-quote-author {
    color: #c8def3;
    font-size: 0.95rem;
}

.about-team-card {
    background: rgb(11 43 77 / 0.6);
    border: 1px solid rgb(143 208 255 / 0.26);
    border-radius: 1rem;
    padding: 1.2rem;
    overflow: hidden;
}

.about-team-image {
    width: 100%;
    display: block;
}

.home-services h2 {
    color: #eff7ff;
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
    letter-spacing: 0.01em;
}

.home-service-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.05rem;
}

.home-service-item i {
    margin-top: 0.05rem;
    color: #d7eeff;
    font-size: 1.76rem;
}

.home-service-icon {
    width: 2.93rem;
    height: 2.93rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgb(86 165 238 / 0.42), rgb(27 104 178 / 0.72));
    box-shadow: inset 0 0 0 1px rgb(175 220 255 / 0.45);
}

.home-service-item h3 {
    margin: 0 0 0.2rem;
    color: #f1f8ff;
    font-size: 1.12rem;
}

.home-service-item p {
    margin: 0;
    color: #d9e9f9;
    font-size: 0.95rem;
    line-height: 1.4;
}

.home-info-card {
    display: block;
    text-decoration: none;
    border-radius: 0.8rem;
    border: 1px solid rgb(143 208 255 / 0.32);
    background: linear-gradient(150deg, rgb(27 88 147 / 0.78), rgb(12 60 105 / 0.72));
    padding: 1rem 1.1rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-info-card h3 {
    margin: 0 0 0.35rem;
    color: #f2f8ff;
    font-size: 1.24rem;
}

.home-info-card p {
    margin: 0;
    color: #d4e7fa;
    line-height: 1.35;
}

.home-info-card:hover,
.home-info-card:focus {
    transform: translateY(-2px);
    border-color: rgb(143 208 255 / 0.6);
    box-shadow: 0 10px 18px rgb(3 24 49 / 0.28);
}

.home-info-card.is-primary {
    background: linear-gradient(145deg, rgb(45 124 199 / 0.85), rgb(18 75 131 / 0.8));
}

.home-info-btn {
    display: inline-flex;
    width: auto;
    justify-content: center;
    margin: 0.75rem auto 0;
    padding: 0.5rem 0.9rem;
    border-radius: 0.45rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.home-services-cta .home-info-btn {
    margin-top: 0;
}

.home-info-btn-green {
    background: linear-gradient(145deg, #86cc39 0%, #4a9d21 100%);
    border: 1px solid rgba(190, 245, 150, 0.55);
    color: #f6fff0;
}

.home-info-btn-green:hover,
.home-info-btn-green:focus {
    color: #ffffff;
    background: linear-gradient(145deg, #94d94a 0%, #56aa2a 100%);
}

.contact-submit-btn {
    margin: 0;
}

.home-info-btn-blue {
    background: linear-gradient(145deg, #5cb6ff 0%, #2d84cf 100%);
    border: 1px solid rgba(175, 221, 255, 0.65);
    color: #f7fcff;
}

.home-info-btn-blue:hover,
.home-info-btn-blue:focus {
    color: #ffffff;
    background: linear-gradient(145deg, #73c1ff 0%, #3a92dd 100%);
}

.home-emergency-btn {
    background: linear-gradient(145deg, #ff7b2c 0%, #d33b1e 100%);
    border: 1px solid rgba(255, 177, 128, 0.55);
    color: #fff7f1;
}

.home-emergency-btn:hover,
.home-emergency-btn:focus {
    color: #ffffff;
    background: linear-gradient(145deg, #ff8e42 0%, #e04a23 100%);
}

.home-info-card-emergency:hover,
.home-info-card-emergency:focus {
    transform: none;
}

.partner-card {
    border-color: rgb(143 208 255 / 0.32);
    background: linear-gradient(150deg, rgb(27 88 147 / 0.75), rgb(12 60 105 / 0.7));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-card:hover,
.partner-card:focus-within {
    transform: translateY(-2px);
    border-color: rgb(143 208 255 / 0.6);
    box-shadow: 0 12px 20px rgb(3 24 49 / 0.3);
}

.partner-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 110px;
    padding: 0.55rem;
    border-radius: 0.7rem;
    background: rgb(255 255 255 / 0.96);
    text-decoration: none;
}

.partner-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

.partner-card h3 {
    margin: 0.75rem 0 0.3rem;
    color: #f3f9ff;
    font-size: 1.04rem;
}

.partner-card p {
    margin: 0;
    color: #d9e9f9;
    line-height: 1.4;
    font-size: 0.88rem;
}

.service-card {
    border-color: rgb(143 208 255 / 0.32);
    background: linear-gradient(152deg, rgb(25 86 144 / 0.74), rgb(12 58 103 / 0.69));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-3px);
    border-color: rgb(143 208 255 / 0.6);
    box-shadow: 0 12px 22px rgb(3 24 49 / 0.32);
}

.service-card-image-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(204, 229, 252, 0.34);
    background: rgba(7, 34, 61, 0.5);
    margin-bottom: 0.95rem;
}

.service-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    margin: 0 0 0.45rem;
    color: #f3f9ff;
    font-size: 1.14rem;
}

.service-card p {
    margin: 0;
    color: #d8e8f8;
    line-height: 1.5;
    font-size: 0.93rem;
}

.service-card p + p {
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .home-kicker {
        font-size: 1.05rem;
    }

    .home-quote {
        font-size: 1.75rem;
    }

    .home-service-item h3 {
        font-size: 1.02rem;
    }

    .service-card-image {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .service-card-image {
        height: 190px;
    }
}

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
    background: rgba(6, 28, 52, 0.58);
    border-top-color: rgba(221, 241, 255, 0.22) !important;
}

.site-footer-title {
    margin: 0 0 0.9rem;
    color: #f2f8ff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
}

.site-footer-text {
    color: #d7e7f8;
    font-size: 0.98rem;
    line-height: 1.45;
    margin-top: -15px;
}

.site-footer-meta {
    color: #bdd3e9;
    font-size: 0.86rem;
}

.site-footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.site-footer-logo {
    display: block;
    width: auto;
    height: 105px;
    max-width: 100%;
    object-fit: contain;
}

.site-footer .row.g-4.align-items-start > div {
    border-top: 1px solid rgba(143, 208, 255, 0.28);
    padding-top: 10px;
}

.site-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-list li + li {
    margin-top: 0.5rem;
}

.site-footer-list a {
    color: #d7e7f8;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 500;
    text-transform: none;
}

.site-footer-list-main a {
    color: #8fd0ff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.site-footer-list.site-footer-list-main a:hover,
.site-footer-list.site-footer-list-main a:focus {
    color: #ffffff;
}

.site-footer-list a:hover,
.site-footer-list a:focus {
    color: #8fd0ff;
    text-decoration: none;
}

.footer-link-icon {
    width: 1.25rem;
    margin-right: 0.35rem;
    color: currentColor;
    text-align: center;
}

.site-footer-claim-title {
    font-size: 1.8rem;
    line-height: 1.15;
}

.site-footer-claim {
    color: #f4fbff;
    font-size: 1rem;
    line-height: 1.45;
}

.site-footer-bottom {
    border-top: 1px solid rgba(228, 238, 247, 0.26);
    text-align: center;
}

.site-footer-credit-link {
    color: #b7ee00;
    text-decoration: none;
}

.site-footer-credit-link:hover,
.site-footer-credit-link:focus {
    color: #e3eaf2;
    text-decoration: none;
}

@media (min-width: 992px) {
    .about-team-col {
        padding-top: 5rem;
    }
}

@media (min-width: 992px) {
    .site-footer-nav-col {
        padding-left: 100px;
    }
}

@media (max-width: 991.98px) {
    .site-footer .row.g-4.align-items-start > div {
        margin-bottom: 15px;
    }

    .site-footer-title {
        font-size: 1.1rem;
    }

    .site-footer-claim-title {
        font-size: 1.45rem;
    }

    .site-footer-list a {
        font-size: 0.94rem;
    }

    .site-footer-logo {
        height: 84px;
    }
}
