/* Montserrat-Regular */
@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Montserrat-Bold */
@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --default-font: 'Montserrat-Regular', sans-serif;
    --secundary-font: 'Montserrat-Bold', sans-serif;
}

/* Global Colors */
:root {
    --color-1: #1E1E1E;
    --color-2: #ffffff;
    --color-3: #ECECEC;
    --color-4: #D24B3D;
    --color-5: #A6302D;
    --color-6: #2daee2;
    --color-7: #ffe004;
    --color-blue-dark: #1c3f5b;
    --color-blue-light: #59addd;
    --color-yellow: #f9db3a;
    --radius-1: 20px;
    --bs-border-width: 2px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    color: var(--color-1);
    background-color: var(--color-2);
    font-family: var(--default-font);
}

a {
    color: var(--color-4);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--color-4), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-1);
}

.montserrat-regular {
    font-family: var(--default-font);
    font-weight: 400;
}

.montserrat-bold {
    font-family: var(--secundary-font);
    font-weight: 700;
}

.php-email-form {
    webkit-box-shadow: 0 2px 14px 7px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 14px 7px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
.scrolled .header {
    box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 1px solid #bbbbbb !important;
    border-radius: var(--radius-1);
    padding: 10px 20px;
    font-size: 20px;
    height: 40px;
    font-weight: 300;
}

.form-select {
    border: 1px solid #bbbbbb !important;
    color: var(--color-2);
    background-color: #848484;
    border-radius: var(--radius-1) 0 0 var(--radius-1);
    padding-left: 20px;
    font-size: 20px;
    height: 40px;
    font-weight: 300;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
}

label {
    font-size: 20px;
    color: #1E1E1E;
    font-family: var(--secundary-font);
}

.form-control.phone {
    border-left: 0px solid #bbbbbb !important;
    border-radius: 0 var(--radius-1) var(--radius-1) 0;
    padding: 10px;
}

.sup-price-rate {
    font-size: .5em;
    top: -.9em;
}

/* Index Page Header
------------------------------*/
.index-page .header {
    --color-2: rgba(255, 255, 255, 0);
    --heading-color: #ffffff;
    --nav-color: rgba(255, 255, 255, 0.5);
    --nav-hover-color: #ffffff;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--color-1);
    background-color: var(--color-2);
    padding: 60px 0 30px 0;
    scroll-margin-top: 98px;
    overflow: clip;
}

.btn-yellow {
    color: var(--color-blue-dark);
    background-color: var(--color-yellow);
    display: inline-block;
    padding: 5px 35px 5px 35px;
    border-radius: var(--radius-1);
    border: 1px solid color-mix(in srgb, var(--color-yellow), transparent 80%);
    font-size: 24px;
    transition: 0.3s;
    cursor: text !important;
    text-decoration: none;
    text-align: left;
    width: fit-content;
    font-family: var(--secundary-font);
}

.btn-yellow:hover {
    background-color: var(--color-yellow);
}

.btn-blue {
    color: var(--color-2);
    background-color: var(--color-blue-dark);
    display: inline-block;
    padding: 5px 35px 5px 35px;
    border-radius: var(--radius-1);
    border: 1px solid color-mix(in srgb, var(--color-blue-light), transparent 80%);
    font-size: 20px;
    transition: 0.3s;
    font-family: var(--secundary-font);
}

.btn-blue:hover {
    color: var(--color-3);
}

.pricing a i {
    color: var(--color-4);
    font-size: 28px;
    vertical-align: middle;
    padding-right: 7px;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 64px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
}

.section-title h2:before,
.section-title h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--color-4);
    display: inline-block;
}

.section-title h2:before {
    margin: 0 15px 10px 0;
}

.section-title h2:after {
    margin: 0 0 10px 15px;
}

.section-title p {
    margin-bottom: 0;
}

label {
    color: var(--color-1);
}

.carousel-control-prev {
    margin-left: -24px;
}

.carousel-control-next {
    margin-right: -24px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.logo {
    width: 250px;
}

/*#hero {
    background-image: url(../img/wave-divider.svg), url(../img/header-cancun-1920x1080.jpg);
    background-position: 50% 100%, 100% 0;
    background-repeat: no-repeat,repeat;
    background-size: contain, cover;
    padding-top: 150px;
    padding-bottom: 200px;
    font-weight: 300;
    display: block;
    position: relative;
}*/

/* Hero Section con nueva imagen de fondo */
#hero {
    background-image: url('../img/TOTALPLAY_WEB_LANDINGPAGE_HEADER-2.jpg');
    background-position: 50% 100%, 100% 0;
    background-repeat: no-repeat, repeat;
    background-size: cover, cover;
    padding-top: 150px;
    padding-bottom: 200px;
    font-weight: 300;
    display: block;
    position: relative;
    margin-top: 0;
}

.hero {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2, h3 {
    margin: 0;
}

.hero h2 {
    color: var(--color-2);
    font-size: 42px;
}

.hero p {
    color: var(--color-2);
    margin: 0;
    font-size: 28px;
    text-align: justify !important;
    padding: 3rem 7rem 5rem 0;
}

.hero form {
    border: 3px solid var(--color-2);
    background-color: #fff;
    border-radius: var(--radius-1);
}

.hero .form-check-label {
    color: var(--color-1);
    font-size: 12px;
    font-weight: 500;
}

.hero div {
    font-size: 12px;
    font-weight: 500;
}

.hero .form-switch {
    padding-top: 10px;
    padding-bottom: 5px;
}

.hero-imagen-inline {
    display: block;
    width: 100%;
    max-width: 480px;  /* Ajusta este valor al ancho que quieras */
    height: auto;
    margin-top: 25px;
    border-radius: 16px;
}

.texto-con-imagen {
    max-width: 600px; /* Ajusta este valor al ancho que quieras para el texto */
    width: 100%;
}

@media (max-width: 768px) {
    #hero .container {
        text-align: center !important;
    }

    #hero {
        background-image: unset;
        background-position: unset;
        background-repeat: unset;
        background-color: var(--color-blue-dark);
        background-size: cover;
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .hero-imagen-inline {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h2 {
        font-size: 32px;
        text-align: center !important;
    }

    .hero p {
        font-size: 16px;
        text-align: center !important;
        padding: 1em 0 0 0;
    }

    label {
        font-size: 16px;
    }

    .php-email-form {
        margin-top: 20px;
    }

    .hero .btn-blue {
        padding: 5px 15px 5px 15px;
        font-size: 18px;
    }

    .hero .form-check-label {
        font-size: 10px;
    }

    .hero .div {
        font-size: 10px;
    }

    .logo {
        width: 200px;
    }
}

/*--------------------------------------------------------------
# two Section
--------------------------------------------------------------*/
#two {
    background-color: var(--color-2);
    color: var(--color-1);
    padding-top: 40px;
}

.two h2 {
    font-size: 3.5rem;
    color: var(--color-blue-dark);
    font-family: var(--secundary-font);
}

.two .two-offer {
    padding-left: 6rem !important;
}

.two .div-block-30 {
    margin-left: 0;
}

@media (max-width: 768px) {
    #two {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .two h2 {
        font-size: 24px;
        text-align: center;
        margin-top: 20px;
    }

    .two .two-offer {
        padding-left: 2.5rem !important;
    }

    .two .carousel-control-prev {
        margin-left: -4px;
    }

    .two .carousel-control-next {
        margin-right: -4px;
    }

    .two .two-offer {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .two .btn-yellow {
        margin-left: auto;
        margin-right: auto;
        font-size: 12px;
    }

    .two .div-block-info {
        margin-left: auto;
        margin-right: auto;
    }

    .two .div-block-info div {
        text-align: center;
    }

    .two .div-block-info img {
        margin-left: auto;
        margin-right: auto;
        width: 80px;
        height: 80px;
    }

    .two .div-block-30 {
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# three Section
--------------------------------------------------------------*/
#three {
    background-color: var(--color-2);
    color: var(--color-1);
    padding-top: 80px;
    padding-bottom: 20px;
}

.three h2 {
    font-size: 3.5rem;
    font-family: var(--secundary-font);
    color: var(--color-blue-dark);
}

.img-gallery {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.col-2-img {
    height: calc((180px * 2) + 15px);
    margin-bottom: 0;
}

.col-3-top-img {
    height: 180px;
    margin-bottom: 15px;
}

.col-3-nested-img {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    #three {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .three h2 {
        font-size: 24px;
        text-align: center;
    }

    .three .one-text {
        margin-bottom: 20px;
    }

    .three .btn-yellow {
        margin-left: auto;
        margin-right: auto;
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
# four Section
--------------------------------------------------------------*/
/*#four {
    background-image: url(../img/WAVE2.svg), url(../img/FOOTER.jpg);
    background-position: 100% -1%, 100% 0;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
    display: block;
    position: relative;
    padding-top: 8%;
}*/

/* Four Section con nueva imagen de fondo */
#four {
    background-image: url('../img/TOTALPLAY_WEB_LANDINGPAGE_FOOTER.jpg');
    background-size: cover !important; /* Cambiado de 'cover' a 'contain' */
    background-position: top center !important; /* Muestra la parte superior sin cortar */
    background-repeat: no-repeat !important;
    padding-top: 15%; /* Ajusta según necesidad, antes era 8% */
}

.four h2 {
    font-size: 3.5rem;
    font-family: var(--secundary-font);
    color: var(--color-2);
}

.four form {
    border: 3px solid var(--color-2);
    background-color: #fff;
    border-radius: var(--radius-1);
}

.four .form-check-label {
    font-size: 10px;
}

@media (max-width: 768px) {
    #four {
        padding-top: 20px;
        padding-bottom: 10px;
        background-image: unset;
        background-position: unset;
        background-repeat: unset;
        background-color: var(--color-blue-dark);
        background-size: cover;
    }

    .four h2 {
        font-size: 24px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .four .one-text {
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .four .second-text {
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .four .btn-yellow {
        margin-left: auto;
        margin-right: auto;
        font-size: 12px;
    }

    footer p, footer a {
        font-size: .7rem;
    }
}

/*-------------------------------------------------------------- */
.modal-body ul {
    list-style-type: decimal;
    padding-left: 20px;
}
.modal-body li {
    margin-bottom: 10px;
}
.important-info {
    background: #e8f4f8;
    padding: 15px;
    border-left: 5px solid #0d6efd;
    margin-top: 20px;
}
.important-info h2 {
    font-size: 1.5rem;
    margin-top: 0;
}
.important-info h3 {
    font-size: 1.25rem;
}
.open-modal-btn {
    display: block;
    margin: 20px auto;
    font-size: 16px;
}

.div-block-30 {
    clear: none;
    text-align: left;
    word-break: normal;
    flex: 0 auto;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: center;
    margin-top: 27px;
    margin-bottom: 7px;
    font-family: var(--default-font);;
    display: flex;
    position: static;
    font-size: 20px;
    font-weight: normal;
    margin-left: 30px;
}

.columns {
    width: 100%
}

.div-block-info {
    clear: none;
    text-align: left;
    word-break: normal;
    flex: 0 auto;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: flex-start;
    margin-top: 27px;
    margin-bottom: 7px;
    font-family: var(--secundary-font);
    display: flex;
    position: static;
    font-size: 20px;
    font-weight: normal;
    flex-direction: column;
}

.info-icon {
    width: 100px;
    height: 100px;
}

.promo-text {
    font-size: 18px;
    line-height: 32px;
}

.promo-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
}

.w-slider {
    text-align: center;
    clear: both;
    -webkit-tap-highlight-color: #0000;
    tap-highlight-color: #0000;
    background: #ffffff;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.w-slider-mask {
    z-index: 1;
    white-space: nowrap;
    height: 100%;
    display: block;
    position: relative;
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 2.5rem;
    border: 0px solid var(--color-2);
}

.w-slide {
    vertical-align: top;
    white-space: normal;
    text-align: left;
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
}

.w-slider-nav {
    z-index: 2;
    text-align: center;
    -webkit-tap-highlight-color: #0000;
    tap-highlight-color: #0000;
    height: 40px;
    margin: auto;
    padding-top: 10px;
    position: absolute;
    inset: auto 0 0
}

.carousel-control-next, .carousel-control-prev {
    opacity: 1;
}

.carousel-control-prev-icon {
    background-image: url(../img/icos/ICO_IZQUIERDA.svg);
    width: 3em;
    height: 3em;
}

.carousel-control-next-icon {
    background-image: url(../img/icos/ICO_DERECHA.svg);
    width: 3em;
    height: 3em;
}
/* --------------------------------------*/
/* Nueva sección intro-video */
/* ------------------------------------*/
.intro-video {
    position: relative;
    aspect-ratio: 1920 / 1231; /* Proporción exacta de tu imagen */
    margin: 0;
    overflow: hidden;
    z-index: 1;
}

.intro-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* AJUSTA ESTE VALOR SEGÚN RESULTADO */
    z-index: -1;
}

.intro-video .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
}

.intro-video .text-left {
    text-align: left;
    padding: 0;
}

.intro-video h2 {
    color: var(--color-blue-dark); /* Azul marino */
    font-size: 48px;
    text-shadow: none; /* Eliminamos sombra para mayor limpieza */
    font-family: var(--secundary-font);
    margin-bottom: 30px;
}

.intro-video .video-description {
    color: var(--color-2);
    font-size: 24px;
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Botón blanco con logo de YouTube */
.btn-video-blanco {
    background-color: white;
    color: var(--color-blue-dark);
    font-family: var(--secundary-font);
    font-size: 1.3rem;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-video-blanco:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.btn-video-blanco img {
    width: 100px;
    height: 100px;
    margin-left: 0;               /* Fuerza a que no haya margen izquierdo */
    padding-left: 0;
}

.btn-video {
    background-color: var(--color-yellow);
    color: var(--color-blue-dark);
    font-family: var(--secundary-font);
    font-size: 1.5rem;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 20px;
}

.btn-video:hover {
    background-color: #ffcd00;
    transform: scale(1.02);
}

/* Fuerza a que la imagen esté debajo del párrafo sin romper el flex */
#hero .col-lg-7.d-flex {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

#hero .col-lg-7.d-flex p {
    margin-bottom: 20px !important;
    order: 1 !important;
}

#hero .hero-imagen-debajo {
    order: 2 !important;
    display: block !important;
    width: 96% !important;
    /*max-width: 50px !important;*/
    height: auto !important;
    padding: 0 !important;
    margin-top: 0; !important;
    margin-bottom: 0; !important;
    position: relative !important;
    top: auto !important;
    /*transform: none !important;*/
}


/* --------------------------------------------- */
/* Ajustes responsivos para la nueva sección */
/* --------------------------------------------- */

@media (max-width: 768px) {
    .intro-video {
        padding: 30px 0 40px 0 !important;
        background-size: cover;
        background-position: 70% center;
    }

    #intro-video .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .intro-video-bg {
        object-position: 40% center;
    }

    .intro-video .text-left {
        text-align: left !important;
        max-width: 75% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .intro-video h2 {
        font-size: 18px;
        text-align: left;
        color: var(--color-blue-dark);
        margin: 0 0 5px 0;
        max-width: 100%;
    }

    .intro-video .video-description {
        font-size: 12px;
        text-align: left;
        max-width: 100%;
        margin-bottom: 8px;
    }

    /* Botón angosto que no superpone a la persona */
    .btn-video-blanco {
        margin: 5px 0 15px 0 !important;
        font-size: 10px !important;
        padding: 4px 8px !important;
        border-radius: 20px !important;
        background-color: white !important;
        color: #1c3f5b !important;
        display: inline-block !important;    /* En lugar de inline-flex, más compacto */
        border: 1px solid #ccc !important;
        white-space: nowrap !important;
        width: auto !important;
        max-width: 85% !important;
    }

    .btn-video-blanco img {
        width: 10px !important;
        height: 10px !important;
        vertical-align: middle !important;
        margin-right: 3px !important;
    }

    #four {
        padding-top: 25%;
        background-size: cover !important;
    }

    #hero .hero-imagen-debajo {
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}