/* --- SECTORES PAGE --- */

/* HERO SECTION (Figma Style Grid) */
.sectores-hero {
    padding: 150px 0 100px;
    background-color: #1b1b1b;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.sh-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.sh-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.sh-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.sh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.sh-card {
    background-color: #222;
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align text to left inside card */
    min-height: 160px;
}

.sh-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sh-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #888;
    margin: 0;
    transition: color 0.3s;
}

.sh-card:hover {
    background-color: var(--neon, #50E3C2);
    border-color: var(--neon, #50E3C2);
    transform: translateY(-5px);
}

.sh-card:hover h3, .sh-card:hover p {
    color: #1b1b1b;
}

/* SPACEX STYLE FULLSCREEN SECTIONS */
.spacex-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end; /* Align content to bottom */
    padding: 80px 40px;
    overflow: hidden;
    scroll-snap-align: start; /* Optional for smooth snap */
}

/* Background images mapping */
#financieros { background-image: url('../img/bg-finanzas.jpg'); }
#energia { background-image: url('../img/bg-energia.jpg'); }
#agro { background-image: url('../img/bg-agro.jpg'); }
#organizaciones { background-image: url('../img/bg-orgs.jpg'); }
#geopolitica { background-image: url('../img/Sin-titulo-2-1.png'); }
#educacion { background-image: url('../img/bg-educacion.jpg'); }

.spacex-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.spacex-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
    margin-bottom: 40px; /* Space from bottom edge */
    padding-left: 5%;
}

.spacex-title {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.spacex-desc {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 300;
    max-width: 650px;
}

.spacex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
}

.spacex-btn:hover {
    background: #fff;
    color: #1b1b1b;
}

@media (max-width: 768px) {
    .sh-title { font-size: 40px; }
    .spacex-title { font-size: 36px; }
    .spacex-desc { font-size: 16px; }
    .spacex-content { padding-left: 0; }
}

/* Force white logo on dark pages */
.logo img.logo-img {
    filter: brightness(0) invert(1) !important;
}
