/* app/static/css/landing/sectores.css */
.sectores-section {
    padding: 6rem 0;
    /* Alternating background: Deep Navy to contrast with the dark gallery */
    background-color: var(--bg-card, #111827);
    position: relative;
    overflow: hidden;
}

.sectores-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sectores-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light, #ffffff);
    text-align: center;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sectores-grid {
    display: grid;
    /* Exactly 4 columns on desktop for perfect symmetry with 8 items */
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1100px) {
    .sectores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sectores-grid {
        grid-template-columns: 1fr;
    }
}

.sector-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan, #00f2fe);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.sector-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #000; /* fallback */
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.sector-card:hover .sector-icon {
    border-color: var(--accent-cyan, #00f2fe);
    transform: scale(1.05);
}

.sector-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Natural image colors, no dark filters applied */
}

.sector-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light, #ffffff);
    margin: 0 0 1rem 0;
    transition: color 0.3s ease;
}

.sector-card:hover h3 {
    color: var(--accent-cyan, #00f2fe);
}

.sector-card p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}
