/* HERO */
.social-hero {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('../images/ecologia.jpg') center/cover no-repeat;
    padding: 120px 20px;
    color: #fff;
}

.social-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 3px;
}

.social-subtitle {
    margin-top: 20px;
    font-style: italic;
    font-size: 1.2rem;
    opacity: .9;
}

/* INTRO */
.social-intro {
    padding: 60px 20px;
    text-align: center;
    font-size: 1.1rem;
    max-width: 900px;
    margin: auto;
}

/* SECTION TITLES */
.section-title{
    font-family:'Raleway',sans-serif;
    font-weight:800;
    font-size:2.8rem;

    color:#fad201;
    letter-spacing:4px;
    text-transform:uppercase;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 12px rgba(0,0,0,.45);

    text-align:center;
    margin-bottom:60px;
}


/* CARDS */
.social-card {
    text-align: center;
    padding: 20px;
    transition: .4s ease;
}

.social-card img {
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform .4s ease;
}

.social-card:hover img {
    transform: scale(1.05);
}

.social-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* AMBIENTAL */
.social-ambiental {
    background: #f8f9fa;
    padding: 80px 20px;
}

.ambiental-img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

/* IMPACT */
.social-impact {
    padding: 80px 20px;
    background: #111;
    color: #fff;
}

.impact-box {
    padding: 30px;
}

.impact-box h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fad201;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   IMPACTO ESTILO SKYLIGHT
=================================*/

.impacto-skylight{
    background:#0c0c0c;
    padding:100px 20px;
}

.titulo-impacto{
    font-family:'Raleway',sans-serif;
    font-size:3rem;
    font-weight:800;

    color:#fad201;
    letter-spacing:4px;
    text-transform:uppercase;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 10px rgba(0,0,0,.45);

    text-align:center;
}

/* cajas */
.impacto-box{
    transition:.4s ease;
}

.impacto-box:hover{
    transform:translateY(-6px);
}

/* números */
.impacto-numero{
    font-family:'Raleway',sans-serif;
    font-size:3.5rem;
    font-weight:800;

    color:#fad201;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 12px rgba(0,0,0,.45);
}

/* texto debajo */
.impacto-texto{
    font-family:'Open Sans',sans-serif;
    font-size:0.9rem;
    color:#ffffff;
    letter-spacing:1px;
    margin-top:10px;
}

/* animación elegante */
.anim-impacto{
    opacity:0;
    transform:translateY(40px);
    transition:all .9s ease;
}

.anim-impacto.show-impacto{
    opacity:1;
    transform:translateY(0);
}

/* ===============================
   COMPROMISO SOCIAL
=================================*/

.compromiso-skylight{
    padding:90px 20px;
    background:#f8f9fa;
}

.titulo-compromiso{
    font-family:'Raleway',sans-serif;
    font-size:2.8rem;
    font-weight:800;

    color:#fad201;
    letter-spacing:4px;
    text-transform:uppercase;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 10px rgba(0,0,0,.45);

    text-align:center;
}

.compromiso-box{
    text-align:center;
    padding:30px 25px;
    transition:.35s ease;
}

.compromiso-box:hover{
    transform:translateY(-8px);
}

.compromiso-icon{
    width:70px;
    margin-bottom:20px;
}

.compromiso-box h4{
    font-family:'Raleway',sans-serif;
    font-weight:800;
    font-size:1.1rem;
    text-transform:uppercase;
    margin-bottom:12px;
}

.compromiso-box p{
    font-family:'Open Sans',sans-serif;
    font-size:0.95rem;
    line-height:1.7;
    color:#333;
}

/* animación */
.anim-compromiso{
    opacity:0;
    transform:translateY(30px);
    transition:all .9s ease;
}

.anim-compromiso.show-compromiso{
    opacity:1;
    transform:translateY(0);
}

/* ===========================
   COMPROMISO ENERGÍA
===========================*/

.compromiso-energia{
    background:#0b0b0b;
    padding:100px 20px;
    position:relative;
    overflow:hidden;
}

/* efecto luz eléctrica de fondo */
.compromiso-energia::before{
    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:radial-gradient(circle, rgba(250,210,1,0.15) 0%, rgba(0,0,0,0) 70%);
    top:-150px;
    left:-150px;
    animation:energiaGlow 6s infinite alternate ease-in-out;
}

@keyframes energiaGlow{
    from{ transform:scale(1); opacity:.6; }
    to{ transform:scale(1.2); opacity:1; }
}

/* TITULO PRINCIPAL */
.titulo-compromiso-energia{
    font-family:'Raleway',sans-serif;
    font-size:3rem;
    font-weight:800;

    color:#fad201;
    letter-spacing:4px;
    text-transform:uppercase;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 15px rgba(250,210,1,.5);

    text-align:center;
    margin-bottom:70px;
}

/* BLOQUES */
.bloque-compromiso{
    margin-bottom:60px;
    padding:40px 50px;

    border-left:6px solid #fad201;

    background:#ffffff;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

    position:relative;
    overflow:hidden;

    transition:.4s ease;
}

.bloque-compromiso::before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    background:radial-gradient(circle, rgba(250,210,1,.15) 0%, rgba(0,0,0,0) 70%);
    top:-100px;
    right:-100px;
    transition:.4s ease;
}

.bloque-compromiso:hover{
    transform:translateX(10px);
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.bloque-compromiso:hover::before{
    transform:scale(1.3);
}


/* SUBTITULOS */
.bloque-compromiso h4{
    font-family:'Raleway',sans-serif;
    font-weight:800;
    font-size:1.9rem;

    color:#fad201;
    letter-spacing:2px;
    text-transform:uppercase;

    text-shadow:
        3px 3px 0 #000,
        6px 6px 12px rgba(0,0,0,.45);

    margin-bottom:18px;
}



/* TEXTO */
.bloque-compromiso p{
    font-family:'Open Sans',sans-serif;
    font-size:1.05rem;
    color:#333;
    line-height:1.9;
}



/* ANIMACION ENTRADA */
.anim-energia{
    opacity:0;
    transform:translateY(40px);
    transition:all 1s ease;
}

.anim-energia.show-energia{
    opacity:1;
    transform:translateY(0);
}

/* REFLEJO SUAVE EN TITULOS */
.section-title,
.bloque-compromiso h4{
    position:relative;
    overflow:hidden;
}

.section-title::after,
.bloque-compromiso h4::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:80%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.5) 50%,
        transparent 100%
    );
    transform:skewX(-25deg);
    animation:reflejo 6s infinite;
}

@keyframes reflejo{
    0%{ left:-120%; }
    50%{ left:120%; }
    100%{ left:120%; }
}

.bloque-compromiso{
    animation:flotar 6s ease-in-out infinite alternate;
}

@keyframes flotar{
    from{ transform:translateY(0px); }
    to{ transform:translateY(-6px); }
}

.compromiso-skylight{
    position:relative;
}

.compromiso-skylight::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle, rgba(250,210,1,.12) 0%, rgba(0,0,0,0) 70%);
    top:-150px;
    left:-150px;
    animation:energiaPulse 8s infinite alternate ease-in-out;
}

@keyframes energiaPulse{
    from{ transform:scale(1); opacity:.5; }
    to{ transform:scale(1.2); opacity:.9; }
}

.anim-energia{
    opacity:0;
    transform:translateY(60px) scale(.98);
    transition:all 1s cubic-bezier(.22,1,.36,1);
}

.anim-energia.show-energia{
    opacity:1;
    transform:translateY(0) scale(1);
}

.bloque-compromiso{
    position:relative;
}

.bloque-compromiso::after{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:linear-gradient(
        to bottom,
        #fad201,
        #fff,
        #fad201
    );
    opacity:.3;
    animation:bordeGlow 4s infinite linear;
}

@keyframes bordeGlow{
    0%{ filter:brightness(1); }
    50%{ filter:brightness(1.8); }
    100%{ filter:brightness(1); }
}
