:root {
    --primary-color: #365789;
    --primary-dark: #2f4e7f;
    --accent-color: #1ea7ea;
    --button-color: #477ff1;
    --section-bg: #f2f5fb;
    --text-color: #25324a;
    --muted-color: #98a6bc;
    --line-color: #e8edf6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-color);
    background: #fff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: #0f7fbd;
}

.container {
    max-width: 1200px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 18px 0;
    background: transparent;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled,
.navbar.menu-open {
    background: var(--primary-color);
    box-shadow: 0 8px 24px rgba(27, 54, 95, 0.16);
}

.navbar.scrolled {
    padding: 10px 0;
}

.navbar-brand img {
    display: block;
    width: auto;
}

.navbar-dark .navbar-nav {
    gap: 16px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #5fc7ff;
}

.dropdown-menu {
    border: 0;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(25, 48, 84, 0.16);
}

.dropdown-item {
    border-radius: 4px;
    color: #2b3f61;
    font-size: 13px;
    padding: 8px 12px;
}

.dropdown-item:hover {
    background: var(--section-bg);
    color: var(--primary-color);
}

.hero-section {
    min-height: 520px;
    padding: 125px 0 52px;
    background: var(--primary-color);
    overflow: hidden;
}

.hero-copy h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 41px;
    font-weight: 700;
    line-height: 1.18;
}

.hero-copy p {
    max-width: 600px;
    margin: 0 0 45px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
}

.hero-button {
    min-width: 166px;
    border: 0;
    border-radius: 28px;
    padding: 11px 28px;
    color: #fff;
    background: var(--button-color);
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}

.hero-button:hover,
.hero-button:focus {
    color: #fff;
    background: #2f6fe6;
}

.hero-image {
    display: block;
    width: min(100%, 585px);
    margin: 5px 0 0 auto;
}

.partner-logos {
    padding: 22px 0;
    background: #f1f3f8;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 115px;
    max-height: 31px;
    filter: grayscale(1);
    opacity: 0.62;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.section-band {
    padding: 110px 0;
    background: var(--section-bg);
}

.white-section {
    padding: 82px 0;
    background: #fff;
}

.section-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.section-title span,
.centered-title {
    font-weight: 700;
}

.left-title {
    margin-bottom: 8px;
}

.centered-title {
    position: relative;
    margin-bottom: 62px;
    text-align: center;
    font-size: 29px;
    letter-spacing: 1px;
}

.centered-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: 34px;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
    box-shadow: -36px 0 0 #dce2ec, 36px 0 0 #dce2ec;
}

.spekta-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spekta-accordion .accordion-item {
    overflow: hidden;
    border: 0;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.spekta-accordion .accordion-button {
    min-height: 54px;
    border: 0;
    padding: 15px 20px;
    color: #1b2c45;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
}

.spekta-accordion .accordion-button:not(.collapsed) {
    color: #1b2c45;
    background: #fff;
    box-shadow: none;
}

.spekta-accordion .accordion-button::after {
    width: 10px;
    height: 10px;
    background-image: none;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

.spekta-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(225deg);
}

.spekta-accordion .number {
    min-width: 28px;
    color: var(--accent-color);
    font-weight: 700;
}

.spekta-accordion .accordion-body {
    border-top: 1px solid var(--line-color);
    padding: 0 20px 18px 48px;
    color: #66758c;
    font-size: 13px;
}

.services-image {
    width: min(100%, 475px);
    margin-top: 10px;
}

.about-section p {
    margin-bottom: 20px;
    color: #49566a;
    font-size: 13px;
    text-align: justify;
}

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

.feature-list li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 25px;
    color: #4f5f74;
    font-size: 13px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 8px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(-45deg);
}

.faq-section {
    padding-top: 88px;
    padding-bottom: 98px;
}

.faq-accordion {
    max-width: 920px;
    margin: 0 auto;
    gap: 14px;
}

.faq-accordion .accordion-button {
    min-height: 52px;
    color: #17528f;
    font-size: 14px;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.contact-section {
    padding-top: 82px;
    padding-bottom: 82px;
}

.contact-card {
    min-height: 330px;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 28px 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(35, 66, 107, 0.08);
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

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

.contact-icon {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9f8ff;
}

.contact-icon::before,
.contact-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.location-icon::before {
    width: 13px;
    height: 13px;
    border: 2px solid var(--accent-color);
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -58%) rotate(-45deg);
}

.location-icon::after {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-color);
}

.email-icon::before {
    width: 18px;
    height: 13px;
    border: 2px solid var(--accent-color);
    border-radius: 2px;
}

.email-icon::after {
    width: 13px;
    height: 13px;
    border-left: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: translate(-50%, -65%) rotate(-45deg);
}

.phone-icon::before {
    width: 12px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 3px;
}

.phone-icon::after {
    width: 3px;
    height: 3px;
    top: 70%;
    border-radius: 50%;
    background: var(--accent-color);
}

.contact-item h3 {
    margin: 0 0 4px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #4e72b2;
    font-size: 12px;
    line-height: 1.65;
}

.map-container {
    height: 330px;
    overflow: hidden;
    background: var(--section-bg);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.site-footer {
    position: relative;
    padding: 26px 0;
    color: #fff;
    background: var(--primary-color);
    font-size: 12px;
}

.site-footer a {
    color: #5fc7ff;
}

.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--button-color);
    font-size: 18px;
    line-height: 42px;
    box-shadow: 0 12px 26px rgba(40, 92, 172, 0.25);
}

@media (max-width: 991.98px) {
    .navbar {
        background: var(--primary-color);
        padding: 10px 0;
    }

    .navbar-dark .navbar-nav {
        gap: 4px;
        padding-top: 14px;
    }

    .hero-section {
        min-height: auto;
        padding: 112px 0 58px;
        text-align: center;
    }

    .hero-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-image {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .section-band,
    .white-section {
        padding: 70px 0;
    }

    .left-title {
        text-align: center;
        margin-bottom: 24px;
    }

    .services-image {
        width: min(100%, 430px);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 13px;
    }

    .navbar-brand img {
        height: 42px;
    }

    .hero-copy h1 {
        font-size: 31px;
    }

    .hero-copy p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .partner-logo img {
        max-width: 95px;
    }

    .section-title {
        font-size: 25px;
    }

    .centered-title {
        margin-bottom: 48px;
    }

    .spekta-accordion .accordion-button {
        align-items: flex-start;
        min-height: auto;
        font-size: 13px;
    }

    .spekta-accordion .accordion-body {
        padding-left: 20px;
    }

    .contact-card,
    .map-container {
        min-height: auto;
        height: auto;
    }

    .map-container iframe {
        height: 280px;
    }
}
