/* ========================================
   GLOBAL STYLES
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F172A;
    --accent: #2563EB;
    --secondary: #F97316;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --text: #334155;
    --text-light: #64748B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
        url('../images/logo.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.hero-title-line {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
    text-transform: capitalize;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-title-line:first-child {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #60A5FA, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.15rem;
}

.hero-stats {
    display: flex;
    gap: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   SECTIONS COMMON
======================================== */

section {
    padding: 120px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-tag.light {
    color: var(--secondary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.section-title.light {
    color: var(--white);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
======================================== */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.about-image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: 20px;
    z-index: -1;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   SERVICES SECTION
======================================== */

.services {
    background: var(--primary);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 35px;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.1));
    transition: left 0.5s ease;
}

.service-card:hover .service-card-bg {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ========================================
   WORKFLOW SECTION
======================================== */

.workflow {
    background: var(--light);
}

.workflow-header {
    text-align: center;
    margin-bottom: 80px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.workflow-line {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   GEOGRAPHY SECTION
======================================== */

.geography {
    background: var(--primary);
    position: relative;
}

.geography-header {
    text-align: center;
    margin-bottom: 60px;
}

.geography-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.geography-map-large {
    width: 100%;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.geography-map-large iframe {
    width: 100%;
    height: 100%;
}

/* ========================================
   ADVANTAGES SECTION
======================================== */

.advantages {
    background: var(--light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.advantage-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.advantage-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

.advantage-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-light:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   CONTACTS PAGE
======================================== */

.contacts-hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    overflow: hidden;
    margin-top: 80px;
}

.contacts-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.contacts-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contacts-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.contacts-page {
    background: var(--light);
    padding: 80px 0;
}

.contacts-grid-page {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contacts-info-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card-large {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card-large h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-link-large {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-link-large:hover {
    color: var(--secondary);
}

.contact-address {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-description {
    font-size: 0.95rem;
    color: var(--text-light);
}

.messengers-section {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
}

.messengers-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.messengers-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.messengers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.messenger-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px 15px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.messenger-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-5px);
}

.messenger-icon-large {
    font-size: 2.5rem;
}

.coming-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(249, 115, 22, 0.9);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-block {
    position: sticky;
    top: 100px;
}

.map-wrapper-large {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.map-button {
    display: inline-block;
    width: 100%;
    padding: 16px 30px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--primary);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-line {
        display: none;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contacts-grid-page {
        grid-template-columns: 1fr;
    }

    .map-block {
        position: relative;
        top: 0;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-title-line {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .about-image img {
        height: 400px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }

    .messengers-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .geography-map {
        height: 400px;
    }

    .geography-map-large {
        height: 450px;
    }

    .map-wrapper-large {
        height: 400px;
    }

    .contacts-hero-section {
        height: 40vh;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        font-size: 1.2rem;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-title-line {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .service-card {
        padding: 35px 25px;
    }

    .advantage-number {
        font-size: 5rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .btn {
        font-size: 0.95rem;
        padding: 14px 30px;
    }

    .btn-large {
        font-size: 1rem;
        padding: 16px 35px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.05rem;
    }

    .cities-grid {
        grid-template-columns: 1fr;
    }

    .geography-subtitle {
        font-size: 1rem;
    }

    .geography-map-large {
        height: 350px;
    }

    .contact-card-large {
        padding: 25px 20px;
    }

    .contact-link-large {
        font-size: 1.2rem;
    }

    .messengers-section {
        padding: 30px 20px;
    }
}

