.hero-cinematic {
    position: relative;
    background: linear-gradient(rgba(10, 23, 39, 0.85), rgba(10, 23, 39, 0.95)), url('images/crop-architect-opening-blueprint.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh; 
    min-height: 100dvh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 120px; 
}

@media (min-width: 1024px) {
    .hero-cinematic {
        background-attachment: fixed;
    }
}

.hero-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.badge-solid {
    display: inline-block;
    background-color: rgba(220, 160, 41, 0.15);
    color: var(--primary-gold);
    padding: 8px 20px;
    border: 1px solid var(--primary-gold);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.title-massive {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-gold {
    color: var(--primary-gold);
}

.subtitle-centered {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

/* Botones Industriales */
.btn-group-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-solid-gold, .btn-outline-white {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-solid-gold {
    background-color: var(--primary-gold);
    color: var(--dark-blue);
    border: 2px solid var(--primary-gold);
}

.btn-solid-gold:hover {
    background-color: transparent;
    color: var(--primary-gold);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-outline-white:hover {
    background-color: var(--white-color);
    color: var(--dark-blue);
}

.hero-bottom-cards {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 10;
}

.info-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.highlight-card {
    background-color: var(--primary-gold);
    border-top: 4px solid var(--dark-blue);
}

.highlight-card .icon-box, 
.highlight-card .card-text h4, 
.highlight-card .card-text p {
    color: var(--dark-blue);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.card-text h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.card-text p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

.why-innovative {
    background-color: var(--primary-blue);
    padding-top: 130px; 
    position: relative;
    background: radial-gradient(circle at top, #405e77 0%, var(--primary-blue) 100%);
}

.why-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.gold-badge {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-gold);
    padding: 5px 15px;
    border-radius: 50px;
}

.why-header-center h2 {
    font-size: 2.5rem;
    color: var(--white-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.why-header-center p {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-bottom: 70px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(79, 109, 146, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    /* Optimización de transiciones */
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 160, 41, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(220, 160, 41, 0.05);
}

.bento-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(220, 160, 41, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
    background: var(--primary-gold);
    color: var(--dark-blue);
    transform: scale(1.1) rotate(5deg);
}

.bento-card h3 {
    color: var(--white-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.bento-card p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

.normas-ticker {
    background-color: var(--primary-gold);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 60px;
    border-top: 2px solid var(--dark-blue);
    border-bottom: 2px solid var(--dark-blue);
}

.ticker-label {
    background-color: var(--dark-blue);
    color: var(--primary-gold);
    font-weight: 800;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    box-shadow: 10px 0 20px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scrollTicker 25s linear infinite;
    /* Habilitar aceleración de hardware nativa */
    will-change: transform;
}

.normas-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-content span {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-content span i {
    font-size: 1rem;
    opacity: 0.7;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.projects-carousel-2026 {
    background-color: transparent; 
    padding: 50px 0;
    position: relative;
    /* CAMBIO: Separamos los ejes. Ocultamos el horizontal para que no haya scroll, 
       pero dejamos visible el vertical para que no corte las sombras. */
    overflow-x: hidden; 
    overflow-y: visible; 
}

.carousel-header-clean {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.tech-tag {
    display: inline-block;
    background-color: rgba(220, 160, 41, 0.15);
    color: var(--primary-gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-gold);
}

.title-clean {
    font-size: 3rem;
    color: var(--white-color); 
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.title-clean .text-gold {
    color: var(--primary-gold);
}

.swiper {
    width: 100%;
    /* CAMBIO: Aumentamos el padding inferior de 80px a 130px para darle espacio a la tarjeta activa */
    padding: 10px 0 130px 0;
    /* CAMBIO: Forzamos a que Swiper no recorte los elementos que sobresalen (como la sombra o el borde) */
    overflow: visible !important; 
}

.swiper-slide {
    width: 320px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    filter: grayscale(100%) opacity(0.5);
    transform: scale(0.85);
    transition: filter 0.7s ease, transform 0.7s ease, box-shadow 0.7s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.swiper-slide-active {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 4px var(--primary-gold);
}

.swiper-slide-active img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 25px 20px;
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.swiper-slide-active .slide-overlay {
    bottom: 0;
    opacity: 1;
    transition-delay: 0.2s; 
}

.status-badge {
    background: rgba(10, 23, 39, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.status-badge i { 
    color: var(--primary-gold); 
    font-size: 1.1rem;
}

@media (max-width: 1100px) {
    .title-massive { font-size: 3.2rem; }
}

@media (max-width: 991px) {
    /* Hero */
    .title-massive { font-size: 2.8rem; }
    .hero-cinematic {
        padding-top: 120px;
        padding-bottom: 3rem;
        min-height: auto;
    }
    .hero-bottom-cards {
        position: relative;
        transform: none;
        left: auto;
        bottom: auto;
        margin-top: 4rem;
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
        padding: 0 20px 50px 20px;
    }
    .why-header-center { padding: 0 20px; }
    .ticker-label { display: none; }

    /* Swiper */
    .title-clean { font-size: 2.5rem; }
    .swiper-slide { height: 400px; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 580px) {
    .title-massive { font-size: 2.2rem; }
    .btn-group-center { flex-direction: column; }
    .info-card { flex-direction: column; text-align: center; }
    .title-clean { font-size: 2rem; }
    .swiper-slide { width: 260px; height: 350px; }
}