:root {
    --primary: #CC0000;
    --primary-hover: #AA0000;
    --secondary: #f5b400;
    --secondary-hover: #e0a300;
    --dark: #111827;
    --light: #f3f4f6;
    --text: #1f2937;
    --white: #ffffff;
    --whatsapp: #25D366;
    --border: #e5e7eb;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body { 
    color: var(--text); 
    line-height: 1.6; 
    background-color: var(--light); 
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--primary); transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; font-weight: 800; }

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
body { background: #f8fbff; }
.text-center { text-align: center; }
.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }
.d-block { display: block; }

/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    padding: 16px 32px; 
    border-radius: 8px; 
    font-weight: 800; 
    cursor: pointer; 
    text-align: center; 
    border: none; 
    transition: all 0.2s ease-in-out; 
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary { 
    background: linear-gradient(180deg, #ff1a1a, var(--primary)); 
    color: var(--white) !important; 
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3); 
}
.btn-primary:hover { 
    background: var(--primary-hover); 
    color: var(--white) !important;
    transform: translateY(-2px); 
    box-shadow: 0 12px 25px rgba(204, 0, 0, 0.4); 
}
.btn-secondary { background: var(--secondary); color: var(--dark) !important; box-shadow: 0 4px 6px rgba(245, 180, 0, 0.2); }
.btn-secondary:hover { background: var(--secondary-hover); transform: translateY(-1px); color: var(--dark) !important; }
.btn-whatsapp {
    background: linear-gradient(180deg, #34E876, var(--whatsapp));
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); text-shadow:none; }
.btn-outline:hover { background: var(--primary) !important; color: var(--white) !important; }
.btn-lg { padding: 18px 36px; font-size: 1.15rem; }
.btn-xl { padding: 22px 40px; font-size: 1.3rem; border-radius: 50px; }
.btn-block { display: block; width: 100%; }

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-contact {
    display: flex;
    gap: 15px;
}

/* Hero */
/* Header Mod */
.header-contact a.btn-outline {
    background: #f8fbff;
    border-width: 2px;
    font-weight: 800;
}

/* Hero CRO */
.hero-cro {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.85)), url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 90px 0 70px;
    color: #fff;
}
.hero-label-top {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 800;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(245, 180, 0, 0.3);
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    color: #fff;
    line-height: 1.1;
}
.hero-intro {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: #e5e7eb;
}
.hero-phone-massive a {
    display: inline-block;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
    line-height: 1;
    margin-bottom: 40px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.hero-phone-massive a:hover {
    transform: scale(1.05);
    color: #FFE600;
}
.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.trust-micro {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Pages & Sections */
.section { padding: 70px 0; }
.page-header { background: var(--white); padding: 60px 0; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 2.5rem; letter-spacing: -0.5px; }
.page-intro { font-size: 1.15rem; margin-top: 15px; color: #555; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-content { background: var(--white); padding: 50px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--border); }
.page-content h2 { margin: 40px 0 20px; color: var(--primary); font-size: 1.8rem; }
.page-content p { margin-bottom: 20px; font-size: 1.05rem; }

/* Services Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,255,0.1);
}
.service-card svg {
    margin-bottom: 15px;
}
.service-card h3 {
    margin-bottom: 10px;
}
.service-card p {
    color: #666;
    margin-bottom: 0;
}
@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================
   LOCAL SEO IMAGE STYLING
   ========================================= */
.seo-image-wrapper {
    margin: 3rem auto;
    text-align: center;
    width: 100%;
}

.seo-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    display: inline-block;
}

.seo-caption {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.van-image-container {
    width: 100%;
    text-align: center;
}
.van-image-container img {
    max-width: 800px !important;
    width: 100%;
    margin: 0 auto;
    display: block;
    height: auto;
}

/* Form */
.form-section { background: var(--light); }
.form-box { max-width: 600px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid var(--border); }
.form-box h2 { margin-bottom: 10px; }
.form-box p { margin-bottom: 30px; color: #666; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.form-group input[type="text"], .form-group input[type="tel"], .form-group textarea { width: 100%; padding: 14px; border: 1px solid #ccc; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1); }
.checkbox-group { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-group input { margin-top: 5px; }
.feedback { margin-top: 20px; text-align: center; font-weight: 600; padding: 10px; border-radius: 4px; }
.feedback.error { background: #fee2e2; color: #b91c1c; }
.feedback.success { background: #dcfce7; color: #15803d; }

/* FAQs */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.faq-item p { color: #555; font-size: 1.05rem; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-brand p { color: #aaa; margin-top: 15px; }
.footer h3, .footer h4 { margin-bottom: 25px; color: var(--secondary); font-size: 1.3rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bbb; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.copy { font-size: 0.9rem; color: #888; border-top: 1px solid #333; padding-top: 30px; }

/* Floating Elements & Utils */
.whatsapp-float { position: fixed; bottom: 90px; right: 25px; background: var(--whatsapp); color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3); z-index: 1000; transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); color: white; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 2000; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
.cookie-banner p { font-size: 0.95rem; margin-right: 30px; color: #ccc; }

/* Sticky Mobile Bar */
.mobile-sticky-cta {
    display: none;
}

@media(max-width: 768px) {
    .d-none-mobile { display: none !important; }
    
    .hero-phone-massive a {
        font-size: 2.8rem;
    }
    .hero h1 { font-size: 2.3rem; }
    .hero-intro { font-size: 1.1rem; }
    .page-header h1 { font-size: 2rem; }
    .page-content { padding: 30px 20px; }
    .form-box { padding: 30px 20px; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 15px; bottom: 70px; }
    .cookie-banner p { margin-right: 0; }
    .trust-micro { gap: 10px; flex-direction: column; align-items: center; font-size: 0.9rem; }
    
    .btn-xl { width: 100%; font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; width: 100%; gap: 10px; }

    /* Activate sticky bar on mobile */
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        z-index: 9999;
    }
    .mobile-sticky-cta a {
        flex: 1;
        text-align: center;
        padding: 16px 0;
        font-weight: 800;
        font-size: 1.1rem;
        text-transform: uppercase;
        color: #fff;
        text-decoration: none;
    }
    .msc-call { background: var(--primary); }
    .msc-wa { background: var(--whatsapp); color: #fff; }
    
    body { padding-bottom: 70px; }
    .whatsapp-float { bottom: 90px; right: 15px; width: 55px; height: 55px; }
}
