section {
    min-height: auto;
    padding: 10rem 9% 2rem;
    z-index: var(--z-normal);
    overflow: hidden;
}

h1 {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .3);
}

.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9%;
    gap: 4rem;
    overflow: hidden;
}

.home-content {
    max-width: 60rem;
}

.home-content h1 {
    font-size: 9.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
    margin-top: 70px;
    text-wrap: balance;
}

#loquesoy {
    animation: cambioDeColor 4s forwards infinite alternate-reverse;
}

@keyframes cambioDeColor {
    0% { color: var(--blanco); }
    100% { color: var(--contraste); }
}

.botones {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 41rem;
    height: 6rem;
    border-radius: 50px;
    gap: 1.2rem;
}

.botones .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
    margin-left: 0;
    width: 19rem;
    height: 100%;
    background-color: var(--button-bg);
    border: .2rem solid var(--button-border);
    border-radius: 50px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--button-text);
    z-index: var(--z-normal); /* Variable */
    overflow: hidden;
    transition: .5s;
}

.botones .btn:hover {
    color: var(--button-hover-text);
}

.botones .btn:nth-child(2) {
    background: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}

.botones .btn:nth-child(2):hover {
    color: var(--button-text);
}

/* AQUÍ ESTABA EL ERROR: Corregido de :::before a ::before */
.botones .btn:nth-child(2)::before {
    background: var(--button-bg);
}

.botones .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--button-hover-fill);
    z-index: var(--z-fondo); /* Variable (-1) */
    transition: .5s;
}

.botones .btn:hover::before {
    width: 100%;
}

.social {
    margin-top: 6rem;
    z-index: var(--z-normal); /* Corregido para evitar sintaxis inválida en CSS puro */
    position: relative;
    display: inline-flex;
}

.social i {
    text-decoration: none;
    font-size: 5rem;
    margin-bottom: 10px;
    margin-right: 45px;
    color: var(--blanco);
}

.social i:hover {
    color: var(--contraste);
    transition: .3s;
}

.social a:focus-visible i,
.social a:focus-visible .social-label {
    color: var(--accent-gold);
}

.elguapo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.elguapo .profesion {
    margin-left: 6rem;
    font-weight: 700;
    font-size: 4rem;
}

.home-content p {
    margin-top: 2.4rem;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.65;
}

.mas {
    display: flex;
    justify-content: flex-start;
    margin-top: 2.4rem;
    align-items: center;
}

.mas a, .mas i {
    text-decoration: none;
    color: var(--blanco);
    font-size: 2.2rem;
    font-weight: 600;
    margin-right: 5px;
}

.imgyo {
    animation: reveal linear 1s forwards;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

.social a {
    display: inline-block;
    text-align: center;
    margin: 0 15px;
}

.social i {
    display: block;
    font-size: 5rem;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.social div {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}

.social .social-label {
    color: var(--blanco);
    font-size: 1.6rem;
}
