/* Estilos generales */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ff6b00;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --gray-color: #777;
    --white-color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #e05d00;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--primary-color);
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
}

/* Header */
header {
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--gray-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/photo-1508514177221-188b1cf16e9d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: 0% 100%;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 100px;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Servicios */
.servicios {
    padding: 80px 0;
    background: var(--light-color);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servicio-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-10px);
}

.servicio-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.servicio-card ul {
    list-style: none;
    text-align: left;
}

.servicio-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.servicio-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Nosotros */
.nosotros {
    padding: 80px 0;
}

.nosotros .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.nosotros-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nosotros-content ul {
    list-style: none;
    margin-top: 20px;
}

.nosotros-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.nosotros-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Clientes */
.clientes {
    padding: 80px 0;
    background: var(--light-color);
}

.clientes-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cliente-logo {
    background: var(--white-color);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: bold;
    color: var(--gray-color);
}

/* Contacto */
.contacto {
    padding: 80px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contacto-info {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
}

.contacto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.contacto-info h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px 0;
}

.contacto-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contacto-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--white-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gray-color);
    transform: translateY(-3px);
}

.contacto-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contacto-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.contacto-form h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nosotros .container,
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin-bottom: 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}
/* Estilos para el checkbox de emergencia */
.checkbox {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.checkbox label {
    font-weight: bold;
    color: #d9534f;
    cursor: pointer;
}

/* Efecto para emergencia activa */
.checkbox input[type="checkbox"]:checked + label {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

/* Animación para emergencia */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.checkbox input[type="checkbox"]:checked + label::before {
    content: "⚠️ ";
}

.checkbox input[type="checkbox"]:checked + label {
    animation: pulse 1.5s infinite;
}