/* ========================================
   Seguridad y Medio Ambiente - Estilos Específicos
   Este archivo contiene los estilos únicamente para la página seguridad-ambiente.html
   ======================================== */

.service-hero {
    background: linear-gradient(135deg, #1e3a52 0%, #2c5f8d 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-hero p {
    font-size: 1.2em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.service-content {
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.service-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-item-card h3 {
    color: #1e3a52;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.service-item-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.service-item-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f44336;
}

.section-title {
    font-size: 2.2em;
    color: #1e3a52;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.cta-section {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.cta-section .section-title {
    color: #1e3a52;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary:hover {
    background: #f44336;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #ff6b35;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 10px;
    border: 2px solid #ff6b35;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: white;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #1e3a52;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    text-align: right;
}

.footer-logo p {
    margin-top: 15px;
    font-size: 0.95em;
}

.footer-contacto {
    text-align: left;
}

.footer-contacto h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-contacto p {
    margin: 8px 0;
    font-size: 0.95em;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 1.8em;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item-card {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logo,
    .footer-contacto {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 60px 0 40px;
    }

    .service-hero h1 {
        font-size: 1.4em;
    }

    .service-content {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95em;
    }
}

