:root {
    --azul-oscuro: #0f4c75;
    --azul-tech: #3282b8;
    --verde-sust: #1b5e20;
    --blanco: #ffffff;
    --gris-claro: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #333; overflow-x: hidden; }

/* Navegación */
header {
    background: var(--blanco);
    padding: 0.8rem 5%;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 55px; width: auto; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav ul li a { text-decoration: none; color: var(--azul-oscuro); font-weight: 600; font-size: 0.9rem; }

/* Hero Section con Banner a la Izquierda */
.hero {
    height: 100vh;
    background-image: url('img/banner-doja.png'); /* Tu imagen adjunta */
    background-size: cover;
    background-position: left center; /* Las líneas se quedan a la izquierda */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Empuja el texto a la derecha */
    padding: 0 10%;
    position: relative;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    text-align: right; /* Alinea texto a la derecha para contraste */
}

.hero-content h1 { font-size: 5rem; color: var(--azul-oscuro); font-weight: 900; line-height: 1; }
.hero-content .subtitle { font-size: 2rem; color: var(--verde-sust); margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.1rem; color: #444; margin-bottom: 2rem; }

/* Botones */
.btn-primary {
    background: var(--azul-oscuro); color: white; padding: 1rem 2rem;
    text-decoration: none; border-radius: 50px; font-weight: bold; margin-left: 1rem;
}
.btn-secondary {
    border: 2px solid var(--azul-oscuro); color: var(--azul-oscuro); padding: 1rem 2rem;
    text-decoration: none; border-radius: 50px; font-weight: bold;
}

/* Tarjetas y Grid */
.features { padding: 5rem 10%; background: var(--gris-claro); }
.section-title { text-align: center; margin-bottom: 4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { 
    background: white; padding: 3rem 2rem; border-radius: 20px; 
    text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.card:hover { transform: translateY(-10px); }
.icon { font-size: 3rem; margin-bottom: 1rem; }

footer { background: var(--azul-oscuro); color: white; text-align: center; padding: 3rem; }

/* Soluciones de Impacto */
.solutions { padding: 6rem 10%; background: #fff; }
.solutions-container { display: flex; flex-direction: column; gap: 6rem; margin-top: 3rem; }

.solution-item { display: flex; align-items: center; gap: 4rem; }
.solution-item.reverse { flex-direction: row-reverse; }

.sol-info { flex: 1; }
.sol-info .tag { 
    background: var(--verde-sust); color: white; padding: 4px 12px; 
    border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase;
}
.sol-info h3 { font-size: 2.2rem; margin: 1rem 0; color: var(--azul-oscuro); }
.sol-info p { color: #666; font-size: 1.1rem; }

.sol-img { 
    flex: 1.2; height: 400px; border-radius: 25px; 
    background-color: #eee; background-size: cover; background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Puesta en Marcha */
.onboarding { padding: 6rem 10%; background: var(--gris-claro); }
.steps-container { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 2rem; margin-top: 3rem; 
}

.step-card { 
    background: white; padding: 2.5rem; border-radius: 20px; 
    position: relative; transition: 0.3s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.step-num { 
    font-size: 3rem; font-weight: 900; color: rgba(15, 76, 117, 0.1); 
    position: absolute; top: 15px; right: 20px; 
}
.step-card h4 { color: var(--azul-oscuro); margin-bottom: 1rem; font-size: 1.3rem; }
.step-card p { color: #777; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 900px) {
    .solution-item, .solution-item.reverse { flex-direction: column; text-align: center; gap: 2rem; }
    .sol-img { width: 100%; height: 250px; }
}