/* Body */

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: InterVariable, Inter, system-ui;
    font-feature-settings: 'liga' 1, 'calt' 1;
    font-size: 11px;
    min-height: 100vh;
    background-color: var(--bg-white);
    color: var(--text-black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */

header {
    padding: 1rem 0;
    flex-shrink: 0;
}

header.bg-light {
    width: 100%;
    max-width: 33rem;
    z-index: 1030;
    padding: 0;
    background-color: var(--bg-white) !important;
    border-radius: 1rem;
    margin: 1.5rem auto 0;
}

main {
    flex-grow: 1;
    /* para que tome todo el espacio restante */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centra verticalmente */
    padding-top: 1rem;
    /* margen mínimo arriba */
    padding-bottom: 1rem;
    /* margen mínimo abajo */
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Contenido del cuerpo */
main.redes {
    width: 100%;
    max-width: 44rem;
    margin: 5rem auto 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

main.redes div p {
    font-size: 1rem;
    color: var(--text-grey);
}


h1 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    line-height: 2.6rem;
    letter-spacing: -1.485px;
}

/* Cluster social */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-grid a {
    display: inline-block;
    text-align: center;
    background-color: var(--btn-gris-claro);
    color: var(--text-black);
    border-radius: 0.5rem;
    padding: 1.75rem;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-weight: 500;
}

.social-grid a:hover {
    background-image: var(--degradado-brand);
    transform: scale(1.02);
    color: white;
}

.social-grid a i {
    background-image: var(--degradado-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
    transition: color 0.1s ease;
}

.social-grid a:hover i {
    background-image: var(--degradado-white);
    color: white;
}

