/* ======================================== .main (inicio) ======================================= */

.main {
    position: relative;
    min-height: 700px;
}

.main .max-width {
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero__container {
    max-width: 600px;
    margin: auto 0;
    padding: 4rem 1.2rem;
    border: 1px solid var(--grey-light);
    border-radius: 1rem;
    backdrop-filter: blur(2px);
}

.hero__title {
    font-family: var(--medium-font);
    color: #fff;
}

.hero__title {
    font-family: var(--medium-font);
    color: #fff;
}

.hero__subtitle {
    font-size: var(--size-600);
    color: #fff;
}

.hero__subtitle a {
    font-size: var(--size-600);
    font-family: var(--bold-font);
    color: #fff;
    animation: coloured 0.5s forwards 1.5s;
}

@keyframes coloured {
    from {
        color: #fff;
    }
    to {
        color: var(--red-medium);
    }
}

.hero__list {
    padding-left: 0.2rem;
}

.hero__list li {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    font-family: var(--medium-font);
    color: #fff;
}

.hero__list li svg {
    width: 0.8rem;
    height: 0.8rem;
}

.hero__container .cta-button {
    margin: 2rem 0 0 0;
    font-size: var(--size-500);
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.main__blob {
    position: absolute;
    left: 0;
    top: -5rem;
    right: 0;
    width: 100%;
    height: 800px;
    border-radius: 70% 53% 0% 100% / 51% 0% 100% 49%;
    z-index: -1;
    background-image: linear-gradient(to right, rgba(52, 177, 253, 0.8), rgba(52, 177, 253, 0.6)),
    url('/assets/images/alarmas/alarmas-sin-electricidad/main/hero-bg-small.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30% 20%;
}

@media screen and (min-width: 900px) {
    .main {
        min-height: 800px;
    }
    
    .main .max-width {
        min-height: 800px;
    }

    .hero__container {
        padding: 4rem;
    }

    .main__blob {
        height: 900px;
        border-radius: 61% 59% 0% 100% / 59% 0% 100% 31%;
        background-image: linear-gradient(to right, rgba(52, 177, 253, 0.8), rgba(52, 177, 253, 0.6)),
        url('/assets/images/alarmas/alarmas-sin-electricidad/main/hero-bg-medium.webp');
    }
}

@media screen and (min-width: 1200px) {
    .hero__container .cta-button {
        margin: 2.6rem 0 0 0;
    }

    .main__blob {
        background-image: linear-gradient(to right, rgba(52, 177, 253, 0.8), rgba(52, 177, 253, 0.6)),
        url('/assets/images/alarmas/alarmas-sin-electricidad/main/hero-bg-large.webp');
    }
}

/* ======================================== .main (final) ======================================== */

/* ======================================== .companys (inicio) ================================ */

.companys {
    padding-top: 0;
}

.companys__slider {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden; 
}

.companys__slider::before,
.companys__slider::after {
    position: absolute;
    content: '';
    height: 100%;
    width: 25%;
    z-index: 2;
    pointer-events: none;
}

.companys__slider::before {
    left: 0;
    top: 0;
}

.companys__slider::after {
    top: 0;
    right: 0;
    transform: rotateZ(180deg);
}

.companys__track {
    width: calc(150px * 20);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(calc(-150px * 10));
    }
}

.company__card {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 0.50rem;
    box-shadow: var(--box-shadow);
}

.company__card--link {
    cursor: default;
}

.company__card--img {
  object-fit: cover;
}

@media screen and (min-width: 1000px) {
    .companys__slider::before,
    .companys__slider::after {
        background-image: linear-gradient(to right,rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    }
}

/* ======================================== .companys (final) ================================= */

/* ======================================== .steps__banner (inicio) =============================== */

.steps__banner {
    background-color: rgba(52, 177, 253, 0.05);
}

.section__title {
    position: relative;
}

.section__title::before {
    content: "";
    position: absolute;
    top: 105%;
    width: 10%;
    left: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--blue-light), var(--blue-light));
}

.steps__card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: #fff;
}

.steps__card--middle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.steps__card--middle img {
    width: 4rem;
    margin-left: -0.5rem;
}

/* ======================================== .steps__banner (final) ================================ */

/* ======================================== .configurator (inicio) ================================ */

.configurator {
    background-color: var(--blue-extrabold);
}

.configurator > span {
    visibility: hidden;
}

.configurator__step--number.active {
    border: 1px solid var(--blue-light);
}

.configurator__step--number.selected {
    border: 1px solid var(--blue-light);
}

.configurator__title,
.configurator__subtitle,
.configurator__step--text,
.loader__text,
.output__filters--sort h5,
.output__text p,
.current-month-and-year {
    color: #fff;
}

.configurator__subtitle {
    font-size: var(--size-400);
    font-family: var(--light-font);
    text-align: center;
}

/* ======================================== .configurator (final) ================================= */

/* ======================================== .sections__container (inicio) ========================= */

.sections__container {
    display: grid;
    grid-gap: 1.2rem;
    grid-template-areas:
    "index"
    "article";
}

.index {
    grid-area: "index";
    padding: 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 8px;
}

.article {
    grid-area: "article";
}

.index__list {
    padding: 0;
    counter-reset: lista1;
}

.index__list li,
.index__list .index__link {
    line-height: 1.2;
}

.index__list > li {
    counter-increment: lista1;
}

.index__list li::before {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--size-300);
    border-radius: 50%;
    content: counter(lista1);
    background-color:var(--blue-light);
    color: #fff;
}

.index__sublist {
    margin-top: 0.6rem;
    counter-reset: lista2;
}

.index__sublist > li {
    counter-increment: lista2;
}

.index__sublist > li::before {
    content: counter(lista1) "." counter(lista2) " ";
    font-size: 0.8rem;
    font-family: var(--light-font);
    background-color: #fff;
    color: var(--blue-light)
}

.index__link {
    font-size: var(--size-400);
    transition: color 0.3s ease;
}

.index__link:hover,
.index__sublink:hover,
.index__link.active-link {
    color: var(--blue-light);
}

.index__sublink {
    line-height: 0;
    font-family: var(--light-font);
    font-size: 0.8rem;
    color: var(--grey-medium);
}

.sections__container section {
    padding: 0;
}

.highlated__list {
    max-width: 1000px;
    padding: 1.2rem 0.6rem 1.2rem 2.4rem;
    list-style: lower;
    border: 1px solid var(--grey-light);
    border-left: 4px solid var(--blue-light);
}

@media screen and (min-width: 1000px) {
    .sections__container {
        grid-template:
        "index article" auto /
        20% auto;
        grid-gap: 2rem;
    }

    .sections__container section:first-of-type {
        margin-top: 0;
    }

    .index {
        position: sticky;
        top: 2rem;
        height: 300px;
        overflow-y: scroll;
    }
}

/* ======================================== .sections__container (final) ========================= */