﻿/*=========================================================
  HERO
=========================================================*/

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 620px;
    max-height: 720px;
    overflow: hidden;
}

/*=========================================================
  SLIDES
=========================================================*/

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        filter: brightness(.92) contrast(1.08) saturate(1.03);
    }

/*=========================================================
  SOMBRA SUPERIOR
=========================================================*/

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    background: linear-gradient( 180deg, rgba(7,24,55,.35), rgba(7,24,55,0) );
    pointer-events: none;
}

/*=========================================================
  OVERLAY
=========================================================*/

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient( 180deg, rgba(7,24,55,.55) 0, rgba(7,24,55,.25) 90px, rgba(7,24,55,0) 170px ), linear-gradient( 90deg, rgba(8,27,59,.96) 0%, rgba(8,27,59,.94) 24%, rgba(8,27,59,.88) 40%, rgba(8,27,59,.72) 52%, rgba(8,27,59,.48) 60%, rgba(8,27,59,.18) 69%, rgba(8,27,59,.05) 76%, rgba(8,27,59,0) 82% );
}

/*=========================================================
  CONTENIDO
=========================================================*/

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    width: 900px;
    max-width: 860px;
    margin-left: 70px;
    margin-top: -20px;
    color: #fff;
}

/*=========================================================
  TAG
=========================================================*/

.hero-tag {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.hero-tag-square {
    width: 26px;
    height: 8px;
    background: #F58220;
    border-radius: 2px;
}

.hero-tag-text {
    color: #F58220;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/*=========================================================
  TITULO
=========================================================*/

.hero-text h1 {
    font-size: clamp(56px,5vw,78px);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 28px;
    color: white;
}

/*=========================================================
  DESCRIPCION
=========================================================*/

.hero-text p {
    max-width: 760px;
    font-size: clamp(18px,1.3vw,23px);
    line-height: 1.45;
    color: rgba(255,255,255,.92);
    margin-bottom: 42px;
}

/*=========================================================
  BOTONES
=========================================================*/

.buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #F58220;
    color: white;
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 600;
    transition: .3s;
}

    .btn-primary:hover {
        background: #DB6C10;
    }

.btn-outline {
    padding: 16px 36px;
    border-radius: 40px;
    border: 2px solid white;
    color: white;
    transition: .3s;
}

    .btn-outline:hover {
        background: white;
        color: #0B2A55;
    }

/*=========================================================
  FLECHAS
=========================================================*/

.hero-navigation {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    gap: 18px;
    z-index: 30;
}

.hero-prev,
.hero-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.20);
    background: #08285A;
    color: white;
    font-size: 34px;
    cursor: pointer;
    transition: .30s;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .hero-prev:hover,
    .hero-next:hover {
        background: #F58220;
        transform: scale(1.08);
    }

/*=========================================================
  DOTS
=========================================================*/

.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 30;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: .30s;
}

    .hero-dot.active {
        background: #F58220;
        transform: scale(1.2);
    }

/*=========================================================
  1400px
=========================================================*/

@media (max-width:1400px) {

    .hero {
        max-height: 680px;
    }

    .hero-text {
        margin-left: 60px;
        width: 760px;
    }
}

/*=========================================================
  1200px
=========================================================*/

@media (max-width:1200px) {

    .hero {
        min-height: 600px;
    }

    .hero-text {
        width: 660px;
        margin-left: 45px;
    }

    .hero-navigation {
        right: 35px;
    }
}

/*=========================================================
  TABLET
=========================================================*/

@media (max-width:992px) {

    .hero {
        min-height: 540px;
    }

    .hero-navigation {
        display: none;
    }

    .hero-text {
        width: 100%;
        margin: 0 40px;
    }
}

/*=========================================================
  MOVIL
=========================================================*/

@media (max-width:768px) {

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        align-items: center;
    }

    .hero-text {
        margin: 0 25px;
    }

    .hero-tag-text {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}
