/* =========================================================
   WEBAventura
   Landing page
   ========================================================= */

/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

#landing {
    --landing-radius: 18px;
    --landing-radius-small: 12px;
    --landing-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    --landing-shadow-hover: 0 20px 55px rgba(0, 0, 0, 0.14);
    --landing-max-width: 1180px;

    font-family: var(--font-paragraph);
    color: var(--color-text);
    background: #ffffff;
    overflow: hidden;
}

#landing *,
#landing *::before,
#landing *::after {
    box-sizing: border-box;
}

#landing .container {
    max-width: var(--landing-max-width);
}


/* ---------------------------------------------------------
   TIPOGRAFÍA
   --------------------------------------------------------- */

#landing h1,
#landing h2,
#landing h3,
#landing h4 {
    font-family: var(--font-header);
    color: var(--color-text);
    line-height: 1.15;
}

#landing h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    letter-spacing: -0.035em;
}

#landing h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    letter-spacing: -0.025em;
}

#landing h3 {
    letter-spacing: -0.015em;
}

#landing p {
    line-height: 1.75;
}

#landing .lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--color-grey);
}


/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

#landing .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    border-radius: 50px;
    padding: 0.85rem 1.7rem;
    font-family: var(--font-paragraph);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#landing .btn-secondary:hover,
#landing .btn-secondary:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

#landing .btn-secondary:active {
    transform: translateY(0);
}

#landing #hero .btn + .btn {
    margin-left: 0.5rem;
}



#landing .btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    border-radius: 50px;
    padding: 0.85rem 1.7rem;
    font-family: var(--font-paragraph);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 25px rgba(21, 192, 27, 0.2);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#landing .btn-primary:hover,
#landing .btn-primary:focus {
    background: var(--color-primary-darken);
    border-color: var(--color-primary-darken);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(21, 192, 27, 0.28);
}

#landing .btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 575.98px) {

    #landing #hero .btn-primary,
    #landing #hero .btn-secondary {
        width: 100%;
    }

    #landing #hero .btn + .btn {
        margin-left: 0;
        margin-top: 0.75rem;
    }

}

/* ---------------------------------------------------------
   SECCIONES
   --------------------------------------------------------- */

#landing > section {
    position: relative;
}

#landing > section:not(#hero) {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

#landing #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
    linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.25) 100%
    ),
    url('/assets/_projects/javiergordoweb.es/bg-index-hero-2.jpg')
    center / cover no-repeat;
}

#landing #hero .row {
    min-height: 100vh;
}

#landing #hero .col-lg-6:first-child {
    padding-top: 50px;
    padding-bottom: 50px;
}

#landing #hero .col-lg-6:first-child > span {
    color: var(--color-primary);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
}

#landing #hero h1 {
    max-width: 900px;
    border-color:white;
    margin-bottom: 1.5rem !important;
}

#landing #hero .lead {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--color-grey-dark);
}

#landing #hero .col-lg-6:first-child > p:not(.lead) {
    color: var(--color-grey-light);
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

#landing #hero .col-lg-6:last-child {
    position: relative;
}

#landing #hero .col-lg-6:last-child::before {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    opacity: 0.08;
    filter: blur(70px);
    border-radius: 50%;
    pointer-events: none;
}

#landing #hero .position-relative {
    position: relative;
    z-index: 1;
}

#landing #hero img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: var(--landing-radius) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16) !important;
}


/* ---------------------------------------------------------
   HEADINGS DE SECCIÓN
   --------------------------------------------------------- */

#landing #ejemplos h2,
#landing #incluye h2,
#landing #servicio h2,
#landing #precio h2,
#landing #contacto h2 {
    margin-bottom: 1rem;
}

#landing #ejemplos > .container > .row:first-child p,
#landing #incluye > .container > .row:first-child p,
#landing #servicio > .container > .row:first-child p,
#landing #precio > .container > .row:first-child p,
#landing #contacto p.lead {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   EJEMPLOS
   --------------------------------------------------------- */

#landing #ejemplos {
    background: #ffffff;
}

#landing #ejemplos .card {
    overflow: hidden;
    border-radius: var(--landing-radius) !important;
    background: #ffffff;
    box-shadow: var(--landing-shadow) !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#landing #ejemplos a {
    color: inherit;
}

#landing #ejemplos a:hover {
    color: inherit;
}

#landing #ejemplos a:hover .card {
    transform: translateY(-7px);
    box-shadow: var(--landing-shadow-hover) !important;
}

#landing #ejemplos .card-img-top {
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#landing #ejemplos a:hover .card-img-top {
    transform: scale(1.04);
}

#landing #ejemplos .card-body {
    padding: 1.6rem 1.6rem 1.7rem;
}

#landing #ejemplos .card-body h3 {
    color: var(--color-text);
}

#landing #ejemplos .card-body p {
    color: var(--color-grey-light) !important;
    font-size: 0.9rem;
}

#landing #ejemplos > .container > .row:last-child p {
    color: var(--color-grey);
    font-size: 0.95rem;
}


/* ---------------------------------------------------------
   INCLUYE
   --------------------------------------------------------- */

#landing #incluye {
    background: var(--color-bg-body);
}

#landing #incluye .col-md-4 > div {
    padding: 2rem !important;
    background: #ffffff;
    border-radius: var(--landing-radius-small);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#landing #incluye .col-md-4 > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

#landing #incluye .col-md-4 i {
    color: var(--color-primary);
}

#landing #incluye h3 {
    font-family: var(--font-paragraph);
    font-size: 1.05rem;
    letter-spacing: 0;
}

#landing #incluye .text-muted {
    color: var(--color-grey) !important;
    font-size: 0.88rem;
}

#landing #incluye .row.justify-content-center h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
}


/* ---------------------------------------------------------
   SERVICIO
   --------------------------------------------------------- */

#landing #servicio {
    background: #ffffff;
}

#landing #servicio .col-md-4 .h-100 {
    position: relative;
}

#landing #servicio .col-md-4:not(:last-child) .h-100::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -15px;
    width: 30px;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
}

#landing #servicio .rounded-circle {
    width: 72px;
    height: 72px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-paragraph);
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(21, 192, 27, 0.2);
}

#landing #servicio h3 {
    font-family: var(--font-paragraph);
    font-size: 1.05rem;
    letter-spacing: 0;
}

#landing #servicio .text-muted {
    color: var(--color-grey) !important;
    font-size: 0.9rem;
}

#landing #servicio .row.justify-content-center p {
    color: var(--color-grey);
    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   PRECIO
   --------------------------------------------------------- */

#landing #precio {
    background: var(--color-bg-body);
}

#landing #precio .col-md-5 > div {
    background: #ffffff;
    border: 0 !important;
    border-radius: var(--landing-radius) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#landing #precio .col-md-5 > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.09);
}

#landing #precio .col-md-5:first-child > div {
    border-top: 4px solid var(--color-primary) !important;
}

#landing #precio .col-md-5:last-child > div {
    border-top: 4px solid var(--color-secondary) !important;
}

#landing #precio .text-uppercase {
    font-family: var(--font-paragraph);
    color: var(--color-grey-light);
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

#landing #precio .display-4 {
    font-family: var(--font-paragraph);
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: -0.04em;
}

#landing #precio ul li {
    color: var(--color-grey);
    font-size: 0.88rem;
}

#landing #precio ul li i {
    color: var(--color-primary);
}

#landing #precio .small.text-muted {
    font-size: 0.78rem;
}


/* ---------------------------------------------------------
   CTA FINAL
   --------------------------------------------------------- */

#landing #contacto {
    background:
        linear-gradient(
            135deg,
            var(--color-primary-darken),
            var(--color-primary)
        );
    color: #ffffff;
}

#landing #contacto h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

#landing #contacto p {
    color: rgba(255, 255, 255, 0.88);
}

#landing #contacto .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-primary-darken);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

#landing #contacto .btn-primary:hover,
#landing #contacto .btn-primary:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-primary-darken);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    #landing #hero {
        min-height: auto;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    #landing #hero .row {
        min-height: auto;
    }

    #landing #hero h1 {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    #landing #hero .col-lg-6:last-child {
        margin-top: 30px;
    }

    #landing > section:not(#hero) {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    #landing #servicio .col-md-4:not(:last-child) .h-100::after {
        display: none;
    }
}


@media (max-width: 767.98px) {

    #landing > section:not(#hero) {
        padding-top: 65px !important;
        padding-bottom: 65px !important;
    }

    #landing #hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    #landing #hero h1 {
        font-size: 2.55rem;
    }

    #landing #hero .lead {
        font-size: 1rem;
    }

    #landing #hero img {
        max-height: 420px;
    }

    #landing #ejemplos .card-img-top {
        height: 230px;
    }

    #landing #incluye .col-md-4 > div {
        padding: 1.5rem !important;
    }

    #landing #precio .display-4 {
        font-size: 2.6rem;
    }

    #landing #contacto h2 {
        font-size: 2.3rem;
    }

}


@media (max-width: 575.98px) {

    #landing #hero h1 {
        font-size: 2.25rem;
    }

    #landing #hero .btn-primary,
    #landing #servicio .btn-primary,
    #landing #precio .btn-primary,
    #landing #contacto .btn-primary {
        width: 100%;
    }

    #landing #hero .col-lg-6:first-child {
        padding-top: 20px;
    }

    #landing #hero .col-lg-6:first-child > p:not(.lead) {
        line-height: 1.8;
    }

    #landing #ejemplos .card-img-top {
        height: 210px;
    }

    #landing #servicio .rounded-circle {
        width: 64px;
        height: 64px;
    }

}

#landing .text-decoration-none{
   text-decoration:none !important;
}

#landing h2 em {
    position: relative;
color:var(--color-primary);
    display: inline-block;
    z-index: 1;
}

#landing h2 em::after {
    content: "";
    position: absolute;
    left: -3%;
    bottom: -8px;
    width: 106%;
    height: 12px;

    border-bottom: 4px solid var(--color-primary);
    border-radius: 0 0 60% 40%;

    transform: rotate(-2deg);
    z-index: -1;
}