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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

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

/* ========== HEADER ========== */
.header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* ========== ПРЕМИУМ ЛОГОТИП ========== */
.logo-link {
    text-decoration: none !important;
}

.logo-premium {
    display: inline-block;
}

.logo-main {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 5px;
}

.logo-primary {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-domain {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    position: relative;
}

.logo-domain:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
}

.logo-tagline {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Логотип в футере */
.footer .logo-premium .logo-primary {
    font-size: 26px;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.footer .logo-premium .logo-domain {
    font-size: 22px;
    color: #3498db;
}

.footer .logo-premium .logo-tagline {
    color: #bdc3c7;
    font-size: 13px;
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-list a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: #3498db;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.telegram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0088cc;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.telegram-link:hover {
    transform: scale(1.1);
    background: #0077b5;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" opacity="0.1"><path d="M0,0 L1000,0 L1000,100 L0,100 Z" fill="white"/></svg>') repeat-x bottom;
    pointer-events: none;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 180px;
}

.feature i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature span {
    font-size: 1rem;
    font-weight: 500;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f639e);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

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

.section-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3498db, #e74c3c);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.service-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* ========== WORKS GALLERY ========== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 60px 0;
}

.work-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.work-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.work-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.work-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.work-item:hover .work-image-container img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(44, 62, 80, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-zoom {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.work-item:hover .work-zoom {
    transform: translateY(0);
}

.work-zoom:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1) translateY(0);
}

.work-info {
    padding: 25px;
    background: white;
}

.work-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.work-category {
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-category:before {
    content: "•";
    color: #e74c3c;
    font-size: 1.5rem;
}

.work-details {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.work-details span {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.work-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.work-badge.new {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.work-badge.popular {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* ========== REQUEST SECTION ========== */
.request-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e7f1 100%);
    position: relative;
    overflow: hidden;
}

.request-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #3498db, #e74c3c);
}

.request-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.request-info h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.request-info > p {
    color: #7f8c8d;
    margin-bottom: 35px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.advantages {
    margin: 40px 0;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.advantage i {
    color: #27ae60;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info {
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 2px solid #e8eef5;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info h3:before {
    content: '';
    width: 30px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.contact-info p {
    margin: 18px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 1.05rem;
}

.contact-info i {
    color: #3498db;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #3498db, #e74c3c);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: #3498db;
}

.footer-logo p {
    color: #bdc3c7;
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.footer-column ul li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column a:hover {
    color: #3498db;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-list i {
    color: #3498db;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 10px 0;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========== TELEGRAM FLOAT ========== */
.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.telegram-float:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.telegram-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.4);
}

.telegram-float:hover:before {
    left: 100%;
}

.telegram-float:active {
    transform: scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .request-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none;
        border-radius: 0 0 15px 15px;
        z-index: 999;
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: flex-start;
        font-size: 1.1rem;
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }

    .header-contacts {
        justify-content: center;
        margin-top: 20px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .hero-features {
        flex-direction: column;
        gap: 25px;
        padding: 0 20px;
    }

    .feature {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .telegram-float {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }

    /* Логотип на мобильных */
    .logo-primary {
        font-size: 26px;
    }

    .logo-domain {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .work-image-container {
        height: 220px;
    }

    .footer {
        padding: 60px 0 25px;
    }
}