/* ==========================================================================
   EDIFICA - CONSTRUCTORA CORPORATIVA DEMO
   ========================================================================== */

:root {
    --primary: #0c1b2a; /* Navy Blue */
    --secondary: #ff5500; /* Safety Orange */
    --bg-light: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4 { color: var(--primary); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-large { padding: 16px 32px; font-size: 1.1rem; }

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

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

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact { display: flex; gap: 20px; }
.top-contact i { color: var(--secondary); margin-right: 5px; }

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon { color: var(--secondary); }

.nav { display: flex; gap: 30px; font-weight: 500; }
.nav-link:hover { color: var(--secondary); }

/* Hero */
.hero {
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
}

.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(12, 27, 42, 0.9) 0%, rgba(12, 27, 42, 0.4) 100%);
    z-index: -1;
}

.hero-content { color: #fff; max-width: 700px; }

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.trust-badge i { color: var(--secondary); }

.hero-title { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 20px; }
.hero-actions .btn-outline { color: #fff; border-color: #fff; }

/* Features */
.features {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card { text-align: center; }
.feature-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }
.feature-card h3 { color: #fff; margin-bottom: 10px; }
.feature-card p { opacity: 0.8; font-size: 0.95rem; }

/* Services */
.section { padding: 100px 0; background: var(--bg-light); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.service-card img { width: 100%; height: 300px; object-fit: cover; }

.service-content { padding: 30px; }
.service-content h3 { margin-bottom: 15px; font-size: 1.5rem; }
.service-content p { color: var(--text-muted); margin-bottom: 20px; }

.service-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-link:hover { gap: 12px; }

/* CTA Banner */
.cta-banner { background: var(--primary); color: #fff; padding: 80px 0; }
.cta-banner-inner { display: flex; justify-content: space-between; align-items: center; }
.cta-text h2 { color: #fff; font-size: 2.5rem; margin-bottom: 10px; }
.cta-text p { opacity: 0.8; max-width: 600px; }

/* Footer */
.footer { background: #07111b; color: #fff; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; color: #aaa; display: flex; align-items: center; gap: 10px; }
.footer-col ul li i { color: var(--secondary); width: 20px; }
.footer-col a:hover { color: #fff; }
.brand-col p { color: #aaa; margin-top: 20px; max-width: 300px; }

/* Responsive */
@media (max-width: 900px) {
    .nav { display: none; }
    .features-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cta-banner-inner { flex-direction: column; text-align: center; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
}
@media (max-width: 600px) {
    .hero-actions { flex-direction: column; }
}
