/* ===== ИМПОРТ ШРИФТОВ ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== БАЗОВЫЕ СБРОСЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* ===== МЕНЮ-ПОЛОСКА ===== */
.routego-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.routego-nav.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.3s;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 4px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu li a:hover {
    color: #ffffff;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a.active {
    color: #ffffff;
}

.nav-menu li a.active::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-phone i {
    font-size: 1rem;
}

.nav-phone a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-phone a:hover {
    color: #38bdf8;
}

/* ===== БУРГЕР-МЕНЮ (мобильная версия) ===== */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Адаптив меню */
@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-menu li a:hover {
        color: #ffffff;
    }

    .nav-phone {
        font-size: 0.85rem;
    }

    .nav-phone a {
        font-size: 0.85rem;
    }

    /* Затемнение фона при открытом меню */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .routego-nav {
        padding: 10px 0;
    }

    .nav-logo a {
        font-size: 1.2rem;
    }

    .nav-phone i {
        display: none;
    }

    .nav-phone a {
        font-size: 0.8rem;
    }
}
/* ===== ХЕДЕР ===== */
.routego-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.routego-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

/* Декоративные круги (современный тренд) */
.routego-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.routego-header-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

.routego-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeUp 1s ease-out;
}

.routego-header-content .badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 100px;
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.routego-header-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.routego-header-content h1 .highlight {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.routego-header-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 32px;
}

.routego-header-content .cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
    text-decoration: none;
}

.routego-header-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(56, 189, 248, 0.5);
}

/* ===== АНИМАЦИЯ ХЕДЕРА ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== БЛОК "О НАС" ===== */
.routego-about {
    padding: 100px 0;
    background: #ffffff;
}

.routego-about .section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.routego-about h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.routego-about h2 .highlight {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-text .about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.about-text .stat-item {
    text-align: center;
}

.about-text .stat-item .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text .stat-item .label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image img:hover {
    transform: scale(1.01);
}

.about-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(56, 189, 248, 0.15);
    border-radius: 24px;
    top: 16px;
    left: 16px;
    z-index: -1;
    transition: all 0.3s;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.routego-advantages {
    padding: 100px 0;
    background: #f1f5f9;
}

.routego-advantages .section-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.advantages-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 60px;
}

.advantages-title .highlight {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: #38bdf8;
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.12));
    border-radius: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.advantage-item:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
    transform: scale(1.05);
}

.advantage-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 8px;
}

.advantage-item .sub-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===== ФУТЕР ===== */
.routego-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contacts .footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contacts .footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 24px;
}

.footer-contacts .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-contacts .contact-item:hover {
    color: #38bdf8;
}

.footer-contacts .contact-item i {
    width: 20px;
    color: #38bdf8;
}

.footer-contacts a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: #38bdf8;
}

/* Социальные иконки */
.footer-contacts .social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-contacts .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
    color: #94a3b8;
    font-size: 1.1rem;
}

.footer-contacts .social-links a:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    transform: translateY(-3px);
}

/* Форма в футере */
.footer-form h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-form .form-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-form .form-group {
    position: relative;
    margin-bottom: 16px;
}

.footer-form .form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    outline: none;
}

.footer-form .form-group input::placeholder {
    color: #64748b;
}

.footer-form .form-group input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.footer-form .form-group input:focus + .input-icon {
    color: #38bdf8;
}

.footer-form .form-group .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    transition: color 0.3s;
}

.footer-form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.footer-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.3);
}

#form-message {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== АДАПТИВ ===== */

/* Планшеты */
@media (max-width: 1024px) {
    .routego-header-content h1 {
        font-size: 3.2rem;
    }
    .advantages-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .routego-header {
        min-height: 80vh;
    }

    .routego-header-content h1 {
        font-size: 2.4rem;
    }

    .routego-header-content p {
        font-size: 1rem;
    }

    .routego-about {
        padding: 60px 0;
    }

    .routego-about h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text .about-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about-image::after {
        display: none;
    }

    .routego-advantages {
        padding: 60px 0;
    }

    .advantages-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .advantage-item {
        padding: 28px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-contacts .footer-desc {
        max-width: 100%;
    }
}

/* Мобильные телефоны */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .routego-header-content h1 {
        font-size: 1.8rem;
    }

    .routego-header-content .badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .routego-header-content .cta-button {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .routego-about h2 {
        font-size: 1.6rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .advantage-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        text-align: left;
    }

    .advantage-item .icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .advantage-item i {
        font-size: 1.5rem;
    }

    .advantage-item p {
        margin-top: 0;
    }

    .footer-form button {
        font-size: 0.95rem;
    }

    .footer-contacts .contact-item {
        font-size: 0.85rem;
    }
}

/* ===== ДОПОЛНИТЕЛЬНО: GLASS EFFECT ДЛЯ КАРТОЧЕК ===== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== КНОПКА ВВЕРХ (опционально) ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}