@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700&family=Oswald:wght@200..700&family=Outfit:wght@100..900&display=swap');

/* Roott */
:root {
    --bs-primary: #cec114;
    --bs-primary-rgb: 252, 241, 94;
    --bs-link-color-rgb: 164, 135, 110;
    --bs-link-hover-color-rgb: 131, 97, 70;
    --bs-focus-border-color: rgba(164, 135, 110, 0.5);
    --bs-body-font-size: 1.085rem;
    --bs-body-font-weight: 200;
    --bs-primary-bg-subtle: #f4f0ec;
    --bs-link-color: #ffee00;
    --bs-link-hover-color: #cec114;
    --bs-link-color-rgb: 252, 241, 94;
}

:root [data-bs-theme=dark] {
    --bs-link-hover-color: 131, 97, 70;
    --bs-link-color-rgb: 164, 135, 110;
}

/* General */
body {
    font-family: 'Outfit', sans-serif;
    position: relative;
}

/* Link */
a {
    text-decoration: none;
}

/* H */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5;
}

.h5,
h5 {
    font-size: 1.15rem;
}

.small,
small {
    font-size: 0.8em;
}

.blockquote {
    font-size: 1.15rem;
}

/* Font family */
.ff-h {
    font-family: 'Oswald', sans-serif !important;
}

/* Letter spacing */
.ls-0 {
    letter-spacing: 0 !important;
}

.ls-1 {
    letter-spacing: 0.15rem !important;
}

.ls-2 {
    letter-spacing: 0.25rem !important;
}

.ls-3 {
    letter-spacing: 0.35rem !important;
}

.ls-4 {
    letter-spacing: 0.45rem !important;
}

.ls-5 {
    letter-spacing: 0.55rem !important;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

#preloader:before {
    content: "";
    position: absolute;
    background-color: var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

.logo {
    font-family: 'League Spartan', sans-serif;
    font-weight:700;
    font-size: 2.5rem;
}

/* Dropdown */
.dropdown-menu {
    --bs-dropdown-link-active-bg: #A4876E;
}

/* Form control */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-focus-border-color);
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
    width: 24px;
    height: 6px;
    transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}
.carousel-indicators .active {
    opacity: 1;
    width: 48px;
}

/* Header */
#header {
    transition: 0.35s all ease-in-out;
    -webkit-transition: 0.35s all ease-in-out;
    -moz-transition: 0.35s all ease-in-out;
    -ms-transition: 0.35s all ease-in-out;
    -o-transition: 0.35s all ease-in-out;
}
/* #imageTab > li:nth-child(1) */
#imageTab .nav-item {
    margin-right: 1rem;
}

/* Navbar */
.navbar-header .navbar-nav .nav-link {
    color: var(--bs-white);
}

.navbar-header .navbar-nav .nav-link.active,
.navbar-header .navbar-nav .nav-link.show {
    color: var(--bs-primary);
}

.navbar-header .navbar-nav .dropdown-menu {
    font-family: 'Outfit', sans-serif;
    min-width: 220px;
}

.navbar-header .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-header .navbar-nav .dropdown-menu .dropdown-item.active {
    background: rgba(var(--bs-white-rgb), 0.05);
    color: var(--bs-primary);
}

@media (max-width:992px) {
    .dropdown-toggle-icon {
        position: absolute;
        right: 0;
    }
}

/* Content line */
.container.y-line {
    border-left: 1px solid rgba(var(--bs-white-rgb), 0.055) !important;
    border-right: 1px solid rgba(var(--bs-white-rgb), 0.055) !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: -0;
    right: -0;
    bottom: 0;
    z-index: -1;
}

.container.y-line::before,
.container.y-line::after {
    height: 100% !important;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(var(--bs-white-rgb), 0.055) !important;
    content: "";
}

.container.y-line::before {
    left: 33.333333%;
}

.container.y-line::after {
    right: 33.333333%;
}

/* Background opacity */
.bg-opacity-0 {
    --bs-bg-opacity: 0;
}

/* background footer */
.footer-background,
.footer-background::after {
    position: absolute;
    bottom: 0;
    height: 550px;
    left: 0;
    right: 0;
}

.header-background,
.header-background::after {
    position: absolute;
    top: 0;
    height: 450px;
    left: 0;
    right: 0;
}

.footer-background,
.header-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.footer-background::after {
    content: "";
    background-image: linear-gradient(0deg, rgba(33, 37, 41, 1) 1%, rgba(33, 37, 41, 0.9) 100%, rgba(33, 37, 41, 0.85) 100%);
    transform: rotate(180deg);
    z-index: 0;
}

.header-background::after {
    content: "";
    background-image: linear-gradient(0deg, rgba(33, 37, 41, 1) 1%, rgba(33, 37, 41, 0.9) 100%, rgba(33, 37, 41, 0.85) 100%);
    z-index: 0;
}

/* Button */
.btn-primary {
    --bs-btn-bg: none;
    --bs-btn-border-color: #cec114;
    --bs-btn-hover-bg: #cec114;
    --bs-btn-hover-border-color: #fcf15e;
    --bs-btn-active-bg: #ffee00;
    --bs-btn-active-border-color: #ffee00;
    --bs-btn-disabled-bg: #c2bc66;
    --bs-btn-disabled-border-color: #c2bc66;
}

/* Hero */
.hero-carousel .carousel-item {
    height: 100vh;
    background-image: url("assets/img/hero/h1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(var(--bs-black-rgb), 0.35);
}

.hero-carousel .carousel-caption {
    bottom: unset;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Card */
.card.card-float-start .card-body {
    position: absolute;
    left: 0;
    top: 4.5rem;
    bottom: 4.5rem;
    width: 45%;
}

@media (max-width:1200px) {
    .card.card-float-start .card-body {
        width: 55%;
    }
}

@media (max-width:1200px) {
    .card.card-float-start .card-body {
        position: relative;
        width: unset;
        top: unset;
        bottom: unset;
    }
}

.card.card-float-start .card-img-top {
    padding-left: 30%;
}

@media (max-width:1200px) {
    .card.card-float-start .card-img-top {
        padding-left: 20%;
    }
}

@media (max-width:1200px) {
    .card.card-float-start .card-img-top {
        padding-left: unset;
    }
}

.card.card-float-end .card-body {
    position: absolute;
    right: 0;
    top: 4.5rem;
    bottom: 4.5rem;
    width: 45%;
}

@media (max-width:1200px) {
    .card.card-float-end .card-body {
        width: 55%;
    }
}

@media (max-width:1200px) {
    .card.card-float-end .card-body {
        position: relative;
        width: unset;
        top: unset;
        bottom: unset;
    }
}

.card.card-float-end .card-img-top {
    padding-right: 30%;
}

@media (max-width:1200px) {
    .card.card-float-end .card-img-top {
        padding-right: 20%;
    }
}

@media (max-width:1200px) {
    .card.card-float-end .card-img-top {
        padding-right: unset;
    }
}

.card.card-float-bottom .card-body {
    margin-top: -2rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    z-index: 1;
}

.card.card-float-bottom:hover .card-body {
    background-color: #c0b40c !important;
}

.card.card-float-bottom:hover .card-body .card-sub-title,
.card.card-float-bottom:hover .card-body .card-title,
.card.card-float-bottom:hover .card-body .card-text {
    color: var(--bs-white) !important;
}

.card.card-img-hide .card-img {
    opacity: 0;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.card.card-img-hide:hover .card-img {
    opacity: 1;
}

.card.card-img-hide .card-img-overlay {
    z-index: 1;
    transition: 0.3s ease-in-out;
}

.card.card-img-hide:hover .card-img-overlay {
    color: var(--bs-emphasis-color);
}

.card.card-img-hide .card-img-overlay::before {
    opacity: 0;
    content: "";
    background-color: rgba(var(--bs-black-rgb), 0.55);
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    transition: 0.3s ease-in-out;
    z-index: -1;
}

.card.card-img-hide:hover .card-img-overlay::before {
    opacity: 1;
}

/* Figure & Image */
figure {
    --bs-figure-image-transition: all 0.45s ease-in-out;
    --bs-figure-image-scale: 1.075
}

figure.image-hover-scale {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden
}

figure.image-hover-scale img {
    transition: var(--bs-figure-image-transition)
}

figure.image-hover-scale:hover img,
.card:hover figure.image-hover-scale img {
    transform: scale(var(--bs-figure-image-scale))
}


/* Scroll to top */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    background: rgba(var(--bs-primary-rgb), .5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all .4s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.15rem
}

.scroll-top:hover {
    background: rgba(var(--bs-primary-rgb), .85)
}

.scroll-top.active {
    visibility: visible;
    opacity: 1
}

/* animate */
@keyframes slideIn {
    0% {
        transform: translateY(-1rem);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: .35s;
    -webkit-animation-delay: 0s;
    -webkit-animation-fill-mode: both;
    -moz-animation-name: slideIn;
    -moz-animation-duration: .35s;
    -moz-animation-delay: 0s;
    -moz-animation-fill-mode: both;
    -ms-animation-name: slideIn;
    -ms-animation-duration: .35s;
    -ms-animation-delay: 0s;
    -ms-animation-fill-mode: both;
    -o-animation-name: slideIn;
    -o-animation-duration: .35s;
    -o-animation-delay: 0s;
    -o-animation-fill-mode: both;
    animation-name: slideIn;
    animation-duration: .35s;
    animation-delay: 0s;
    animation-fill-mode: both
}

.upDown {
    -webkit-animation-name: mover;
    -webkit-animation-duration: .75s;
    -webkit-animation-delay: 0s;
    -webkit-animation-fill-mode: both;
    -moz-animation-name: mover;
    -moz-animation-duration: .75s;
    -moz-animation-delay: 0s;
    -moz-animation-fill-mode: both;
    -ms-animation-name: mover;
    -ms-animation-duration: .75s;
    -ms-animation-delay: 0s;
    -ms-animation-fill-mode: both;
    -o-animation-name: mover;
    -o-animation-duration: .75s;
    -o-animation-delay: 0s;
    -o-animation-fill-mode: both;
    animation-name: mover;
    animation-duration: .75s;
    animation-delay: 0s;
    animation-fill-mode: both
}

@keyframes mover {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-15px)
    }
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.rotated-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  object-fit: contain;
}

/* Default: no rotation for tablets and desktops */
.tab-pane img {
  transition: transform 0.4s ease;
}

/* Mobile: rotate −90 degrees and scale to fit vertically */
@media (max-width: 767px) {
  .tab-pane img {
    transform: rotate(-90deg);
    width: auto;
    height: 100vw;
    object-fit: contain;
  }
}

.flat-features-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: rgb(255, 252, 209);
  font-family: 'League Spartan', sans-serif;
  font-size: 1.1rem;
}

.flat-features-bar .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flat-features-bar i {
  font-size: 1.4rem;
  color: #ffc107;
}

.flat-features-bar strong {
  font-weight: 600;
  color: #fff;
}

.whatsapp {
    color:rgb(0, 207, 104) !important;
}

.link-hover-primary:hover{
    color: #cec114 !important;
}

.link-secondary:focus, .link-secondary:hover {
    color:white !important;
}

.contenedor-navegacion{
    display: flex; 
    gap: 10px;
    margin-top: 2rem;
}

.waze-button{
    background-color: #33CCFF;
}

.waze-button, .googlemaps-button {
    display: inline-flex;
    align-items: center;   /* Centra verticalmente */
                  /* Espacio entre el ícono y el texto (opcional) */

  /* display: inline-flex; */
  align-items: center;
  color: #fff;
  /*  */
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
/*  transition: background-color 0.3s ease;*/
  transition: background-color 0.2s ease-in-out, transform 0.15s;

}
.waze-button:hover {
  background-color: #1DA1F2; /* Slightly deeper blue on hover */
  transform: translateY(-2px);
}

.llegar_waze {
  padding: 0px 14px 0px 0px;
}

.waze-button,
.googlemaps-button {
    display: flex;
    align-items: center;   /* Centra verticalmente */
    text-decoration: none; /* Opcional */
}


.googlemaps-button {
    padding: 10px 14px;
    gap: 8px;
    background-color: #3367D6; /* Azul Google */    
    font-size: 16px;
}

.googlemaps-button:hover {
    background-color: #4285F4;
    transform: translateY(-2px);
}
.googlemaps-button svg {
    width: auto;
    height: 30px;
}

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 65%; /* Adjust this for aspect ratio (65% ≈ 16:10) */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* Optional: rounded corners */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nav-cta-yellow {
    background-color: #ffd54a; /* Amarillo claro inicial */
    color: #2b2b2b !important;
    border-radius: 6px;
    padding-left: 18px;
    padding-right: 18px;
    font-weight: 600;
    position: relative;
    animation: pulseYellow 6.5s ease-in-out infinite;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.nav-cta-yellow:hover {
    animation: none;
    background-color: #F4C430; /* Amarillo más sólido en hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.drive-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    background-color: #f2c94c; /* amarillo elegante */
    color: #2b2b2b;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;

    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);

    animation: pulseDrive 4s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.drive-cta i {
    font-size: 20px;
}

/* Hover */
.drive-cta:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}

#conduce {
    scroll-margin-top: 120px; /* ajusta al alto de tu navbar */
}

.whatsapp-cta {
    position: fixed;
    bottom: 80px; /* un poco arriba del botón Conduce aquí */
    left: 20px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    background-color: #25D366; /* verde WhatsApp */
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;

    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);

    animation: pulseWhatsApp 4s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-cta i {
    font-size: 22px;
}

/* Hover */
.whatsapp-cta:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}

/* Animación suave */
@keyframes pulseWhatsApp {
    0% {
        background-color: #2ee072;
    }
    50% {
        background-color: #25D366;
    }
    100% {
        background-color: #2ee072;
    }
}

/* Animación sutil */
@keyframes pulseDrive {
    0% {
        background-color: #ffe79a;
    }
    50% {
        background-color: #f2c94c;
    }
    100% {
        background-color: #ffe79a;
    }
}


/* Animación lenta amarillo claro ↔ amarillo oscuro */
@keyframes pulseYellow {
    0% {
        background-color: #ffd54a; /* amarillo claro */
    }
    50% {
        background-color: #f0ba17; /* amarillo oscuro */
    }
    100% {
        background-color: #ffd54a;
    }
}


/* Desktop adjustment */
@media (min-width: 992px) {
  .map-responsive {
    max-width: 700px; /* Adjust this to your preferred desktop width */
    /* margin: 0 auto;   Center the map horizontally */
    padding-bottom: 50%; /* Optional: change aspect ratio for desktop */
  }
}

@media (max-width: 767px) {
    .drive-text {
        display: none;
    }
}