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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: #0f3460;
    color: #fff;
    font-size: 0.875rem;
    padding: 8px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar__contacts {
    display: flex;
    gap: 20px;
}

.top-bar__contacts a {
    transition: opacity 0.3s;
}

.top-bar__contacts a:hover {
    opacity: 0.8;
}

.top-bar__contacts i {
    margin-right: 6px;
    color: #e94560;
}

.top-bar__social {
    display: flex;
    gap: 12px;
}

.top-bar__social a {
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.top-bar__social a:hover {
    color: #e94560;
    transform: scale(1.15);
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    color: #0f3460;
}

.logo__icon {
    font-size: 1.8rem;
    color: #e94560;
}

.nav__list {
    display: flex;
    gap: 24px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav__link:hover {
    color: #e94560;
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #0f3460;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.85), rgba(233, 69, 96, 0.55));
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero__content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

.btn--primary:hover {
    background: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.35);
}

.btn--small {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: #0f3460;
    color: #fff;
    border-radius: 6px;
}

.btn--small:hover {
    background: #16213e;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section--alt {
    background: #f8f9fc;
}

.section__title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 12px;
}

.section__subtitle {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.about__text p {
    margin-bottom: 16px;
    color: #444;
}

.about__list {
    margin-top: 20px;
}

.about__list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about__list i {
    color: #e94560;
    font-size: 1.1rem;
}

.about__media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: linear-gradient(135deg, #0f3460, #16213e);
    border-radius: 12px;
    font-size: 6rem;
    color: #e94560;
}

.about__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.about__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== STATS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stats__item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.stats__num {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #e94560;
}

.stats__label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* ===== DOCUMENTS ===== */
.docs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.docs__card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.docs__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.docs__icon {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 15px;
}

.docs__card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0f3460;
}

.docs__card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 18px;
}

/* ===== TARIFFS ===== */
.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tariffs__card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.tariffs__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tariffs__card--popular {
    border-color: #e94560;
    box-shadow: 0 0 0 2px #e94560;
    transform: scale(1.03);
}

.tariffs__card--popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.tariffs__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e94560;
    color: #fff;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tariffs__card h3 {
    font-size: 1.4rem;
    color: #0f3460;
    margin-bottom: 15px;
}

.tariffs__price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f3460;
    margin-bottom: 20px;
}

.tariffs__price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.tariffs__card ul {
    text-align: left;
    margin-bottom: 25px;
}

.tariffs__card li {
    padding: 8px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.tariffs__card li:last-child {
    border-bottom: none;
}

.tariffs__card li .fa-check {
    color: #22c55e;
}

.tariffs__card li .fa-times {
    color: #ef4444;
}

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

.services__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.services__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: linear-gradient(135deg, #0f3460, #16213e);
    font-size: 4rem;
    color: #e94560;
}

.services__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.services__body {
    padding: 20px;
}

.services__body h3 {
    font-size: 1.05rem;
    color: #0f3460;
    margin-bottom: 8px;
}

.services__body h3 i {
    color: #e94560;
    margin-right: 6px;
}

.services__body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
}

.services__price {
    display: inline-block;
    font-weight: 700;
    color: #e94560;
    font-size: 1.1rem;
}

/* ===== FAQ ===== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #0f3460;
    transition: background 0.3s;
    user-select: none;
}

.faq__question:hover {
    background: #f8f9fc;
}

.faq__question i {
    transition: transform 0.3s;
    color: #e94560;
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq__answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CONTACTS ===== */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

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

.contacts__item i {
    font-size: 1.5rem;
    color: #e94560;
    flex-shrink: 0;
    margin-top: 4px;
}

.contacts__item h3 {
    font-size: 1rem;
    color: #0f3460;
    margin-bottom: 4px;
}

.contacts__item p,
.contacts__item a {
    color: #555;
}

.contacts__item a:hover {
    color: #e94560;
}

.contacts__messengers h3 {
    font-size: 1rem;
    color: #0f3460;
    margin-bottom: 12px;
}

.contacts__social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contacts__social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.contacts__social-link i {
    font-size: 1.2rem;
}

.contacts__social-link:hover {
    background: #0f3460;
    color: #fff;
    border-color: #0f3460;
}

.contacts__map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 12px;
    border: none;
}

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

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer__col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__col p i {
    color: #e94560;
    margin-right: 8px;
}

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

.footer__col ul a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer__col ul a:hover {
    color: #e94560;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.footer__social a:hover {
    background: #e94560;
    transform: scale(1.1);
}

.footer__bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

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

    .tariffs__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tariffs__card--popular {
        transform: none;
    }

    .tariffs__card--popular:hover {
        transform: translateY(-5px);
    }

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

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

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

@media (max-width: 768px) {
    .top-bar__inner {
        justify-content: center;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s;
        padding: 80px 30px 30px;
        z-index: 200;
    }

    .nav.active {
        right: 0;
    }

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

    .burger {
        display: flex;
        z-index: 300;
    }

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

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

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

    .hero__content h1 {
        font-size: 2rem;
    }

    .hero__content p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section__title {
        font-size: 1.7rem;
    }

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

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

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

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content {
    animation: fadeInUp 1s ease;
}
