/* Paleta Eléctrica Tenus Ingeniería */
:root {
    --electric-blue: #002d5a;
    --electric-yellow: #FFD700; /* Color Energía/Advertencia */
    --green-action: #25d366;
    --bg-white: #ffffff;
    --bg-light: #f1f3f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* Header */
header { background: #fff; padding: 10px 0; border-bottom: 4px solid var(--electric-yellow); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { display: block; width: 223px; height: 59px; }
.phone-link { text-decoration: none; color: var(--electric-blue); font-weight: bold; margin-right: 15px; }
.phone-link i { color: var(--electric-yellow); }
.btn-cta-small { background: var(--electric-blue); color: #fff; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-weight: bold; }

/* Hero Eléctrico con Imagen de Transformador/Planta */
.hero { 
    position: relative;
    padding: 130px 0;
    background-image: url('electrico-lp1.jpg'); /* Imagen de ingeniería eléctrica */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

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

.hero h1 { font-size: 3.4rem; margin-bottom: 20px; text-transform: uppercase; font-weight: 900; }
.hero p { font-size: 1.3rem; margin-bottom: 40px; max-width: 850px; margin: 0 auto 40px; color: #e0e0e0; }
.btn-main { background: var(--electric-yellow); color: #000; padding: 18px 35px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block; margin: 10px; transition: 0.3s; }
.btn-main:hover { background: #fff; transform: scale(1.05); }
.btn-sub { border: 2px solid #fff; color: #fff; padding: 16px 35px; text-decoration: none; border-radius: 5px; display: inline-block; margin: 10px; font-weight: bold; }

.hero-badges { margin-top: 40px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-badges span { border: 1px solid var(--electric-yellow); color: var(--electric-yellow); padding: 8px 20px; border-radius: 4px; font-size: 0.9rem; background: rgba(0,0,0,0.3); }

/* Servicios */
.services { padding: 90px 0; background: var(--bg-white); }
.section-title { text-align: center; margin-bottom: 60px; font-size: 2.6rem; color: var(--electric-blue); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { padding: 50px 30px; border-bottom: 5px solid var(--electric-blue); text-align: center; border-radius: 8px; transition: 0.3s; background: var(--bg-light); }
.card:hover { border-bottom-color: var(--electric-yellow); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.card i { font-size: 55px; color: var(--electric-blue); margin-bottom: 25px; }
.card h3 { margin-bottom: 15px; font-size: 1.6rem; }

/* Contacto Eléctrico */
.contact-section { 
    position: relative;
    padding: 100px 0;
    background-image: url('electrico-lp2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 20, 40, 0.95); 
    z-index: 1;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.points li { margin-bottom: 20px; font-size: 1.2rem; list-style: none; }
.points i { color: var(--electric-yellow); margin-right: 12px; }

.form-container { background: #fff; padding: 45px; border-radius: 8px; z-index: 2; position: relative; }
.form-container input, .form-container textarea { width: 100%; padding: 14px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.btn-submit { width: 100%; background: var(--electric-blue); color: #fff; border: none; padding: 18px; font-size: 1.2rem; font-weight: bold; cursor: pointer; border-radius: 4px; transition: 0.3s; }
.btn-submit:hover { background: var(--electric-yellow); color: #000; }

/* Marcas y Footer */
.trust { padding: 40px 0; background: #fff; border-bottom: 1px solid #eee; text-align: center; color: #999; }
.logos-flex { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 20px; font-weight: 800; font-size: 1.4rem; filter: grayscale(100%); opacity: 0.5; }
footer { text-align: center; padding: 30px; background: #050a12; color: #445566; font-size: 0.8rem; }

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: var(--green-action); color: #fff; padding: 15px 30px; border-radius: 50px; text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: bold; z-index: 2000; box-shadow: 0 5px 20px rgba(0,0,0,0.4); }

@media (max-width: 768px) { 
    .contact-grid { grid-template-columns: 1fr; } 
    .hero h1 { font-size: 2.4rem; } 
    .whatsapp-float span { display: none; }
}