:root {
    --bg-base: #0a0a0a;
    --stone-light: #181818;
    --text-main: #f0f0f0;
    --text-muted: #9e9e9e;
    --copper: #c77b47;
    --fire-orange: #ff4500;
    --fire-glow: rgba(255, 69, 0, 0.25);
    --copper-glow: rgba(199, 123, 71, 0.15);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle noise texture over everything for cinematic feel */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Typography */
h1, h2, h3, .logo-text { font-family: var(--font-heading); font-weight: 700; }
h1, h2 { letter-spacing: -0.02em; }
.section-title { font-size: 2.8rem; margin-bottom: 2.5rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.text-copper { color: var(--copper); }
.lead-text { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 36px; font-size: 1.1rem; font-weight: 600; border-radius: 2px;
    cursor: pointer; transition: all 0.3s ease; letter-spacing: 0.5px;
}
.btn-primary {
    background: #111; color: var(--copper); border: 1px solid var(--copper);
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 123, 71, 0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    background: var(--copper); color: #000;
    box-shadow: 0 0 20px var(--copper-glow);
}
.btn-secondary { background: transparent; color: #fff; border: 1px solid #333; }
.btn-secondary:hover { background: #fff; color: #000; }
.btn-outline { background: transparent; color: var(--copper); border-bottom: 1px solid var(--copper); padding: 5px 0; }
.btn-outline:hover { color: #fff; border-color: #fff; }

/* Hero CTA branded buttons */
.btn-vk {
    background: #0077FF; color: #fff; border: 1px solid #0077FF;
    gap: 10px; font-size: 1.15rem;
}
.btn-vk:hover { background: #0062d4; box-shadow: 0 4px 20px rgba(0, 119, 255, 0.4); }
.btn-call {
    background: transparent; color: #fff; border: 1px solid #444;
    gap: 10px;
}
.btn-call:hover { background: #fff; color: #000; border-color: #fff; }
.btn-tg {
    background: transparent; color: #fff; border: 1px solid #444;
    gap: 10px;
}
.btn-tg:hover { background: #0088cc; color: #fff; border-color: #0088cc; box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4); }
.btn-wa { background: transparent; color: #fff; border: 1px solid #25D366; }
.btn-wa:hover { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
.btn-tg-form { border-color: #0088cc; color: #0088cc; }
.btn-tg-form:hover { background: #0088cc; color: #fff; border-color: #0088cc; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), transparent);
    transition: all 0.4s ease; padding: 15px 0;
}
.header.scrolled { background: rgba(10,10,10,0.95); padding: 10px 0; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 45px; }
.logo-text { font-size: 1.6rem; letter-spacing: 2px; color: var(--copper); }
.nav { display: flex; gap: 40px; }
.nav a { font-size: 0.95rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: #ccc; }
.nav a:hover { color: var(--copper); }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.header-contact .phone-link { font-size: 1.15rem; font-weight: 600; color: #fff; transition: color 0.3s; }
.header-contact .phone-link:hover { color: var(--copper); }
.header-socials { display: flex; gap: 10px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #111; color: #aaa; border: 1px solid #333; transition: all 0.3s ease; }
.social-icon:hover { color: #fff; transform: translateY(-2px); }
.social-icon.vk:hover { background: #0077FF; border-color: #0077FF; }
.social-icon.wa:hover { background: #25D366; border-color: #25D366; }
.social-icon.tg:hover { background: #0088cc; border-color: #0088cc; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 10px; }
.mobile-menu-btn span { display: block; width: 30px; height: 2px; background: #fff; transition: 0.3s; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-parallax-bg {
    position: absolute; top: -10%; left: -10%; width: 120%; height: 120%;
    background-image: url('assets/hero_background.webp');
    background-size: cover; background-position: center; z-index: 0;
    will-change: transform; /* Handled by JS */
}
#sparks-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-vignette {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    background: radial-gradient(circle at center, transparent 0%, #0a0a0a 100%),
                linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 900px; padding-top: 80px; }
.hero-title { font-size: clamp(3rem, 5.4vw, 4.1rem); line-height: 1.02; margin-bottom: 1.25rem; text-transform: uppercase; max-width: 820px; }
.hero-subtitle { font-size: 1.3rem; color: #ccc; margin-bottom: 2.25rem; max-width: 680px; font-weight: 300; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust indicators */
.hero-trust {
    display: flex; align-items: center; gap: 0; margin-top: 32px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px; padding: 0; overflow: hidden;
}
.trust-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 16px 28px; flex: 1; text-align: center;
}
.trust-number {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
    color: var(--copper); line-height: 1;
}
.trust-label { font-size: 0.82rem; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.wa-hero-btn:hover { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.tg-hero-btn:hover { background: #0088cc !important; border-color: #0088cc !important; color: #fff !important; }
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; opacity: 0.6;
}
.mouse { width: 30px; height: 50px; border: 2px solid #fff; border-radius: 15px; position: relative; }
.mouse::before {
    content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scroll 2s infinite;
}
@keyframes scroll { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 15px); } }

/* Sections */
.section { padding: 120px 0; }
.dark-stone-bg { background-color: #0d0d0d; }
.stone-texture { background-color: #0f0f0f; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card {
    background: var(--stone-light); padding: 40px; border-left: 2px solid #333;
    transition: all 0.4s ease;
}
.service-card:hover { border-color: var(--copper); background: #1a1a1a; transform: translateX(10px); }
.service-title { font-size: 1.6rem; margin-bottom: 15px; color: #fff; }
.service-desc { color: var(--text-muted); font-size: 1.05rem; }
.cta-block { margin-top: 60px; padding: 40px; background: #111; display: flex; align-items: center; justify-content: space-between; border: 1px solid #222; }
.cta-block p { font-size: 1.5rem; font-family: var(--font-heading); margin: 0; }

/* Layouts */
.two-col-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Pricing */
.price-feature { margin: 30px 0; padding: 30px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.price-number { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--copper); line-height: 1.12; margin-bottom: 10px; }
.price-label { color: #ccc; font-size: 1.1rem; }
.disclaimer { font-size: 0.9rem; color: #666; font-style: italic; }
.cinematic-image-wrapper { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.cinematic-image-wrapper img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: contrast(1.1) brightness(0.9); }
.warm-light-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 24% 72%, rgba(255, 132, 44, 0.13) 0%, transparent 31%);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: hearthLight 5.4s ease-in-out infinite;
}

/* Portfolio Showcase */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 80px; margin-top: 50px; }
.portfolio-note {
    max-width: 760px;
    margin: -10px 0 30px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.portfolio-note a {
    color: var(--copper);
    font-weight: 700;
    border-bottom: 1px solid rgba(199, 123, 71, 0.45);
}
.portfolio-note a:hover { color: #fff; border-color: #fff; }
.portfolio-vk-callout {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 28px;
    border: 1px solid rgba(0, 119, 255, 0.45);
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.13), rgba(199, 123, 71, 0.08));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}
.portfolio-vk-callout p { margin-bottom: 15px; color: #ddd; }
.portfolio-vk-cta { width: auto; }
.showcase-item { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.showcase-item:nth-child(even) { grid-template-columns: 2fr 3fr; }
.showcase-item:nth-child(even) .showcase-img { order: 2; }
.showcase-item:nth-child(even) .showcase-info { order: 1; }

.showcase-img { position: relative; overflow: hidden; background: #000; border-radius: 2px; }
.showcase-img img { width: 100%; height: 500px; object-fit: cover; opacity: 0.85; transition: transform 0.8s ease, opacity 0.8s ease; display: block; }
.showcase-img:hover img { transform: scale(1.05); opacity: 1; }
.hover-glow { position: absolute; inset: 0; background: linear-gradient(to top, rgba(199, 123, 71, 0.4), transparent); opacity: 0; transition: 0.5s; pointer-events: none; mix-blend-mode: overlay; }
.showcase-img:hover .hover-glow { opacity: 1; }

.project-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; font-size: 0.9rem; color: var(--copper); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.showcase-info h3 { font-size: 2.2rem; margin-bottom: 15px; }
.showcase-info p { color: var(--text-muted); font-size: 1.1rem; }

/* Timeline & Guarantee */
.brutal-timeline { list-style: none; position: relative; padding-left: 30px; }
.brutal-timeline::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: #222; }
.brutal-timeline li { margin-bottom: 40px; position: relative; }
.timeline-dot { position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; background: var(--bg-base); border: 2px solid var(--copper); border-radius: 50%; }
.brutal-timeline h4 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.brutal-timeline p { color: var(--text-muted); }

.guarantee-card { background: #111; padding: 50px 40px; border: 1px solid #333; position: relative; }
.guarantee-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: linear-gradient(90deg, var(--copper), var(--fire-orange)); }
.guarantee-card h3 { font-size: 2rem; margin-bottom: 20px; }
.guarantee-card p { color: #ccc; margin-bottom: 25px; }
.check-list { list-style: none; margin-bottom: 30px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 15px; color: #ccc; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--copper); font-weight: bold; }
.master-sign { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.4rem; color: var(--copper); border-top: 1px solid #333; padding-top: 20px; }

/* FAQ */
.faq-accordion { max-width: 800px; }
.faq-item { border-bottom: 1px solid #222; }
.faq-question { width: 100%; text-align: left; padding: 25px 0; background: none; border: none; color: #fff; font-size: 1.2rem; font-family: var(--font-heading); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-question:hover { color: var(--copper); }
.faq-question::after { content: '+'; font-size: 1.8rem; color: #666; transition: 0.3s; }
.faq-question.active::after { transform: rotate(45deg); color: var(--copper); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding-bottom: 25px; color: var(--text-muted); font-size: 1.05rem; }

/* Footer */
.footer { background: #050505; padding: 80px 0 30px; border-top: 1px solid #1a1a1a; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-desc { color: var(--text-muted); margin-top: 20px; max-width: 350px; }
.footer-contacts h3 { margin-bottom: 25px; font-size: 1.5rem; }
.contact-link { display: inline-block; font-size: 1.2rem; color: #ccc; margin-bottom: 15px; font-weight: 500; }
.contact-link:hover { color: var(--copper); }
.phone-big { font-size: 1.5rem !important; font-family: var(--font-heading); color: #fff !important; margin-bottom: 20px !important; }
.contact-social-grid { display: flex; gap: 15px; margin: 15px 0 25px; flex-wrap: wrap; }
.social-button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; font-weight: 600; font-size: 0.95rem; border-radius: 2px; color: #fff; transition: all 0.3s ease; border: 1px solid transparent; }
.social-button.vk { background: #0077FF; }
.social-button.vk:hover { background: #0062d4; box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4); }
.social-button.wa { background: #25D366; }
.social-button.wa:hover { background: #20ba59; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.social-button.tg { background: #0088cc; }
.social-button.tg:hover { background: #0077b3; box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4); }
.address { color: #666; margin-top: 20px; }
.footer-seo { max-width: 620px; color: #777; font-size: 0.9rem; line-height: 1.6; }
.footer-bottom { text-align: center; color: #444; padding-top: 30px; border-top: 1px solid #111; font-size: 0.9rem; }
.footer-legal { color: #333; font-size: 0.8rem; margin-top: 6px; }
.footer-policy { margin-top: 8px; font-size: 0.82rem; }
.footer-policy a { color: #666; border-bottom: 1px solid #333; }
.footer-policy a:hover { color: var(--copper); border-color: var(--copper); }

/* Sticky Floating Socials Widget */
.sticky-socials-container {
    position: fixed; bottom: 30px; right: 30px;
    display: flex; flex-direction: column; gap: 12px; z-index: 999;
}
.sticky-social {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.sticky-social.vk { background: #0077FF; box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3); }
.sticky-social.wa { background: #25D366; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.sticky-social.tg { background: #0088cc; box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3); }
.sticky-social.call { background: var(--copper); box-shadow: 0 4px 15px rgba(199, 123, 71, 0.35); }
.sticky-social:hover { transform: translateY(-4px) scale(1.08); }
.sticky-social.vk:hover { box-shadow: 0 6px 20px rgba(0, 119, 255, 0.5); }
.sticky-social.wa:hover { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
.sticky-social.tg:hover { box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5); }
.sticky-social.call:hover { box-shadow: 0 6px 20px rgba(199, 123, 71, 0.55); }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
@keyframes hearthLight {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    32% { opacity: 0.72; transform: scale(1.025); }
    62% { opacity: 0.48; transform: scale(0.99); }
}

/* ===== Glowing Phoenix in Hero ===== */
.hero-phoenix {
    position: absolute; z-index: 1; pointer-events: none;
    top: 50%; right: 4%; transform: translateY(-50%);
    width: clamp(280px, 34vw, 520px);
    opacity: 0.9;
    animation: phoenixFloat 7s ease-in-out infinite;
}
.hero-phoenix img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 0 22px rgba(255, 90, 0, 0.45))
            drop-shadow(0 0 55px rgba(199, 123, 71, 0.35));
    animation: phoenixEmber 3.6s ease-in-out infinite;
}
@keyframes phoenixFloat {
    0%, 100% { transform: translateY(-50%); }
    50%      { transform: translateY(-54%); }
}
@keyframes phoenixEmber {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 90, 0, 0.38)) drop-shadow(0 0 50px rgba(199, 123, 71, 0.28)); }
    45%      { filter: drop-shadow(0 0 30px rgba(255, 120, 0, 0.6))  drop-shadow(0 0 70px rgba(255, 69, 0, 0.4)); }
    70%      { filter: drop-shadow(0 0 22px rgba(255, 90, 0, 0.45)) drop-shadow(0 0 58px rgba(199, 123, 71, 0.32)); }
}

/* ===== Living fire glow at hero base ===== */
.hero-fire {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 40%; z-index: 1;
    pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(120% 100% at 50% 130%,
        rgba(255, 120, 0, 0.55) 0%,
        rgba(255, 69, 0, 0.28) 28%,
        rgba(199, 123, 71, 0.12) 50%,
        transparent 72%);
    animation: fireFlicker 2.4s ease-in-out infinite;
}
@keyframes fireFlicker {
    0%, 100% { opacity: 0.75; transform: scaleY(1); }
    25%      { opacity: 0.95; transform: scaleY(1.06); }
    50%      { opacity: 0.65; transform: scaleY(0.97); }
    75%      { opacity: 0.88; transform: scaleY(1.03); }
}

/* Logo ember breathing */
.logo-img { animation: logoEmber 4.5s ease-in-out infinite; }
@keyframes logoEmber {
    0%, 100% { filter: drop-shadow(0 0 0 transparent) saturate(1) brightness(1); }
    50%      { filter: drop-shadow(0 0 8px rgba(255, 90, 0, 0.45)) saturate(1.15) brightness(1.08); }
}

/* Glow effect button (pricing CTA) */
.glow-effect { box-shadow: 0 0 0 rgba(255,69,0,0); animation: btnGlow 3s ease-in-out infinite; }
@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(255,69,0,0); }
    50%      { box-shadow: 0 0 22px rgba(255, 90, 0, 0.35); }
}

/* ===== Mobile header actions (call + burger) ===== */
.mobile-actions { display: none; align-items: center; gap: 8px; }
.mobile-call-btn {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: #25D366; color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.mobile-call-btn:hover, .mobile-call-btn:active { transform: scale(1.05); }

/* Burger -> X animation */
.mobile-menu-btn { transition: 0.3s; }
.mobile-menu-btn span { transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Mobile nav overlay ===== */
.mobile-nav {
    position: fixed; inset: 0; z-index: 1500;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(8px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 30px; padding: 40px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mobile-nav-links a {
    font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase;
    letter-spacing: 2px; color: #eee;
}
.mobile-nav-links a:hover { color: var(--copper); }
.mobile-nav-phone {
    font-family: var(--font-heading); font-size: 1.6rem; color: var(--copper);
    border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 18px 0; width: 100%; text-align: center;
}
.mobile-nav-socials { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
.mobile-nav-socials .social-button { width: 100%; justify-content: center; }

/* ===== Callback Modal ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.78); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    position: relative; width: 100%; max-width: 460px;
    max-height: calc(100vh - 40px); overflow-y: auto;
    background: #111; border: 1px solid #2a2a2a; border-radius: 4px;
    padding: 40px 34px 30px; transform: translateY(20px); transition: transform 0.3s ease;
}
.modal::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: linear-gradient(90deg, var(--copper), var(--fire-orange)); }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #888; font-size: 2rem; line-height: 1; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--copper); }
.modal-title { font-size: 1.8rem; color: #fff; margin-bottom: 12px; }
.modal-sub { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 24px; }
.callback-form .field { display: block; margin-bottom: 16px; }
.callback-form .field span { display: block; font-size: 0.9rem; color: #ccc; margin-bottom: 7px; }
.callback-form .field em { color: #777; font-style: normal; }
.callback-form input, .callback-form textarea {
    width: 100%; padding: 13px 15px; background: #0a0a0a; border: 1px solid #333;
    color: #fff; font-family: var(--font-body); font-size: 1rem; border-radius: 2px; transition: border-color 0.2s;
}
.callback-form input:focus, .callback-form textarea:focus { outline: none; border-color: var(--copper); }
.callback-form textarea { resize: vertical; }
.hp-field {
    position: absolute !important; left: -10000px !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important; opacity: 0 !important; pointer-events: none !important;
}
.form-error { color: #ff6b4a; font-size: 0.9rem; margin-bottom: 12px; }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.form-actions .btn { width: 100%; padding: 15px; font-size: 1rem; }
.form-actions .form-submit[data-channel="vk"] { background: #0077ff; color: #fff; border-color: #0077ff; }
.form-actions .form-submit[data-channel="vk"]:hover { background: #0060cc; }
.form-actions .form-submit[data-channel="wa"] { background: transparent; color: #aaa; border-color: #333; }
.form-actions .form-submit[data-channel="wa"]:hover { background: #25D366; color: #fff; border-color: #25D366; }
.form-note-vk { font-size: 0.78rem; color: #666; margin-top: 8px; text-align: center; }
.consent-label {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 14px; cursor: pointer; font-size: 0.82rem; color: #999; line-height: 1.4;
}
.consent-label input[type="checkbox"] {
    width: 18px; height: 18px; min-width: 18px; margin-top: 1px;
    accent-color: var(--copper); cursor: pointer;
}
.consent-label a { color: var(--copper); border-bottom: 1px solid rgba(199,123,71,0.4); }
.consent-label a:hover { color: #fff; border-color: #fff; }
.form-privacy-note { font-size: 0.75rem; color: #555; margin-top: 10px; text-align: center; }
body.no-scroll { overflow: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-phoenix, .hero-phoenix img, .hero-fire, .logo-img, .glow-effect,
    .warm-light-overlay, .reveal { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.2rem; }
    .showcase-item, .showcase-item:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
    .showcase-img img { height: 400px; }
    .showcase-item:nth-child(even) .showcase-img { order: unset; }
    .showcase-item:nth-child(even) .showcase-info { order: unset; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .services-grid { grid-template-columns: minmax(0, 1fr); }
    .header { padding: 10px 0; }
    .nav, .header-contact { display: none; } /* Mobile menu simplified */
    .mobile-actions { display: flex; }
    .mobile-menu-btn { display: flex; }
    .mobile-nav {
        justify-content: flex-start;
        gap: 20px;
        padding: 86px 24px 30px;
        overflow-y: auto;
    }
    .mobile-nav-links { gap: 16px; }
    .mobile-nav-links a { font-size: 1.25rem; }
    .mobile-nav-socials { gap: 8px; }

    /* Fix logo text sizing on mobile to prevent overlaps */
    .logo-img { height: 35px; width: 35px; }
    .logo-text { font-size: 1.25rem; letter-spacing: 1px; }
    .logo { gap: 10px; }

    .hero { 
        height: auto;
        min-height: 100vh;
        display: block;
        padding-top: 110px; /* Safe space to prevent fixed header overlap */
        padding-bottom: 60px;
    }
    .hero-content {
        padding-top: 0;
    }
    .hero-title { 
        font-size: 2rem; 
        line-height: 1.1; 
    }
    /* Phoenix sits softly behind the text on mobile */
    .hero-phoenix {
        animation: none;
        top: 140px; left: 50%; right: auto; bottom: auto;
        transform: translateX(-50%);
        width: min(74vw, 340px); opacity: 0.12;
    }
    .modal { padding: 36px 22px 26px; }
    .modal-title { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; padding: 18px; font-size: 1.05rem; }
    .hero-trust { flex-direction: row; flex-wrap: nowrap; }
    .trust-item { padding: 14px 12px; }
    .trust-number { font-size: 1.3rem; }
    .trust-label { font-size: 0.7rem; }
    .trust-divider { height: 32px; }
    .btn { width: 100%; padding: 20px; font-size: 1.1rem; }
    
    .two-col-layout { grid-template-columns: 1fr; gap: 40px; }
    .two-col-layout > * { min-width: 0; }
    .reverse-mobile .text-col { order: 2; }
    .reverse-mobile .guarantee-col { order: 1; }
    .portfolio-vk-callout { padding: 22px 18px; }
    .portfolio-vk-cta { width: 100%; }
    
    .cta-block { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
    .price-number { font-size: 2.8rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    
    .sticky-socials-container { bottom: 20px; right: 20px; gap: 8px; }
    .sticky-social { width: 46px; height: 46px; }
    .sticky-social svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    /* Extreme small screen logo adjustments to prevent overlaps */
    .logo-img { height: 28px; width: 28px; }
    .logo-text { font-size: 1.05rem; letter-spacing: 0.5px; }
    .logo { gap: 6px; }
    
    .mobile-actions { gap: 6px; }
    .mobile-call-btn { width: 42px; height: 42px; }
    .mobile-menu-btn { padding: 8px; }
    .mobile-menu-btn span { width: 26px; }
}

/* ===== Dual Phones styling in Header ===== */
.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 5px;
}
.phone-name {
    font-size: 0.75rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 4px;
    font-weight: 600;
}

/* ===== Footer Phones Grid ===== */
.footer-phones-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-phone-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.phone-role {
    font-size: 0.82rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Bottom Action Sheet (Mobile calling) ===== */
.action-sheet {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.action-sheet.open {
    opacity: 1;
    pointer-events: auto;
}
.action-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}
.action-sheet-content {
    position: relative;
    z-index: 1;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 34px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}
.action-sheet.open .action-sheet-content {
    transform: translateY(0);
}
.action-sheet-header {
    text-align: center;
    margin-bottom: 20px;
}
.action-sheet-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--copper);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.action-sheet-desc {
    font-size: 0.88rem;
    color: #888;
}
.action-sheet-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.action-sheet-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
}
.action-sheet-btn:active {
    background: rgba(199, 123, 71, 0.15);
    border-color: var(--copper);
}
.action-sheet-btn .btn-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.action-sheet-btn .btn-sub {
    font-size: 0.78rem;
    color: #777;
}
.action-sheet-btn.cancel {
    background: #222;
    border-color: #333;
    font-weight: 500;
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
}
.action-sheet-btn.cancel:active {
    background: #333;
    color: #fff;
}

/* ===== Mobile Nav Overlay Phones list ===== */
.mobile-nav-phones {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 20px 0;
}
.mobile-phones-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: -4px;
    text-align: center;
}
.mobile-nav-phone-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    text-align: left;
}
.mobile-nav-phone-item .phone-icon {
    font-size: 1.25rem;
}
.mobile-nav-phone-item .phone-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mobile-nav-phone-item .phone-num {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.mobile-nav-phone-item .phone-name {
    font-size: 0.78rem;
    color: var(--copper);
}
