﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #F5F5F5;
    color: #333333;
    line-height: 1.6;
}

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

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

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D5D7B;
}

    .logo span {
        color: #6EC6CA;
    }

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s;
}

    .nav a:hover, .nav a.active {
        color: #6EC6CA;
    }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 93, 123, 0.8), rgba(45, 93, 123, 0.9)), url('../images/image2.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 150px 20px 100px;
    margin-top: 70px;
}

    .hero h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

/* Page Hero for internal pages */
.page-hero {
    background: linear-gradient(rgba(45, 93, 123, 0.9), rgba(45, 93, 123, 0.9)), url('../images/image1.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 70px;
}

    .page-hero h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

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

    .page-hero.services-hero {
        background: linear-gradient(rgba(45, 93, 123, 0.9), rgba(45, 93, 123, 0.9)), url('../images/image4.jpg');
        background-size: cover;
        background-position: center;
    }

    /* Page Hero específico para About */
    .page-hero.about-hero {
        background: linear-gradient(rgba(45, 93, 123, 0.9), rgba(45, 93, 123, 0.9)), url('../images/image3.jpg');
        background-size: cover;
        background-position: center;
    }

.btn {
    display: inline-block;
    background-color: #6EC6CA;
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

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

.btn-emergency {
    background-color: #e74c3c;
}

    .btn-emergency:hover {
        background-color: #c0392b;
    }

/* Services Section */
.services, .services-preview {
    padding: 80px 0;
    background-color: #FFFFFF;
}

    .services h2, .services-preview h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #F5F5F5;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .service-card i {
        font-size: 3rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .service-card h3 {
        color: #2D5D7B;
        margin-bottom: 15px;
        font-size: 1.4rem;
    }

    .service-card p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 20px;
    }

.service-features {
    list-style: none;
    text-align: left;
}

    .service-features li {
        padding: 5px 0;
        color: #666;
        position: relative;
        padding-left: 20px;
    }

        .service-features li:before {
            content: '✓';
            color: #6EC6CA;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

/* Service Process */
.service-process {
    padding: 80px 0;
    background-color: #F5F5F5;
}

    .service-process h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

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

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #6EC6CA;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: #2D5D7B;
    margin-bottom: 15px;
}

/* Commercial Focus Section */
.commercial-focus {
    padding: 80px 0;
    background-color: #2D5D7B;
    color: #FFFFFF;
}

    .commercial-focus h2 {
        text-align: center;
        margin-bottom: 50px;
        font-size: 2.5rem;
    }

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.commercial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

    .commercial-item:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
    }

    .commercial-item i {
        font-size: 2.5rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .commercial-item h3 {
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

/* About Section */
.about {
    padding: 80px 0;
    background-color: #F5F5F5;
}

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

.about-text h2 {
    color: #2D5D7B;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .highlight-item i {
        color: #6EC6CA;
        margin-right: 15px;
        font-size: 1.2rem;
    }

.about-image {
    background: linear-gradient(45deg, rgba(110, 198, 202, 0.8), rgba(45, 93, 123, 0.8)), url('../images/image5.jpg'); /* Cambia esta ruta por tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

    .highlights-section h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: #F5F5F5;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

    .highlight-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .highlight-card i {
        font-size: 2.5rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .highlight-card h3 {
        color: #2D5D7B;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .highlight-card p {
        color: #666;
        line-height: 1.6;
    }

/* Team/Expertise Section */
.team-section {
    padding: 80px 0;
    background-color: #F5F5F5;
}

    .team-section h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

    .expertise-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .expertise-card i {
        font-size: 2.5rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .expertise-card h3 {
        color: #2D5D7B;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .expertise-card p {
        color: #666;
        line-height: 1.6;
    }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #FFFFFF;
}

    .testimonials h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.stars {
    margin-bottom: 20px;
}

    .stars i {
        color: #ffd700;
        margin: 0 2px;
    }

.testimonial-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #2D5D7B;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #FFFFFF;
}

    .contact h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: #F5F5F5;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

    .contact-form h3 {
        color: #2D5D7B;
        margin-bottom: 30px;
        font-size: 1.5rem;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 15px;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        font-size: 1rem;
        transition: border 0.3s;
        font-family: 'Roboto', sans-serif;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #6EC6CA;
            outline: none;
        }

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

.contact-info {
    padding: 40px;
    background-color: #F5F5F5;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

    .contact-info h3 {
        color: #2D5D7B;
        margin-bottom: 30px;
        font-size: 1.5rem;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

    .contact-item i {
        color: #6EC6CA;
        margin-right: 20px;
        font-size: 1.3rem;
        width: 30px;
        flex-shrink: 0;
        margin-top: 5px;
    }

    .contact-item div {
        flex: 1;
    }

    .contact-item strong {
        display: block;
        color: #2D5D7B;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .contact-item span {
        font-size: 1rem;
        color: #666;
    }

/* Service Areas */
.service-areas {
    padding: 80px 0;
    background-color: #F5F5F5;
}

    .service-areas h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

    .area-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .area-card i {
        font-size: 2.5rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .area-card h3 {
        color: #2D5D7B;
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

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

        .area-card ul li {
            padding: 8px 0;
            color: #666;
            position: relative;
            padding-left: 20px;
        }

            .area-card ul li:before {
                content: '•';
                color: #6EC6CA;
                font-weight: bold;
                position: absolute;
                left: 0;
            }

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: #FFFFFF;
}

    .why-choose-us h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #2D5D7B;
        font-size: 2.5rem;
    }

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

.reason-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #F5F5F5;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

    .reason-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .reason-item i {
        font-size: 2.5rem;
        color: #6EC6CA;
        margin-bottom: 20px;
    }

    .reason-item h3 {
        color: #2D5D7B;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .reason-item p {
        color: #666;
    }

/* Emergency Banner */
.emergency-banner {
    padding: 40px 0;
    background-color: #e74c3c;
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    .emergency-content i {
        font-size: 2.5rem;
        color: #fff;
    }

    .emergency-content div {
        flex: 1;
    }

    .emergency-content h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .emergency-content p {
        margin-bottom: 0;
    }

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #2D5D7B;
    color: #FFFFFF;
    text-align: center;
}

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

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

/* Footer */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    color: #6EC6CA;
    font-size: 1.3rem;
}

    .footer-section h3 span {
        color: #FFFFFF;
    }

.footer-section p {
    color: #CCCCCC;
    line-height: 1.6;
}

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

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

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

            .footer-section ul li a:hover {
                color: #6EC6CA;
            }

        .footer-section ul li i {
            margin-right: 10px;
            color: #6EC6CA;
            width: 20px;
        }

.footer-bottom {
    border-top: 1px solid #555555;
    padding-top: 20px;
    text-align: center;
    color: #CCCCCC;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        gap: 15px;
    }

    .hero {
        padding: 120px 20px 80px;
    }

        .hero h2 {
            font-size: 2.2rem;
        }

        .hero p {
            font-size: 1.1rem;
        }

    .page-hero {
        padding: 100px 20px 60px;
    }

        .page-hero h2 {
            font-size: 2rem;
        }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .commercial-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-hero h2 {
        font-size: 1.8rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info {
        padding: 30px 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: #6EC6CA;
    color: #FFFFFF;
}

::-moz-selection {
    background-color: #6EC6CA;
    color: #FFFFFF;
}
/* Modal Styles - CORREGIDO */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal-overlay.show {
        display: flex;
        opacity: 1;
    }

.modal {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1);
}
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: #6EC6CA;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.modal-title {
    color: #2D5D7B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-message {
    color: #666;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn-cancel {
    background-color: #e9ecef;
    color: #495057;
}

    .modal-btn-cancel:hover {
        background-color: #dee2e6;
    }

.modal-btn-confirm {
    background-color: #6EC6CA;
    color: white;
}

    .modal-btn-confirm:hover {
        background-color: #5AB5B9;
    }

/* También agregar estilos para los mensajes de éxito y error */
.success-message,
.error-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

    .success-message[style*="block"],
    .error-message[style*="block"] {
        display: block !important;
    }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-overlay.show {
    display: flex !important;
    opacity: 1 !important;
}

    .modal-overlay.show .modal {
        transform: scale(1) !important;
    }

    /*Error Css*/
/* Error Page Styles */
.error-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
}

.error-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .error-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #6EC6CA, #2D5D7B);
    }

.error-icon {
    font-size: 5rem;
    color: #e74c3c;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: #6EC6CA;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    color: #2D5D7B;
    margin-bottom: 20px;
    font-weight: 600;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: linear-gradient(45deg, #6EC6CA, #2D5D7B);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: linear-gradient(45deg, #5AB5B9, #1e3d52);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(110, 198, 202, 0.3);
    }

.btn-secondary {
    background: transparent;
    color: #2D5D7B;
    border: 2px solid #6EC6CA;
}

    .btn-secondary:hover {
        background: #6EC6CA;
        color: white;
        transform: translateY(-2px);
    }

.glass-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 8rem;
    color: rgba(110, 198, 202, 0.1);
    z-index: 0;
    pointer-events: none;
}

.help-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: left;
}

.help-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D5D7B;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-list {
    list-style: none;
    color: #666;
    margin: 0;
    padding: 0;
}

    .help-list li {
        margin: 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .help-list i {
        color: #6EC6CA;
        width: 16px;
        text-align: center;
    }

/* Responsive adjustments for error page */
@media (max-width: 768px) {
    .error-container {
        padding: 80px 20px 40px;
    }

    .error-content {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .glass-bg {
        font-size: 6rem;
        top: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 3rem;
    }

    .error-title {
        font-size: 1.3rem;
    }

    .error-icon {
        font-size: 4rem;
    }
}

/* Debug section styles (solo para desarrollo) */
.debug-section {
    margin-top: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 10px;
    text-align: left;
    border-left: 4px solid #ffc107;
}

.debug-content {
    margin-top: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

    .debug-content details {
        margin-top: 10px;
    }

    .debug-content summary {
        cursor: pointer;
        color: #2D5D7B;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .debug-content pre {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        white-space: pre-wrap;
        font-size: 0.8rem;
        color: #dc3545;
    }

    /*Portafolio de imagenes*/

/* Portfolio Gallery Section */
.portfolio-section {
    padding: 80px 0;
    background-color: #F5F5F5;
}

    .portfolio-section h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #2D5D7B;
        margin-bottom: 15px;
        font-weight: 700;
    }

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #FFFFFF;
}

    .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.portfolio-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 93, 123, 0.9) 0%, rgba(110, 198, 202, 0.9) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: #FFFFFF;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.4;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.portfolio-cta {
    text-align: center;
    padding: 40px 20px;
    background-color: #2D5D7B;
    border-radius: 15px;
    color: #FFFFFF;
    margin-top: 30px;
}

    .portfolio-cta p {
        font-size: 1.2rem;
        margin-bottom: 25px;
        font-weight: 500;
    }

.btn-outline {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
}

    .btn-outline:hover {
        background: #6EC6CA;
        border-color: #6EC6CA;
        color: #FFFFFF;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(110, 198, 202, 0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-section {
        padding: 60px 0;
    }

        .portfolio-section h2 {
            font-size: 2rem;
        }

    .portfolio-image {
        height: 250px;
    }

    .portfolio-overlay {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-content h3 {
        font-size: 1.2rem;
    }

    .portfolio-content p {
        font-size: 0.9rem;
    }

    .btn-outline {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .consent-group {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
        margin-bottom: 20px;
        padding: 0 20px;
    }

        .consent-group input[type="checkbox"] {
            margin-top: 5px;
            flex-shrink: 0;
        }

        .consent-group label {
            font-size: 0.9rem;
            line-height: 1.4;
            cursor: pointer;
            max-width: 500px;
        }

    @media (max-width: 768px) {
        .consent-group {
            padding: 0 10px;
            text-align: left;
        }

            .consent-group label {
                font-size: 0.85rem;
                max-width: none;
            }
    }
}