/* ==========================================================
   PORTADA
========================================================== */

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 700px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(22, 119, 255, 0.18),
            transparent 34%
        ),
        linear-gradient(
            90deg,
            #04101d 0%,
            #06192c 48%,
            #082446 100%
        );
}


.home-hero-container {
    display: grid;
    min-height: 700px;
    grid-template-columns:
        minmax(500px, 0.95fr)
        minmax(520px, 1.05fr);
    gap: 20px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 65px;
}


.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 690px;
}


/* ETIQUETA SUPERIOR */

.home-hero-label {
    margin-bottom: 17px;
    color: var(--turquoise-400);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* TÍTULO */

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(
        2.35rem,
        3.9vw,
        3.8rem
    );
    line-height: 1.08;
}


/* DESCRIPCIÓN */

.home-hero-description {
    max-width: 620px;
    margin-bottom: 29px;
    color: #d5dfeb;
    font-size: 1.05rem;
    line-height: 1.7;
}


/* OPCIONES DE SERVICIO */

.home-hero-services {
    display: grid;
    gap: 12px;
    max-width: 590px;
    margin-bottom: 27px;
}


.home-service-option {
    position: relative;
    display: grid;
    grid-template-columns:
        48px
        1fr
        30px;
    gap: 15px;
    align-items: center;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(
        255,
        255,
        255,
        0.13
    );
    border-radius: 15px;
    background: rgba(
        255,
        255,
        255,
        0.055
    );
    color: var(--white);
    backdrop-filter: blur(10px);
    transition:
        transform 280ms ease,
        background 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease;
}


.home-service-option:hover {
    border-color: rgba(
        22,
        119,
        255,
        0.5
    );
    background: rgba(
        22,
        119,
        255,
        0.12
    );
    box-shadow:
        0 16px 35px
        rgba(
            0,
            0,
            0,
            0.16
        );
    transform: translateX(7px);
}


.home-service-option.web:hover {
    border-color: rgba(
        0,
        194,
        168,
        0.5
    );
    background: rgba(
        0,
        194,
        168,
        0.11
    );
}


/* NÚMERO */

.home-service-icon {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--blue-400)
        );
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 800;
}


.home-service-option.web
.home-service-icon {
    background:
        linear-gradient(
            135deg,
            var(--turquoise-600),
            var(--turquoise-400)
        );
}


/* TEXTOS */

.home-service-option strong {
    display: block;
    margin-bottom: 2px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
}


.home-service-option small {
    display: block;
    color: #aebed0;
    font-size: 0.84rem;
}


/* FLECHA */

.home-service-arrow {
    color: var(--blue-400);
    font-size: 1.35rem;
    transition: transform 250ms ease;
}


.home-service-option.web
.home-service-arrow {
    color: var(--turquoise-400);
}


.home-service-option:hover
.home-service-arrow {
    transform: translateX(5px);
}


/* BOTONES */

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}


.home-whatsapp-link {
    color: var(--turquoise-400);
    font-weight: 800;
    transition:
        color 250ms ease,
        transform 250ms ease;
}


.home-whatsapp-link:hover {
    color: var(--white);
    transform: translateX(4px);
}


/* IMAGEN */

.home-hero-visual {
    position: relative;
    min-height: 550px;
    overflow: visible;
}


.home-hero-visual img {
    position: absolute;
    top: 50%;
    left: 32%;
    width: 850px;
    max-width: none;
    transform:
        translate(
            -50%,
            -50%
        );
    object-fit: contain;
    filter:
        drop-shadow(
            0 0 50px
            rgba(
                22,
                119,
                255,
                0.22
            )
        );
    animation:
        homeNetworkFloat
        7s
        ease-in-out
        infinite;
}


@keyframes homeNetworkFloat {

    0%,
    100% {
        transform:
            translate(
                -50%,
                -50%
            );
    }

    50% {
        transform:
            translate(
                -50%,
                calc(-50% - 9px)
            );
    }

}


/* TABLET */

@media (max-width: 1050px) {

    .home-hero-container {
        grid-template-columns:
            minmax(420px, 0.95fr)
            minmax(410px, 1.05fr);
    }

    .home-hero-visual img {
        left: 43%;
        width: 790px;
    }

}


/* CELULAR / TABLET VERTICAL */

@media (max-width: 860px) {

    .home-hero {
        min-height: auto;
    }

    .home-hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 70px;
        padding-bottom: 25px;
    }

    .home-hero-content {
        max-width: 720px;
    }

    .home-hero-visual {
        min-height: 390px;
    }

    .home-hero-visual img {
        top: 48%;
        left: 50%;
        width: 760px;
    }

}


/* CELULAR */

@media (max-width: 580px) {

    .home-hero-container {
        padding-top: 55px;
    }

    .home-hero h1 {
        font-size:
            clamp(
                2.3rem,
                11vw,
                3.15rem
            );
    }

    .home-service-option {
        grid-template-columns:
            43px
            1fr
            25px;
        padding: 14px;
    }

    .home-service-icon {
        width: 41px;
        height: 41px;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero-actions
    .button {
        width: 100%;
    }

    .home-whatsapp-link {
        padding: 7px 0;
        text-align: center;
    }

    .home-hero-visual {
        min-height: 300px;
    }

    .home-hero-visual img {
        width: 610px;
    }

}

/* ==========================================================
   FRANJA DE CONFIANZA
========================================================== */

.home-trust {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-trust article {
    display: flex;
    min-height: 105px;
    align-items: center;
    gap: 15px;
    padding: 22px 24px;
    border-right: 1px solid var(--border);
    transition:
        background 250ms ease,
        transform 250ms ease;
}

.home-trust article:last-child {
    border-right: 0;
}

.home-trust article:hover {
    background: #f4f8ff;
    transform: translateY(-4px);
}

.home-trust-icon {
    display: inline-flex;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    color: var(--white);
    font-size: 0.73rem;
    font-weight: 800;
}

.home-trust strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy-800);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.home-trust p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.8rem;
}

@media (max-width: 860px) {

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-trust article:nth-child(2) {
        border-right: 0;
    }

    .home-trust article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

}

@media (max-width: 580px) {

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-trust article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .home-trust article:last-child {
        border-bottom: 0;
    }

}

.introduction-inner {
    max-width: 830px;
    margin-inline: auto;
}

.introduction h2 {
    margin-bottom: 22px;
}

/* ==========================================================
   ÁREAS PRINCIPALES
========================================================== */

.branches {
    background: var(--white);
}

.branches-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.branches-heading h2 {
    margin-bottom: 16px;
}

.branches-heading > p:last-child {
    max-width: 650px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* TARJETA */

.branch-main-card {
    position: relative;
    display: flex;
    min-height: 520px;
    flex-direction: column;
    overflow: hidden;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    color: var(--text);
    box-shadow:
        0 16px 45px rgba(6, 17, 31, 0.08);
    transition:
        transform 300ms ease,
        box-shadow 300ms ease,
        border-color 300ms ease;
}

.branch-main-card.systems {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(22, 119, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #eef5ff
        );
}

.branch-main-card.web {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(0, 194, 168, 0.14),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #edfffb
        );
}

.branch-main-card:hover {
    transform: translateY(-10px);
}

.branch-main-card.systems:hover {
    border-color: rgba(22, 119, 255, 0.45);
    box-shadow:
        0 28px 65px rgba(22, 119, 255, 0.17);
}

.branch-main-card.web:hover {
    border-color: rgba(0, 194, 168, 0.5);
    box-shadow:
        0 28px 65px rgba(0, 169, 144, 0.17);
}


/* PARTE SUPERIOR */

.branch-main-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.branch-main-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--blue-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
}

.branch-main-card.web .branch-main-number {
    background: var(--turquoise-600);
}

.branch-main-category {
    color: var(--blue-600);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.branch-main-card.web .branch-main-category {
    color: var(--turquoise-600);
}


/* PRECIO */

.branch-price-badge {
    position: absolute;
    top: 36px;
    right: 35px;
    padding: 8px 14px;
    border-radius: 99px;
    background: var(--turquoise-600);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 800;
}


/* ICONO */

.branch-main-icon {
    display: flex;
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 22px;
    background: rgba(22, 119, 255, 0.09);
    transition:
        transform 300ms ease,
        background 300ms ease;
}

.branch-main-card.web .branch-main-icon {
    background: rgba(0, 194, 168, 0.1);
}

.branch-main-icon svg {
    width: 60px;
    fill: none;
    stroke: var(--blue-600);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.branch-main-card.web .branch-main-icon svg {
    stroke: var(--turquoise-600);
}

.branch-main-card:hover .branch-main-icon {
    transform:
        translateY(-5px)
        scale(1.08)
        rotate(-3deg);
}


/* TEXTO */

.branch-main-card h3 {
    margin-bottom: 13px;
    font-size: clamp(2rem, 4vw, 2.65rem);
}

.branch-main-description {
    max-width: 520px;
    margin-bottom: 22px;
}


/* LISTA */

.branch-main-card ul {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.branch-main-card li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 25px;
}

.branch-main-card li::before {
    position: absolute;
    left: 0;
    color: var(--blue-600);
    content: "✓";
    font-weight: 900;
}

.branch-main-card.web li::before {
    color: var(--turquoise-600);
}


/* PIE */

.branch-main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--blue-600);
    font-weight: 800;
}

.branch-main-card.web .branch-main-footer {
    color: var(--turquoise-600);
}

.branch-main-footer strong {
    font-size: 1.5rem;
    transition: transform 250ms ease;
}

.branch-main-card:hover .branch-main-footer strong {
    transform: translateX(7px);
}


/* RESPONSIVO */

@media (max-width: 860px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .branch-main-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .branch-price-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 22px;
    }
}

.benefits {
    background: var(--background);
}

.benefit-card {
    padding: 29px 25px;
}

.benefit-number {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--blue-600);
    font-family: var(--font-heading);
    font-size: 0.83rem;
    font-weight: 800;
}

/* ==========================================================
   NUESTRO PROCESO — TARJETAS CON GIRO
========================================================== */

.process {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 119, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.process .section-label {
    color: var(--turquoise-400);
}

.process h2 {
    color: var(--white);
}

.process .section-heading > p {
    color: var(--text-light);
}

/* CUADRÍCULA */

.process-flip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* CONTENEDOR DE CADA TARJETA */

.process-flip-card {
    height: 390px;
    perspective: 1300px;
    cursor: pointer;
    outline: none;
}

.process-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition:
        transform 750ms
        cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* GIRO CON MOUSE Y TECLADO */

.process-flip-card:hover .process-flip-inner,
.process-flip-card:focus .process-flip-inner,
.process-flip-card:focus-within .process-flip-inner {
    transform: rotateY(180deg);
}

/* CARAS DE LA TARJETA */

.process-flip-front,
.process-flip-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* CARA DELANTERA */

.process-flip-front {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background-position: center;
    background-size: cover;
    transition:
        box-shadow 300ms ease,
        border-color 300ms ease;
}

.process-flip-front::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(3, 13, 25, 0.98) 0%,
            rgba(3, 13, 25, 0.7) 43%,
            rgba(3, 13, 25, 0.12) 100%
        );
    content: "";
}

.process-flip-front::after {
    position: absolute;
    top: -80%;
    left: -110%;
    width: 65%;
    height: 260%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
    content: "";
    transform: rotate(22deg);
    transition: left 700ms ease;
}

.process-flip-card:hover .process-flip-front::after,
.process-flip-card:focus .process-flip-front::after {
    left: 145%;
}

/* IMÁGENES DE CADA PASO */

.process-step-1 {
    background-image:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=85");
}

.process-step-2 {
    background-image:
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=85");
}

.process-step-3 {
    background-image:
        url("https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=900&q=85");
}

.process-step-4 {
    background-image:
        url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=900&q=85");
}

/* NÚMERO */

.process-flip-number {
    position: relative;
    z-index: 3;
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow:
        0 12px 28px rgba(22, 119, 255, 0.32);
}

/* TÍTULO DEL FRENTE */

.process-front-content {
    position: relative;
    z-index: 3;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(4, 16, 29, 0.78);
    backdrop-filter: blur(10px);
}

.process-front-content h3 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1.55rem;
    line-height: 1.12;
}

.process-view-detail {
    display: inline-flex;
    align-items: center;
    color: var(--turquoise-400);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.process-view-detail::after {
    margin-left: 8px;
    content: "↻";
    font-size: 1rem;
}

/* CARA POSTERIOR */

.process-flip-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 27px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(0, 194, 168, 0.18),
            transparent 33%
        ),
        linear-gradient(
            145deg,
            #071629,
            #0d3155
        );
    color: var(--white);
    transform: rotateY(180deg);
}

.process-flip-back .process-flip-number {
    margin-bottom: 20px;
}

.process-flip-back h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 1.55rem;
}

.process-flip-back p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
}

.process-flip-back ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-flip-back li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 0.87rem;
}

.process-flip-back li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--turquoise-400);
    content: "✓";
    font-weight: 900;
}

/* RESALTADO AL ENFOCAR */

.process-flip-card:focus-visible {
    border-radius: 24px;
    outline: 3px solid var(--turquoise-400);
    outline-offset: 5px;
}

/* TABLETS */

@media (max-width: 1050px) {
    .process-flip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-flip-card {
        height: 370px;
    }
}

/* CELULARES */

@media (max-width: 580px) {
    .process-flip-grid {
        grid-template-columns: 1fr;
    }

    .process-flip-card {
        height: 355px;
    }

    .process-front-content h3,
    .process-flip-back h3 {
        font-size: 1.4rem;
    }

    .process-flip-back {
        padding: 26px 23px;
    }
}

.projects {
    background: var(--white);
}

/* ==========================================================
   TARJETAS DE PROYECTOS
========================================================== */

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    box-shadow:
        0 12px 35px rgba(6, 17, 31, 0.08);
    transition:
        transform 320ms ease,
        box-shadow 320ms ease,
        border-color 320ms ease;
}

.project-card:hover {
    border-color: rgba(22, 119, 255, 0.5);
    box-shadow:
        0 25px 65px rgba(22, 119, 255, 0.2);
    transform: translateY(-12px);
}

.project-card-catalog:hover {
    border-color: rgba(0, 194, 168, 0.55);
    box-shadow:
        0 25px 65px rgba(0, 169, 144, 0.2);
}


/* ZONA SUPERIOR */

.project-visual {
    position: relative;
    display: flex;
    min-height: 245px;
    align-items: flex-end;
    overflow: hidden;
    padding: 25px;
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(85, 162, 255, 0.28),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #071629,
            #124d88
        );
}

.project-card-web .project-visual {
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(85, 162, 255, 0.35),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #092036,
            #1677ff
        );
}

.project-card-catalog .project-visual {
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(34, 211, 189, 0.3),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #07302e,
            #00a990
        );
}


/* BRILLO ANIMADO */

.project-visual::before {
    position: absolute;
    top: -70%;
    left: -100%;
    width: 70%;
    height: 240%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.16),
            transparent
        );
    content: "";
    transform: rotate(20deg);
    transition: left 650ms ease;
}

.project-card:hover .project-visual::before {
    left: 135%;
}


/* ILUSTRACIÓN */

.project-illustration {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 165px;
    opacity: 0.9;
    transition:
        transform 420ms ease,
        opacity 320ms ease;
}

.project-card:hover .project-illustration {
    opacity: 1;
    transform:
        translateY(-8px)
        rotate(2deg)
        scale(1.08);
}

.project-illustration svg {
    width: 100%;
    height: auto;
    overflow: visible;
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.project-illustration .svg-detail {
    fill: rgba(255, 255, 255, 0.16);
    stroke: rgba(255, 255, 255, 0.32);
}

.project-illustration .svg-accent {
    fill: var(--turquoise-500);
    stroke: var(--turquoise-400);
}

.project-card-web .svg-accent {
    fill: var(--blue-400);
    stroke: #8bc3ff;
}

.project-card-catalog .svg-accent {
    fill: var(--turquoise-400);
    stroke: #81f2e2;
}


/* ETIQUETA */

.project-tag {
    position: relative;
    z-index: 3;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    background: rgba(4, 16, 29, 0.58);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition:
        background 250ms ease,
        transform 250ms ease;
}

.project-card:hover .project-tag {
    background: rgba(4, 16, 29, 0.8);
    transform: translateX(5px);
}


/* CONTENIDO INFERIOR */

.project-content {
    position: relative;
    min-height: 215px;
    padding: 27px;
    background: var(--white);
}

.project-content::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--blue-600),
            var(--blue-400)
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms ease;
}

.project-card-catalog .project-content::after {
    background:
        linear-gradient(
            90deg,
            var(--turquoise-600),
            var(--turquoise-400)
        );
}

.project-card:hover .project-content::after {
    transform: scaleX(1);
}

.project-category {
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-card-catalog .project-category {
    color: var(--turquoise-600);
}

.project-content h3 {
    margin-bottom: 13px;
    transition:
        color 250ms ease,
        transform 250ms ease;
}

.project-card:hover .project-content h3 {
    color: var(--blue-600);
    transform: translateX(4px);
}

.project-card-catalog:hover .project-content h3 {
    color: var(--turquoise-600);
}

.project-content > p:not(.project-category) {
    margin-bottom: 22px;
}


/* ENLACE INFERIOR */

.project-open {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-600);
    font-size: 0.9rem;
    font-weight: 800;
}

.project-card-catalog .project-open {
    color: var(--turquoise-600);
}

.project-open span {
    transition: transform 250ms ease;
}

.project-card:hover .project-open span {
    transform: translateX(7px);
}


/* ACCESIBILIDAD CON TECLADO */

.project-card:focus-visible {
    outline: 3px solid var(--turquoise-500);
    outline-offset: 5px;
}


/* CELULARES */

@media (max-width: 580px) {

    .project-visual {
        min-height: 220px;
    }

    .project-illustration {
        top: 32px;
        right: 18px;
        width: 145px;
    }

    .project-content {
        min-height: auto;
    }

}

@media (max-width: 1050px) {
    .home-hero-container {
        grid-template-columns: minmax(390px, 0.96fr) minmax(410px, 1.04fr);
    }

    .home-hero-visual img {
        left: 45%;
        width: 800px;
    }
}

@media (max-width: 860px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 72px;
        padding-bottom: 25px;
    }

    .home-hero-content {
        max-width: 700px;
    }

    .home-hero-visual {
        min-height: 390px;
    }

    .home-hero-visual img {
        top: 47%;
        left: 50%;
        width: 780px;
        transform: translate(-50%, -50%);
    }

}

@media (max-width: 580px) {
    .home-hero-container {
        padding-top: 58px;
    }

    .home-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.15rem);
    }

    .home-hero-actions,
    .home-hero-actions .button {
        width: 100%;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-hero-visual {
        min-height: 300px;
    }

    .home-hero-visual img {
        width: 610px;
    }

}
