@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --primary: #00aaff; /* Azul principal */
    --primary-light: rgba(0, 170, 255, 0.2);
    --text-light: #bbb;
    --bg-dark: radial-gradient(circle at center, #041926, #0b0d10);
}

/* --- Reset básico y box-sizing global --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

/* --- Contenedor principal con gutters responsivos --- */
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(20px, 4.5vw, 48px) clamp(16px, 6vw, 32px);
    padding-left: calc(env(safe-area-inset-left, 0px) + clamp(16px, 6vw, 32px));
    padding-right: calc(env(safe-area-inset-right, 0px) + clamp(16px, 6vw, 32px));
}

/* --- Logo e imagen principal --- */
.logo {
    width: 80px;
    margin-bottom: 10px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Texto principal --- */
.brand {
    font-size: 2rem;
    margin: 5px 0 15px;
}

.description {
    font-size: 1rem;
    line-height: 1.5;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.subtitle span {
    color: var(--primary);
}

/* --- Redes sociales con gap --- */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-inline: 4px;
}

.social-icons a {
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}

/* --- Títulos de sección --- */
.section-title {
    margin-top: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #888;
}

/* --- Botones --- */
.btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 12px 14px;
    margin: 10px 0;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: 0.25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-light);
}

/* --- Imagen de contacto --- */
.contact-banner {
    width: 100%;
    border-radius: 10px;
    margin: 15px 0;
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- Footer --- */
footer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #777;
}

footer span {
    color: var(--primary);
}

/* --- Animaciones --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Mobile --- */
@media (max-width: 600px) {
    .container {
        padding: 20px clamp(14px, 6vw, 20px);
        padding-left: calc(env(safe-area-inset-left, 0px) + clamp(14px, 6vw, 20px));
        padding-right: calc(env(safe-area-inset-right, 0px) + clamp(14px, 6vw, 20px));
    }

    .brand {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .social-icons a {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

/* Logo centrado y tamaño equilibrado */
.logo {
    display: block;
    margin: 0 auto 18px auto; /* centrado y con más espacio abajo */
    width: 110px; /* tamaño base */
    max-width: 100%;
    height: auto;
}

/* En pantallas pequeñas */
@media (max-width: 600px) {
    .logo {
        width: 120px;
    }
}


