/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #080808;
    color: #f5f0d5;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


:root {
    --black: #080808;
    --black-2: #0d0b0a;
    --brown: #211109;

    --orange: #e8753f;
    --orange-light: #f18a4e;

    --cream: #f5f0d5;

    --text: #b8b2ad;

    --border: rgba(255,255,255,.08);
}



/* =====================================================
   LINKS
===================================================== */

a {
    text-decoration: none;
    color: inherit;
}



/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    width: 100%;
    height: 69px;

    padding: 0 8.5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #080808;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

    position: relative;

    z-index: 1000;
}



/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


.logo-icon {

    width: 40px;
    height: 40px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #ef8950,
            #c85e38
        );

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    font-size: 12px;
    font-weight: bold;
}


.logo-info h2 {

    color: var(--cream);

    font-size: 14px;

    letter-spacing: .5px;
}


.logo-info span {

    display: block;

    margin-top: 3px;

    color: #817c78;

    font-size: 9px;
}



/* =====================================================
   MENÚ DESKTOP
===================================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;
}


.nav-menu a {

    color: #8c8884;

    font-size: 13px;

    position: relative;

    transition: .3s ease;
}


.nav-menu a:hover {

    color: var(--cream);
}


.nav-menu a.active {

    color: var(--cream);

    font-weight: bold;
}


.nav-menu a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -10px;

    height: 2px;

    background: var(--orange);

    box-shadow:
        0 0 10px
        rgba(232,117,63,.45);
}



/* =====================================================
   BOTÓN MENÚ CELULAR
===================================================== */

.menu-button {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 27px;

    cursor: pointer;

    padding: 5px;

    line-height: 1;

    position: relative;

    z-index: 1002;
}


.menu-button:hover {

    color: var(--orange);
}



/* =====================================================
   MAIN
===================================================== */

main {

    min-height:
        calc(100vh - 69px);

    padding:
        0 8.5% 35px;

    background:

        radial-gradient(
            circle at 78% 25%,
            rgba(92,42,22,.26),
            transparent 32%
        ),

        linear-gradient(
            110deg,
            #080808 0%,
            #0b0908 55%,
            #1d0d07 100%
        );
}



/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 285px;

    padding-top: 40px;

    display: grid;

    grid-template-columns:
        .88fr 1.12fr;

    align-items: center;

    gap: 60px;
}


.hero-content {

    max-width: 590px;
}


.section-label {

    color: var(--orange);

    font-size: 16px;

    font-weight: bold;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 10px;
}


.section-label span {

    width: 30px;
    height: 2px;

    background: var(--orange);
}


.hero h1 {

    font-size:
        clamp(40px, 4vw, 55px);

    line-height: 1.02;

    color: var(--cream);

    font-weight: 700;
}


.hero h1 strong {

    display: block;

    color: var(--orange);

    font-weight: 700;
}


.hero p {

    margin-top: 18px;

    max-width: 570px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.45;
}



/* =====================================================
   IMAGEN
===================================================== */

.hero-image {

    height: 260px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.image-frame {

    width: 88%;
    height: 260px;

    overflow: hidden;

    position: relative;

    border:
        2px solid
        var(--orange);

    border-radius:
        45px 90px 45px 45px;

    background: #1c0c06;

    z-index: 2;
}


.image-frame img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        brightness(.78)
        saturate(.9);
}


.image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,.12),
            rgba(34,13,5,.12)
        );

    pointer-events: none;
}



/* =====================================================
   BORDE EXTERIOR
===================================================== */

.image-side-border {

    position: absolute;

    width: 110px;
    height: 190px;

    right: 1%;
    top: 35px;

    border:
        2px solid
        var(--orange);

    border-left: none;

    border-radius:
        0 90px 90px 0;

    z-index: 1;
}



/* =====================================================
   ICONOS IMAGEN
===================================================== */

.image-icons {

    position: absolute;

    right: 25px;
    top: 50%;

    transform:
        translateY(-50%);

    display: flex;

    flex-direction: column;

    gap: 10px;

    z-index: 5;
}


.image-icon {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(232,117,63,.45);

    border-radius: 10px;

    background:
        rgba(19,10,7,.8);

    backdrop-filter:
        blur(5px);
}


.image-icon svg {

    width: 30px;
    height: 30px;

    fill: none;

    stroke: var(--orange);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}



/* =====================================================
   TÍTULO REGLAS
===================================================== */

.rules-heading {

    margin-top: 17px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.rules-heading h2 {

    color: var(--orange);

    font-size: 19px;
}


.rules-heading > span {

    width: 29px;
    height: 2px;

    background: var(--orange);
}


.rules-heading a {

    margin-left: auto;

    color: #9d9691;

    font-size: 11px;

    transition: .3s;
}


.rules-heading a:hover {

    color: var(--orange);
}


.rules-heading b {

    color: var(--orange);

    font-size: 17px;

    margin-left: 5px;
}



/* =====================================================
   GRID REGLAS
===================================================== */

.rules-grid {

    margin-top: 12px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 17px;
}


.rule-card {

    min-height: 185px;

    padding: 17px 18px;

    border:
        1px solid
        rgba(125,66,35,.5);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(25,14,9,.9),
            rgba(10,9,8,.8)
        );

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.rule-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(232,117,63,.8);

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.35);
}


.rule-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border:
        1px solid
        rgba(232,117,63,.3);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(87,40,21,.45),
            rgba(34,17,10,.5)
        );
}


.rule-icon svg {

    width: 31px;
    height: 31px;

    fill: none;

    stroke: var(--orange);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.rule-card h3 {

    color: var(--cream);

    font-size: 14px;

    line-height: 1.25;

    margin-bottom: 10px;
}


.rule-card p {

    color: #a29c97;

    font-size: 11px;

    line-height: 1.45;
}



/* =====================================================
   PANEL MULTAS
===================================================== */

.fines {

    min-height: 106px;

    margin-top: 19px;

    padding:
        13px 20px;

    display: grid;

    grid-template-columns:
        75px 1fr 1px 430px;

    align-items: center;

    gap: 18px;

    border:
        1px solid
        var(--orange);

    border-radius: 14px;

    background:
        linear-gradient(
            100deg,
            rgba(22,11,7,.95),
            rgba(9,9,9,.9)
        );
}


.fines-icon {

    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(232,117,63,.35);

    border-radius: 13px;

    background:
        rgba(81,37,20,.3);
}


.fines-icon svg {

    width: 38px;
    height: 38px;

    fill: none;

    stroke: var(--orange);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.fines-label {

    color: var(--orange);

    font-size: 12px;

    font-weight: bold;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 3px;
}


.fines-label span {

    width: 25px;
    height: 2px;

    background: var(--orange);
}


.fines-info h2 {

    color: var(--cream);

    font-size: 17px;

    margin-bottom: 5px;
}


.fines-info p {

    color: #9e9893;

    font-size: 11px;
}


.fines-divider {

    width: 1px;
    height: 55px;

    background:
        rgba(232,117,63,.4);
}


.fines-price {

    display: flex;

    align-items: center;

    gap: 18px;
}


.coins-icon {

    width: 58px;
    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(232,117,63,.25);

    border-radius: 13px;

    background:
        rgba(73,33,18,.25);
}


.coins-icon svg {

    width: 34px;
    height: 34px;

    fill: none;

    stroke: var(--orange);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.fines-price p {

    color: #c0bab4;

    font-size: 11px;

    line-height: 1.45;
}


.fines-price strong {

    display: block;

    margin-top: 2px;

    color: var(--orange);

    font-size: 13px;
}



/* =====================================================
   ANIMACIONES
===================================================== */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal-left {

    opacity: 0;

    transform:
        translateX(-55px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}


.reveal-right {

    opacity: 0;

    transform:
        translateX(55px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}


.reveal.show,
.reveal-left.show,
.reveal-right.show {

    opacity: 1;

    transform:
        translate(0);
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .navbar {

        padding: 0 5%;
    }


    main {

        padding:
            0 5% 30px;
    }


    .hero {

        gap: 35px;
    }


    .nav-menu {

        gap: 18px;
    }


    .nav-menu a {

        font-size: 11px;
    }


    .rules-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .fines {

        grid-template-columns:
            65px 1fr 1px 350px;
    }

}



/* =====================================================
   TABLET PEQUEÑA
===================================================== */

@media (max-width: 850px) {

    /* MENÚ RESPONSIVE */

    .menu-button {

        display: block;
    }


    .nav-menu {

        position: absolute;

        top: 69px;

        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(232,117,63,.25);

        box-shadow:
            0 15px 30px
            rgba(0,0,0,.45);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-15px);

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;

        z-index: 1001;
    }


    .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 {

        grid-template-columns: 1fr;

        padding-top: 45px;

        gap: 35px;
    }


    .hero-content {

        max-width: 650px;
    }


    .hero-image {

        max-width: 650px;

        width: 100%;

        margin: auto;
    }


    /* REGLAS */

    .rules-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* MULTAS */

    .fines {

        grid-template-columns:
            65px 1fr;

        padding: 18px;
    }


    .fines-divider {

        display: none;
    }


    .fines-price {

        grid-column:
            1 / -1;

        border-top:
            1px solid
            rgba(232,117,63,.2);

        padding-top: 15px;
    }

}



/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {

    .navbar {

        height: 68px;

        padding: 0 6%;
    }


    .nav-menu {

        top: 68px;

        padding:
            20px 6%;
    }


    main {

        padding:
            0 6% 35px;
    }


    /* HERO */

    .hero {

        padding-top: 45px;

        gap: 35px;
    }


    .hero h1 {

        font-size:
            clamp(34px, 10vw, 42px);
    }


    .hero p {

        font-size: 13px;
    }


    .section-label {

        font-size: 14px;
    }



    /* IMAGEN */

    .hero-image {

        height: 230px;
    }


    .image-frame {

        width: 91%;

        height: 230px;

        border-radius:
            35px 70px 35px 35px;
    }


    .image-side-border {

        height: 165px;

        width: 65px;

        right: 0;

        top: 32px;
    }


    .image-icons {

        right: 15px;
    }


    .image-icon {

        width: 43px;
        height: 43px;
    }


    .image-icon svg {

        width: 25px;
        height: 25px;
    }



    /* TÍTULO */

    .rules-heading {

        margin-top: 25px;
    }


    .rules-heading a {

        display: none;
    }



    /* REGLAS */

    .rules-grid {

        grid-template-columns: 1fr;

        gap: 13px;
    }


    .rule-card {

        min-height: auto;

        padding: 18px;
    }



    /* MULTAS */

    .fines {

        grid-template-columns:
            55px 1fr;

        gap: 13px;

        padding: 15px;
    }


    .fines-icon {

        width: 52px;
        height: 52px;
    }


    .fines-info h2 {

        font-size: 15px;
    }


    .fines-price {

        grid-column:
            1 / -1;
    }

}



/* =====================================================
   CELULAR PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .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 h1 {

        font-size: 34px;
    }


    .hero-image {

        height: 205px;
    }


    .image-frame {

        height: 205px;
    }


    .image-side-border {

        height: 145px;

        top: 30px;
    }


    .fines {

        grid-template-columns: 1fr;
    }


    .fines-icon {

        margin-bottom: 5px;
    }

}