/* Variables de Color - Paleta Arquitectónica */
:root {
    --primary: #0f172a;      /* Azul Acero Oscuro (Elegancia/Corporativo) */
    --secondary: #334155;    /* Gris Pizarra (Estructura) */
    --accent: #0ea5e9;       /* Azul Cielo (Vidrio/Reflejo) */
    --aluminum: #e2e8f0;     /* Gris Aluminio Claro */
    --concrete: #f8fafc;     /* Blanco Humo */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    background-color: var(--concrete);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

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

.btn-nav {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 2px;
}

.btn-nav:hover {
    background-color: var(--accent);
}

/* Burger Menu (Mobile) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botones Generales */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0284c7;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Secciones Generales */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

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

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto;
}

/* Cards de Beneficios */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--aluminum);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--accent);
}

.icon-large {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Sección Técnica (Split Layout) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-list {
    margin-top: 30px;
}

.tech-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.tech-list i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

/* Sinergia */
#sinergia {
    background-color: var(--accent);
    color: var(--white);
    text-align: center;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.btn-light {
    background-color: var(--white);
    color: var(--accent);
}

.btn-light:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%);
}

.gallery-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Formulario */
.bg-dark h2 { color: var(--white); }

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info i { color: var(--accent); }

.architectural-form {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--aluminum);
    border-radius: 2px;
    font-family: inherit;
    transition: var(--transition);
    background-color: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.full-width { width: 100%; }

/* Footer */
footer {
    background-color: #0b1120;
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Botones Flotantes */
.float-btn {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.float-btn:hover {
    transform: translateY(-5px);
}

.whatsapp {
    bottom: 20px;
    background-color: #25D366;
    color: white;
}

.scroll-up {
    bottom: 80px;
    background-color: var(--primary);
    color: white;
    opacity: 0;
    visibility: hidden;
}

.scroll-up.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    
    .nav-links li { opacity: 0; }
    
    .burger { display: block; }
    
    .nav-active { transform: translateX(0%); }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    .split-layout { grid-template-columns: 1fr; }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-outline { margin-left: 0; }
    
    .form-row { flex-direction: column; gap: 0; }
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}