:root {
    --primary: #003d82;
    --accent: #ffb400;
    --secondary: #28a745;
    --whatsapp: #25d366;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, sans-serif; }
body { line-height: 1.8; color: var(--text-dark); background-color: var(--bg-light); overflow-x: hidden; }

/* Navigation */
header {
    background: var(--white);
    padding: 10px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.logo-box { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 60px; width: auto; margin-right: 12px; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.logo-text span { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
}
nav { display: flex; align-items: center; flex-wrap: wrap; }
nav a {
    margin-left: 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--primary); border-bottom: 2px solid var(--accent); }

/* Services Dropdown */
.nav-dropdown { position: relative; margin-left: 18px; }
.nav-dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle { color: var(--primary); border-bottom: 2px solid var(--accent); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 10px 0;
    z-index: 1001;
}
.nav-dropdown-menu a {
    display: block;
    margin: 0;
    padding: 10px 22px;
    font-size: 0.88rem;
    border-bottom: none !important;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--bg-light);
    color: var(--primary);
    border-bottom: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { font-size: 0.85rem; padding: 12px 20px; }

/* Layout */
section { padding: 60px 8%; }
.container { max-width: 1200px; margin: 0 auto; }
.flex { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.flex > * { flex: 1; min-width: 300px; }
.flex-start { align-items: flex-start; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Images */
.hero-img-container { width: 100%; height: 450px; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img-container { width: 100%; height: 200px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.img-container { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.fit-img, .hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Typography */
h1 { font-size: 3rem; line-height: 1.2; color: var(--primary); margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
h2::after { content: ''; width: 60px; height: 4px; background: var(--accent); position: absolute; bottom: 0; left: 0; }
.text-center h2::after { left: 50%; transform: translateX(-50%); }
.text-center { text-align: center; }
.subtitle { color: var(--secondary); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.lead { max-width: 750px; margin: 0 auto 40px; color: var(--text-light); font-size: 1.05rem; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
}
.btn:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-alt { background: var(--secondary); }
.btn-alt:hover { background: #218838; color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); }

/* Cards */
.card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.card:hover { transform: translateY(-8px); }
.feature-card { padding: 30px; border-top: 4px solid var(--accent); }
.stat-card { text-align: center; padding: 35px 20px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { color: var(--text-light); font-size: 0.95rem; margin-top: 8px; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; }
.process-step { text-align: center; padding: 25px 15px; background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.step-num { width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin: 0 auto 15px; }

/* Testimonials */
.testimonial { background: var(--white); padding: 30px; border-radius: 15px; border-left: 5px solid var(--accent); }
.testimonial-author { margin-top: 15px; font-weight: 700; color: var(--primary); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* FAQ */
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.faq-question { padding: 20px 25px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 25px 20px; color: var(--text-light); display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--primary), #0056b3); color: white; text-align: center; padding: 50px 8%; }
.cta-banner h2 { color: white; }
.cta-banner h2::after { background: var(--accent); left: 50%; transform: translateX(-50%); }

/* Breadcrumb */
.breadcrumb { padding: 15px 8%; background: var(--white); font-size: 0.9rem; color: var(--text-light); border-bottom: 1px solid #eee; }
.breadcrumb a { color: var(--primary); text-decoration: none; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%); color: white; padding: 50px 8%; }
.page-hero h1 { color: white; font-size: 2.5rem; margin-bottom: 15px; }
.page-hero p { opacity: 0.9; max-width: 700px; }

/* Process list */
.process-list { list-style: none; margin-top: 20px; }
.process-list li { margin-bottom: 10px; padding-left: 30px; position: relative; font-weight: 500; }
.process-list li::before { content: '✔'; position: absolute; left: 0; color: var(--secondary); font-weight: bold; }

/* Area tags */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.area-tag { background: var(--white); padding: 8px 18px; border-radius: 50px; font-size: 0.9rem; border: 1px solid #ddd; color: var(--text-dark); }

/* Footer */
footer { background: #1a1a1a; color: #ddd; padding: 60px 8% 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-grid a { color: #bbb; text-decoration: none; display: block; margin-bottom: 8px; transition: 0.3s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 0.9rem; }
.footer-contact { color: var(--accent); font-weight: bold; }

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: 0.3s;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-btn:hover {
    background: #1da851;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; flex-shrink: 0; }
.whatsapp-label { white-space: nowrap; }

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7); }
}

/* Responsive */
@media (max-width: 1024px) {
    nav a { margin-left: 12px; font-size: 0.82rem; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    nav.open { display: flex; }
    nav > a { margin: 8px 0; font-size: 1rem; }
    .nav-dropdown { margin: 8px 0; width: 100%; }
    .nav-dropdown-toggle { font-size: 1rem; display: block; padding: 4px 0; }
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        min-width: auto;
        border-left: 3px solid var(--accent);
        margin-top: 8px;
    }
    .nav-dropdown-menu a { padding: 8px 15px; font-size: 0.95rem; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    header { flex-wrap: wrap; position: relative; }
    .header-cta { width: 100%; justify-content: center; margin-top: 10px; }
    .header-phone { font-size: 0.8rem; padding: 10px 16px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 40px 5%; }
    .hero-img-container, .img-container { height: 280px; }
    .whatsapp-float { bottom: 18px; right: 18px; }
    .whatsapp-btn { padding: 12px 16px; font-size: 0.85rem; }
    .whatsapp-label { display: none; }
    .whatsapp-btn { border-radius: 50%; width: 58px; height: 58px; padding: 0; justify-content: center; }
}

@media (max-width: 480px) {
    .btn { padding: 12px 22px; font-size: 0.88rem; }
    .stat-number { font-size: 2.2rem; }
}
