html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/*Layout*/

/* Reset y base */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Header */
.navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: white !important;
        background-color: rgba(52, 152, 219, 0.2);
    }

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
}

/* Contenido principal */
.container {
    flex: 1;
    max-width: 1200px;
    padding: 20px 15px;
    margin: 0 auto;
}

main {
    min-height: 60vh;
    padding: 20px 0;
}

/* Footer */
/* Layout simple y efectivo */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 1rem 0;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.4rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
}

    .nav-link:hover {
        color: white !important;
    }

/* Contenido principal - ESTA ES LA PARTE IMPORTANTE */
.main-container {
    flex: 1;
    width: 100%;
    padding: 0;
}

.page-content {
    min-height: 70vh;
    padding: 2rem 0;
}

/* Footer siempre abajo */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: auto;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
}

    /*#index*/
    :root {
        --primary-color: #2c3e50;
        --secondary-color: #3498db;
        --accent-color: #e74c3c;
        --light-color: #f8f9fa;
        --dark-color: #343a40;
        --gray-color: #7f8c8d;
    }

    body {
        background-color: var(--light-color);
        color: var(--dark-color);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
    }

    h1, h2, h3, h4 {
        color: var(--primary-color);
        font-weight: 700;
    }

    .hero-section {
        background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
        background-size: cover;
        background-position: center;
        color: white;
        padding: 100px 0;
        text-align: center;
        margin-bottom: 50px;
    }

        .hero-section h1 {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .hero-section p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }

    .section-title {
        position: relative;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--secondary-color);
        }

    .service-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 25px;
        margin-bottom: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
    }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

    .service-icon {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 15px;
    }

    .image-container {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        margin-bottom: 20px;
    }

        .image-container img {
            transition: transform 0.5s ease;
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .image-container:hover img {
            transform: scale(1.05);
        }

    .image-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(44, 62, 80, 0.8);
        color: white;
        padding: 10px;
        text-align: center;
        font-weight: 600;
    }

    .btn-primary {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        padding: 12px 30px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .btn-primary:hover {
            background-color: #2980b9;
            border-color: #2980b9;
            transform: translateY(-2px);
        }

    .contact-form {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 30px;
    }

    .form-control {
        border-radius: 5px;
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        margin-bottom: 20px;
    }

        .form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        }

    .whatsapp-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        color: white;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 30px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        transition: transform 0.3s ease;
    }

        .whatsapp-button:hover {
            transform: scale(1.1);
        }

    .footer {
        background-color: var(--primary-color);
        color: white;
        padding: 40px 0;
        margin-top: 50px;
    }

    /* Media Queries - CORREGIDO */
    @media (max-width: 768px) {
        .hero-section {
            padding: 60px 0;
        }

            .hero-section h1 {
                font-size: 2rem;
            }

        .section-title {
            text-align: center;
        }

            .section-title:after {
                left: 50%;
                transform: translateX(-50%);
            }

        .image-container img {
            height: 200px;
        }
    }

    @media (max-width: 576px) {
        .hero-section {
            padding: 40px 0;
        }

            .hero-section h1 {
                font-size: 1.8rem;
            }

        .contact-form {
            padding: 20px;
        }
    }



    /*Layout*/
    /*:root {
        --primary-color: #2c3e50;
        --secondary-color: #3498db;
        --accent-color: #e74c3c;
        --light-color: #f8f9fa;
        --dark-color: #343a40;
        --success-color: #27ae60;
    }*/

    /* Header mejorado */
    /*.navbar {
        background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%) !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .navbar-brand {
        font-weight: 700;
        font-size: 1.5rem;
        color: white !important;
        transition: transform 0.3s ease;
    }

        .navbar-brand:hover {
            transform: scale(1.05);
            color: var(--secondary-color) !important;
        }

    .nav-link {
        color: rgba(255,255,255,0.9) !important;
        font-weight: 500;
        margin: 0 0.5rem;
        padding: 0.5rem 1rem !important;
        border-radius: 5px;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-link:hover {
            color: white !important;
            background-color: rgba(52, 152, 219, 0.2);
            transform: translateY(-2px);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--secondary-color);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 80%;
        }

    .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.3);
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }*/

    /* Main content */
    /*.container {
        max-width: 1200px;
    }

    main {
        min-height: calc(100vh - 200px);
        padding: 2rem 0;
    }*/

    /* Footer mejorado */
    /*.footer {
        background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
        color: white;
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
        border-top: none !important;
    }

        .footer a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer a:hover {
                color: white;
            }

        .footer .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }*/

    /* Botón de WhatsApp flotante */
    /*.whatsapp-float {
        position: fixed;
        bottom: 25px;
        right: 25px;
        background-color: #25D366;
        color: white;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 1.5rem;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        z-index: 1000;
        transition: all 0.3s ease;
        text-decoration: none;
    }

        .whatsapp-float:hover {
            transform: scale(1.1);
            color: white;
            background-color: #128C7E;
        }*/

    /* Efectos de carga suave */
    /*body {
        opacity: 0;
        animation: fadeIn 0.5s ease-in-out forwards;
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }*/

    /* Responsive Design */
    /*@media (max-width: 768px) {
        .navbar {
            padding: 0.5rem 0;
        }

        .navbar-brand {
            font-size: 1.3rem;
        }

        .nav-link {
            margin: 0.2rem 0;
            text-align: center;
        }

        .navbar-collapse {
            background: rgba(44, 62, 80, 0.95);
            border-radius: 10px;
            margin-top: 1rem;
            padding: 1rem;
        }

        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            line-height: 50px;
            font-size: 1.3rem;
        }

        main {
            padding: 1rem 0;
        }
    }

    @media (max-width: 576px) {
        .container {
            padding: 0 15px;
        }

        .navbar-brand {
            font-size: 1.2rem;
        }

        .footer {
            padding: 2rem 0 1rem;
        }

        .whatsapp-float {
            bottom: 15px;
            right: 15px;
            width: 45px;
            height: 45px;
            line-height: 45px;
            font-size: 1.2rem;
        }
    }*/

    /* Efectos adicionales */
    /*.btn-primary {
        background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
        border: none;
        border-radius: 25px;
        padding: 10px 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }*/

    /* Mejoras para el contenido principal */
    /*.card {
        border: none;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .card:hover {
            transform: translateY(-5px);
        }*/






    /*destacados*/

    /* Estilos para Proyectos Destacados */
    .hero-section-proyectos {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        margin-bottom: 3rem;
    }

    .project-card {
        border: none;
        border-radius: 15px;
        transition: all 0.3s ease;
        overflow: hidden;
    }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

    .image-container {
        position: relative;
        overflow: hidden;
    }

    .card-img-top {
        height: 250px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-card:hover .card-img-top {
        transform: scale(1.05);
    }

    .image-overlay {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }

    .project-features {
        display: flex;
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .feature-badge {
        background: var(--light-color);
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        color: var(--dark-color);
    }

    .stat-card {
        transition: transform 0.3s ease;
    }

        .stat-card:hover {
            transform: scale(1.05);
        }

    /* Animaciones para scroll */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

    /* Responsive Design para Proyectos Destacados */
    @media (max-width: 768px) {
        .hero-section-proyectos {
            padding: 2rem 1rem;
            margin-bottom: 2rem;
        }

        .card-img-top {
            height: 200px;
        }

        .project-features {
            flex-direction: column;
            gap: 0.3rem;
        }

        .stat-card {
            padding: 1.5rem 0.5rem;
        }
    }

    @media (max-width: 576px) {
        .hero-section-proyectos h1 {
            font-size: 2rem;
        }

        .project-card {
            margin-bottom: 1.5rem;
        }

        .card-footer {
            flex-direction: column;
            gap: 0.5rem;
            text-align: center;
        }
    }


    /*servicios*/




    /* Estilos para la página de Servicios */
    .servicios-container {
        padding: 2rem 0;
    }

    .hero-section-servicios {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        margin-bottom: 3rem;
    }

    .service-item {
        margin-bottom: 4rem;
        padding: 2rem;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

        .service-item:hover {
            background: rgba(248, 249, 250, 0.8);
            transform: translateY(-5px);
        }

    .image-container-servicio {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .service-image {
        height: 400px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .image-container-servicio:hover .service-image {
        transform: scale(1.05);
    }

    .image-overlay-servicio {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .service-badge {
        background: var(--secondary-color);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }

    .service-content {
        padding: 2rem;
    }

    .service-icon {
        font-size: 3rem;
        color: var(--secondary-color);
        margin-bottom: 1.5rem;
    }

    .service-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
    }

    .service-description {
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--dark-color);
        margin-bottom: 1.5rem;
    }

    .service-features {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .feature-tag {
        background: var(--light-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        color: var(--dark-color);
        border: 1px solid #e9ecef;
    }

        .feature-tag i {
            color: var(--success-color);
            margin-right: 0.3rem;
        }

    .service-testimonial {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        border-left: 4px solid var(--secondary-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .testimonial-text {
        font-style: italic;
        color: var(--gray-color);
        margin-bottom: 0;
        line-height: 1.6;
    }

    .cta-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
        color: white;
        margin-top: 3rem;
    }

        .cta-section h3 {
            color: white;
        }

        .cta-section .btn {
            background: var(--secondary-color);
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 30px;
            transition: all 0.3s ease;
        }

            .cta-section .btn:hover {
                background: #2980b9;
                transform: translateY(-2px);
                box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
            }

    /* Responsive Design para Servicios */
    @media (max-width: 768px) {
        .hero-section-servicios {
            padding: 2rem 1rem;
            margin-bottom: 2rem;
        }

        .service-item {
            margin-bottom: 3rem;
            padding: 1rem;
        }

        .service-image {
            height: 300px;
        }

        .service-content {
            padding: 1rem 0;
        }

        .service-title {
            font-size: 1.7rem;
        }

        .service-features {
            gap: 0.5rem;
        }

        .feature-tag {
            font-size: 0.8rem;
            padding: 0.4rem 0.8rem;
        }

        .cta-section {
            padding: 2rem 1rem !important;
        }
    }

    @media (max-width: 576px) {
        .hero-section-servicios h1 {
            font-size: 2rem;
        }

        .service-item {
            text-align: center;
        }

        .service-icon {
            font-size: 2.5rem;
        }

        .service-title {
            font-size: 1.5rem;
        }

        .service-features {
            justify-content: center;
        }
    }



    /*nosotros*/




    /* Estilos para la página Sobre Nosotros */
    .nosotros-container {
        padding: 2rem 0;
    }

    .hero-section-nosotros {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        margin-bottom: 3rem;
    }

    .section-title-nosotros {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        position: relative;
    }

        .section-title-nosotros::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--secondary-color);
        }

    .section-subtitle {
        font-size: 1.2rem;
        color: var(--gray-color);
        margin-bottom: 2rem;
    }

    /* Historia Section */
    .historia-section {
        padding: 3rem 0;
    }

    .image-container-nosotros {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .historia-image, .certificaciones-image {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .image-container-nosotros:hover .historia-image,
    .image-container-nosotros:hover .certificaciones-image {
        transform: scale(1.03);
    }

    .experience-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        background: var(--secondary-color);
        color: white;
        padding: 1rem;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    }

    .years {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
    }

    .experience-badge .text {
        font-size: 0.9rem;
    }

    .historia-content {
        padding: 2rem;
    }

    .historia-text {
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--dark-color);
        margin-bottom: 1.5rem;
    }

    .valores-section {
        margin-top: 2rem;
    }

    .valores-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .valores-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .valor-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        background: var(--light-color);
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

        .valor-item:hover {
            transform: translateY(-5px);
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .valor-item i {
            font-size: 2rem;
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
        }

        .valor-item span {
            font-weight: 600;
            color: var(--dark-color);
            text-align: center;
        }

    /* Equipo Section */
    .equipo-section {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        margin: 3rem 0;
    }

    .team-card {
        background: white;
        border-radius: 15px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        height: 100%;
    }

        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

    .team-image-container {
        position: relative;
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid var(--secondary-color);
    }

    .team-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .team-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(52, 152, 219, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .team-image-container:hover .team-overlay {
        opacity: 1;
    }

    .team-image-container:hover .team-image {
        transform: scale(1.1);
    }

    .social-links a {
        color: white;
        font-size: 1.2rem;
        margin: 0 0.5rem;
        transition: transform 0.3s ease;
    }

        .social-links a:hover {
            transform: scale(1.2);
        }

    .team-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .team-position {
        color: var(--secondary-color);
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .team-description {
        color: var(--gray-color);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .team-skills {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .skill-tag {
        background: var(--light-color);
        color: var(--dark-color);
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Certificaciones Section */
    .certificaciones-section {
        padding: 3rem 0;
    }

    .certificaciones-content {
        padding: 2rem;
    }

    .certificaciones-text {
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--dark-color);
        margin-bottom: 2rem;
    }

    .certificaciones-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .certificacion-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

        .certificacion-item:hover {
            transform: translateX(10px);
        }

        .certificacion-item i {
            font-size: 2rem;
        }

        .certificacion-item h6 {
            margin-bottom: 0.3rem;
            color: var(--primary-color);
        }

    .quality-badge {
        position: absolute;
        bottom: 20px;
        right: 20px;
        background: var(--success-color);
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-item {
        text-align: center;
        padding: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
        color: var(--gray-color);
        font-weight: 500;
    }

    .cta-section-nosotros {
        background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
        color: white;
    }

        .cta-section-nosotros h3 {
            color: white;
        }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-section-nosotros {
            padding: 2rem 1rem;
        }

        .section-title-nosotros {
            font-size: 2rem;
        }

        .historia-image, .certificaciones-image {
            height: 300px;
        }

        .valores-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .team-card {
            padding: 1.5rem;
        }

        .stats-grid {
            grid-template-columns: 1fr;
            gap: 0.8rem;
        }

        .certificacion-item {
            padding: 0.8rem;
        }
    }

    @media (max-width: 576px) {
        .hero-section-nosotros h1 {
            font-size: 2rem;
        }

        .valores-grid {
            grid-template-columns: 1fr;
        }

        .team-image-container {
            width: 120px;
            height: 120px;
        }

        .cta-section-nosotros .btn {
            display: block;
            width: 100%;
            margin-bottom: 1rem;
        }

            .cta-section-nosotros .btn:last-child {
                margin-bottom: 0;
            }
    }


    /*contacto*/


    /* Estilos para la página de Contacto */
    .contacto-container {
        padding: 2rem 0;
    }

    .hero-section-contacto {
        padding: 3rem 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 15px;
        margin-bottom: 3rem;
    }

    .section-title-contacto {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        position: relative;
    }

        .section-title-contacto::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--secondary-color);
        }

    /* Información de contacto */
    .contact-info-section {
        background: white;
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        height: fit-content;
        position: sticky;
        top: 2rem;
    }

    .contact-description {
        color: var(--gray-color);
        line-height: 1.6;
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-method {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

        .contact-method:hover {
            background: var(--light-color);
            transform: translateX(5px);
        }

    .contact-icon {
        width: 50px;
        height: 50px;
        background: var(--secondary-color);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-details h5 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .contact-details p {
        color: var(--dark-color);
        margin-bottom: 0.5rem;
    }

    .btn-call, .btn-email {
        display: inline-block;
        background: var(--light-color);
        color: var(--dark-color);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

        .btn-call:hover, .btn-email:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-2px);
            text-decoration: none;
        }

    /* Redes sociales */
    .social-section {
        border-top: 1px solid #e9ecef;
        padding-top: 1.5rem;
    }

    .social-links-contacto {
        display: flex;
        gap: 0.8rem;
        justify-content: center;
    }

    .social-link {
        width: 45px;
        height: 45px;
        background: var(--light-color);
        color: var(--dark-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

        .social-link:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
            text-decoration: none;
        }

    /* Formulario de contacto */
    .contact-form-section {
        background: white;
        padding: 2.5rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .form-header {
        margin-bottom: 2rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group-contacto {
        margin-bottom: 1.5rem;
    }

    .form-label {
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        display: block;
    }

    .input-group {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .input-group-text {
        background: var(--light-color);
        border: none;
        color: var(--secondary-color);
        min-width: 50px;
        justify-content: center;
    }

    .form-control, .form-select {
        border: none;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .form-control:focus, .form-select:focus {
            box-shadow: none;
            border-color: var(--secondary-color);
        }

        .form-control::placeholder {
            color: #adb5bd;
        }

    /* Checkboxes */
    .form-check-group {
        margin: 2rem 0;
        padding: 1.5rem;
        background: var(--light-color);
        border-radius: 10px;
    }

    .form-check-contacto {
        margin-bottom: 1rem;
    }

        .form-check-contacto:last-child {
            margin-bottom: 0;
        }

    .form-check-input {
        margin-right: 0.5rem;
    }

    .form-check-label {
        color: var(--dark-color);
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .privacy-link {
        color: var(--secondary-color);
        text-decoration: none;
    }

        .privacy-link:hover {
            text-decoration: underline;
        }

    /* Botón de enviar */
    .btn-submit {
        background: var(--secondary-color);
        border: none;
        padding: 1rem 3rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    }

        .btn-submit:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
        }

    /* Mapa */
    .map-section {
        margin-top: 3rem;
    }

    .map-container {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Recaptcha */
    .g-recaptcha {
        margin: 1.5rem 0;
        display: flex;
        justify-content: center;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-section-contacto {
            padding: 2rem 1rem;
        }

        .contact-info-section,
        .contact-form-section {
            padding: 1.5rem;
        }

        .contact-method {
            flex-direction: column;
            text-align: center;
            padding: 1.5rem 1rem;
        }

        .contact-icon {
            align-self: center;
        }

        .input-group-text {
            min-width: 45px;
        }

        .btn-submit {
            width: 100%;
            padding: 1rem;
        }

        .form-check-group {
            padding: 1rem;
        }
    }

    @media (max-width: 576px) {
        .hero-section-contacto h1 {
            font-size: 2rem;
        }

        .section-title-contacto {
            font-size: 1.7rem;
        }

        .contact-info-section {
            position: static;
            margin-bottom: 2rem;
        }

        .social-links-contacto {
            flex-wrap: wrap;
        }

        .map-container iframe {
            height: 300px;
        }
    }