/* Variables de Color */
:root {
    --color-fondo: #faf8f5;
    --color-menu-scroll: rgba(28, 35, 43, 0.8);
    --color-btn-special: #978667;
    --color-btn-special-hover: #4b514d;
    --color-loading-bg: #292b33;
    --color-loader-border: #51535a;
    --color-loader-spin: #121212;
    --radius: 12px;
}

/* Base y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-fondo);
    color: #333;
    line-height: 1.6;
    margin-bottom: 618px;
    overflow-y: scroll;
    overflow-x: hidden;
}
p {
    margin: 0 0 30px 0;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-loading-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* CLAVE: Corta cualquier elemento que intente salirse o duplicarse arriba */
}

.loader {
    position: absolute; /* CLAVE: Se ancla magnéticamente al centro del overlay padre */
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-loader-border);
    border-radius: 50%;
    border-top-color: var(--color-loader-spin); /* Color de la parte que gira */
    animation: spin 0.8s linear infinite;
    transform-origin: center center;
}

@keyframes spin {
	/* Usamos 'rotate' limpio para que no altere las coordenadas de traslación del padre */
    to { transform: rotate(360deg); }
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out;
}

#main-header.scrolled {
    /*background-color: var(--color-menu-scroll);
    background-color: rgba(75, 81, 77, 0.2);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);*/
}
#main-header.internos {
    background-color: #e6e6e6;
    transition: none;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 20px 0;
}

.perfil {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    padding: 5px 10px 7px 20px;
    z-index: 100;
    background-color: #F2D5BB;
    color: #40372F;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom-left-radius: 20px;
    /*border-bottom-right-radius: 10px;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.internos .perfil {
    background-color: #40372F;
    color: #F2D5BB;
    box-shadow: none;
}

.logo {
    height: 60px;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 45px;
}

.desktop-menu a {
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
    font-size: 15px;
    line-height: 19px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.desktop-menu a svg {
    width: 30px;
}
.desktop-menu a p {
    margin: 0;
}

#main-header.internos .desktop-menu a {
    color: black;
}

/* Efecto hover con línea animada */
.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease-out;
}

#main-header.internos .desktop-menu a::after {
    background-color: black;
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* Clase active para mantener la línea visible */
.desktop-menu a.active::after {
    width: 100%;
}

/* Opcional: Si quieres que el texto también cambie un poco 
   (por ejemplo, que sea un poco más brillante o se quede en negro en páginas internas) */
.desktop-menu a.active {
    pointer-events: none; /* Opcional: evita que se pueda hacer clic en el link de la página actual */
}

/* Quinto botón especial */
.special-btn {
    /*background-color: var(--color-btn-special);
    border-radius: 20px;
    padding: 12px 20px !important;
    transition: background-color 0.4s ease, color 0.4s ease !important;*/
}

#main-header.internos .special-btn {
    /*color: white !important;*/
}

.special-btn:hover {
    /*background-color: var(--color-btn-special-hover);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);*/
}

.special-btn::after {
    /*content: none !important;*/
}

/* 📲 Menu Responsivo */
.menu-toggle {
    display: none; /* Oculto en desktop */
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}
.menu-toggle2 span {
    background-color: black !important;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 2000;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.mobile-menu2 {
    background-color: #978667;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}

.mobile-menu nav a {
    display: block;
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s, color 0.3s;
}
.mobile-menu2 nav a {
    background: #978667;
    color: white;
}

.mobile-menu nav a:nth-of-type(1) {
    margin-top: 50px;
}

.mobile-menu nav a svg {
    width: 25px;
}

.mobile-menu nav a:hover {
    color: white;
    background-color: var(--color-menu-scroll); /* Color de hover */
}

.contenedor-redes {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contenedor-redes a {
  display: inline-block; 
  flex: 0 1 auto;
  padding: 15px 20px;
  margin: 0 !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, opacity 0.3s ease !important;
  color: #555;
}
.contenedor-redes a:hover {
    color: black !important;
    background: none !important;
    opacity: 1;
    transform: scale(1.2);
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Eliminamos el background de aquí para ponerlo en el ::after */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Por encima del video (z-index: -1) */
    
    /* Aplicamos tus degradados aquí */
    background: 
        linear-gradient(
            rgba(0, 0, 0, 0.12), 
            rgba(0, 0, 0, 0.12)
        ),
        linear-gradient(
            to left, 
            rgba(15, 12, 28, 0.8) 0%,   
            rgba(34, 18, 54, 0.65) 35%,   
            rgba(10, 15, 25, 0.3) 70%,   
            transparent 100%
        );

    /* LA MAGIA: Esto mezcla el degradado con el video */
    mix-blend-mode: multiply; 
    
    /* Evita que la capa interfiera con clics */
    pointer-events: none; 
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-text-container {
    z-index: 2; /* El texto por encima de la capa multiply */
    position: relative;
    width: 100%;
}

.hero-text {
    color: white;
    width: 372px;
}

.hero-text h1 {
    font-size: 45px;
    line-height: 51px;
    margin: 10px 0;
}

.hero-text .small-p {
    font-size: 16px;
    letter-spacing: 6px;
    font-weight: 600;
    color: #ebd7b2;
    text-transform: uppercase;
}
.m0 {
    margin-bottom: 0;
}

.white-section {
    background-color: white;
    padding: 100px 0;
}

.about-content {
    position: relative;
    padding-bottom: 250px;
}
.image-wrapper {
    overflow: hidden;
    height: 500px;
    width: 100%;
    position: relative;
}
.rounded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transform-origin: center center;
}

.info-box, .info-box2 {
    position: absolute;
    top: 45%;
    width: 590px;
    background-color: white;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.info-box {
    left: 60px;
}
.info-box2 {
    right: 60px;
}
.box-title {
    color: var(--color-btn-special);
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}
.box-title span {
    font-weight: 800;
}

.box-subtitle {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.info-box ul, .info-box2 ul {
    list-style: none;
    margin: 0 0 20px 0;
}

.info-box ul li, .info-box2 ul li {
    padding: 0;
    font-size: 18px;
}

.info-box ul li svg, .info-box2 ul li svg {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
ul.box-paragraph li {
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    width: 70%;
}
ul.box-paragraph li::before {
    content: "*";
    font-size: 1.7em;
    position: absolute;
    left: 2px; 
    top: -2px;
}

:root {
  --btn-height: 45px;
  --btn-width: 180px;
  --btn-width-2: 300px; 
  --icon-size: var(--btn-height); /* 45px */
  --cafe-color: #8B4513;
}
.action-btn {
  display: flex;
  align-items: center;
  padding: 5px 20px 5px 5px; 
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background-color: transparent; 
  font-family: 'Montserrat', sans-serif;
  transition: all 0.4s ease-in-out; 
  height: var(--btn-height); 
  width: var(--btn-width); 
}
.action-btn.planes {
  width: var(--btn-width-2); 
}
.action-btn::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0;
  height: var(--btn-height); 
  background-color: var(--color-btn-special); 
  z-index: -1;
  width: var(--btn-height);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s ease-in-out;
}
.action-btn:hover::before {
    width: var(--btn-width);
}
.action-btn.planes:hover::before {
    width: var(--btn-width-2);
}
.action-btn-text {
  margin-left: 5px;
  color: #333333;
  font-weight: 700; 
  font-size: 16px;
  mix-blend-mode: multiply;
  transition: color 0.4s ease-in-out;
}
.action-btn:hover .action-btn-text {
  color: white; 
  mix-blend-mode: normal;
}
.action-btn-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  min-width: var(--icon-size); 
  position: relative;
  transition: transform 0.4s ease-in-out;
}
.action-btn:hover .action-btn-icon {
  transform: translateX(10px); 
}
.action-btn-icon svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.6) translate(-15px, 0); 
  transform-origin: center; 
  transition: transform 0.4s ease-in-out;
}
.action-btn:hover .action-btn-icon svg {
    transform: scale(0.6) translate(-5px, 0); 
}
.arrow-line {
  stroke-dasharray: 14; 
  stroke-dashoffset: 14; 
  opacity: 0;
  transition: stroke-dashoffset 0.4s ease-in-out, opacity 0.2s ease-in 0.2s; 
}
.arrow-tip-top,
.arrow-tip-bottom {
  transform: translateX(2px); 
  transition: transform 0.4s ease-in-out;
}
.action-btn:hover .arrow-line {
  stroke-dashoffset: 0; 
  opacity: 1;
}
.action-btn:hover .arrow-tip-top,
.action-btn:hover .arrow-tip-bottom {
  transform: translateX(0); 
}

.carousel-section {
    padding: 80px 0;
}

h2.section-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: -1px;
    width: 75%;
}

.carousel-container {
    position: relative;
    overflow: hidden; 
    height: 400px;
}

.carousel-track {
    display: flex;
    transition: transform 0.2s ease-in-out; 
}

.carousel-item {
    flex-shrink: 0;
    width: 33.333%;
    height: 400px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    /*transition: all 1s ease-in-out;*/
}

.carousel-item.side-item {
    width: 25%;
    opacity: 0.2;
    height: 350px;
    transform: scale(0.95);
    margin-top: 25px;
}
.carousel-item.active-center {
    width: 44%;
    opacity: 1;
    height: 400px;
    margin-top: 0;
    margin: 0 3%;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    opacity: 0.5; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transition: opacity 0.3s ease-in-out;
    z-index: 5;
}
.carousel-item div {
    padding: 0 20px;
    position: absolute;
    bottom: 20px;
    z-index: 10;
    transition: transform 0.3s ease-in-out;
}
.carousel-item h3 {
    color: white;
    font-size: 26px;
    line-height: 28px;
    font-weight: 600;
}
.carousel-item p {
    color: white;
    font-size: 16px;
    line-height: 19px;
    margin: 5px 0 0 0;
}

/* ************************************** */
/* ESTILOS HOVER (Zoom, Texto y Degradado) */
/* ************************************** */
.carousel-item:hover img {
    transform: scale(1.3); /* Zoom leve */
}

.carousel-item:hover div {
    transform: translateY(-30px); /* El texto sube 10px */
}

.carousel-item:hover::after {
    opacity: 1; /* El degradado aparece */
}

/* ************************************** */
/* ESTILOS BOTONES (Flechas) */
/* ************************************** */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 50;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Transición para la opacidad */
    transition: opacity 0.3s ease-in-out;
    opacity: 0.5; /* Opacidad inicial completa */
}

/* HOVER de los botones (Flechas) */
.carousel-btn:hover {
    opacity: 0.7; /* Opacidad en hover */
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.logos-section {
    padding: 50px 0;
    background-color: var(--color-btn-special);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 100px;
}
.logos-section img:nth-of-type(1) {
    width: 250px;
    display: none;
}
.logos-section img:nth-of-type(2) {
    width: 200px;
}

.site-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: -1;
    padding-top: 168px;
    color: white;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/top-aerial.jpg) center 80% / cover no-repeat;
    mix-blend-mode: luminosity; /* Hace la imagen blanco y negro */
    opacity: 0.7; /* Opacidad para el color negro */
    z-index: 0;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(36, 38, 45, 1) 60%, rgba(36, 38, 45, 0.7) 100%);
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 168px;
    position: relative;
    z-index: 2;
}

.footer-column {
    /*flex: 1;
    margin: 0 20px;*/
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    transition: color 0.3s;
    text-decoration: none;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
}
.social-icons a svg {
    width: 1.5em; 
    height: 1.5em;
}

.social-icons a:hover {
    color: var(--color-btn-special);
}

.explore-col {
    width: 220px;
}
.news-col {
    width: 330px;
}
.explore-col a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.explore-col a:hover {
    transform: translateX(10px);
    opacity: 0.8;
}

.subscribe-form {
    display: flex;
    margin-bottom: 20px;
    background: none;
    border-radius: 5px;
    overflow: hidden;
}

.subscribe-form input {
    border: none;
    padding: 10px;
    flex-grow: 1;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.subscribe-form button {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    opacity: 0.8;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form button svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.subscribe-form button:hover {
    opacity: 1;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border: none;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    position: fixed;
    top: 50%;
    margin-top: 54px;
    right: 9px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 999;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn svg {
    width: 1em; 
    height: 1em;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-calendly-fixed {
    position: fixed;
    right: 9px;
    top: 50%;
    margin-top: 120px;
    background-color: #0b5cff; 
    color: white;
    height: 60px;
    width: 60px; 
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 0; 
    border-radius: 30px;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
}

.btn-calendly-fixed img {
    width: 45px;
    height: auto;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.btn-text {
    opacity: 0;
    font-weight: 600;
    position: absolute; 
    transition: all 0.4s ease;
    transform: translateX(10px);
}

.btn-calendly-fixed:hover {
    width: 150px; 
}

.btn-calendly-fixed:hover img {
    opacity: 0;
    transform: scale(0.5);
}

.btn-calendly-fixed:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s; /* Añadido transform para suavidad */
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1; /* Asegúrate de que esto esté para que se vea */
    pointer-events: auto;
}

/* Solo la flecha se mueve y cambia de color */
.scroll-to-top .icon-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    fill: #9c9b99;
    width: 25px; 
    height: 25px;
    z-index: 3;
    transition: transform 0.4s ease-out, fill 0.4s;
}

.scroll-to-top:hover .icon-arrow {
    transform: translate(-50%, -70%); /* Movimiento sutil hacia arriba */
    fill: #978667; /* En lugar de 'none', un color que resalte */
}

/* El círculo de progreso se queda fijo en el centro */
.progress-circle-avance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-base {
    stroke-width: 2; 
    stroke: #c8c6c4; 
    fill: none;
}

.progress-ring {
    stroke: #978667; 
    stroke-width: 2;
    fill: transparent;
    transition: stroke-dashoffset 0.1s linear; /* Más rápido para suavidad de scroll */
    transform-origin: 50% 50%;
    stroke-dasharray: 144.5; 
    stroke-dashoffset: 144.5; 
}


.p1 {
    padding-top: 180px;
    padding-bottom: 80px;
}
/* La sección del cotizador va justo debajo del hero: menos aire arriba */
.cotizador.p1 {
    padding-top: 48px;
    padding-bottom: 70px;
}
.cotizador h1 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 48px;
    line-height: 54px;
    color: #978667;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

/* HERO SECTION DEL COTIZADOR */
.cotizador-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -60px;
    margin-bottom: 0;
    height: 520px;
    overflow: hidden;
}

.cotizador-hero-image {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /* Libera la altura del header fijo para centrar el contenido
       en el área realmente visible (no debajo del menú). */
    padding-top: 90px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ken Burns: zoom lento y elegante */
    animation: heroKenBurns 18s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.cotizador-hero-overlay {
    position: absolute;
    inset: 0;
    /* Tinte de marca + oscurecido inferior para legibilidad del texto */
    background:
        linear-gradient(to top, rgba(8, 10, 16, 0.78) 0%, rgba(8, 10, 16, 0.25) 45%, rgba(8, 10, 16, 0.45) 100%),
        linear-gradient(120deg, rgba(34, 24, 12, 0.35) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.cotizador-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge que indica la vista activa (ligada a la imagen del hero) */
.hero-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f3e2c0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(243, 226, 192, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-view-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f9d991;
    box-shadow: 0 0 0 0 rgba(249, 217, 145, 0.7);
    animation: heroPulse 2s ease-out infinite;
}

@keyframes heroPulse {
    0%   { box-shadow: 0 0 0 0 rgba(249, 217, 145, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(249, 217, 145, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 217, 145, 0); }
}

.hero-title {
    /* Misma tipografía que el index.php (Montserrat) */
    font-family: 'Montserrat', sans-serif;
    font-size: 78px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* Degradado de texto dorado → blanco */
    background: linear-gradient(135deg, #ffffff 0%, #f9d991 45%, #c5a677 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Sombra/profundidad y brillo suave */
    filter: drop-shadow(0px 10px 22px rgba(0, 0, 0, 0.55))
            drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
}

.tabs-container {
    width: 100%;
    margin-bottom: 60px;
}

.tabs-label {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #9e845a;
    margin: 0 0 18px 0;
}

/* El grupo se centra dentro del contenedor */
.tabs-container { text-align: center; }

/* Switch segmentado: contenedor tipo "pill" que agrupa las vistas */
.tabs-buttons {
    display: inline-flex;
    margin: 0 auto 36px;
    gap: 8px;
    justify-content: center;
    padding: 8px;
    background: #f4f1ec;
    border: 1px solid #e7e0d4;
    border-radius: 22px;
    box-shadow: inset 0 2px 6px rgba(123, 101, 70, 0.08);
}

.tab-button {
    background-color: #ffffff;
    border: 2px solid transparent;
    outline: none;
    cursor: pointer;
    padding: 14px 28px;
    transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    text-decoration: none;
    color: #5a5147;
    overflow: hidden;
}

.tab-button:hover {
    transform: translateY(-2px);
    color: #9e845a;
    box-shadow: 0 8px 20px rgba(158, 132, 90, 0.15);
}

.tab-button:hover .tab-icon {
    transform: scale(1.15);
}

.tab-button.active {
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow:
        0px 12px 28px rgba(158, 132, 90, 0.35),
        inset 0px 1px 1px rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, #c5a677 0%, #9e845a 100%);
}

.tab-button.active .tab-desc {
    opacity: 0.92;
    color: #fff6e6;
}

.tab-button.active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 60%);
    pointer-events: none;
}

.tab-button.active .tab-icon {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.tab-content {
    display: none;
    padding: 0;
}

.flex-cotizador {
    display: flex;
    justify-content: space-between;
    /*grid-gap: 170px;*/
    font-size: 21px;
    line-height: 27px;
    font-weight: 500;
}
/* NOTA: el layout antiguo (.flex-cotizador2 flex + .flex-cotizador2 div)
   fue reemplazado por el grid premium más abajo. Solo se conservan los
   estilos tipográficos que siguen en uso. */
.flex-cotizador div:nth-of-type(1) {
    width:520px;
}
.precio {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.precio2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
}



.boton-contado {
  width: 315px; 
  background-color: black; 
  color: white; 
  font-weight: 500; 
  font-size: 20px; 
  padding: 10px 0; 
  margin-bottom: 40px; 
  border-radius: 35px; 
  cursor: pointer; 
  border: none; 
  text-align: center; 
  font-family: 'Montserrat', sans-serif;
  background-image: linear-gradient(to right, #978667 0%, #978667 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease, color 0.4s ease;
}
.boton-contado2 {
  width: 48%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: black; 
  color: white; 
  font-weight: 600; 
  font-size: 20px; 
  padding: 20px 0; 
  margin-bottom: 40px; 
  border-radius: 35px; 
  cursor: pointer; 
  border: none; 
  text-align: center; 
  font-family: 'Montserrat', sans-serif;
  background-image: linear-gradient(to right, #978667 0%, #978667 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease, color 0.4s ease;
}
.wpwl-button.wpwl-button-pay {
  width: 315px; 
  background-color: black; 
  color: white; 
  font-weight: 500; 
  font-size: 20px; 
  padding: 10px 0;
  border-radius: 35px; 
  cursor: pointer; 
  border: none; 
  text-align: center; 
  font-family: 'Montserrat', sans-serif;
  background-image: linear-gradient(to right, #978667 0%, #978667 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease, color 0.4s ease;
}
.boton-contado.cancelar {
  background-color: gray;
  background-image: linear-gradient(to right, darkgray 0%, darkgray 100%);
}
.boton-contado:hover, .wpwl-button.wpwl-button-pay:hover {
  background-size: 100% 100%;
  color: white;
}

.btn-apartar {
    position: relative;
    width: 48%;
    margin-bottom: 40px;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 15px; /* La imagen muestra un borde casi recto o muy poco redondeado */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;

    /* RECREACIÓN DEL COLOR DE LA IMAGEN */
    /* Usamos múltiples capas de fondo: el brillo central + el degradado base */
    background: 
        /* 1. Punto de luz blanca difuso en el centro superior */
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 70%),
        /* 2. El foco dorado brillante en el medio */
        radial-gradient(circle at 50% 50%, #f9d991 0%, transparent 60%),
        /* 3. El degradado metálico de base */
        linear-gradient(to bottom, 
            #8a6d3b 0%,    /* Top oscuro */
            #c5a677 20%,   /* Transición */
            #f9d991 48%,   /* Línea de luz central */
            #9e845a 52%,   /* Sombra inmediata */
            #6b532f 100%   /* Base muy oscura */
        );

    /* SOMBRAS DE LA IMAGEN */
    box-shadow: 
        /* Sombra externa: oclusión oscura pegada al botón + sombra difusa */
        0px 2px 0px #4a3a1e, 
        0px 10px 20px rgba(0, 0, 0, 0.4);

    /* EFECTO DE BISELADO (Línea de luz en el borde superior) */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    
    transition: all 0.3s ease;
}

.btn-apartar:hover {
    /* En el hover, aumentamos la intensidad del foco central */
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 70%),
        radial-gradient(circle at 50% 40%, #fff4d6 0%, transparent 70%),
        linear-gradient(to bottom, #8a6d3b 0%, #c5a677 20%, #f9d991 48%, #9e845a 52%, #6b532f 100%);
    filter: brightness(1.05);
}

.btn-apartar2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 14px;
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    color: white;
    display: block;
    position: relative;
    overflow: hidden;
    /* Degradado dorado metálico premium */
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
        linear-gradient(to bottom, #c5a677 0%, #b08f5e 45%, #9e845a 55%, #836b44 100%);
    box-shadow:
        0px 2px 0px #4a3a1e,
        0px 12px 28px rgba(158, 132, 90, 0.45);
    transition: all 0.3s ease;
}
.btn-apartar2:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow:
        0px 2px 0px #4a3a1e,
        0px 18px 38px rgba(158, 132, 90, 0.55);
}
.btn-apartar2:hover span {
  display: inline-block;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/*.slider-enganche {
  width: 48%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  background-size: 100% 6px;
  background-repeat: no-repeat;
  border: none;
}
.slider-enganche::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  border-radius: 10px;
  border: none;
}
.slider-enganche::-moz-range-track {
  background: transparent;
  height: 6px;
}
.slider-enganche::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  margin-top: -22px;
}
.slider-enganche::-moz-range-thumb {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}*/


.slider-enganche {
  width: 480px;
  margin-bottom: 40px;
  -webkit-appearance: none;
  appearance: none;
  height: 8px; /* Un poco más grueso para que luzca el dorado */
  border-radius: 10px;
  /* Degradado dorado para la barra base */
  background: linear-gradient(180deg, #d4af37 0%, #9e845a 100%);
  outline: none;
  border: none;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- ESTILO PARA CHROME, SAFARI Y EDGE --- */

.slider-enganche::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  
  /* Efecto Esfera Metálica Dorada */
  background: 
    /* Brillo superior tipo reflejo */
    radial-gradient(circle at 30% 30%, #ffffff 0%, transparent 15%),
    /* Brillo dorado central */
    radial-gradient(circle at 50% 50%, #fff4d6 0%, #f9d991 30%, #9e845a 100%);
  
  /* Sombras para dar volumen y realismo */
  box-shadow: 
    0px 4px 10px rgba(158, 132, 90, 0.5), /* Sombra proyectada dorada */
    inset 0px -2px 3px rgba(0, 0, 0, 0.2),  /* Sombra interna inferior */
    inset 0px 2px 3px rgba(255, 255, 255, 0.5); /* Luz interna superior */
    
  border: 1px solid #c5a677;
  margin-top: 0; /* Centra la perilla sobre la barra */
  transition: transform 0.2s ease;
}

.slider-enganche:active::-webkit-slider-thumb {
  transform: scale(1.1); /* Efecto de "presionado" */
}

/* --- ESTILO PARA FIREFOX --- */

.slider-enganche::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  background: 
    radial-gradient(circle at 30% 30%, #ffffff 0%, transparent 15%),
    radial-gradient(circle at 50% 50%, #fff4d6 0%, #f9d991 30%, #9e845a 100%);
  box-shadow: 0px 4px 10px rgba(158, 132, 90, 0.5);
  border: 1px solid #c5a677;
  transition: transform 0.2s ease;
}

.slider-enganche::-moz-range-track {
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d4af37 0%, #9e845a 100%);
}

.valor-enganche-display {
  display: block;
  font-size: 26px;
  color: black !important;
  font-weight: 700;
  width: 50px;
  margin-top: -15px;
}

/* NUEVOS ESTILOS PARA MEJORAR UI/UX DEL COTIZADOR */
.cotizador-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.cotizador-wrapper {
  display: none; /* Ocultar el layout anterior */
}

.cotizador-images {
  display: none; /* Ocultar las imágenes laterales */
}

.flex-cotizador2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.precio-card,
.resumen-card {
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 217, 145, 0.1) 100%);
  border: 1px solid rgba(197, 166, 119, 0.2);
  box-shadow: 0px 10px 30px rgba(158, 132, 90, 0.1), 
              0px 0px 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.precio-card:hover,
.resumen-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 20px 40px rgba(158, 132, 90, 0.2),
              0px 0px 1px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 217, 145, 0.15) 100%);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 15px;
  display: block;
}

.precio-item {
  margin: 15px 0;
  font-size: 18px;
  line-height: 26px;
  color: #6b5340;
  font-weight: 500;
}

.precio-item.mb0 {
  margin-bottom: 0;
}

.enganche {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(197, 166, 119, 0.08) 100%);
  padding: 45px;
  border-radius: 20px;
  border: 1px solid rgba(197, 166, 119, 0.3);
  box-shadow: 0px 15px 40px rgba(158, 132, 90, 0.12);
  margin-top: 0;
}

.enganche-header {
  margin-bottom: 30px;
  text-align: center;
}

.enganche-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #7b6546;
  margin: 0 0 10px 0;
  font-weight: 500;
}

.enganche-subtitle {
  color: #9e845a;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.enganche-slider-wrapper {
  margin: 35px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.slider-enganche {
  width: 100%;
  max-width: 500px;
}

/* Encabezado minimalista de las cards (overline + título) */
.card-head {
  margin: 0 0 24px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(197, 166, 119, 0.3);
}

.card-overline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9e845a;
  margin: 0 0 10px 0;
}

.card-overline::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c5a677 0%, #9e845a 100%);
  flex-shrink: 0;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #5a4a35;
  margin: 0;
  line-height: 1.2;
}

/* Barra de garantía "Asegura tu precio" */
.cotizador-info {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(197, 166, 119, 0.10) 0%, rgba(249, 217, 145, 0.04) 100%);
  padding: 22px 28px;
  border-radius: 16px;
  border: 1px solid rgba(197, 166, 119, 0.28);
  border-left: 4px solid #9e845a;
  margin: 30px 0 0;
  box-shadow: 0 6px 20px rgba(158, 132, 90, 0.08);
}

.info-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.info-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #c5a677 0%, #9e845a 100%);
  box-shadow: 0 4px 12px rgba(158, 132, 90, 0.35);
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  color: #5a4a35;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.info-detail {
  color: #9e845a;
  font-size: 13.5px;
  margin: 0;
  font-weight: 500;
}

.info-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-left: 30px;
  border-left: 1px solid rgba(197, 166, 119, 0.35);
  flex-shrink: 0;
}

.info-price-caption {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b59a6e;
  margin-bottom: 4px;
}

.info-price-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1;
  color: #9e845a;
}

.info-price-cur {
  font-size: 14px;
  font-weight: 600;
  color: #b59a6e;
}

.opciones {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #7b6546;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
}

.flex-cotizador div:nth-of-type(2) {
    width:440px;
    color:#988667;
}
.opciones {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}
.mb23 {
    margin-bottom:63px;
}
.mb0 {
    margin-bottom:0;
}
.flex-cotizador div:nth-of-type(2) strong {
    color:black;
}
.flex-cotizador div:nth-of-type(2) span {
    font-size: 36px;
}
.flex-cotizador div:nth-of-type(2) sup {
    font-size: 21px;
}
.last-section {
    background-color: white;
    position: relative; 
    z-index: 1;
}

#video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    cursor: pointer;
}

.modal-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    max-height: 80%;
}

.modal-close-btn {
    position: absolute;
    top: -30px;
    right: -30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    text-shadow: 0 0 5px black;
}

@media (max-width: 768px) {
    .modal-close-btn {
        top: -20px;
        right: 10px;
        font-size: 30px;
    }
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: black;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h4 {
    font-size: 40px;
    line-height: 46px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.habitacion, .viendo {
    list-style: none;
    margin: 0;
}
.habitacion li {
    padding: 0;
    margin-bottom: 55px;
    display: flex;
    align-items: center;
}
.viendo li {
    padding: 0;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.habitacion li:last-child, .viendo li:last-child {
    margin-bottom: 0;
}
.habitacion li svg {
    color: var(--color-btn-special);
    margin-right: 10px;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.viendo li svg {
    margin-right: 20px;
    color: var(--color-btn-special);
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.viendo li div {
    line-height: 20px;
}
.viendo li span {
    font-weight: 800;
    font-size: 20px;
}

.faqs-sls {}

.faq-block h3 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: black;
}

.faq-block h3 svg {
  margin-right: 10px;
  width: 30px;
  color: var(--color-btn-special);
}

.faq-block details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  margin-bottom: -1px;
}

.faq-summary {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  color: var(--color-text-dark, #333);
}

.toggle-icon {
  font-size: 2rem;
  margin-left: 10px;
  color: var(--color-btn-special);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-content {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.faq-item {
    border-bottom: rgba(0, 0, 0, 0.2) solid 1px;
}

.faq-item.open .faq-content {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

details[open] .faq-content {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

/*.loading-bar {
    margin: 0 auto 40px auto;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    position: relative;
}
.progress {
    width: 33.3%;
    height: 100%;
    background: linear-gradient(to right, #978667, #b5a485);
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
    position: relative;
}
.progress-circle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    width: 30px;
    height: 30px;
    background-color: #b5a485;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}*/


.loading-bar {
    margin: 0 auto 40px auto;
    height: 20px;
    position: relative;
    overflow: visible; 
}

.track {
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    position: relative;
}

.progress {
    width: 33.3%;
    height: 100%;
    background: linear-gradient(to right, #978667, #b5a485);
    border-radius: 10px 0 0 10px;
    transition: width 0.3s ease;
}

.progress-circle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%); 
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #b5a485;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    border: 1px solid #fff; 
    pointer-events: none;
}
.progress-circle svg {
    width: 26px;
    height: 26px;
}

.registro-form {
    width: 500px;
    margin: 0 auto;
}
.registro-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}
.registro-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}
.registro-form button {
    width: 300px;
    display: block;
    margin: 0 auto;
    padding: 12px;
    background-color: #978667;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.registro-form button:hover {
    background-color: #796849;
}

.tabla-pedido {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.tabla-pedido tr th {
    border-bottom: rgba(0, 0, 0, 0.2) solid 2px;
    background: black;
    color: white;
    padding: 10px;
}
.tabla-pedido tr td {
    border-bottom: rgba(0, 0, 0, 0.2) solid 1px;
    padding: 10px 20px;
    line-height: 22px;
}
.tabla-pedido tr:last-child td {
    border-bottom: none;
}
.tabla-pedido tr td:nth-of-type(1) {
    font-weight: 700;
}
.tabla-pedido tr td:nth-of-type(2) {
    text-align: right;
}

.m0 {
    margin: 0;
}
.mb0 {
    margin-bottom:0;
}
.mb160 {
     margin-bottom: 160px;
}
.relative {
    position: relative;
}
.flex-habitaciones {
    display:flex;
    justify-content: space-between;
}
.col490 {
    width: 490px;
}
.bg-yellow {
    padding: 20px 30px;
    background: #fae3b7;
    margin-top: 25px;
}
.col600 {
    width: 600px;
    display: flex;
    justify-content: space-between;
}
.w210 {
    width: 210px;
}
.w306 {
    width: 306px;
}
.h400 {
    height: 400px;
    margin-top: 30px;
}
.block {
    display: block;
}
.center {
    text-align: center;
}
.timer {
    background: #4A3F35;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}
.timer h1 {
    color: white;
    margin: -14px 0 0 0;
}
.timeline {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.timeline div {
    width:33.3%;
}
.flex-reserva {
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.col490-reserva {
    width: 490px;
}
.col490-reserva {
    width: 490px;
}
.col490-reserva img {
    width:100%;
    box-sizing: border-box;
    border: #978667 solid 2px;
    padding: 15px;
    margin-bottom: 10px;
}
.col490-reserva ul {
    padding-left: 40px;
}
.col600-reserva {
    width: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.col600-reserva svg {
    width:60px;
    margin: -20px 0 0 0;
}
.col600-reserva h1 {
    flex: 1;
    text-align: left;
    margin: 0;
    line-height: 46px;
}
.col600-reserva p {
    margin:20px 0 0 0;
    font-size: 26px;
    font-weight: 500;
}
.bg-registro {
    background: rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    padding: 40px;
    margin: 40px 0;
    border: #ccc solid 1px;
}
.aviso {
    width:50%;
    margin: 0 auto;
    padding: 20px 30px;
    font-size: 14px;
    line-height: 20px;
    background: #f1ecdf;
    border: #978667 solid 1px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}
.aviso svg {
    width: 30px;
}
.aviso div {
    flex:1;
}
.flex-pago {
    display:flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}
.flex-pago .resumen {
    width: 65%;
    background: rgba(0, 0, 0, 0.08);
    border: #ccc solid 1px;
    height: auto;
}
.f300 {
    font-weight: 300;
}
.ajustar-enganche {
    display:block;
    margin: 0 auto 20px auto;
}
.pago {
    width: 35%;
}
/* Solo afecta al div que es hijo directo del body y que tiene ese estilo exacto */
body > div[style*="margin: 0% 21%"] {
    margin: 0 !important;
    width: 100% !important;
    background-color: #FFFFFF !important;
    overflow: hidden !important;
}
/* Forzamos a que el loader desaparezca */
.progress-wrap {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Esto permite que los clics pasen a través de él si sigue ahí invisible */
}
.title {
    margin-top: -70px !important;
}

.progress66 {
    width: 66.7%;
}
.f20 {
    font-size: 20px;
}
.icon-ok {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    margin: 0 auto 10px auto;
}
.progress100 {
    width: 100%;
}
.flex-pedido {
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.w25 {
    width: 25%;
    display:flex;
    gap: 10px;
}
.flex-pedido svg {
    width: 60px;
    color: #978667;
}
.bg-pedido {
    background: rgba(0, 0, 0, 0.08);
    border: #ccc solid 1px;
}
.flex-btn-agendar {
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.flex-btn-agendar button {
    font-size: 17px;
    margin-bottom: 0;
}
.w460 {
    width: 460px;
}
.w315 {
    width: 315px;
}
/* --- ESTILOS REUTILIZADOS Y UNIFICADOS --- */
        
#info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    display: none;
    transition: opacity 0.3s ease;
}

/* Overlay oscuro idéntico al del video (0.9 de opacidad) */
.modal-backdrop-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
}

/* Contenedor posicionado igual que el video */
.modal-content-wrapper-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background-color: white;
    padding: 30px 30px 0 30px;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

/* Botón de cerrar (X) idéntico al de tu código original */
.modal-close-btn-3 {
    position: absolute;
    top: -30px;
    right: -30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    text-shadow: 0 0 5px black;
}

@media (max-width: 768px) {
    .modal-close-btn-3 {
        top: -20px;
        right: 10px;
        font-size: 30px;
    }
}

/* --- ESTILOS ESPECÍFICOS PARA LOS ICONOS Y TEXTO --- */

.info-icon {
    width: 50px;
    height: 50px;
    border: 3px solid;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: bold;
}
.icon-success { border-color: #a5dc86; color: #a5dc86; }
.icon-warning { border-color: #ffcc99; color: #ffcc99; }
.icon-error   { border-color: #f27474; color: #f27474; }

.info-title { font-size: 1.6rem; color: #333; margin-bottom: 10px; font-weight: bold; text-align: center; }
.info-message { color: #666; margin-bottom: 30px; line-height: 1.5; text-align: center; }

.modal-btns-container { display: flex; gap: 10px; justify-content: center; }

.btn-modal { 
    /*padding: 12px 30px;*/
    border: none;
    /*border-radius: 6px; 
    font-weight: bold;*/
    cursor: pointer;
    min-width: 120px; 
}
.btn-purple { background: #7367f0; color: white; }
.btn-dark   { background: #282c34; color: white; }
.btn-gray   { background: #82868b; color: white; }

/* Estilos solo para los botones de la demo */
.demo-nav { padding: 50px; text-align: center; font-family: sans-serif; }
.btn-demo { padding: 10px 20px; margin: 5px; cursor: pointer; border-radius: 5px; border: 1px solid #ccc; }

/*.wpwl-container div[style*="margin: 0 21%"],
.wpwl-form div[style*="margin: 0 21%"] {
    margin: 0 !important;
    width: 100% !important;
}*/

/* .enganche div (layout flex 48% antiguo) eliminado: rompía el slider,
   el info-box y el header del nuevo diseño en una columna. */
.reembolso {
    color:#7b6546;
    font-size: 18px;
    border-bottom: #d5d2d2 solid 1px;
    padding-bottom: 20px;
    display: inline-block;
}
.reembolso svg {
    margin-bottom: -9px;
}
.opciones {
    color:#525151;
    font-size: 16px;
}
#projects {
    scroll-margin-top: 100px;
}

/* --- Modal y Formulario Estilizado --- */
.info-icon-clean {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon-clean svg {
    width: 60px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.input-container {
    position: relative;
    width: 100%;
}

.modal-input {
    width: 100%;
    padding: 14px;
    /* Fondo más tenue para que no sea negro sólido, pero se distinga */
    background: rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(0, 0, 0, 0.18);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

/* Feedback al clic/focus */
.modal-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #E8B080; /* Borde dorado al focus */
}

/* Estilo del Placeholder forzado */
.modal-input::placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Asterisco rojo al lado del input */
.required-star {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff4d4d;
    font-weight: bold;
    font-size: 18px;
    pointer-events: none; /* No interfiere con el clic */
}

/* Ayuda tenue obligatoria */
.obligatory-help {
    font-size: 11px;
    margin-top: -5px;
    text-align: right;
}

/* Botón del Modal */
.btn-modal.boton-contado {
    cursor: pointer;
    transition: background 0.3s;
}

.btn-modal.boton-contado:hover {
    background-color: #f0cbb1 !important; /* Ligero cambio al hover */
}

/* Contenedor del perfil logueado */
.user-active-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* El círculo con la inicial */
.user-initial-circle {
    width: 30px;
    height: 30px;
    /*background-color: #6a1b9a;*/
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 1);
}

/* Ajuste para el botón de cerrar sesión si quieres que se vea más pequeño o diferente */
.logout-btn {
    font-size: 12px !important;
    opacity: 0.8;
    margin-left: 10px;
}

.logout-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f8f8f8;
    color: #cc0000; /* Rojo para indicar salida */
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background 0.3s;
}

.logout-action-btn:hover {
    background: #ffeeee;
}

.user-initial-circle.large {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin: 0 auto 10px;
}




@media (max-width: 1260px) {
    .container {
        max-width: 90%;
        margin: 0 5%;
    }
}
@media (max-width: 1240px) {
    .flex-habitaciones {
        flex-direction: column;
    }
    .col490 {
        width: 100%;
        margin-bottom: 20px;
    }
    .col600 {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 40px;
    }
}
@media (max-width: 1110px) {
    .desktop-menu {
        gap: 25px;
    }
}
@media (max-width: 1000px) {
    .desktop-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .menu-toggle span:nth-child(2) {
        width: 25px;
    }
    .menu-toggle:hover span:nth-child(2) {
        width: 15px;
    }
    .menu-toggle:hover span:nth-child(3) {
        width: 30px;
    }
    #projects {
        scroll-margin-top: 170px;
    }
}
@media (max-width: 900px) {
    .flex-cotizador2 {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        font-size: 21px;
        line-height: 27px;
        font-weight: 500;
    }
    .flex-cotizador2 div, .enganche div {
        width:100%;
    }
    .enganche {
        margin-top: 20px;
    }
    .slider-enganche {
      width: 90%;
      margin-bottom: 50px;
    }
    .btn-apartar2 {
        width: 100%;
        display: block;
        margin: 0 auto 24px auto;
    }
}
@media (max-width: 790px) {
    .white-section {
        padding: 50px 0;
    }
    .info-box, .info-box2 {
        position: relative;
        top: 45%;
        width: 100%;
        padding: 20px;
        margin-top: -15px;
    }
    .info-box {
        left: 0;
    }
    .info-box2 {
        right: 0;
    }
    .box-title {
        margin-bottom: 10px;
        line-height: 21px;
    }
    .box-subtitle {
        line-height: 36px;
    }
    ul.box-paragraph li {
        line-height: 17px;
        width: 100%;
    }
    .mb160 {
         margin-bottom: 0;
    }
    .about-content {
        padding-bottom: 0;
        margin-bottom: 40px;
    }
    .carousel-section {
        padding: 0 0 80px 0;
    }
    .copyright {
        font-size: 14px;
        line-height: 18px;
        padding: 20px 90px;
    }
}

@media (max-width: 768px) {
    /*.hero-text {
        width: 90%;
        text-align: center;
    }
    .hero-text-container {
        justify-content: center;
    }
    .partner-logo {
        margin: 0 15px;
        height: 40px;
    }*/
    body {
        margin-bottom: 0;
        /*overflow-y: scroll;*/
    }
    h2.section-title {
        line-height: 38px;
        width: 100%;
    }
    .image-wrapper {
        height: 400px;
    }
    .logos-section {
        padding: 40px 0;
        grid-gap: 40px;
    }
    .logos-section img:nth-of-type(1) {
        width: 200px;
    }
    .logos-section img:nth-of-type(2) {
        width: 160px;
    }
    .site-footer {
        position: relative;
        padding-top: 40px;
    }
    .footer-content {
        padding-bottom: 40px;
        flex-direction: column;
    }
    .explore-col, .news-col {
        width: 100%;
    }
    .explore-col {
        margin-bottom: 20px;
    }
    .carousel-item {
        width: 0;
    }
    .carousel-item.side-item {
        width: 0;
    }
    .carousel-item.active-center {
        width: 100%;
        margin: 0;
    }
    .slider-enganche {
      width: 80%;
    }
    /* Responsive para cotizador */
    .cotizador-hero {
        height: 460px;
        margin-top: -50px;
        margin-bottom: 0;
    }
    .cotizador-hero-image {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-view-badge {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    .tabs-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 360px;
    }

    .tab-button {
        padding: 12px 22px;
        width: 100%;
        justify-content: center;
    }
    .tab-title { font-size: 16px; }
    .tab-desc { font-size: 11px; }
    
    .cotizador-content-wrapper {
        gap: 30px;
    }
    
    .flex-cotizador2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .precio-card,
    .resumen-card {
        padding: 30px;
    }
    .enganche {
        padding: 30px;
    }
    .slider-enganche {
        width: 100%;
        max-width: none;
    }
}
@media (max-width: 575px) {
    .flex-cotizador2 {
        font-size: 16.8px;
        line-height: 21.6px;
    }
    .t-precio {
        font-size: 25.6px;
        padding-bottom: 16px;
    }
    .t-enganche {
        font-size: 18.4px;
        line-height: 21.6px;
    }
    .valor-enganche-display {
        font-size: 20.8px;
    }
    .precio2 {
        font-size: 25.6px;
        letter-spacing: 0.4px;
    }
    .tab-button {
        padding: 10px 18px;
    }
    .tab-title { font-size: 15px; letter-spacing: 0.3px; }
    .tab-desc { font-size: 10.5px; }
    .tab-icon { font-size: 22px; }

    .cotizador-hero {
        height: 380px;
        margin-bottom: 0;
    }
    .cotizador-hero-image {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: 0.5px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .tabs-label {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    /* Responsive cotizador mobile */
    .precio-card,
    .resumen-card {
        padding: 25px;
    }
    .enganche {
        padding: 25px;
    }
    .card-icon {
        font-size: 28px;
    }
    .precio-item {
        font-size: 16px;
    }
    .cotizador-info {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px;
    }
    .info-price {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
        padding-top: 18px;
        border-left: none;
        border-top: 1px solid rgba(197, 166, 119, 0.35);
        width: 100%;
    }
}
@media (max-width: 500px) {
    h2.section-title {
        font-size: 26px;
        line-height: 30px;
    }
    .image-wrapper {
        height: 300px;
    }
    .btn-apartar2 {
        width: 100%;
    }
}

/* Clase utilidad para links sin estilos */
a.sin-estilo {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 440px) {
    .logos-section {
        padding: 30px 0;
    }
    .logos-section img:nth-of-type(1) {
        width: 160px;
    }
    .logos-section img:nth-of-type(2) {
        width: 130px;
    }
}
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.modal-window {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}