/* =========================================================
   INVERSIONES JOKER INTERNATIONAL S.A.S.
   DISEÑO GENERAL
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --negro: #080808;
    --negro-suave: #111111;
    --negro-card: #151515;

    --rojo: #d71920;
    --rojo-claro: #f02a31;

    --dorado: #c89b3c;
    --dorado-claro: #f1d58a;

    --blanco: #ffffff;
    --gris: #b8b8b8;
    --gris-claro: #eeeeee;

    --max-width: 1180px;

    --sombra: 0 20px 50px rgba(0, 0, 0, 0.15);

    --transicion: 0.35s ease;
}


/* =========================================================
   RESETEO
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #171717;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   BARRA DE NAVEGACIÓN
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;

    background: rgba(8, 8, 8, 0.96);

    border-bottom: 1px solid rgba(200, 155, 60, 0.25);

    z-index: 1000;

    backdrop-filter: blur(12px);
}

.nav-container {
    width: min(92%, var(--max-width));
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    width: 75px;
    height: 65px;

    display: flex;
    align-items: center;
}

.logo img {
    width: 70px;
    height: 60px;

    object-fit: contain;

    transition: var(--transicion);
}

.logo:hover img {
    transform: scale(1.08);
}


/* MENÚ */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    position: relative;

    color: #eeeeee;

    font-size: 13px;
    font-weight: 500;

    transition: var(--transicion);
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--dorado);

    transition: var(--transicion);
}

.nav-menu a:hover {
    color: var(--dorado-claro);
}

.nav-menu a:hover::after {
    width: 100%;
}


/* WHATSAPP */

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 17px;

    border: 1px solid rgba(200, 155, 60, 0.6);
    border-radius: 30px;

    color: white;

    font-size: 12px;
    font-weight: 600;

    transition: var(--transicion);
}

.whatsapp-btn i {
    color: #25d366;
    font-size: 16px;
}

.whatsapp-btn:hover {
    background: var(--dorado);
    color: #080808;

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(215, 25, 32, 0.15),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #050505 0%,
            #0c0c0c 55%,
            #171717 100%
        );

    overflow: hidden;
}


/* LÍNEAS DECORATIVAS */

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: 100px;

    border: 1px solid rgba(200, 155, 60, 0.2);

    border-radius: 50%;

    box-shadow:
        0 0 0 60px rgba(200, 155, 60, 0.03),
        0 0 0 120px rgba(200, 155, 60, 0.02);
}

.hero::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: 80px;
    bottom: -120px;

    border: 1px solid rgba(215, 25, 32, 0.3);

    transform: rotate(45deg);
}


/* CONTENIDO */

.hero-content {
    position: relative;

    width: min(92%, var(--max-width));

    margin: auto;

    z-index: 2;

    padding-top: 80px;
}

.hero-subtitle {
    display: block;

    margin-bottom: 22px;

    color: var(--dorado-claro);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 5px;
}

.hero h1 {
    max-width: 750px;

    color: white;

    font-family: 'Playfair Display', serif;

    font-size: clamp(48px, 7vw, 86px);

    font-weight: 600;

    line-height: 1.05;

    margin-bottom: 28px;
}

.hero h1 span {
    display: block;

    color: var(--rojo);
}

.hero p {
    max-width: 600px;

    color: #c7c7c7;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 38px;
}


/* BOTONES */

.hero-buttons {
    display: flex;
    gap: 16px;

    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 25px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transicion);
}

.btn-primary {
    background: var(--rojo);

    color: white;

    border: 1px solid var(--rojo);
}

.btn-primary:hover {
    background: #a90f15;

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(215, 25, 32, 0.25);
}

.btn-outline {
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--dorado);

    color: var(--dorado-claro);

    transform: translateY(-3px);
}


/* =========================================================
   CONTENEDORES
========================================================= */

.section-container {
    width: min(92%, var(--max-width));

    margin: auto;
}


/* =========================================================
   TÍTULOS
========================================================= */

.section-title {
    margin-bottom: 60px;
}

.section-title.center {
    text-align: center;
}

.section-title span {
    display: block;

    margin-bottom: 15px;

    color: var(--dorado);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 5px;
}

.section-title h2 {
    max-width: 650px;

    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 5vw, 58px);

    font-weight: 500;

    line-height: 1.1;
}

.section-title.center h2 {
    margin: auto;
}

.section-title strong {
    color: var(--rojo);

    font-weight: 600;
}

.section-title p {
    max-width: 600px;

    margin: 22px auto 0;

    color: #666;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   EMPRESA
========================================================= */

.empresa {
    padding: 130px 0;

    background: white;
}

.empresa-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}


/* IMAGEN */

.empresa-image {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    background: #080808;

    box-shadow: var(--sombra);
}

.empresa-image img {
    width: 100%;
    height: 100%;

    min-height: 480px;

    object-fit: cover;

    transition: 0.7s ease;
}

.empresa-image:hover img {
    transform: scale(1.05);
}


/* ETIQUETA */

.image-label {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 15px 20px;

    background: rgba(0, 0, 0, 0.82);

    border-left: 3px solid var(--rojo);

    color: white;
}

.image-label span {
    display: block;

    font-size: 20px;

    font-weight: 800;
}

.image-label small {
    color: var(--dorado-claro);

    font-size: 9px;

    letter-spacing: 2px;
}


/* CONTENIDO */

.empresa-content > p {
    margin-bottom: 18px;

    color: #555;

    font-size: 15px;

    line-height: 1.9;
}


/* TARJETAS */

.empresa-cards {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 35px;
}

.info-card {
    padding: 28px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    transition: var(--transicion);
}

.info-card:hover {
    transform: translateY(-7px);

    border-color: rgba(200, 155, 60, 0.5);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.info-card i {
    margin-bottom: 18px;

    color: var(--rojo);

    font-size: 25px;
}

.info-card h3 {
    margin-bottom: 12px;

    font-family: 'Playfair Display', serif;

    font-size: 24px;
}

.info-card p {
    color: #666;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   VALORES
========================================================= */

.values-section {
    margin-top: 120px;

    padding-top: 80px;

    border-top: 1px solid #eeeeee;
}

.values-title {
    margin-bottom: 45px;
}

.values-title span {
    color: var(--dorado);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 4px;
}

.values-title h2 {
    margin-top: 10px;

    font-family: 'Playfair Display', serif;

    font-size: 42px;
}

.values-title strong {
    color: var(--rojo);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.value-item {
    padding: 35px;

    background: #f8f8f8;

    border-top: 3px solid var(--rojo);

    transition: var(--transicion);
}

.value-item:hover {
    transform: translateY(-8px);

    background: #111;

    color: white;
}

.value-item i {
    color: var(--dorado);

    font-size: 25px;

    margin-bottom: 22px;
}

.value-item h3 {
    margin-bottom: 12px;

    font-family: 'Playfair Display', serif;

    font-size: 24px;
}

.value-item p {
    color: #777;

    font-size: 13px;

    line-height: 1.7;
}

.value-item:hover p {
    color: #c5c5c5;
}


/* =========================================================
   SEDES
========================================================= */

.sedes {
    padding: 130px 0;

    background:
        linear-gradient(
            180deg,
            #0a0a0a,
            #111111
        );

    color: white;
}

.sedes .section-title p {
    color: #aaaaaa;
}


/* GRID */

.sedes-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* TARJETA */

.sede-card {
    background: #151515;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: var(--transicion);
}

.sede-card:hover {
    transform: translateY(-10px);

    border-color: rgba(200, 155, 60, 0.5);

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}


/* IMAGEN */

.sede-image {
    position: relative;

    height: 250px;

    overflow: hidden;
}

.sede-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;
}

.sede-card:hover .sede-image img {
    transform: scale(1.08);
}

.sede-number {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 8px 12px;

    background: var(--rojo);

    color: white;

    font-size: 11px;

    font-weight: 700;
}


/* INFO */

.sede-info {
    padding: 28px;
}

.sede-tag {
    color: var(--dorado);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;
}

.sede-info h3 {
    margin: 8px 0 17px;

    font-family: 'Playfair Display', serif;

    font-size: 28px;
}

.sede-info p {
    min-height: 45px;

    color: #aaa;

    font-size: 12px;

    line-height: 1.6;
}

.sede-info p i {
    margin-right: 7px;

    color: var(--rojo);
}

.sede-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    color: var(--dorado-claro);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: var(--transicion);
}

.sede-link:hover {
    color: white;

    gap: 15px;
}


/* =========================================================
   TRABAJA CON NOSOTROS
========================================================= */

.trabaja {
    padding: 110px 0;

    background:
        linear-gradient(
            120deg,
            #111 0%,
            #080808 100%
        );

    color: white;
}

.trabaja-container {
    width: min(92%, 1000px);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 200px;

    gap: 60px;

    align-items: center;
}

.trabaja-content > span {
    color: var(--dorado);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;
}

.trabaja h2 {
    margin: 18px 0;

    max-width: 700px;

    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 5vw, 55px);

    line-height: 1.1;
}

.trabaja h2 strong {
    color: var(--rojo);
}

.trabaja p {
    max-width: 600px;

    margin-bottom: 30px;

    color: #aaa;

    font-size: 14px;

    line-height: 1.8;
}

.trabaja-icon {
    width: 160px;
    height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(200, 155, 60, 0.4);

    border-radius: 50%;

    color: var(--dorado);

    font-size: 55px;

    box-shadow:
        0 0 0 20px rgba(200, 155, 60, 0.03),
        0 0 0 40px rgba(200, 155, 60, 0.02);
}


/* =========================================================
   CONTACTO
========================================================= */

.contacto {
    padding: 130px 0;

    background: #f7f7f7;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.contact-card {
    padding: 40px 30px;

    text-align: center;

    background: white;

    border: 1px solid #eeeeee;

    transition: var(--transicion);
}

.contact-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--sombra);

    border-color: rgba(200, 155, 60, 0.5);
}

.contact-card > i {
    margin-bottom: 20px;

    color: var(--rojo);

    font-size: 32px;
}

.contact-card h3 {
    margin-bottom: 12px;

    font-family: 'Playfair Display', serif;

    font-size: 23px;
}

.contact-card p {
    min-height: 45px;

    color: #777;

    font-size: 12px;

    line-height: 1.6;
}

.contact-card a {
    display: inline-block;

    margin-top: 15px;

    color: var(--rojo);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-card a:hover {
    color: var(--dorado);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #050505;

    color: white;

    padding-top: 70px;
}

.footer-container {
    width: min(92%, var(--max-width));

    margin: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1.5fr;

    gap: 60px;

    padding-bottom: 55px;
}


/* LOGO FOOTER */

.footer-logo img {
    width: 120px;
    height: 100px;

    object-fit: contain;

    margin-bottom: 20px;
}

.footer-logo p {
    max-width: 250px;

    color: #888;

    font-size: 12px;

    line-height: 1.7;
}


/* LINKS */

.footer h4 {
    margin-bottom: 22px;

    color: var(--dorado-claro);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.footer-links a {
    display: block;

    margin-bottom: 13px;

    color: #999;

    font-size: 12px;

    transition: var(--transicion);
}

.footer-links a:hover {
    color: white;

    transform: translateX(5px);
}


/* CONTACTO */

.footer-contact p {
    display: flex;

    gap: 10px;

    margin-bottom: 15px;

    color: #999;

    font-size: 12px;

    line-height: 1.5;
}

.footer-contact i {
    width: 16px;

    color: var(--rojo);
}


/* COPYRIGHT */

.footer-bottom {
    padding: 22px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #666;

    font-size: 10px;
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes aparecer {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-content {
    animation: aparecer 1s ease forwards;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 950px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .whatsapp-btn {
        display: none;
    }

    .empresa-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .empresa-image {
        min-height: 400px;
    }

    .empresa-image img {
        min-height: 400px;
    }

    .sedes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    .logo img {
        width: 62px;
        height: 55px;
    }

    .hero {
        min-height: 800px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-subtitle {
        font-size: 9px;

        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .empresa,
    .sedes,
    .contacto {
        padding: 90px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 40px;
    }

    .empresa-image {
        min-height: 350px;
    }

    .empresa-image img {
        min-height: 350px;
    }

    .empresa-cards {
        grid-template-columns: 1fr;
    }

    .values-section {
        margin-top: 80px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .sedes-grid {
        grid-template-columns: 1fr;
    }

    .sede-image {
        height: 230px;
    }

    .trabaja {
        padding: 80px 0;
    }

    .trabaja-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .trabaja p {
        margin-left: auto;
        margin-right: auto;
    }

    .trabaja-icon {
        margin: 20px auto 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}
