/* ===== VARIABLES DE PALETA ARMONIZADA ===== */
:root {
    --color-bg: #f8fafc;          /* Fondo gris claro suave */
    --color-text: #1e293b;        /* Texto oscuro legible */
    --color-primary: #1e3a5f;     /* Azul oscuro del logo */
    --color-secondary: #4b9cd3;   /* Azul claro del logo */
    --color-accent: #a6e34c;      /* Verde lima del logo (destacado) */
    --color-accent-light: #e8f5d9; /* Verde muy suave para fondos */
    --color-border: #e2e8f0;      /* Gris claro para bordes */
    --color-dark: #0f172a;        /* Para contraste fuerte si se necesita */
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== RESET Y CONFIGURACIÓN GENERAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== FONDO DECORATIVO (FORMAS SUAVES EN TONOS DE LA MARCA) ===== */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    background: var(--color-primary);
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    right: 10%;
    background: var(--color-secondary);
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: -50px;
    background: var(--color-accent);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 30px 20px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    gap: 24px;
}

/* ===== LOGO ===== */
.logo {
    max-width: 220px;
    height: auto;
    margin-top: 10px;
    filter: drop-shadow(0 2px 6px rgba(30, 58, 95, 0.1));
}

/* ===== TÍTULOS ===== */
.main-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: var(--color-primary);
    text-shadow: 0 1px 2px rgba(30, 58, 95, 0.05);
}

.tagline {
    font-size: 1.4rem;
    opacity: 0.92;
    max-width: 600px;
    color: var(--color-secondary);
    font-weight: 500;
}

/* ===== CONTACTO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 10px 0;
}

.contact-item {
    font-size: 1.25rem;
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--color-accent-light);
    border: 1px solid var(--color-border);
}

.contact-item:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(166, 227, 76, 0.25);
}

.contact-item i {
    font-size: 1.4rem;
    color: inherit;
}

/* ===== PUNTOS ANIMADOS ===== */
.animated-dots {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 1.8s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.3s; }
.dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ===== PIE DE PÁGINA ===== */
.footer {
    font-size: 1rem;
    opacity: 0.75;
    line-height: 1.5;
    color: var(--color-dark);
}

/* ===== RESPONSIVE: TABLETS (768px+) ===== */
@media (min-width: 768px) {
    .container {
        padding: 40px;
        gap: 30px;
    }

    .logo {
        max-width: 260px;
    }

    .main-title {
        font-size: 3.2rem;
    }

    .tagline {
        font-size: 1.8rem;
    }

    .contact-item {
        font-size: 1.45rem;
        padding: 12px 24px;
    }

    .footer {
        font-size: 1.15rem;
    }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
    .main-title {
        font-size: 3.6rem;
    }

    .tagline {
        font-size: 2rem;
    }

    .contact-item {
        font-size: 1.55rem;
    }

    .shape-1 { width: 340px; height: 340px; }
    .shape-2 { width: 230px; height: 230px; }
    .shape-3 { width: 180px; height: 180px; }
}

/* ===== MÓVIL PEQUEÑO (hasta 480px) ===== */
@media (max-width: 480px) {
    .shape {
        display: none;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .contact-item {
        font-size: 1.15rem;
        padding: 8px 16px;
    }
}