/* somos.css — Página Somos Gas del Sur */

/* ============================================================
   SECCIÓN 1 — HISTORIA
   ============================================================ */
.somos-historia {
    background: #0eb3f0;
    padding: 0;
    overflow: hidden;
}

.somos-historia-inner {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.historia-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: clamp(200px, 30vw, 340px);
}

.historia-productos-img {
    width: 100%;
    max-width: 420px;
    display: block;
    filter: drop-shadow(0 10px 28px rgba(0,0,0,0.15));
    align-self: flex-end;
}

.historia-right {
    flex: 1;
    position: relative;
    padding: 40px 36px 50px 36px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.historia-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 130px;
}

.historia-badge-img {
    width: 130px;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.25));
}

.historia-titulo {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #075891;
    margin: 0 0 18px;
    padding-right: 150px;
}

.historia-texto {
    padding-right: 150px;
}

.historia-texto p {
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.75;
    margin-bottom: 8px;
}

/* ============================================================
   SECCIÓN 2 — PILARES
   ============================================================ */
.somos-pilares {
    background: #0eb3f0;
    padding: 0 0 40px;
}

.pilares-img-full {
    width: 100%;
    height: auto;
    display: block;
}

.pilares-left {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pilares-numero {
    font-family: var(--font-main);
    font-size: clamp(140px, 20vw, 240px);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    text-shadow: 3px 5px 0 rgba(255,255,255,0.08);
    letter-spacing: -8px;
    user-select: none;
}

.pilares-right {
    flex: 1;
    padding-top: 10px;
}

.pilares-titulo {
    font-family: var(--font-main);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}

.pilares-subtitulo {
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Propano card */
.pilar-propano {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.propano-img {
    width: 100%;
    max-width: 160px;
    border-radius: 10px;
    object-fit: cover;
    height: 100px;
}

.propano-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.propano-label i {
    font-size: 1.8rem;
    color: #2ae06b;
    flex-shrink: 0;
}

.propano-label strong {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-main);
}

.propano-label small {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Worker card */
.pilar-worker {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.worker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 160px;
}

/* 30 minutos */
.pilar-30 {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.pilar-stat {
    position: relative;
    height: 140px;
}

.stat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.pilar-stat-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-main);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
    order: -1;
}

.stat-big {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 700;
    margin-top: -4px;
}

/* 24 horas */
.pilar-24 {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.pilar-badge-24 {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0eb3f0, #061178);
    border: 3px solid #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.badge-24-num {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.badge-24-unit {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.pilar-24-label {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

/* ============================================================
   SECCIÓN 3 — MISIÓN Y VISIÓN
   ============================================================ */
.somos-mision {
    background: #fff;
    padding: 80px 0;
}

.somos-mision-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mision-textos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.mision-titulo {
    font-family: var(--font-main);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #0eb3f0;
    margin: 0 0 12px;
    position: relative;
    padding-bottom: 10px;
}

.mision-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0eb3f0, #061178);
    border-radius: 2px;
}

.mision-bloque p {
    font-family: var(--font-main);
    font-size: 1rem;
    color: #2a3a50;
    line-height: 1.75;
}

.mision-imagen {
    flex: 0 0 40%;
}

.mision-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   SECCIÓN 4 — VALORES
   ============================================================ */
.somos-valores {
    background: linear-gradient(160deg, #0a4f89 0%, #061178 100%);
    padding: 80px 0;
}

.valores-titulo {
    font-family: var(--font-main);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 16px;
}

.valores-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0eb3f0;
    border-radius: 2px;
}

.valores-grid {
    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px 32px;
    align-items: stretch;
}

.valor-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 28px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.valor-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.valor-card h3 {
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0eb3f0;
    margin: 0 0 12px;
}

.valor-card p {
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin: 0;
}

.valor-left {
    text-align: right;
}

.valor-left h3 {
    text-align: right;
}

.valor-right {
    text-align: left;
}

.valores-trofeo {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

.valores-trofeo-spacer {
    display: none;
}

.trofeo-img {
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.4));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .somos-pilares-inner,
    .somos-mision-inner {
        flex-direction: column;
    }

    /* Historia mantiene su layout lado-a-lado pero más compacto */
    .historia-titulo {
        padding-right: 110px;
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }

    .historia-texto {
        padding-right: 110px;
    }

    .historia-badge {
        width: 100px;
    }

    .historia-badge-img {
        width: 100px;
    }

    .pilares-left {
        min-width: unset;
    }

    .pilares-numero {
        font-size: 100px;
    }

    .mision-imagen {
        flex: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .somos-historia {
        padding: 80px 0 0;
    }

    .somos-historia-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .historia-left {
        width: 100%;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        padding: 20px 20px 0;
    }

    .historia-productos-img {
        width: 75%;
        max-width: 280px;
    }

    .historia-right {
        padding: 50px 20px 30px;
        background: transparent;
    }

    .historia-badge {
        top: 12px;
        right: 12px;
    }

    .historia-badge-img {
        width: 80px;
    }

    .historia-titulo {
        padding-right: 90px;
        font-size: 1.6rem;
        color: #061178;
    }

    .historia-texto {
        padding-right: 0;
    }

    .somos-historia { padding: 0; }
    .somos-pilares  { padding: 50px 0; }
    .somos-mision   { padding: 50px 0; }
    .somos-valores  { padding: 50px 0; }

    .pilares-grid {
        grid-template-columns: 1fr;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .valores-trofeo {
        grid-row: unset;
        grid-column: unset;
        order: -1;
    }

    .trofeo-img {
        max-width: 220px;
    }

    .valor-left,
    .valor-right {
        text-align: left;
    }

    .valor-left h3,
    .valor-right h3 {
        text-align: left;
    }
}
