/* Importación de fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@400;700&display=swap');

/* --- Estilos Generales y Reset Básico --- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.7;
    /* Ligeramente más espacio entre líneas para mejor lectura */
    background-color: #f8f8f8;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Encabezado Principal (Header) --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Sombra más pronunciada para mayor definición */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: #2c3e50;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #3498db;
}

.main-header .logo img {
    height: 50px;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.logo-link:hover img {
    opacity: 0.8;
}

.main-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav ul li a {
    color: #2c3e50;
    /* Más oscuro para mayor contraste */
    font-weight: 600;
    /* Mayor peso para que resalten */
    font-size: 1em;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
    /* Añadido transform a la transición */
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: #3498db;
    transform: translateY(-2px);
    /* Nuevo: sutil elevación al pasar el ratón */
}

.cta-button {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 20px;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Estilos para el botón de hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.8em;
    color: #333;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle.open {
    transform: rotate(90deg);
}

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero-section {
    background: url('imgs/fondo_home.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    /* Ajustado el padding para reducir el espacio vertical */
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    /* Mantener min-height para asegurar que la sección es visible, pero el padding la controla mejor */
    min-height: 95vh;
    display: flex;
    align-items: center;
    /* Asegura el centrado vertical del contenido */
    justify-content: center;
    /* Asegura el centrado horizontal del contenido */
    /* Efecto Parallax - el fondo se mueve más lento que el contenido */
    background-attachment: fixed;
}

/* Capa de color sobre la imagen de fondo para mejorar contraste */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado sutil para la capa sobre la imagen: de un azul oscuro transparente a un gris oscuro transparente */
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(52, 73, 94, 0.75));
    /* Aumentado la opacidad */
    z-index: 1;
}

/* --- REDISEÑO COMPLETO DE LA CAJA CENTRAL DEL HERO --- */
.hero-overlay {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 50px;
    max-width: 900px;
    width: 95%;
    /* Modificado de 90% a 95% */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 1.2s ease-out forwards;
    z-index: 2;
    position: relative;
    text-align: center;
}

.hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
    animation: slideInFromTop 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    animation: slideInFromBottom 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Estilo para el texto de experiencia */
.experience-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.9s forwards;
}

/* Nueva clase para la frase completa */
.experience-phrase {
    white-space: nowrap;
}

.experience-text strong {
    color: #2ecc71;
}

.experience-text i {
    color: #f1c40f;
    font-size: 1.3em;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    animation: slideInFromBottom 1s ease-out 1.5s forwards;
    opacity: 0;
}

.hero-cta-main {
    background-color: #27ae60;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta-main:hover {
    background-color: #2ecc71;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta-secondary:hover {
    background-color: #ffffff;
    color: #3498db;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Animaciones */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* --- Áreas de Servicio Section --- */
.areas-servicio-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.areas-servicio-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.areas-servicio-section .section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.area-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.area-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.areas-servicio-section .area-item i {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.icon-control-accesos {
    color: #2c3e50;
}

.icon-limpieza-hoteles {
    color: #3498db;
}

.icon-limpieza-colegios {
    color: #27ae60;
}

.icon-comunidades-oficinas {
    color: #8e44ad;
}

.icon-eventos-congresos {
    color: #e67e22;
}

.icon-servicios-auxiliares {
    color: #f1c40f;
}

.area-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.area-item p {
    font-size: 0.95em;
    color: #444;
}

/* --- Services Section --- */
.services-section {
    background-color: #ecf0f1;
    padding: 80px 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.services-section .section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #34495e;
}

.service-item p {
    color: #444;
    margin-bottom: 20px;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;
}

.service-item ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #27ae60;
    font-size: 0.9em;
    top: 50%;
    transform: translateY(-50%);
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    padding: 80px 0;
    background-color: #f2f6f9;
    text-align: center;
}

.why-choose-us-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.why-choose-us-section .section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-us-section .advantage-item i {
    font-size: 3em;
    margin-bottom: 20px;
}

.icon-ventaja-seguridad {
    color: #34495e;
}

.icon-ventaja-profesionalidad {
    color: #f39c12;
}

.icon-ventaja-limpieza {
    color: #1abc9c;
}

.icon-ventaja-atencion {
    color: #c0392b;
}

.advantage-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item p {
    font-size: 0.9em;
    color: #444;
}

/* --- Contact Section --- */
/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background-color: #34495e;
    color: #ffffff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-section .section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Nuevos estilos para el formulario */
.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.contact-form h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2ecc71;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-primary {
    background-color: #27ae60;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }
    
    .contact-form h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 12px;
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* --- Footer --- */
.main-footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 60px 0 30px;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col {
    padding: 10px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

.footer-col p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3498db;
}

.footer-col.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col.contact-details i {
    font-size: 1.2em;
    color: #3498db;
    margin-top: 3px;
}

.footer-social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-social-links .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social-links .social-icon:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #999999;
}

/* --- Botón flotante "Trabaja con nosotros!" --- */
.trabaja-con-nosotros {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: 100% 50%;
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.trabaja-con-nosotros:hover {
    background-color: #e67e22;
    transform: translateY(-50%) rotate(-90deg) scale(1.05);
    transform-origin: 100% 50%;
}

.trabaja-con-nosotros i {
    margin-right: 5px;
}

/* --- Media Queries para Responsividad --- */

/* Para tablets y pantallas medianas (hasta 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .main-header .container {
        justify-content: space-between;
        position: relative;
        min-height: 70px;
    }

    .logo-link {
        flex-shrink: 0;
        max-width: 80%;
    }

    .logo-text {
        font-size: 1em;
        display: inline-block;
    }

    .main-nav {
        padding-right: 0;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(-20px);
        z-index: 998;
        gap: 0;
    }

    .main-nav ul.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul li {
        margin: 0;
        padding: 15px 25px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        font-size: 1.2em;
        padding: 10px 0;
        width: 100%;
        display: block;
    }

    .main-nav ul li a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-nav ul li a:hover::after {
        width: 80%;
    }

    .cta-button {
        display: none;
    }

    .menu-toggle {
        display: block;
        order: 1;
        margin-left: auto;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-buttons {
        margin-top: 30px;
    }

    .areas-grid,
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-section .container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-col.contact-details p {
        justify-content: center;
    }
}

/* Para pantallas muy pequeñas (móviles, hasta 576px) */
@media (max-width: 576px) {
    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        padding: 0 15px;
        justify-content: space-between;
    }

    .logo {
        gap: 8px;
        max-width: 70%;
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
    }

    .main-header .logo img {
        height: 35px;
        width: auto;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 0.9em;
        white-space: nowrap;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }

    .logo-link {
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow: hidden;
    }

    .menu-toggle {
        margin-left: 10px;
        flex-shrink: 0;
    }

    .main-nav ul {
        top: 60px;
    }

    .hero-section {
        min-height: calc(127vh - 270px);
    }

    .hero-overlay {
        padding: 35px 25px 55px 25px;
        /* Mantener este padding modificado */
        border-radius: 8px;
    }

    .hero-title {
        font-size: 1.6em;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.85em;
        margin-bottom: 20px;
    }

    .experience-text {
        font-size: 0.9em;
        margin-top: 10px;
        margin-bottom: 25px;
        gap: 6px;
        line-height: 1.2;
    }

    .experience-phrase {
        white-space: nowrap;
        font-size: 0.95em;
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .experience-text strong {
        color: #2ecc71;
    }

    .hero-cta-main,
    .hero-cta-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.8em;
    }

    .section-description {
        font-size: 0.95em;
    }

    .areas-servicio-section .area-item,
    .service-item,
    .advantage-item,
    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .areas-servicio-section .area-item i {
        font-size: 2.8em;
    }

    .why-choose-us-section .advantage-item i {
        font-size: 2.5em;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .trabaja-con-nosotros {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: none;
        transform-origin: center;
        white-space: nowrap;
        font-size: 0.9em;
        padding: 10px 15px;
    }

    .trabaja-con-nosotros:hover {
        background-color: #e67e22;
        transform: scale(1.05);
    }
}

/* --- Estilos para el Banner de Consentimiento de Cookies --- */

/* Estilo para deshabilitar el formulario */
.contact-form.form-disabled {
    pointer-events: none;
    /* Deshabilita clics y eventos de ratón */
    opacity: 0.6;
    /* Hace el formulario un poco transparente para indicar que está deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que no se puede interactuar */
}

.contact-form.form-disabled input,
.contact-form.form-disabled textarea,
.contact-form.form-disabled button {
    cursor: not-allowed;
    /* Asegura que todos los elementos dentro del formulario también tengan el cursor de no permitido */
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    /* Fondo oscuro */
    color: #fff;
    /* Texto blanco */
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
    display: flex;
    /* Para centrar el contenido */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Permite que los elementos se envuelvan en pantallas pequeñas */
    gap: 15px;
    /* Espacio entre los elementos */
}

.cookie-banner.hidden {
    display: none;
    /* Oculto por defecto hasta que el JS decida mostrarlo */
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95em;
    flex-grow: 1;
    /* Permite que el párrafo ocupe el espacio disponible */
    max-width: 800px;
    /* Limita el ancho del texto */
    text-align: left;
    /* Alinea el texto a la izquierda dentro de su espacio */
    padding-right: 15px;
    /* Espacio antes de los botones */
}

.cookie-banner .cookie-link {
    color: #87CEEB;
    /* Color de enlace más claro */
    text-decoration: underline;
}

.cookie-banner .cookie-link:hover {
    color: #ADD8E6;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    /* Espacio entre los botones */
    flex-wrap: wrap;
    /* Permite que los botones se envuelvan */
    justify-content: center;
    /* Centra los botones si se envuelven */
}

.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-banner .btn-primary {
    background-color: #28a745;
    /* Verde para aceptar */
    color: #fff;
}

.cookie-banner .btn-primary:hover {
    background-color: #218838;
}

.cookie-banner .btn-secondary {
    background-color: #6c757d;
    /* Gris para rechazar/configurar */
    color: #fff;
}

.cookie-banner .btn-secondary:hover {
    background-color: #5a6268;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        /* Apila elementos verticalmente */
        text-align: center;
    }

    .cookie-banner p {
        text-align: center;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .cookie-banner .cookie-buttons {
        flex-direction: column;
        width: 100%;
        /* Botones a ancho completo */
    }

    .cookie-banner .btn-primary,
    .cookie-banner .btn-secondary {
        width: 100%;
    }
}

/* --- Estilos para el botón del formulario de contacto (añadir al final de home.css) --- */

/* Clase para cuando el botón está en proceso de envío */
.cta-button.sending {
    background-color: #f0ad4e;
    /* Un tono naranja o amarillo para indicar "cargando" */
    cursor: wait;
    /* Cambia el cursor para indicar espera */
    opacity: 0.8;
}

/* Clase para cuando el envío es exitoso */
.cta-button.success {
    background-color: #28a745;
    /* Un verde vibrante */
    cursor: default;
}

/* Clase para cuando hay un error en el envío */
.cta-button.error {
    background-color: #dc3545;
    /* Un rojo para indicar error */
    cursor: default;
}

/* Estilos para el div de mensajes del formulario */
#form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    /* Centrar el texto del mensaje */
    word-wrap: break-word;
    /* Para asegurar que el texto largo se rompa */
}

/* Estilo para mensajes de éxito */
#form-message.success-message {
    background-color: #d4edda;
    /* Fondo verde claro */
    color: #155724;
    /* Texto verde oscuro */
    border: 1px solid #c3e6cb;
}

/* Estilo para mensajes de error */
#form-message.error-message {
    background-color: #f8d7da;
    /* Fondo rojo claro */
    color: #721c24;
    /* Texto rojo oscuro */
    border: 1px solid #f5c6cb;
}

/* Estilo para la lista de errores dentro del mensaje */
#form-message .error-list {
    list-style-type: none;
    /* Sin viñetas */
    padding: 0;
    margin: 5px 0 0 0;
    text-align: left;
    /* Alinea los ítems de la lista a la izquierda */
}

#form-message .error-list li {
    margin-bottom: 5px;
}