:root {
    /* Industrial Premium Palette */
    --bg-base: #f7fafc;
    --bg-dark: #1a202c;
    --bg-card: #ffffff;
    
    --text-main: #2d3748;
    --text-muted: #718096;
    --text-light: #f7fafc;
    
    --accent-orange: #f59e0b;
    --accent-hover: #d97706;
    --accent-blue: #2b6cb0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --header-height: 80px;
    --top-bar-h: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-orange);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-large { padding: 18px 36px; font-size: 1.05rem; }
.btn-small { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--bg-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    height: var(--top-bar-h);
    display: flex; align-items: center;
    font-size: 0.85rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-fast a { color: var(--accent-orange); text-decoration: none; font-weight: 700; }
.work-time { margin-left: 20px; color: var(--text-muted); }

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

/* Header */
.header {
    background-color: #ffffff;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0; z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--bg-dark); text-transform: uppercase; }
.logo-accent { color: var(--accent-orange); }
.logo-desc { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.nav { display: flex; gap: 30px; }
.nav a {
    text-decoration: none;
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav a:hover { color: var(--accent-orange); }

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

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--top-bar-h));
    display: flex; align-items: center;
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1600');
    background-size: cover; background-position: center;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(26, 32, 44, 0.95) 0%, rgba(26, 32, 44, 0.7) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    color: white;
}

.badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--accent-orange);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-text {
    font-size: 1.15rem; color: #cbd5e0;
    max-width: 600px; margin-bottom: 40px;
}

.hero-buttons {
    display: flex; gap: 20px; margin-bottom: 60px; flex-wrap: wrap;
}

.hero-stats {
    display: flex; gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { display: flex; flex-direction: column; }
.s-val { font-size: 2.5rem; font-weight: 900; color: var(--accent-orange); font-family: var(--font-heading); line-height: 1; }
.s-desc { font-size: 0.9rem; color: #a0aec0; text-transform: uppercase; margin-top: 8px; font-weight: 500;}

/* Sections Global */
.section-title { font-size: 2.5rem; margin-bottom: 20px; color: var(--bg-dark); }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto 50px; }

/* Services Section (Cards) */
.services { padding: 100px 0; background-color: var(--bg-base); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s ease;
}

.service-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(180deg, rgba(26,32,44,0.3) 0%, rgba(26,32,44,0.9) 100%);
    transition: background 0.4s ease;
}

.service-front {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px;
    color: white;
    z-index: 2;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.s-icon { font-size: 3rem; margin-bottom: 10px; }
.s-title { font-size: 1.8rem; }

.service-back {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.95);
    color: white;
    padding: 40px 30px;
    display: flex; flex-direction: column;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.service-card:hover .service-bg { transform: scale(1.05); }
.service-card:hover .service-front { transform: translateY(-20px); opacity: 0; }
.service-card:hover .service-back { opacity: 1; transform: translateY(0); }

.back-title { color: var(--accent-orange); margin-bottom: 20px; font-size: 1.2rem; }
.price-list { list-style: none; margin-bottom: auto; flex-grow: 1; }
.price-list li {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}
.price-list li strong { color: white; }

/* Advantages Section */
.advantages { padding: 100px 0; background: white; }
.adv-wrapper { align-items: center; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

@media (max-width: 900px) { .adv-wrapper { grid-template-columns: 1fr; } }

.adv-image { position: relative; border-radius: 8px; overflow: visible; }
.adv-image img { width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: block; }
.adv-experience-badge {
    position: absolute; bottom: -30px; right: 40px;
    background: var(--accent-orange); color: var(--bg-dark);
    padding: 24px 30px; border-radius: 4px; display: flex; flex-direction: column;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}
.adv-experience-badge strong { font-family: var(--font-heading); font-size: 2rem; line-height: 1; }
.adv-experience-badge span { font-weight: 700; text-transform: uppercase; }

.adv-list { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 30px; }
.adv-list li { display: flex; gap: 20px; }
.a-icon { font-size: 2rem; color: var(--accent-orange); background: var(--bg-base); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.adv-list h4 { font-size: 1.2rem; margin-bottom: 8px; color: var(--bg-dark); }
.adv-list p { color: var(--text-muted); font-size: 0.95rem; }

/* Contacts Section */
.contacts { padding: 100px 0; background-color: var(--bg-base); }

.contact-box {
    background: white; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}

@media (max-width: 900px) { .contact-box { grid-template-columns: 1fr; } }

.contact-text { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.c-desc { color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem; }

.c-details { margin-bottom: 40px; }
.c-item { margin-bottom: 16px; display: flex; flex-direction: column; }
.c-lbl { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.c-val { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--bg-dark); text-decoration: none; }

.c-socials { display: flex; gap: 16px; flex-wrap: wrap; }
.social-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 4px; font-weight: 600; text-decoration: none;
    color: white; transition: transform 0.3s;
}

.social-btn.wa { background-color: #25D366; }
.social-btn.tg { background-color: #0088cc; }
.social-btn:hover { transform: translateY(-3px); }

.contact-map { min-height: 400px; background: #eee; }

/* Footer */
.footer { background: var(--bg-dark); color: white; padding: 40px 0; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.f-logo .logo-name { color: white; margin-bottom: 8px; display: block; }
.f-desc { color: var(--text-muted); font-size: 0.9rem; }
.f-copy { color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) { .footer-flex { flex-direction: column; text-align: center; gap: 20px; } }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    transition-delay: var(--delay, 0s);
}
.reveal.active { opacity: 1; transform: translateY(0); }
