/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222529;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn--primary {
    background: #0052cc;
    color: #fff;
}

.btn--primary:hover {
    background: #003d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.btn--white {
    background: #fff;
    color: #0052cc;
}

.btn--white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 40px;
    line-height: 1.3;
}

.section-title--center {
    text-align: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #212529;
}

.logo__kz {
    color: #0052cc;
    font-size: 18px;
    font-weight: 700;
    background: #e1ecf9;
    padding: 2px 6px;
    border-radius: 4px;
}

.logo--white .logo__text {
    color: #fff;
}

.logo--white .logo__kz {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Navigation */
.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    display: block;
    padding: 8px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222529;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav__link:hover {
    color: #0052cc;
    background: #f4f9fd;
}

/* Dropdown */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.2s;
}

.nav__dropdown li a:hover {
    background: #f4f9fd;
    color: #0052cc;
    padding-left: 24px;
}

/* Header right */
.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #212529;
}

.header__phone:hover {
    color: #0052cc;
}

.header__cta {
    padding: 10px 20px;
    font-size: 13px;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #212529;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 75px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0052cc 0%, #003d99 50%, #001f4d 100%);
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__content {
    max-width: 700px;
    color: #fff;
}

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: #fff;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.about__desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about__feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #e1ecf9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: #0052cc;
}

.about__feature p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

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

.about__img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e1ecf9 0%, #f4f9fd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0;
    background: #f4f9fd;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s;
    border: 1px solid #ebebeb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.1);
    border-color: #0052cc;
}

.service-card__img {
    width: 72px;
    height: 72px;
    background: #e1ecf9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 16px;
}

.service-card__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0052cc;
    transition: all 0.3s;
}

.service-card__link:hover {
    color: #003d99;
    letter-spacing: 1px;
}

/* ===== WHY US ===== */
.why-us {
    padding: 80px 0;
    background: #fff;
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us__item {
    text-align: center;
    padding: 30px 20px;
}

.why-us__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #e1ecf9;
    margin-bottom: 12px;
}

.why-us__item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.why-us__item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: #f4f9fd;
}

.testimonials__slider {
    position: relative;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ebebeb;
}

.testimonial-card__quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 800;
    color: #0052cc;
    line-height: 0.5;
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card__author strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #212529;
}

.testimonial-card__author span {
    font-size: 13px;
    color: #888;
}

.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonials__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0052cc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #0052cc;
}

.testimonials__btn:hover {
    background: #0052cc;
    color: #fff;
}

.testimonials__btn:hover svg {
    stroke: #fff;
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonials__dot.active {
    background: #0052cc;
    width: 24px;
    border-radius: 5px;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
}

.cta__inner {
    text-align: center;
    color: #fff;
}

.cta__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta__text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ===== CONTACTS ===== */
.contacts {
    padding: 80px 0;
    background: #fff;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contacts__item svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.contacts__item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.contacts__item a {
    display: block;
    color: #0052cc;
    font-size: 15px;
}

.contacts__item a:hover {
    text-decoration: underline;
}

.contacts__item p {
    font-size: 15px;
    color: #555;
}

.contacts__form {
    background: #f4f9fd;
    border-radius: 12px;
    padding: 36px;
}

.contacts__form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #222;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background: #212529;
    color: #ccc;
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-top: 12px;
    margin-bottom: 16px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__contacts a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s;
}

.footer__contacts a:hover {
    color: #fff;
}

.footer__col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer__col ul li {
    margin-bottom: 8px;
}

.footer__col ul li a {
    font-size: 14px;
    color: #aaa;
    transition: all 0.3s;
}

.footer__col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer__col p {
    font-size: 14px;
    line-height: 1.7;
    color: #aaa;
}

.footer__company {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
}

.footer__bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: #777;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal__close:hover {
    color: #333;
}

.modal__content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal__content > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav.active {
        display: block;
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav.active .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav.active .nav__link {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav.active .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }

    .nav.active .nav__item--dropdown.open .nav__dropdown {
        display: block;
    }

    .header__phone {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .hero__title {
        font-size: 32px;
    }

    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__image {
        display: none;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts__inner {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

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

    .services__grid {
        grid-template-columns: 1fr;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }

    .cta__title {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 24px;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 14px;
    }

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

    .contacts__form {
        padding: 24px;
    }
}
