/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2C2C2C;
    background: #F9F7F0;
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== VARIABLES ===== */
:root {
    --color-bg: #F9F7F0;
    --color-bg-alt: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-muted: #6B6B6B;
    --color-accent: #E60000;
    --color-accent-soft: #F5D5C8;
    --color-border: #E5E5E5;
    --font-hand: 'Caveat', cursive;
    --container: 1200px;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.accent { color: var(--color-accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #B30000; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(249, 247, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.logo-bird { font-size: 28px; }
.nav { display: flex; gap: 28px; }
.nav-link { font-weight: 500; font-size: 15px; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--color-accent); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--color-text); transition: 0.3s; }

/* ===== HERO ===== */
.hero { padding: 80px 0 60px; }
.hero-content { max-width: 800px; }
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--color-accent); }
.stat-label { font-size: 13px; color: var(--color-text-muted); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}
.section-subtitle { text-align: center; color: var(--color-text-muted); margin-bottom: 48px; font-size: 17px; }

/* ===== BENEFITS ===== */
.benefits { background: var(--color-bg-alt); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.benefit-card {
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    transition: 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { font-size: 36px; margin-bottom: 16px; }
.benefit-card h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.benefit-card p { color: var(--color-text-muted); font-size: 15px; }

/* ===== FOR WHOM ===== */
.for-whom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.for-whom-card {
    padding: 40px 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.for-whom-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-accent-soft);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.for-whom-card h3 { font-size: 24px; margin-bottom: 16px; }
.for-whom-card ul { margin-bottom: 24px; }
.for-whom-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 15px;
}
.for-whom-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ===== PRICING ===== */
.pricing { background: var(--color-bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.price-card {
    padding: 36px 28px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--color-accent); background: #fff; }
.price-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.price-name { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.price-desc { color: var(--color-text-muted); font-size: 14px; margin-bottom: 20px; }
.price-features { font-size: 14px; margin-bottom: 24px; flex-grow: 1; color: var(--color-text-muted); }
.price-value { font-size: 32px; font-weight: 800; color: var(--color-accent); margin-bottom: 20px; }
.pricing-note {
    margin-top: 40px;
    padding: 24px;
    background: var(--color-accent-soft);
    border-radius: var(--radius);
    text-align: center;
}
.pricing-note p { margin: 6px 0; font-size: 15px; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; }
.step {
    padding: 28px 20px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    position: relative;
}
.step-num {
    font-family: var(--font-hand);
    font-size: 48px;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--color-text-muted); }

/* ===== CTA ===== */
.cta { background: var(--color-bg-alt); }
.cta-box {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B30000 100%);
    color: #fff;
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
}
.cta-box h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.cta-box p { font-size: 17px; margin-bottom: 28px; opacity: 0.95; }
.cta-box .btn-primary { background: #fff; color: var(--color-accent); }
.cta-box .btn-primary:hover { background: var(--color-bg); }

/* ===== PAGE HERO ===== */
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; }
.page-subtitle { font-size: 18px; color: var(--color-text-muted); max-width: 640px; margin: 0 auto; }

/* ===== SERVICES PAGE ===== */
.service-block { padding: 60px 0; }
.service-block.alt { background: var(--color-bg-alt); }
.service-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.service-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.service-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.service-lead { font-size: 17px; color: var(--color-text-muted); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 32px; }
.service-card {
    padding: 28px 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.service-block.alt .service-card { background: var(--color-bg); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--color-text-muted); }
.service-cta { text-align: center; margin-top: 32px; }

/* ===== EXTRAS ===== */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}
.extra-name { font-size: 15px; font-weight: 500; }
.extra-price { font-weight: 700; color: var(--color-accent); }

/* ===== PORTFOLIO ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.work-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid var(--color-border);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-media {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2C2C2C, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.work-placeholder { font-size: 18px; opacity: 0.7; }
.work-info { padding: 24px; }
.work-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.work-info h3 { font-size: 19px; margin-bottom: 8px; }
.work-info p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.work-meta { display: flex; gap: 16px; font-size: 13px; color: var(--color-text-muted); padding-top: 16px; border-top: 1px solid var(--color-border); }

/* ===== REVIEWS ===== */
.reviews { background: var(--color-bg-alt); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.review-card {
    padding: 28px 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.review-stars { color: #FFB800; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 15px; margin-bottom: 20px; font-style: italic; }
.review-name { font-weight: 700; font-size: 15px; }
.review-role { font-size: 13px; color: var(--color-text-muted); }
.cta-inline {
    margin-top: 48px;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-accent-soft);
    border-radius: var(--radius);
}
.cta-inline h3 { font-size: 24px; margin-bottom: 8px; }
.cta-inline p { margin-bottom: 20px; color: var(--color-text-muted); }

/* ===== CONTACTS (TAPLINK) ===== */
.contacts-page { background: linear-gradient(180deg, #F9F7F0 0%, #F5D5C8 100%); min-height: 100vh; }
.taplink {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}
.taplink-logo { margin-bottom: 32px; }
.logo-bird-big { font-size: 64px; display: block; margin-bottom: 12px; }
.taplink-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.taplink-subtitle { color: var(--color-text-muted); font-size: 15px; }
.taplink-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.taplink-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: 0.25s;
    text-align: left;
}
.taplink-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.taplink-icon { font-size: 28px; flex-shrink: 0; }
.taplink-text { display: flex; flex-direction: column; }
.taplink-text strong { font-size: 16px; font-weight: 700; }
.taplink-text span { font-size: 13px; color: var(--color-text-muted); }

.taplink-telegram:hover { background: #229ED9; color: #fff; }
.taplink-telegram:hover .taplink-text span { color: rgba(255,255,255,0.8); }
.taplink-whatsapp:hover { background: #25D366; color: #fff; }
.taplink-whatsapp:hover .taplink-text span { color: rgba(255,255,255,0.8); }
.taplink-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.taplink-instagram:hover .taplink-text span { color: rgba(255,255,255,0.8); }
.taplink-vk:hover { background: #0077FF; color: #fff; }
.taplink-vk:hover .taplink-text span { color: rgba(255,255,255,0.8); }

.taplink-info {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: left;
}
.taplink-info h3 { font-size: 18px; margin-bottom: 12px; text-align: center; }
.taplink-info li { padding: 6px 0; font-size: 14px; }

.taplink-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
}
.taplink-legal a { color: var(--color-text-muted); }
.taplink-legal a:hover { color: var(--color-accent); }
.taplink-footer { font-size: 12px; color: var(--color-text-muted); }

/* ===== LEGAL PAGE ===== */
.legal-page { padding: 60px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-section { margin-bottom: 48px; }
.legal-section h2 { font-size: 28px; margin-bottom: 8px; }
.legal-section h3 { font-size: 18px; margin: 24px 0 10px; color: var(--color-accent); }
.legal-section p, .legal-section li { font-size: 15px; margin-bottom: 10px; }
.legal-section ul { padding-left: 20px; list-style: disc; }
.legal-date { color: var(--color-text-muted); font-size: 14px; font-style: italic; margin-bottom: 20px; }

/* ===== FOOTER ===== */
.footer { background: #1A1A1A; color: #ccc; padding: 60px 0 0; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer-about { font-size: 14px; color: #999; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; font-size: 14px; color: #999; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; font-size: 13px; color: #666; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: 13px; flex-grow: 1; }
.cookie-text a { color: var(--color-accent); text-decoration: underline; }
.cookie-btn {
    background: var(--color-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}
.cookie-btn:hover { background: #B30000; }

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

@media (max-width: 768px) {
    .nav { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav.open { display: flex; }
    .burger { display: flex; }
    .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header .btn { display: none; }
    .hero { padding: 40px 0; }
    .section { padding: 50px 0; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 22px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .cta-box { padding: 40px 24px; }
    .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .btn-lg { padding: 16px 24px; font-size: 15px; }
    .taplink-title { font-size: 28px; }
    .taplink-btn { padding: 14px 18px; }
}