/* ==========================================================================
   VARIABLES DE DISEÑO Y PALETA DE COLORES PREMIUM
   ========================================================================== */
:root {
    --primary: #1a0b36;        /* Púrpura profundo corporativo */
    --primary-light: #2d1656;  /* Variante para gradientes */
    --secondary: #6c5ce7;      /* Violeta tecnológico brillante */
    --accent: #00cec9;         /* Turquesa para detalles de precisión */
    --text-dark: #2d3436;      /* Texto principal de alta legibilidad */
    --text-muted: #636e72;     /* Texto secundario */
    --bg-light: #f9f9fc;       /* Fondo general limpio */
    --bg-card: #ffffff;        /* Fondo de tarjetas */
    --border-color: #e2e8f0;   /* Bordes sutiles */
    --shadow-sm: 0 2px 4px rgba(26, 11, 54, 0.05);
    --shadow-md: 0 10px 20px rgba(26, 11, 54, 0.08);
    --shadow-lg: 0 20px 40px rgba(26, 11, 54, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   ESTILOS BASE E INTERFAZ GENERAL
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.separator {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 60px 0;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    margin-right: 8px;
    border-radius: 3px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

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

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* ==========================================================================
   SECCIÓN HERO (IMPACTO CORPORATIVO)
   ========================================================================== */
.hero {
    padding: 90px 0 60px 0;
    background: radial-gradient(circle at top right, rgba(108, 92, 231, 0.05), transparent 60%);
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   TARJETAS DE SERVICIOS (GRID DINÁMICO)
   ========================================================================== */
.services {
    margin-bottom: 40px;
}

.services h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.services h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

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

.service-card, .contact-box {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 92, 231, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN DEL PASAPORTE (CONTENIDO GRUESO Y DENSO)
   ========================================================================== */
.passport-section {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.passport-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.passport-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.passport-section h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 36px 0 16px 0;
    font-weight: 700;
}

.passport-section ul {
    list-style: none;
    margin-bottom: 24px;
}

.passport-section li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.passport-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.passport-section li strong {
    color: var(--primary);
}

/* ==========================================================================
   CAJA DE DESLINDE LEGAL (CRUCIAL PARA GOOGLE ADS)
   ========================================================================== */
.gov-disclaimer {
    background-color: #fff9f0;
    border-left: 5px solid #ff9f43;
    color: #5c3d1d;
    padding: 28px;
    margin-top: 40px;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.08);
}

.gov-disclaimer strong {
    color: #d35400;
    display: block;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   PÁGINAS INTERNAS (NOSOTROS / CONTACTO)
   ========================================================================== */
.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 800;
}

.page-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 32px 0 16px 0;
}

.contact-box {
    border-left: 5px solid var(--secondary);
    margin: 30px 0;
}

.contact-box p {
    margin-bottom: 12px;
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */
footer {
    background-color: var(--primary);
    color: #ffffff;
    padding: 50px 0;
    margin-top: 80px;
    font-size: 0.9rem;
    border-top: 4px solid var(--secondary);
}

footer p {
    opacity: 0.7;
    margin-bottom: 16px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.6;
    font-weight: 500;
    transition: var(--transition);
}

.legal-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN (ADAPTACIÓN A MÓVILES)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .passport-section {
        padding: 24px;
    }
}