/* Переменные */
:root {
    --white: #ffffff;
    --yellow: #FFD700;
    --yellow-light: #FFF3B0;
    --yellow-dark: #E6C200;
    --grey: #6B7280;
    --grey-light: #F3F4F6;
    --grey-dark: #374151;
    --pink: #EC4899;
    --pink-light: #FDF2F8;
    --pink-dark: #DB2777;
    --text: #1F2937;
    --text-light: #6B7280;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    color: var(--text);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--grey-light);
}

.btn-secondary:hover {
    border-color: var(--yellow);
    background: var(--yellow-light);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

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

.header-phone {
    font-weight: 600;
    color: var(--pink);
}

.header-phone:hover {
    color: var(--pink-dark);
}

.header-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    transition: var(--transition);
}

.header-telegram:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(42, 171, 238, 0.4);
}

.header-telegram img {
    width: 22px;
    height: 22px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 170px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a {
    font-size: 20px;
    font-weight: 500;
}

.mobile-phone {
    color: var(--pink);
    font-weight: 600;
}

.mobile-telegram {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    margin-top: 10px;
}

.mobile-telegram img {
    width: 24px;
    height: 24px;
}

.mobile-telegram:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(42, 171, 238, 0.4);
}

/* Герой */
.hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--white) 0%, var(--pink-light) 50%, var(--yellow-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
}

.feature-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--pink);
}

.feature-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* О нас */
.about {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

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

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--grey-light);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow);
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--pink-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon svg {
    width: 30px;
    height: 30px;
    color: var(--pink);
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Портфолио */
.portfolio {
    padding: 100px 0;
    background: var(--grey-light);
}

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

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay span {
    color: var(--white);
    font-weight: 500;
}

/* Цены */
.prices {
    padding: 100px 0;
    background: var(--white);
}

.price-table {
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--grey-light);
}

.price-row:last-child {
    border-bottom: none;
}

.price-header {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
}

.price-header .price-col {
    font-weight: 700;
    color: var(--text);
}

.price-col {
    padding: 20px 30px;
    display: flex;
    align-items: center;
}

.price-col:first-child {
    background: var(--grey-light);
    font-weight: 500;
}

.price-col:last-child {
    background: var(--white);
    justify-content: flex-end;
}

.price-value {
    font-weight: 700;
    color: var(--pink);
    font-size: 18px;
}

.price-special .price-col:first-child {
    background: var(--pink-light);
}

.price-special .price-value {
    color: var(--pink-dark);
}

.price-note {
    text-align: center;
    padding: 20px;
    background: var(--yellow-light);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.price-note p {
    font-size: 16px;
}

/* Услуги и дизайн */
.services-info {
    margin-top: 60px;
}

.services-info h3 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-free {
    border-color: #10B981;
}

.service-free:hover {
    border-color: #059669;
}

.service-paid {
    border-color: var(--yellow);
}

.service-paid:hover {
    border-color: var(--yellow-dark);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-free .service-icon {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.service-free .service-icon svg {
    width: 24px;
    height: 24px;
    color: #059669;
}

.service-paid .service-icon {
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--yellow) 100%);
}

.service-paid .service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.service-price {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

.service-price.free {
    background: #D1FAE5;
    color: #059669;
}

.service-price.paid {
    background: var(--yellow-light);
    color: #B45309;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Контакты */
.contacts {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--pink-light) 100%);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--pink) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--grey);
}

.contact-card a,
.contact-card p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.contact-card a:hover {
    color: var(--pink);
}

.contact-telegram .contact-icon {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.telegram-icon img {
    width: 28px;
    height: 28px;
}

.contact-telegram a:hover {
    color: #229ED9;
}

.cta-block {
    text-align: center;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.cta-block h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.cta-block p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* SEO секция */
.seo-section {
    padding: 60px 0;
    background: var(--grey-light);
}

.seo-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.seo-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.seo-section p:last-child {
    margin-bottom: 0;
}

.seo-section a {
    color: var(--pink);
    font-weight: 600;
}

.seo-section a:hover {
    color: var(--pink-dark);
}

/* Футер */
.footer {
    background: var(--grey-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 130px;
    height: 130px;
    border-radius: 12px;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: 28px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    margin-top: 8px;
    color: rgba(255,255,255,0.7);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-contacts a {
    color: var(--white);
}

.footer-contacts a:hover {
    color: var(--yellow);
}

.footer-telegram {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-telegram img {
    width: 20px;
    height: 20px;
}

.footer-telegram:hover {
    color: #2AABEE;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-contacts {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-content {
        height: 100px;
    }

    .logo-img {
        width: 80px;
        height: 80px;
    }

    .mobile-menu {
        top: 100px;
    }

    .hero {
        padding: 130px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-features {
        gap: 24px;
    }

    .feature-value {
        font-size: 28px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 30px 20px;
    }

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

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px;
    }

    .cta-block {
        padding: 40px 20px;
    }

    .cta-block h3 {
        font-size: 22px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-contacts {
        text-align: left;
    }

    .price-col {
        padding: 16px 20px;
    }

    .services-info h3 {
        font-size: 22px;
    }

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

    .service-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .feature-value {
        font-size: 24px;
    }
}
