.gs-home-paths {
position: relative;
isolation: isolate;
min-height: clamp(460px, 58vw, 550px);
overflow: hidden;
background: #202020;
}

.gs-home-paths__media {
position: absolute;
inset: 0;
z-index: -2;
}

.gs-home-paths__bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transform: scale(1.04);
transition: opacity 1.1s ease;
}

.gs-home-paths__bg.is-active {
opacity: 1;
transform: scale(1);
animation: gsHomePathsZoom 4s cubic-bezier(.2, 0, .2, 1) forwards;
}

@keyframes gsHomePathsZoom {
from {
transform: scale(1);
}

to {
transform: scale(1.075);
}
}

.gs-home-paths::after {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(180deg, rgba(20, 20, 20, .18), rgba(20, 20, 20, .56));
pointer-events: none;
}

.gs-home-paths__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
min-height: inherit;
}

.gs-home-paths__item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-width: 0;
padding: clamp(30px, 4vw, 54px) clamp(20px, 3vw, 42px);
border-right: 1px solid rgba(255, 255, 255, .3);
color: var(--color-text-blanco);
text-decoration: none;
outline-offset: -4px;
overflow: hidden;
text-align: center;
}

.gs-home-paths__item:last-child {
border-right: 0;
}

.gs-home-paths__item::before {
content: "";
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0);
transition: background-color .7s ease;
}

.gs-home-paths__item:hover::before,
.gs-home-paths__item:focus-visible::before,
.gs-home-paths__item.is-active::before {
background: rgba(255, 255, 255, .12);
}

.gs-home-paths__label {
position: relative;
z-index: 1;
align-self: center;
font-size: clamp(20px, 2vw, 28px);
font-weight: var(--font-semibold);
line-height: 1;
text-transform: uppercase;
}

.gs-home-paths__content {
position: relative;
z-index: 1;
display: none;
gap: 14px;
max-width: 330px;
opacity: 0;
transform: translateY(18px);
transition: opacity .25s ease, transform .25s ease;
}

.gs-home-paths__item:hover .gs-home-paths__content,
.gs-home-paths__item:focus-visible .gs-home-paths__content,
.gs-home-paths__item.is-active .gs-home-paths__content {
opacity: 0;
transform: translateY(18px);
}

.gs-home-paths__title {
font-size: clamp(22px, 2.6vw, 36px);
font-weight: var(--font-bold);
line-height: 1.05;
}

.gs-home-paths__text {
max-width: 270px;
font-size: var(--text-sm);
line-height: 1.6;
color: rgba(255, 255, 255, .86);
}

.gs-home-paths__cta {
display: inline-flex;
align-items: center;
width: fit-content;
padding-bottom: 5px;
border-bottom: 1px solid currentColor;
color: var(--color-primario-anaranjado);
font-size: 12px;
font-weight: var(--font-bold);
letter-spacing: .1em;
text-transform: uppercase;
}

@media (max-width: 900px) {
.gs-home-paths {
min-height: clamp(300px, 70vw, 430px);
background: #202020;
}

.gs-home-paths__media {
display: block;
}

.gs-home-paths__bg {
transform: scale(1);
transition: opacity 1.1s ease;
}

.gs-home-paths__bg.is-active {
animation: gsHomePathsZoom 4s cubic-bezier(.2, 0, .2, 1) forwards;
}

.gs-home-paths::after {
display: block;
background: linear-gradient(180deg, rgba(20, 20, 20, .16), rgba(20, 20, 20, .68));
}

.gs-home-paths__grid {
position: relative;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-rows: 1fr 1fr;
min-height: inherit;
gap: 0;
}

.gs-home-paths__item {
min-height: 0;
padding: 22px 16px;
align-items: center;
justify-content: center;
border: 0;
border-right: 1px solid rgba(255, 255, 255, .28);
border-bottom: 1px solid rgba(255, 255, 255, .28);
transition: opacity .25s ease, background-color .25s ease;
background: transparent;
text-align: center;
}

.gs-home-paths__item:nth-child(2n) {
border-right: 0;
}

.gs-home-paths__item:nth-last-child(-n + 2) {
border-bottom: 0;
}

.gs-home-paths__label {
align-self: center;
font-size: 18px;
text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
text-align: center;
width: 100%;
}

.gs-home-paths__content {
position: absolute;
left: 18px;
right: 18px;
bottom: 18px;
z-index: 4;
display: none;
gap: 8px;
max-width: min(330px, calc(100vw - 36px));
transform: none;
opacity: 0;
pointer-events: none;
}

.gs-home-paths.has-active .gs-home-paths__item.is-active .gs-home-paths__content {
display: none;
}

.gs-home-paths.has-active .gs-home-paths__item.is-active {
background: rgba(255, 255, 255, .12);
}

.gs-home-paths__title {
font-size: clamp(22px, 6vw, 30px);
max-width: 300px;
}

.gs-home-paths__text {
max-width: 285px;
font-size: 13px;
line-height: 1.45;
}
}

@media (max-width: 640px) {
.gs-home-paths {
width: 100vw;
min-height: 300px;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
}

.gs-home-paths__grid {
padding: 0;
}

.gs-home-paths__item {
padding: 18px 12px;
}

.gs-home-paths__label {
font-size: 16px;
}

.gs-home-paths__cta {
font-size: 11px;
}
}
