/*
 * EMPRESA.CSS — Aseagro Vanguardia — Dark Tech Premium
 * Estilos específicos para la página Sobre Nosotros
 */

body.page-template-template-empresa {
    background: #0a0f1a;
    color: #fff;
}



/* ========================================================
   VARIABLES LOCALES
   ======================================================== */
.empresa-page {
    --emp-green: #8BC53F;
    --emp-blue: #0D5C8C;
    --emp-dark: #0a0f1a;
    --emp-glow: rgba(139, 197, 63, 0.35);
    --emp-border: rgba(255, 255, 255, 0.08);
}

/* ========================================================
   HERO EMPRESA
   ======================================================== */
.emp-hero {
    position: relative;
    padding: 12rem 2rem 8rem;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(139,197,63,0.1) 0%, transparent 60%);
    overflow: hidden;
}

.emp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.emp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, #0a0f1a 100%);
    z-index: 1;
}

.emp-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.emp-hero__badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(139, 197, 63, 0.1);
    border: 1px solid rgba(139, 197, 63, 0.25);
    color: var(--emp-green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.emp-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.emp-hero h1 span {
    color: #8BC53F;
    background: linear-gradient(135deg, #8BC53F, #c2e87a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback: si background-clip no se soporta, el span queda verde */
@supports not (background-clip: text) {
    .emp-hero h1 span {
        color: #8BC53F;
        background: none;
    }
}

.emp-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ========================================================
   ABOUT / MISIÓN
   ======================================================== */
.emp-about {
    padding: 6rem 2rem;
    position: relative;
}

.emp-about__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.emp-about__stats {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--emp-border);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.emp-about__stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--emp-green), transparent);
    opacity: 0.5;
}

.emp-about__stats h2 {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 8vw, 8rem);
    color: var(--emp-green);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px rgba(139,197,63,0.3);
}

.emp-about__stats p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Stats Group — 3 cifras en columna */
.emp-about__stats-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emp-about__stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--emp-border);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.emp-about__stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--emp-green), transparent);
    opacity: 0.4;
}

.emp-about__stat:hover {
    border-color: rgba(139,197,63,0.3);
}

.emp-about__stat h2 {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--emp-green);
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 30px rgba(139,197,63,0.3);
}

.emp-about__stat p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.emp-about__stat--highlight {
    border-color: rgba(139,197,63,0.25);
    background: rgba(139,197,63,0.05);
}

.emp-about__content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.emp-about__content p {
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ========================================================
   VALORES GRID
   ======================================================== */
.emp-valores {
    padding: 8rem 2rem;
    /* Background is handled inline for parallax / dynamic cache */
}

.emp-valores__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,197,63,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.emp-valores__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.emp-valores__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.emp-valor {
    background: rgba(10, 15, 26, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.emp-valor::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139,197,63,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.emp-valor:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139,197,63,0.3);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(139,197,63,0.1);
}

.emp-valor:hover::before {
    opacity: 1;
}

.emp-valor h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.emp-valor h3::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: var(--emp-green);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--emp-green);
}

.emp-valor p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ========================================================
   HUB TECNOLÓGICO (Ex-Equipo)
   ======================================================== */
.emp-hub {
    padding: 8rem 2rem;
    background: #0a0f1a;
    position: relative;
}

.emp-hub::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(13, 92, 140, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.emp-hub__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.emp-header {
    text-align: center;
    margin-bottom: 5rem;
}

.emp-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.emp-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.emp-hub__bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.hub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.hub-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border-color: rgba(139,197,63,0.3);
}

.hub-card__bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139,197,63,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hub-card:hover .hub-card__bg {
    opacity: 1;
}

.hub-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(139,197,63,0.1);
    border: 1px solid rgba(139,197,63,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emp-green);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.hub-card:hover .hub-card__icon {
    background: var(--emp-green);
    color: #0a0f1a;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139,197,63,0.4);
}

.hub-card__icon svg {
    width: 28px;
    height: 28px;
}

.hub-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hub-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 768px) {
    .emp-about__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
