:root {
    /* Paleta inspirada en el logo (Industrial / Alta tecnología) */
    --primary: #FF8C00; /* Naranja fuego / chispa */
    --primary-dark: #cc7000;
    --secondary: #3b82f6; /* Azul antorcha/láser */
    --bg-dark: #0a0a0a; /* Negro profundo */
    --bg-surface: #171717; /* Gris muy oscuro */
    --bg-surface-light: #262626; /* Gris carbón */
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

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

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* --- Navegación --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo img {
    height: 60px; /* Ajusta según el tamaño de tu logo */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-left: 30px;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-contacto {
    background: var(--secondary);
    padding: 8px 20px;
    border-radius: 4px;
    color: white;
}
.btn-contacto:hover {
    background: #2563eb;
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Servicios --- */
.servicios {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary);
    margin: 15px auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-surface);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--secondary);
    background-color: var(--bg-surface-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
}

.icon-wrapper i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Banner --- */
.trust-banner {
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.9)), url('https://images.unsplash.com/photo-1563804860292-127e268a7be7?auto=format&fit=crop&q=80&w=2000') center/cover fixed;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.trust-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Contacto Formulario --- */
.contacto {
    padding: 100px 0;
    background-color: var(--bg-surface-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-surface);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    color: var(--primary);
    width: 30px;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --- Footer --- */
footer {
    background-color: #050505;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-info p, .footer-contact p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact i {
    color: var(--primary);
    width: 25px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* --- Animaciones Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 0;
        display: block;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .btn-contacto {
        background: transparent;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
