.hero {

    position: relative;

    min-height: 100svh;

    overflow: hidden;

    background: #050505;

    display: flex;
    align-items: center;

    --nav-height: 92px;

    padding-top: var(--nav-height);
    padding-bottom: 80px;

    box-sizing: border-box;
}

.hero-background {

    position: absolute;
    inset: 0;

    background:

        radial-gradient(
            circle at 20% 50%,
            rgba(0,195,255,.15),
            transparent 40%
        ),

        radial-gradient(
            circle at 80% 50%,
            rgba(122,0,255,.15),
            transparent 40%
        ),

        linear-gradient(
            90deg,
            #050505,
            #090909
        );
}

.hero-content {

    width: 100%;
    max-width: 1500px;

    margin: auto;

    padding: 0 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;

    position: relative;
    z-index: 5;
}

/* IZQUIERDA */

.hero-left {

    flex: 0 0 min(48%, 650px);
    min-width: 0;
}

.hero-tag {

    color: #8c8c8c;
    letter-spacing: 2px;
    font-size: .9rem;
}

.hero-title {

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;

    margin: 25px 0;
}

.hero-title span {

    background: linear-gradient(
        90deg,
        #00c3ff,
        #7a00ff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {

    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: #ddd;

    margin-bottom: 20px;
}

.hero-desc {

    color: #8a8a8a;

    line-height: 1.8;

    max-width: 560px;
}

/* BOTONES */

.hero-buttons {

    display: flex;
    gap: 20px;

    margin-top: 40px;
}

.btn-primary {

    border: none;

    padding: 16px 30px;

    border-radius: 14px;

    color: white;

    background:
        linear-gradient(
            45deg,
            #00c3ff,
            #7a00ff
        );

    cursor: pointer;

    min-height: 52px;
}

.btn-secondary {

    background: transparent;

    border: 1px solid #333;

    color: white;

    padding: 16px 30px;

    border-radius: 14px;

    cursor: pointer;

    min-height: 52px;
}

/* FEATURES */

.hero-features {

    display: flex;
    gap: 25px;

    flex-wrap: wrap;

    margin-top: 50px;
}

.feature {

    color: #ccc;

    font-size: .95rem;
}

.feature span {

    color: #00c3ff;
}

/* DERECHA */

.hero-right {

    position: relative;

    flex: 1;
    min-width: 0;
}

/* IMAGEN */

.project-preview {

    position: relative;

    width: 100%;

    max-width: 850px;

    margin: auto;

    animation:
        floatProject 8s ease-in-out infinite;
}

.project-preview img {

    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;

    border-radius: 32px;

    display: block;
}

/* FUSIÓN */

.project-overlay {

    position: absolute;
    inset: 0;

    border-radius: 32px;

    background:

        linear-gradient(
            to left,
            rgba(0,0,0,0),
            rgba(5,5,5,.8)
        ),

        linear-gradient(
            to bottom,
            rgba(0,0,0,0),
            rgba(5,5,5,.7)
        );
}

/* CARD */

.project-card {

    position: absolute;

    bottom: -50px;

    left: 50%;

    transform: translateX(-50%);

    width: 90%;

    backdrop-filter: blur(20px);

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 20px;

    padding: 25px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 20px;
}

.project-card span {

    display: block;

    color: #777;

    font-size: .85rem;

    margin-bottom: 8px;
}

.project-card strong {

    color: white;
}

.intro-seo {

    padding: 100px 0 120px;
    background: linear-gradient(180deg, #050505 0%, #08080c 100%);
    color: #e8e8e8;
}

.intro-seo-content {

    max-width: 1180px;
    margin: auto;
    padding: 0 80px;
    display: grid;
    gap: 32px;
}

.intro-seo h2 {

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    max-width: 720px;
    margin-bottom: 8px;
}

.intro-seo p {

    max-width: 760px;
    color: #b9b9b9;
    font-size: 1.05rem;
    line-height: 1.9;
}

.seo-highlights {

    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
}

.seo-highlights article {

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px 26px;
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.seo-highlights article:hover {

    transform: translateY(-6px);
    border-color: rgba(0, 195, 255, 0.3);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}

.seo-highlights h3 {

    margin: 0 0 12px;
    font-size: 1.15rem;
}

.seo-highlights p {

    color: #c4c4c4;
    line-height: 1.85;
    margin: 0;
}

@keyframes floatProject {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {

    .hero-content {
        padding: 0 48px;
        gap: 48px;
    }

    .project-card {
        grid-template-columns: repeat(2, 1fr);
        bottom: -40px;
    }
}

@media (max-width: 1024px) {

    .hero {
        --nav-height: 84px;
        align-items: flex-start;
        padding-bottom: 70px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 56px;
        margin-top: 34px;
    }

    .intro-seo {
        padding: 80px 0 90px;
    }

    .intro-seo-content {
        padding: 0 48px;
    }

    .seo-highlights {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .hero-left {
        flex: none;
        max-width: 760px;
        width: 100%;
    }

    .hero-right {
        width: 100%;
    }

    .project-preview {
        max-width: 760px;
        margin: 0;
    }

    .project-card {
        left: 24px;
        right: 24px;
        width: auto;
        transform: none;
    }
}

@media (max-width: 767px) {

    .hero {
        --nav-height: 78px;
        padding-bottom: 56px;
    }

    .hero-content {
        padding: 0 20px;
        gap: 40px;
        margin-top: 24px;
    }

    .intro-seo {
        padding: 60px 0 70px;
    }

    .intro-seo-content {
        padding: 0 20px;
        gap: 24px;
    }

    .seo-highlights {
        grid-template-columns: 1fr;
    }

    .hero-tag {
        display: block;
        font-size: .74rem;
        line-height: 1.5;
        letter-spacing: 1.4px;
        max-width: 280px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 12vw, 3.25rem);
        line-height: 1.08;
        margin: 18px 0;
    }

    .hero-sub {
        font-size: 1.02rem;
        line-height: 1.6;
    }

    .hero-desc {
        font-size: .95rem;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
        margin-top: 30px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 15px 20px;
        border-radius: 12px;
    }

    .hero-features {
        gap: 14px 18px;
        margin-top: 34px;
    }

    .feature {
        width: calc(50% - 9px);
        font-size: .88rem;
    }

    .project-preview {
        animation: none;
    }

    .project-preview img,
    .project-overlay {
        border-radius: 20px;
    }

    .project-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 16px;
    }

    .project-card span {
        font-size: .78rem;
    }

    .project-card strong {
        display: block;
        font-size: .9rem;
        line-height: 1.4;
    }
}

@media (max-width: 420px) {

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 11vw, 2.65rem);
    }

    .feature,
    .project-card {
        width: 100%;
    }

    .project-card {
        grid-template-columns: 1fr;
    }
}
