/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Clases de utilidad */
.hidden {
    display: none;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #003366; /* Azul corporativo */
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #aa0000; /* Acento rojo tipo WTS/Lataxnet */
    margin: 10px auto 0;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #003366;
}

.logo span {
    color: #aa0000;
}

.logo small {
    display: block;
    font-size: 0.7rem;
    color: #666;
}

nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    color: #003366;
}

nav ul li a:hover {
    color: #aa0000;
}

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #555;
}

.lang-switch button:hover {
    color: #003366;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('https://images.unsplash.com/photo-1486406141726-469622050007?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #aa0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: #cc0000;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid #aa0000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #333;
}

/* Team Section */
.bg-light {
    background-color: #f0f2f5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover; /* Esto asegura que la foto se vea bien en el recuadro */
    object-position: top;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: #003366;
    margin-bottom: 5px;
}

.team-info .role {
    color: #aa0000;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.team-info p {
    font-size: 0.95rem;
    color: #555;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    width: 40px;
    color: #aa0000;
    font-size: 1.2rem;
}

.info-item a:hover {
    color: #aa0000;
    text-decoration: underline;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Footer */
footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #f9f9f9;
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}