:root {
    --dark-blue: #0b111a; 
    --accent-blue: #1b2d3b;
    --silver: #d1d5db;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* HEADER */
header {
    background: var(--dark-blue);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    mix-blend-mode: screen; 
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    border-radius: 5px;
}

/* HERO */
#hero {
    background: linear-gradient(to bottom, var(--dark-blue), rgba(11, 21, 31, 0.7)), 
                url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--silver);
    color: var(--dark-blue);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
}

/* SERVICIOS */
.section-title {
    text-align: center;
    margin: 4rem 0 2.5rem;
    color: var(--dark-blue);
    font-size: 2.2rem;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 6px solid var(--silver);
    text-align: center;
    transition: 0.4s;
}

.service-card:hover { transform: translateY(-10px); border-top-color: var(--dark-blue); }

.service-icon { font-size: 3rem; color: var(--dark-blue); margin-bottom: 1.5rem; }

/* NOSOTROS (ESTILO CENTRADO) */
.nosotros-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 5rem 0;
}

.section-title-left {
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.nosotros-text { flex: 1; }
.nosotros-image { flex: 1; display: flex; justify-content: center; }

.nosotros-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 15px 15px 0px var(--silver);
}

.nosotros-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.nosotros-list li { margin-bottom: 12px; font-weight: bold; color: var(--dark-blue); display: flex; align-items: center; }
.nosotros-list i { color: #25d366; margin-right: 12px; }

/* FORMULARIO (ESTILO CENTRADO) */
.form-container {
    max-width: 700px;
    margin: 0 auto 5rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit;
}

.btn-submit {
    width: 100%; background: var(--dark-blue); color: var(--white);
    padding: 15px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
}

/* FOOTER Y WHATSAPP */
footer { background: var(--dark-blue); color: var(--white); text-align: center; padding: 3rem 0; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000; }
.whatsapp-float img { width: 35px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 1rem; }
    nav ul { justify-content: center; flex-wrap: wrap; }
    .nosotros-flex { flex-direction: column; text-align: center; padding: 3rem 0; }
    .section-title-left { text-align: center; }
    .nosotros-list { display: inline-block; text-align: left; }
    .nosotros-image { order: -1; margin-bottom: 2rem; }
    .nosotros-image img { max-width: 90%; }
    .form-container { width: 95%; padding: 2rem 1.5rem; }
}





