:root {
    --primary: #0a2540;
    /* Azul oscuro corporativo */
    --accent: #c5a059;
    /* Dorado elegante */
    --alert-bg: #8B2E2E;
    /* Fondo rojo alerta */
    --alert-text: #ffffff;
    --light: #f4f6f8;
    --text: #333;
    --white: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Botón CTA Mejorado */
.cta-button {
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.8)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
    color: #dceaf7;
}

/* Disclaimer */
.disclaimer-banner {
    background: var(--alert-bg);
    color: var(--alert-text);
    padding: 2rem;
    text-align: center;
    border-bottom: 4px solid var(--accent);
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Services */
.services {
    padding: 5rem 2rem;
    background: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.service-card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
    border-left: 5px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Global Reach */
.global-reach {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--primary);
    color: var(--white);
}

.consulates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.consulate-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--accent);
    font-weight: 500;
    color: var(--white);
}

/* Contact & Team Section */
.contact-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-header {
    background: var(--accent);
    padding: 2rem;
    text-align: center;
    color: var(--primary);
}

.contact-body {
    padding: 3rem;
}

/* Nueva Foto Grupal */
.group-photo-container {
    width: 100%;
    height: 300px;
    /* Reduced fixed height */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
}

.group-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure it fills the area without distortion */
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team-member h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.team-member span {
    font-size: 0.9rem;
    color: #555;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-methods {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 2rem;
}

footer {
    background: #051423;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Removed fixed height override as it's now auto */
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        margin: 0;
    }
}