/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #080808;
    color: #f4edcf;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


:root {

    --negro: #080808;
    --negro-2: #0d0b0a;

    --cafe: #21120d;
    --cafe-2: #32170f;

    --naranja: #e66f42;
    --naranja-claro: #f18459;

    --crema: #f4edcf;

    --texto: #e7ded5;
    --gris: #938a83;

    --verde: #6ee2b2;

    --borde: rgba(255,255,255,.10);
}



/* =====================================================
   LINKS
===================================================== */

a {
    text-decoration: none;
    color: inherit;
}



/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    width: 100%;
    height: 65px;

    padding: 0 7.8%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #090909;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

    position: relative;

    z-index: 1000;
}



/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;
    align-items: center;
    gap: 12px;
}


.logo-icon {

    width: 40px;
    height: 40px;

    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #ed8850,
            #bd5b35
        );

    color: white;

    font-size: 12px;
    font-weight: bold;
}


.logo-info h2 {

    font-size: 14px;

    letter-spacing: .5px;

    color: var(--crema);
}


.logo-info span {

    display: block;

    margin-top: 3px;

    color: #85817d;

    font-size: 9px;
}



/* =====================================================
   MENÚ
===================================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 29px;
}


.nav-menu a {

    color: #8d8986;

    text-decoration: none;

    font-size: 13px;

    position: relative;

    transition: .3s ease;
}


.nav-menu a:hover {

    color: var(--crema);
}


.nav-menu a.active {

    color: var(--crema);

    font-weight: bold;
}


.nav-menu a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -9px;

    height: 2px;

    background: var(--naranja);

    box-shadow:
        0 0 8px
        rgba(232,118,63,.5);
}


/* Botón Administrador LENAMI */
.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: #ed6b3c;
    color: #080808;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #ed6b3c;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: transparent;
    color: #ed6b3c;
    box-shadow: 0 0 12px rgba(237, 107, 60, 0.25);
    transform: translateY(-2px);
}

.btn-admin i {
    font-size: 16px;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .btn-admin {
        padding: 10px 13px;
        font-size: 13px;
    }
}

/* =====================================================
   BOTÓN MOBILE
===================================================== */

.menu-button {

    display: none;

    background: transparent;

    border: none;

    color: white;

    font-size: 27px;

    cursor: pointer;

    padding: 5px;
}



/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 590px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 60px;

    padding:
        70px 8%;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 30%,
            rgba(200,109,68,.25),
            transparent 60%
        ),

        linear-gradient(
            110deg,
            #080808,
            #120a07,
            #1c0d07
        );
}


.hero-content {

    max-width: 550px;

    position: relative;

    z-index: 2;
}


.subtitle {

    color: var(--naranja);

    font-size: .85rem;

    font-weight: bold;

    letter-spacing: 2px;
}


.hero h1 {

    font-size:
        clamp(2.8rem, 5vw, 4.5rem);

    line-height: 1.05;

    margin: 15px 0 20px;

    color: var(--crema);
}


.hero h1 .highlight {

    color: var(--naranja);
}


.hero p {

    color: var(--gris);

    font-size: 1rem;

    margin-bottom: 30px;

    line-height: 1.6;
}



/* =====================================================
   BOTONES HERO
===================================================== */

.hero-buttons {

    display: flex;

    gap: 18px;

    margin-bottom: 40px;

    align-items: center;

    flex-wrap: wrap;
}


.btn-primary {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 12px 20px;

    border-radius: 30px;

    background: var(--naranja);

    color: #111;

    font-weight: bold;

    font-size: .9rem;

    transition: .3s ease;
}


.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(230,111,66,.25);
}


.btn-secondary {

    color: var(--crema);

    font-weight: 500;

    font-size: .95rem;

    display: flex;

    align-items: center;

    gap: 10px;

    transition: .3s ease;
}


.btn-secondary:hover {

    color: var(--naranja);
}


.btn-secondary i {

    border:
        1px solid
        var(--gris);

    padding: 8px;

    border-radius: 50%;

    font-size: .75rem;

    transition: .3s ease;
}



/* =====================================================
   REDES
===================================================== */

.available-freelance {

    display: flex;

    align-items: center;

    gap: 20px;
}


.available-freelance > span {

    font-size: .75rem;

    color: var(--gris);

    letter-spacing: 1px;
}


.social-links {

    display: flex;

    gap: 10px;
}


.social-links a {

    color: var(--crema);

    background:
        rgba(255,255,255,.07);

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: .85rem;

    text-decoration: none;

    transition: .3s ease;
}


.social-links a:hover {

    background: var(--naranja);

    color: #111;

    transform:
        translateY(-3px);
}


/* =====================================================
   IMAGEN HERO
===================================================== */

.hero-image {

    width: min(400px, 40vw);

    height: 450px;

    background-image:
        url("../imagenes/img2.jpeg");

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

    border:
        3px solid
        var(--naranja);

    border-radius:
        200px 200px 20px 20px;

    position: relative;

    flex-shrink: 0;

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.4);
}


/* =====================================================
   BADGE
===================================================== */

.experience-badge {

    position: absolute;

    bottom: 20px;

    right: -30px;

    background:
        #17110e;

    border:
        1px solid
        rgba(255,255,255,.12);

    padding: 15px;

    border-radius: 12px;

    display: flex;

    gap: 12px;

    align-items: center;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.5);

    min-width: 190px;
}


.experience-badge i {

    color: var(--naranja);

    font-size: 1.2rem;

    background:
        rgba(200,109,68,.1);

    padding: 10px;

    border-radius: 8px;
}


.experience-badge strong {

    font-size: 1.1rem;

    display: block;
}


.experience-badge p {

    font-size: .8rem;

    margin: 2px 0;

    color: var(--crema);
}


.experience-badge small {

    font-size: .65rem;

    color: var(--gris);
}



/* =====================================================
   GRUPOS
===================================================== */

.grupos-section {

    width: 90%;

    max-width: 1320px;

    margin: auto;

    padding:
        90px 0 110px;
}


.titulo {

    text-align: center;

    margin-bottom: 45px;
}


.subtitulo {

    color: var(--naranja);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;
}


.titulo h1 {

    color: var(--crema);

    font-size:
        clamp(34px,4vw,55px);

    margin:
        15px 0 10px;
}


.titulo h1 span {

    color: var(--naranja);
}


.titulo p {

    color: var(--gris);

    line-height: 1.6;

    font-size: 14px;
}



/* =====================================================
   TARJETAS
===================================================== */

.grupos-container {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;
}


.grupo-card {

    position: relative;

    padding: 28px;

    background:

        linear-gradient(
            145deg,
            rgba(50,23,15,.85),
            rgba(20,12,9,.95)
        );

    border:
        1px solid
        rgba(230,111,66,.15);

    border-radius: 20px;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    overflow: hidden;
}


.grupo-card::before {

    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    top: -60px;
    right: -60px;

    border-radius: 50%;

    background:
        rgba(230,111,66,.12);

    filter: blur(15px);
}


.grupo-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(230,111,66,.55);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.35);
}


.grupo-card.destacado {

    border-color:
        rgba(230,111,66,.4);
}



/* =====================================================
   HEADER TARJETA
===================================================== */

.grupo-header {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;
}


.icono-calendario {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        rgba(230,111,66,.12);

    border:
        1px solid
        rgba(230,111,66,.25);

    color:
        var(--naranja);

    font-size: 20px;
}


.grupo-header h2 {

    color: var(--crema);

    font-size: 20px;

    margin-bottom: 5px;
}


.grupo-header p {

    color: var(--gris);

    font-size: 12px;
}



/* =====================================================
   INTEGRANTES
===================================================== */

.integrantes {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--gris);

    font-size: 13px;

    margin-bottom: 16px;
}


.integrantes span {

    color: var(--naranja);
}



/* =====================================================
   DISPONIBLE
===================================================== */

.disponible {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--verde);

    font-size: 12px;

    margin-bottom: 25px;
}


.disponible span {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--verde);

    box-shadow:
        0 0 8px
        rgba(110,226,178,.6);
}



/* =====================================================
   BOTÓN GRUPO
===================================================== */

.btn-grupo {

    width: 100%;

    border: 1px solid
        rgba(230,111,66,.35);

    background:
        rgba(230,111,66,.08);

    color: var(--crema);

    padding: 12px 15px;

    border-radius: 10px;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    transition: .3s ease;
}


.btn-grupo:hover {

    background:
        var(--naranja);

    color: #111;
}


.btn-grupo b {

    font-size: 18px;
}



/* =====================================================
   OPCIONES
===================================================== */

.opciones {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 15px;

    margin-top: 50px;
}


.opcion {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 13px;

    background:
        rgba(255,255,255,.025);

    transition: .3s ease;
}


.opcion:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(230,111,66,.35);
}


.opcion-icono {

    width: 40px;

    height: 40px;

    min-width: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--naranja);

    background:
        rgba(230,111,66,.10);

    border-radius: 10px;
}


.opcion strong {

    display: block;

    color: var(--crema);

    font-size: 12px;

    margin-bottom: 4px;
}


.opcion small {

    display: block;

    color: var(--gris);

    font-size: 10px;
}


.opcion > b {

    margin-left: auto;

    color: var(--naranja);

    font-size: 20px;
}



/* =====================================================
   FOOTER
===================================================== */

footer {

    background:
        #050505;

    border-top:
        1px solid
        rgba(255,255,255,.07);

    padding-top: 60px;
}


.footer-top {

    width: 84%;

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.3fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}


.footer-col h4 {

    color: var(--crema);

    font-size: 14px;

    margin-bottom: 20px;
}


.footer-col > p {

    color: var(--gris);

    font-size: 12px;

    line-height: 1.7;

    margin-top: 18px;

    max-width: 280px;
}


.footer-col p i {

    color: var(--naranja);

    margin-right: 8px;

    width: 15px;
}


.logo-box {

    display: flex;

    align-items: center;

    gap: 10px;
}


.logo-badge {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #ed8850,
            #bd5b35
        );

    border-radius: 7px;

    font-size: 12px;

    font-weight: bold;

    color: white;
}


.logo-text strong {

    display: block;

    color: var(--crema);

    font-size: 14px;
}


.logo-text small {

    color: var(--gris);

    font-size: 9px;
}


.footer-col ul {

    list-style: none;
}


.footer-col li {

    margin-bottom: 10px;
}


.footer-col li a {

    color: var(--gris);

    font-size: 12px;

    transition: .3s ease;
}


.footer-col li a:hover {

    color: var(--naranja);
}


.footer-bottom {

    border-top:
        1px solid
        rgba(255,255,255,.07);

    text-align: center;

    padding: 20px;

    color: #6f6965;

    font-size: 11px;
}



/* =====================================================
   ANIMACIONES
===================================================== */

.reveal {

    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal-left {

    opacity: 0;

    transform:
        translateX(-60px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}


.reveal-right {

    opacity: 0;

    transform:
        translateX(60px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}


.reveal-bottom {

    opacity: 0;

    transform:
        translateY(60px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}


.reveal.show,
.reveal-left.show,
.reveal-right.show,
.reveal-bottom.show {

    opacity: 1;

    transform:
        translate(0);
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .navbar {

        padding:
            0 5%;
    }


    .nav-menu {

        gap: 17px;
    }


    .nav-menu a {

        font-size: 11px;
    }


    .hero {

        padding:
            60px 5%;

        gap: 35px;
    }


    .hero-image {

        width: 340px;

        height: 400px;
    }


    .experience-badge {

        right: -15px;
    }


    .grupos-container {

        grid-template-columns:
            repeat(2,1fr);
    }


    .opciones {

        grid-template-columns:
            repeat(2,1fr);
    }


    .footer-top {

        grid-template-columns:
            repeat(2,1fr);

        gap: 40px;
    }

}



/* =====================================================
   TABLET PEQUEÑA / CELULAR
===================================================== */

@media (max-width: 750px) {

    .navbar {

        height: 65px;

        padding:
            0 5%;

        position: relative;
    }


    /* MOSTRAR BOTÓN */

    .menu-button {

        display: block;

        z-index: 1002;
    }


    /* MENÚ OCULTO */

    .nav-menu {

        position: absolute;

        top: 65px;

        left: 0;

        width: 100%;

        padding: 20px 5%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background:
            rgba(9,9,9,.98);

        border-bottom:
            1px solid
            rgba(230,111,66,.25);

        box-shadow:
            0 15px 30px
            rgba(0,0,0,.4);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-15px);

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;

        z-index: 1001;
    }


    /* MENÚ ABIERTO */

    .nav-menu.open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }


    .nav-menu a {

        width: 100%;

        padding: 15px 5px;

        font-size: 14px;

        border-bottom:
            1px solid
            rgba(255,255,255,.06);
    }


    .nav-menu a:last-child {

        border-bottom: none;
    }


    .nav-menu a.active::after {

        display: none;
    }


    /* HERO */

    .hero {

        min-height: auto;

        flex-direction: column;

        text-align: center;

        padding:
            60px 6% 70px;

        gap: 50px;
    }


    .hero-content {

        max-width: 600px;
    }


    .hero h1 {

        font-size:
            clamp(2.5rem,10vw,4rem);
    }


    .hero p {

        font-size: .9rem;
    }


    .hero-buttons {

        justify-content: center;
    }


    .available-freelance {

        justify-content: center;
    }


    .hero-image {

        width: min(85vw,350px);

        height: 390px;
    }


    .experience-badge {

        right: -5px;

        bottom: 15px;
    }


    /* TARJETAS */

    .grupos-container {

        grid-template-columns:
            1fr;
    }


    .grupos-section {

        width: 88%;

        padding:
            70px 0 80px;
    }


    .titulo p br {

        display: none;
    }


    /* OPCIONES */

    .opciones {

        grid-template-columns:
            1fr;
    }

}



/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 500px) {

    .logo {

        gap: 8px;
    }


    .logo-icon {

        width: 36px;

        height: 36px;
    }


    .logo-info h2 {

        font-size: 13px;
    }


    .logo-info span {

        font-size: 8px;
    }


    .menu-button {

        font-size: 25px;
    }


    .hero {

        padding:
            50px 5% 60px;
    }


    .hero h1 {

        font-size:
            clamp(2.2rem,12vw,3.2rem);
    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;
    }


    .btn-primary {

        justify-content: center;

        width: 100%;

        max-width: 250px;
    }


    .btn-secondary {

        justify-content: center;
    }


    .available-freelance {

        flex-direction: column;

        gap: 12px;
    }


    .hero-image {

        width: 88vw;

        max-width: 330px;

        height: 360px;
    }


    .experience-badge {

        right: 5px;

        min-width: 170px;

        padding: 11px;

        transform:
            scale(.9);

        transform-origin:
            bottom right;
    }


    .titulo h1 {

        font-size:
            32px;
    }


    .titulo p {

        font-size:
            13px;
    }


    .grupo-card {

        padding: 22px;
    }


    .footer-top {

        width: 88%;

        grid-template-columns:
            1fr;

        gap: 35px;

        padding-bottom: 40px;
    }


    footer {

        padding-top: 45px;
    }

}

/* =====================================================
   CELULAR MUY PEQUEÑO
===================================================== */

@media (max-width: 360px) {

    .hero-image {

        height: 330px;
    }


    .experience-badge {

        transform:
            scale(.78);
    }


    .grupo-header h2 {

        font-size: 18px;
    }

}