/* ======== VARIABLES CORPORATIVAS PALMACEITE ======== */
:root {
    --palm-green: #006837;      /* Verde Principal */
    --palm-dark: #EB6109;       /* Verde Oscuro */
    --palm-gold: #b88317;       /* Dorado Institucional */
    --palm-gold-light: #FFE400; 
    --bg-gray: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --font-tech: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-tech);
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}

/* ======== HEADER ======== */
/* ======== HEADER (Estilo Clean / Integrado) ======== */
.corp-header {
    position: relative;
    background: #fff; /* Fondo blanco */
    padding: 160px 0 50px 0; /* Espacio para el menú fijo */
    height: auto; 
    text-align: center;
    margin-bottom: 20px;
}

/* Ocultamos la capa oscura y la imagen de fondo */
.overlay-corp { display: none; }

.header-pretitle {
    display: inline-block; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 2px;
    font-weight: 700; 
    color: var(--bg-gray); /* Dorado */
    background-color: #F77A3D; /* Fondo dorado muy sutil */
    border: 1px solid var(--palm-gold);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    opacity: 1;
}

.corp-header h1 { 
    font-size: 3.5rem; 
    font-weight: 900; 
    letter-spacing: -1px; 
    margin-bottom: 15px; 
    color: var#2c3e50; /* Verde Corporativo */
    line-height: 1.2;
    text-shadow: none;
}

.header-line { 
    width: 60px; 
    height: 4px; 
    background: var(--palm-gold); 
    margin: 0 auto; /* Centrado */
    border-radius: 2px;
}
/* ======== INTRODUCCIÓN ======== */
.intro-corp { padding: 60px 0; background-color: #fff; }
.lead-text { font-size: 1.15rem; color: #444; line-height: 1.8; text-align: justify; }

/* ======== GRID CERTIFICACIONES ======== */
.cert-grid-section { padding: 60px 0 80px; background-color: var(--bg-gray); }

.cert-row {
    background: #fff; display: flex; margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e0e0e0;
    border-radius: 4px; overflow: hidden; transition: transform 0.3s ease;
}
.cert-row:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

/* Barras laterales */
.cert-sidebar { width: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; text-orientation: mixed; color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; cursor: default; }
.brand-rspo { background-color: var(--palm-green); }
.brand-iscc { background-color: #005eb8; }

.cert-content { padding: 40px; flex-grow: 1; }
.cert-logo-img { max-width: 150px; height: auto; margin-bottom: 20px; filter: grayscale(10%); }
.border-end-md { border-right: 1px solid #eee; }

.cert-header h3 { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-bottom: 15px; }
.cert-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; }

.cert-specs { list-style: none; padding: 0; margin: 0 0 30px 0; display: flex; flex-wrap: wrap; gap: 20px; }
.cert-specs li { font-size: 0.9rem; color: #333; background: #fff; border: 1px solid #eee; padding: 8px 15px; border-radius: 4px; }
.text-verde { color: var(--palm-green); }
.text-azul { color: #005eb8; }

.btn-corp {
    padding: 10px 25px; font-size: 0.9rem; font-weight: 600; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; text-decoration: none; display: inline-block;
}
.btn-verde { background-color: var(--palm-green); color: #fff; border: 1px solid var(--palm-green); }
.btn-verde:hover { background-color: var(--palm-dark); color: #fff; }
.btn-azul { background-color: #005eb8; color: #fff; border: 1px solid #005eb8; }
.btn-azul:hover { background-color: #004485; color: #fff; }

/* ======== SISTEMA DE GESTIÓN (AQUÍ ESTÁ EL CAMBIO DE COLOR) ======== */
.hsq-section { padding: 90px 0; background: #fff; }
.sub-gold { color: var(--palm-gold); text-transform: uppercase; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.text-verde-oscuro { color: var(--palm-dark); font-weight: 800; font-size: 2.2rem; }

.hsq-grid-container {
    margin-top: 50px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Sombra suave para el bloque */
    border-radius: 8px; overflow: hidden;
}

.hsq-card {
    padding: 60px 30px; text-align: center; transition: all 0.4s ease;
    background: #fff; height: 100%; position: relative;
    border-bottom: 4px solid transparent;
}

/* Efecto Hover Corporativo: Verde y Dorado */
.hsq-card:hover {
    background: var(--palm-dark);
    border-bottom-color: var(--palm-gold);
}

.hsq-icon-wrap {
    font-size: 3rem; color: var(--palm-green); margin-bottom: 25px; transition: 0.4s;
}
.hsq-card:hover .hsq-icon-wrap { color: var(--palm-gold); transform: scale(1.1); }

.hsq-card h4 {
    font-size: 1.4rem; font-weight: 700; color: var(--text-main); margin-bottom: 15px; transition: 0.4s;
}
.hsq-card:hover h4 { color: #fff; }

.hsq-card p {
    font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin: 0; transition: 0.4s;
}
.hsq-card:hover p { color: rgba(255,255,255,0.8); }

/* Borde derecho dorado suave */
.border-right-gold { border-right: 1px solid #eee; }

/* ======== FOOTER CTA (VERDE PALMA SÓLIDO) ======== */
.report-cta-palm {
    background-color: var(--palm-dark); /* Verde oscuro corporativo */
    padding: 40px 0;
    border-top: 5px solid var(--palm-gold); /* Línea dorada superior */
}

.cta-content-flex {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}

.btn-gold-fill {
    background-color: var(--palm-gold); color: #fff;
    padding: 12px 35px; border-radius: 4px; font-weight: 700; text-transform: uppercase;
    text-decoration: none; transition: 0.3s; font-size: 0.9rem;
}
.btn-gold-fill:hover {
    background-color: #fff; color: var(--palm-dark);
}

/* Responsive */
@media (max-width: 991px) {
    .hsq-card { padding: 40px 20px; }
    .border-right-gold { border-right: none; border-bottom: 1px solid #eee; }
}
@media (max-width: 768px) {
    .corp-header h1 { font-size: 2rem; }
    .cert-row { flex-direction: column; }
    .cert-sidebar { width: 100%; height: 30px; writing-mode: horizontal-tb; flex-direction: row; }
    .border-end-md { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }
    .cta-content-flex { text-align: center; justify-content: center; }
}