/* --- VARIABLES --- */
:root {
    --teal: #00D4FF;
    --dark-teal: #1a5f69;
    --accent: #00d4ff;
    --white: #ffffff;
    --light-bg: #f8fafb;
    --text-dark: #2c3e50;
    --shadow: 0 15px 35px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 45px rgba(35, 128, 141, 0.15);
}

/* --- RESET & BASE --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--text-dark); 
    background-color: var(--light-bg); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

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

/* --- NAVEGACIÓN --- */
.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 25px 0; 
    z-index: 1000; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

.navbar.sticky-active { 
    background: rgba(255, 255, 255, 0.98); 
    padding: 12px 0; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    backdrop-filter: blur(10px); 
}

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

/* Lógica Doble Logo */
.logo a { display: block; height: 50px; position: relative; width: 180px; }
.logo img { height: 100%; width: auto; transition: 0.4s ease; position: absolute; left: 0; }
.logo-dark { opacity: 0; }
.logo-light { opacity: 1; }

.navbar.sticky-active .logo-light { opacity: 0; }
.navbar.sticky-active .logo-dark { opacity: 1; }

.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li { margin-left: 30px; }
.nav-menu a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}

.navbar.sticky-active .nav-menu a { color: var(--text-dark); }

.cta-nav { 
    background: var(--teal); 
    padding: 10px 25px; 
    border-radius: 50px; 
    color: var(--white) !important; 
    box-shadow: 0 4px 15px rgba(35, 128, 141, 0.3);
}

/* --- HERO SECTION --- */
.hero { 
    height: 100vh; 
    background: url('../img/header_1.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    position: relative; 
    color: var(--white); 
}

.hero-overlay { 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(135deg, rgba(35, 128, 141, 0.9) 0%, rgba(26, 95, 105, 0.7) 100%); 
}

.hero-inner { position: relative; z-index: 5; }

.top-tag { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    background: rgba(255,255,255,0.2); 
    padding: 6px 15px; 
    border-radius: 5px; 
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 3.8rem; 
    margin-bottom: 20px; 
    line-height: 1.1; 
}

.hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; opacity: 0.9; }

.btn { padding: 16px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; margin-right: 15px; }
.btn-primary { background: var(--teal); color: var(--white); border: 2px solid var(--teal); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- SECCIÓN QUIÉNES SOMOS --- */
.about-section { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.top-tag-alt { color: var(--teal); background: rgba(35,128,141,0.1); padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.about-content h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; margin: 20px 0; color: var(--dark-teal); }
.about-mini-card { background: var(--light-bg); padding: 30px; border-radius: 15px; margin-bottom: 25px; border-left: 6px solid var(--dark-teal); transition: 0.3s; }
.about-mini-card:hover { transform: translateX(10px); }
.about-mini-card h3 { color: var(--dark-teal); margin-bottom: 10px; font-family: 'Montserrat', sans-serif; display: flex; align-items: center; gap: 12px; }

/* --- CARDS UNIFICADAS (Servicios y Propuesta) --- */
.services, .value-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.underline { width: 70px; height: 4px; background: var(--teal); margin: 15px auto; border-radius: 2px; }

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

.card { 
    background: var(--white); 
    padding: 50px 35px; 
    border-radius: 25px; 
    box-shadow: var(--shadow); 
    transition: all 0.4s ease; 
    text-align: center; 
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover { 
    transform: translateY(-15px); 
    box-shadow: var(--shadow-hover); 
}

/* Efecto Círculo de Icono */
.card-icon-circle { 
    width: 85px; height: 85px; background: rgba(35, 128, 141, 0.06); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 30px; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.card-icon-circle i { font-size: 2.2rem; color: var(--teal); transition: 0.3s; }

.card:hover .card-icon-circle { background: var(--teal); transform: rotateY(180deg); }
.card:hover .card-icon-circle i { color: var(--white); }

.card h3 { font-family: 'Montserrat', sans-serif; margin-bottom: 20px; font-size: 1.4rem; }
.card p { color: #666; font-size: 0.95rem; }
.card ul { list-style: none; text-align: left; margin-top: 20px; }
.card li { font-size: 0.9rem; margin-bottom: 10px; color: #555; padding-left: 20px; position: relative; }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: bold; }

/* Botón Especial de Cotización */
.services-action { text-align: center; margin-top: 50px; }
.btn-quote { 
    display: inline-block; background: var(--teal); color: var(--white); 
    padding: 18px 45px; border-radius: 50px; text-decoration: none; 
    font-weight: 700; transition: 0.3s; box-shadow: 0 10px 25px rgba(35, 128, 141, 0.2); 
}
.btn-quote:hover { background: var(--dark-teal); transform: translateY(-3px); }

/* --- SECCIÓN CONTACTO PREMIUM --- */
.contact-area { padding: 120px 0; background-color: var(--light-bg); }
.contact-card-main { 
    display: flex; background: var(--white); border-radius: 35px; overflow: hidden; 
    box-shadow: 0 25px 70px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.03); 
}

.contact-details-side { 
    flex: 1; background: var(--dark-teal); color: var(--white); padding: 70px 50px; 
    display: flex; flex-direction: column; justify-content: center; 
}

.contact-details-side h3 { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; margin-bottom: 30px; }

.info-item { display: flex; align-items: center; margin-bottom: 30px; font-size: 1.05rem; }
.info-item i { 
    font-size: 1.2rem; margin-right: 20px; color: var(--accent); 
    background: rgba(255,255,255,0.12); width: 50px; height: 50px; 
    display: flex; align-items: center; justify-content: center; border-radius: 15px; 
}

.social-icons-row { display: flex; gap: 15px; margin-top: 20px; }
.social-icons-row a { 
    color: var(--white); background: rgba(255,255,255,0.15); width: 48px; height: 48px; 
    display: flex; align-items: center; justify-content: center; border-radius: 50%; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-decoration: none; font-size: 1.2rem; 
}
.social-icons-row a:hover { background: var(--white); color: var(--teal); transform: translateY(-5px); }

.contact-form-side { flex: 1.5; padding: 70px; background: var(--white); }
.contact-form-side form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-side input, .contact-form-side textarea { 
    width: 100%; padding: 18px 22px; border: 2px solid #f0f2f5; border-radius: 15px; 
    font-family: inherit; font-size: 1rem; transition: 0.3s ease; background: #fafbfc; 
}
.contact-form-side input:focus, .contact-form-side textarea:focus { 
    outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 10px 20px rgba(35, 128, 141, 0.05); 
}

.btn-submit { 
    background: var(--teal); color: var(--white); border: none; padding: 20px; 
    border-radius: 15px; font-weight: 700; font-size: 1.1rem; cursor: pointer; 
    transition: 0.3s ease; margin-top: 10px; box-shadow: 0 10px 25px rgba(35, 128, 141, 0.2); 
}
.btn-submit:hover { background: var(--dark-teal); transform: scale(1.02); }

/* --- FOOTER --- */
footer { background: #1a5f69; padding: 50px 0; text-align: center; }
.copyright { color:var(--white); font-size: 0.9rem; letter-spacing: 1px; }

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .contact-card-main { flex-direction: column; }
    .contact-details-side, .contact-form-side { padding: 50px 30px; }
}