/* --- INICIO: VARIABLES Y RESET --- */
:root {
    --primary-blue: #0b192c; /* Azul oscuro corporativo / Asolvsa */
    --secondary-orange: #ff6b00; /* Naranja industrial vibrante */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #f5f5f5;
    --bg-light: #ffffff;
    --bg-gray: #f9f9f9;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

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

a { text-decoration: none; color: inherit; }
li { list-style: none; }
/* --- FIN: VARIABLES Y RESET --- */


/* --- INICIO: NAVEGACIÓN (HEADER) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(11, 25, 44, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo-container h1 {
    color: var(--text-light);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.logo-container h1 span {
    color: var(--secondary-orange);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

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

.btn-contact-top {
    background-color: var(--secondary-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-contact-top:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}
/* --- FIN: NAVEGACIÓN (HEADER) --- */


/* --- INICIO: SECCIÓN HERO --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(11, 25, 44, 0.8), rgba(11, 25, 44, 0.8)), url('../images/hero-bg-placeholder.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding-top: 80px; /* offset navbar */
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    background-color: var(--secondary-orange);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: #e65c00;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}
/* --- FIN: SECCIÓN HERO --- */


/* --- INICIO: COMPONENTES UI (TARJETAS / SECCIONES) --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-orange);
    margin: 10px auto 0;
}

.container {
    padding: 5rem 5%;
}

.bg-gray-section {
    background-color: var(--bg-gray);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--secondary-orange);
}

.card h3 {
    margin: 1rem 0;
    color: var(--primary-blue);
}
/* --- FIN: COMPONENTES UI (TARJETAS / SECCIONES) --- */


/* --- INICIO: FORMULARIO Y CONTACTO --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-orange);
}

.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--secondary-orange);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    border: none;
}
/* --- FIN: FORMULARIO Y CONTACTO --- */


/* --- INICIO: FOOTER Y BOTONES FLOTANTES --- */
footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 5%;
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
}

.admin-trigger {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    opacity: 0.1; /* CASI INVISIBLE, SECRETO */
    cursor: pointer;
    z-index: 1000;
}

.admin-trigger:hover {
    opacity: 0.5; /* Se hace un poco más visible al pasar el mouse por si acaso */
}
/* --- FIN: FOOTER Y BOTONES FLOTANTES --- */

/* Responsive básico */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Ocultar menú en móviles por ahora (requeriría un menú hamburguesa) */
    .hero-content h2 { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}
