/* =========================================================
   ESTILOS DE LA PÁGINA SECURITIES - MACHUPICCHU SURVIVOR
   ========================================================= */

/* HERO SECTION */
.security-hero {
    position: relative;
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.security-hero .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 32, 17, 0.4), rgba(28, 32, 17, 0.4)),
                rgba(123, 122, 122, 0.3);
    z-index: 2;
}

.security-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
}

.security-hero h1 {
    font-family: "Baumans", sans-serif;
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* GRID SYSTEM */
.security-items {
    padding: 60px 0;
    background-color: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* CARDS */
.security-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.security-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.security-image {
    position: relative;
    height: 220px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.equipment-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* OVERLAY ICON */
.image-overlay-icon {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(244, 133, 52, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.image-overlay-icon i {
    color: #fff;
    font-size: 2.5rem;
}

.security-card:hover .image-overlay-icon {
    opacity: 1;
}

/* INFO AREA */
.security-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.security-name {
    font-family: "Baumans", sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 18px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ESTILOS PARA CONTENIDO DINÁMICO (FROALA)
   Fuente Baumans y Justificado total
*/
.security-description,
.security-description p,
.security-description ul,
.security-description ol,
.security-description li {
    font-family: "Baumans", sans-serif !important;
    font-size: 1rem !important;
    color: #444 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.3px;
    text-align: justify !important; /* Justificado para todo */
}

.security-description p {
    margin-bottom: 12px;
}

/* Configuración de Listas y Viñetas */
.security-description ul,
.security-description ol {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 25px !important;
}

.security-description ul {
    list-style-type: disc !important;
}

.security-description li {
    margin-bottom: 10px;
    /* Al estar justificado, a veces el punto se separa si la línea es muy corta,
       pero para descripciones largas como las tuyas queda perfecto. */
}

/* SECTION TITLE */
.section-title {
    font-family: "Baumans", sans-serif;
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: #F48534;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .security-grid { grid-template-columns: 1fr; padding: 0 15px; }
    .security-hero h1 { font-size: 2.2rem; }
}