/*
Theme Name: CANPRO
Theme URI: https://proshivka.kz
Author: CANPRO Алматы
Description: Тёмная тема для автосервиса по русификации авто. ACF + CPT архитектура.
Version: 1.0.0
License: Proprietary
Text Domain: canpro
*/

/* Reset & Global Tokens */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #090a0f;
    --bg-surface: #131520;
    --bg-card: #1c1e2e;
    --accent-teal: #00f2fe;
    --accent-blue: #4facfe;
    --text-white: #ffffff;
    --text-muted: #8e92a7;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-radius: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.logo span {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
    font-size: 15px; font-weight: 500; color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-white); }
.nav-links a::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
    transition: var(--transition-smooth);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-btn {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #040508; font-weight: 700;
    padding: 12px 26px; border-radius: 30px; font-size: 14px;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.15);
    transition: var(--transition-smooth);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 242, 254, 0.3); }

/* ── Hero ── */
.hero {
    min-height: 85vh;
    padding: 180px 6% 100px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    background: radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 55%);
}
.hero h1 {
    font-size: 58px; font-weight: 800; line-height: 1.15;
    margin-bottom: 24px; max-width: 850px; letter-spacing: -1px;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--text-white) 40%, var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 19px; color: var(--text-muted); max-width: 650px; margin-bottom: 44px; }
.btn-group { display: flex; gap: 20px; }

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #040508; font-weight: 700;
    padding: 16px 36px; border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.2);
    display: inline-block; transition: var(--transition-smooth);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 242, 254, 0.4); }

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 36px; border-radius: var(--border-radius);
    font-weight: 600; display: inline-block;
    transition: var(--transition-smooth);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.3); }

/* ── Sections ── */
section { padding: 100px 6%; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 38px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; text-align: center;}
.section-title span { color: var(--accent-teal); }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 30px auto; }

/* ── Steps Timeline ── */
.steps-timeline { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.step-item {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); padding: 30px;
    display: flex; gap: 24px; align-items: flex-start;
    transition: var(--transition-smooth);
}
.step-item:hover { border-color: rgba(0, 242, 254, 0.2); transform: translateX(5px); }
.step-num {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #000; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.step-content h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.step-content p { color: var(--text-muted); font-size: 15px; }

/* ── Slider ── */
.slider-viewport { position: relative; overflow: hidden; margin: 0 -20px; padding: 20px; }
.slider-track {
    display: flex; gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.slider-item {
    min-width: 300px; width: calc(33.333% - 16px); flex-shrink: 0;
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 32px; border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}
.slider-item:hover { transform: translateY(-5px); border-color: rgba(0, 242, 254, 0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.slider-controls { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.slider-btn {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    color: #fff; width: 50px; height: 50px; border-radius: 50%;
    cursor: pointer; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
}
.slider-btn:hover { background: var(--accent-teal); color: #000; border-color: var(--accent-teal); }

/* ── Model Year Tabs ── */
.year-tabs { display: flex; gap: 12px; margin-bottom: 30px; justify-content: center; }
.tab-btn {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    color: #fff; padding: 12px 28px; border-radius: 30px;
    cursor: pointer; font-weight: 600; transition: var(--transition-smooth);
}
.tab-btn.active { background: var(--accent-teal); color: #000; border-color: var(--accent-teal); }
.dynamic-box {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); padding: 40px;
    max-width: 800px; margin: 0 auto;
}
.price-display { font-size: 40px; font-weight: 800; color: var(--accent-teal); margin-bottom: 20px; text-align: center; }
.benefits-list { list-style: none; }
.benefits-list li { margin-bottom: 14px; position: relative; padding-left: 28px; font-size: 16px; }
.benefits-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-teal); font-weight: bold; }

/* ── SEO Block ── */
.seo-block {
    background: rgba(255,255,255,0.01); border-top: 1px solid var(--border-color);
    padding: 60px 6%; font-size: 14px; color: #585d70;
    line-height: 1.8; text-align: justify;
}
.seo-block h2 { font-size: 16px; color: var(--text-muted); margin-bottom: 12px; }

/* ── WhatsApp Sticky ── */
.whatsapp-sticky {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: bold;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 2000; transition: var(--transition-smooth);
}
.whatsapp-sticky:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6); }

/* ── Footer ── */
footer { background: #050608; padding: 60px 6% 40px; border-top: 1px solid var(--border-color); text-align: center; }
.footer-text { color: var(--text-muted); font-size: 14px; margin-top: 16px; }

/* ── Hero (compact for inner pages) ── */
.hero--compact { min-height: 50vh; padding-top: 150px; }

@media(max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 36px; }
    .slider-item { min-width: 85%; }
    .btn-group { flex-direction: column; }
}
/* Cases Page Elements */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.case-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2c3e50, #000);
    object-fit: cover;
    transition: var(--transition);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 20%, rgba(11, 12, 16, 0.4) 60%, transparent);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(11, 12, 16, 1) 30%, rgba(11, 12, 16, 0.5) 70%, transparent);
}
.forminator-select span {
    color: #fff !important;
}
.post-thumbnail {
    width: 100%;
    margin: 30px auto;
    text-align: center;
    object-fit: contain;
}
form#forminator-module-1277 {
    text-align: center;
    width: 400px;
    margin: auto;
}

img.attachment-large.size-large.wp-post-image {
    width: 100%;
    object-fit: contain;
}