* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --color-primary: #1a4f8e;
    --color-secondary: #3b82f6;
    --color-accent: #2ba0b4;
    --color-light: #f8fafc;
    --color-dark: #1e293b;
    --color-gray: #64748b;
}

body {
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    color: var(--color-primary);
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 15px auto;
    border-radius: 2px;
}

/* Estilos del menú */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 25%;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(26, 79, 142, 0.8), rgba(59, 130, 246, 0.8)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    color: white;
    text-align: left;
    margin-top: 0;
}

.hero-content {
    max-width: 600px;
    text-align: justify;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-right: 15px;
}

.btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

/* Servicios */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: justify;
}

.service-card {
    background: var(--color-light);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-left: 4px solid var(--color-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--color-primary);
    background: rgba(26, 79, 142, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.about-why,
.about-industries {
    margin-top: 25px;
}

.about-why h3,
.about-industries h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #19428a;
}

.about-why ul,
.about-industries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-why ul li,
.about-industries ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.about-why ul li::before {
    content: "✔️";
    margin-right: 8px;
    color: #0d8383;
}

.about-industries ul li::before {
    content: "•";
    margin-right: 8px;
    color: #19428a;
    font-weight: bold;
}

.about-industries strong {
    margin-right: 6px;
}

.about-industries {
    margin-left: 5%;
}

/* Quiénes Somos */
.about {
    background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-gray);
    text-align: justify;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--color-gray);
    text-transform: uppercase;
}

.about-industries {
    text-align: justify;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') no-repeat center center/cover;
    mix-blend-mode: overlay;
    opacity: 0.8;
}

/* Testimonios */
.testimonials {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(26, 79, 142, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--color-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-right: 15px;
    overflow: hidden;
}

.author-info h4 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* Contacto */
.contact {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: white;
    text-align: center;
}

.contact h2 {
    color: white;
}

.contact h2:after {
    background: var(--color-accent);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 60%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    background: var(--color-accent);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 60%;
}

.form-btn:hover {
    background: white;
    color: var(--color-accent);
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-accent);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    left: 0;
    bottom: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 992px) {

    h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-industries strong {
        margin-right: 6px;
    }

    .about-industries {
        margin-left: 2%;
    }

}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn {
        display: block;
        margin: 15px auto;
        max-width: 250px;
        text-align: center;
    }

    .about-content,
    .contact-content,
    .footer-content {
        flex-direction: column;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-industries strong {
        margin-right: 6px;
        font-size: 15px;
    }

    .about-industries li {
        font-size: 8px;
    }

    .about-industries {
        margin-left: 2%;
    }
}