:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --accent-color: #7c3aed;
    --gradient-start: #2563eb;
    --gradient-end: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Header styles */
header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 0.8rem 0;  /* Reducido de 1.5rem a 0.8rem */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;  /* Reducido de 80px a 50px */
    margin-right: 1px;
}

.logo h1 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;  /* Reducido de 2rem a 1.5rem */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.4rem 0;  /* Reducido de 0.5rem a 0.4rem */
    position: relative;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
        .hamburger {
            display: none;
            cursor: pointer;
        }
        
        .hero {
    position: relative;
    background: url('../images/gifmio.gif') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
}



.hero-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
    position: relative;
    z-index: 2; /* para que quede sobre el fondo oscuro */
}

        
        .hero h2 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .btn:hover {
            background-color: #1d4ed8;
            transform: translateY(-3px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }
        
        .btn-secondary {
            background-color: transparent;
            border: 2px solid white;
            margin-left: 1rem;
        }
        
        .btn-secondary:hover {
            background-color: white;
            color: var(--primary-color);
        }
        
        /* Services section */
        .services {
            padding: 6rem 0;
            background-color: white;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .section-header h3 {
            font-size: 2.5rem;
            color: var(--dark-color);
            margin-bottom: 1rem;
        }
        
        .section-header p {
            color: #64748b;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .service-card {
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            z-index: 1;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        .service-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 80px;
            margin-top: 2rem;
        }
        
        .service-icon i {
            font-size: 3rem;
            color: var(--primary-color);
        }
        
        .service-content {
            padding: 1.5rem 2rem 2rem;
            text-align: center;
        }
        
        .service-content h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }
        
        .service-content p {
            color: #64748b;
            margin-bottom: 1.5rem;
        }
        
        .service-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .service-link:hover {
            color: var(--secondary-color);
        }
        
        /* Portfolio section */
        .portfolio {
            padding: 6rem 0;
            background-color: #f1f5f9;
        }
        
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .portfolio-item:hover {
            transform: scale(1.03);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
        }
        
        .portfolio-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }
        
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(16, 185, 129, 0.9));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }
        
        .portfolio-overlay h4 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .portfolio-item:hover .portfolio-overlay h4 {
            transform: translateY(0);
        }
        
        .portfolio-overlay p {
            color: rgba(255, 255, 255, 0.9);
            text-align: center;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            transition-delay: 0.1s;
        }
        
        .portfolio-item:hover .portfolio-overlay p {
            transform: translateY(0);
        }
        
        .portfolio-btn {
            margin-top: 1.5rem;
            background-color: white;
            color: var(--primary-color);
            transform: translateY(20px);
            transition: transform 0.3s ease;
            transition-delay: 0.2s;
        }
        
        .portfolio-item:hover .portfolio-btn {
            transform: translateY(0);
        }
        
        .portfolio-btn:hover {
            background-color: var(--dark-color);
            color: white;
        }
        
        /* About section */
        .about {
            padding: 6rem 0;
            background-color: white;
        }
        
        .about-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 4rem;
            align-items: center;
        }
        
        .about-text h3 {
            font-size: 2.5rem;
            color: var(--dark-color);
            margin-bottom: 1.5rem;
        }
        
        .about-text p {
            color: #64748b;
            margin-bottom: 1.5rem;
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .stat-text {
            color: #64748b;
            font-weight: 500;
        }
        
        .about-image {
            position: relative;
        }
        
        .about-img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        /* Testimonials section */
        .testimonials {
            padding: 6rem 0;
            background-color: #f1f5f9;
        }
        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .testimonial-card {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .testimonial-card::before {
            content: """;
            font-size: 5rem;
            color: var(--primary-color);
            opacity: 0.2;
            position: absolute;
            top: 10px;
            left: 20px;
            font-family: Georgia, serif;
        }
        
        .testimonial-text {
            color: #64748b;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }
        
        .testimonial-client {
            display: flex;
            align-items: center;
        }
        
        .client-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 1rem;
            object-fit: cover;
        }
        
        .client-info h5 {
            color: var(--dark-color);
            margin-bottom: 0.3rem;
        }
        
        .client-info p {
            color: #64748b;
            font-size: 0.9rem;
        }
        
        /* CTA section */
        .cta {
            padding: 6rem 0;
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            color: white;
            text-align: center;
        }
        
        .cta h3 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }
        
        .cta p {
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }
        
        .cta-btn {
            background-color: white;
            color: var(--primary-color);
            font-size: 1.1rem;
            padding: 1rem 2.5rem;
        }
        
        .cta-btn:hover {
            background-color: var(--dark-color);
            color: white;
        }
        
        /* Contact section */
        .contact {
            padding: 1rem 0;
            background-color: white;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 4rem;
        }
        
        .contact-info h3 {
            font-size: 2.5rem;
            color: var(--dark-color);
            margin-bottom: 1.5rem;
        }
        
        .contact-info p {
            color: #64748b;
            margin-bottom: 2rem;
        }
        
        .contact-details {
            margin-bottom: 2rem;
        }
        
        .contact-item {
            display: flex;
            
            margin-bottom: 1.5rem;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: white;
            font-size: 1.2rem;
        }
        
        .contact-text h5 {
            color: var(--dark-color);
            margin-bottom: 0.3rem;
        }
        
        .contact-text p {
            color: #64748b;
            margin-bottom: 0;
        }
        
        .social-icons {
            display: flex;
            gap: 1rem;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            background-color: #f1f5f9;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-color);
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--dark-color);
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            width: 100%;
            padding: 1rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background-color: #1d4ed8;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 4rem;
            margin-bottom: 3rem;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo img {
            height: 220px;
            margin-right: 10px;
        }
        
        .footer-logo h4 {
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .footer-about p {
            color: #cbd5e1;
            margin-bottom: 1.5rem;
        }
        
        .footer-heading {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 1rem;
        }
        
        .footer-heading::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li:not(:last-child) {
            margin-bottom: 1rem;
        }
        
        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        
        .footer-contact-icon {
            color: var(--primary-color);
            margin-right: 1rem;
            font-size: 1.2rem;
        }
        
        .footer-contact-text {
            color: #cbd5e1;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            text-align: center;
        }
        
        .footer-bottom p {
            color: #cbd5e1;
        }
        
        /* Responsive styles */
        @media (max-width: 992px) {
            .hero h2 {
                font-size: 2.5rem;
            }
            
            .section-header h3,
            .about-text h3,
            .contact-info h3,
            .cta h3 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                height: auto;
                min-height: 100vh;
                padding: 6rem 0;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background-color: var(--dark-color);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                transition: all 0.5s ease;
                z-index: 1001;
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links li {
                margin: 1.5rem 0;
            }
            
            .hamburger {
                display: block;
                color: white;
                font-size: 1.5rem;
                z-index: 1002;
            }
            
            .btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero-content {
                padding-top: 120px;
            }
            
            .hero h2 {
                font-size: 1.8rem;
            }
            
            .btn {
                display: block;
                width: 80%;
                margin: 0 auto 1rem;
            }
            
            .btn-secondary {
                margin-left: auto;
            }
            
            .section-header h3,
            .about-text h3,
            .contact-info h3,
            .cta h3 {
                font-size: 1.8rem;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animated {
            animation-duration: 1s;
            animation-fill-mode: both;
        }
        
        .fadeInUp {
            animation-name: fadeInUp;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 5px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #1d4ed8;
        }
    
    /* Nosotros Section */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 20px;
}

.about-text h4:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
}

.values-list {
    margin-left: 20px;
}

.values-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    color: #666;
}

.values-list li::before {
    content: '•';
    color: #007bff;
    position: absolute;
    left: 0;
}

.team-section {
    margin-top: 50px;
}

.team-section h4 {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h5 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-member p {
    color: #007bff;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
    position: relative;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group.full-width {
    grid-column: span 2;
}


.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 15px;
}

.info-content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
}

.contact-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.map-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.footer-logo p {
    color: #ddd;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-social h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #007bff;
    margin-top: 10px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: #007bff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #007bff;
    transform: translateY(-5px);
}

.newsletter h4 {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.9rem;
}

.btn-subscribe {
    padding: 0 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #ddd;
}

.footer-legal a {
    color: #ddd;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: #007bff;
}

/* CSS específico para la sección Nosotros y la imagen imagenosotros.jpg */

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h4 {
    color: #333;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h4:first-child {
    margin-top: 0;
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.values-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-image {
        max-width: 100%;
        min-width: auto;
    }
    
    .about-image img {
        max-height: 300px;
    }
    
    .about-text {
        min-width: auto;
    }
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
    
    .portfolio-grid,
    .testimonials-slider {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 10px;
    }
    
    .footer-legal a {
        margin: 0 10px;
    }
}

@media screen and (max-width: 576px) {
    .section-header h3 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .btn-secondary {
        margin-top: 10px;
        margin-left: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .btn-subscribe {
        border-radius: 5px;
        padding: 12px 15px;
    }
}