 html{
     scroll-behavior: smooth;
}
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 body {
     font-family: "Dancing Script", cursive;
     background-color: #f8f1e4;
     color: #000;
     scroll-behavior: smooth;
	 overflow-x:hidden;
}

 body {
     --bg: #f8f1e4;
     --bg-alt: #fff;
	 --bg-btn: #e3cd9c;
     --text: #000;
     --text-alt: #7f5c05;
     --highlight: #bfa046;
     --nav-bg: #f9dfbc;
     --shadow: rgba(0, 0, 0, 0.1);
     --titlehighlight: #000;
	 --text-plan:#111;
	 --text-plan2:#333;
	 --stars:#a37106;
 
}
/* Modo oscuro */
 body.dark-mode {
     --bg: #3b3b3b;
     --bg-alt: #1e1e1e;
	 --bg-btn: #1e1e1e;
     --text: #f5f5f5;
     --text-alt: #FFF;
     --highlight: #ffdb74;
     --nav-bg: #2b2b2b;
     --shadow: rgba(255, 255, 255, 0.05);
     --titlehighlight: #ffcd3e;
	 --text-plan:#EFEFEF;
	 --text-plan2:#ABABAB;
	 --stars:#fbbc04;
}

 header {
     position: sticky;
     top: 0;
     background: white;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
 .nav-container {
     display: flex;
     align-items: center;
     justify-content: flex-start;
     padding: 10px 20px;
     background-color: #f9dfbc;
}
 .logo img {
     height: 70px;
}
 .dark-mode .logo img {
     filter: invert(1);
}
 .menu-toggle {
     display: none;
     font-size: 2em;
     color: #7f5c05;
     background: none;
     border: none;
     cursor: pointer;
}
 nav ul {
     list-style: none;
     display: flex;
     gap: 20px;
     padding: 10px 20px;
     font-size:1.2em;
}
 @media (max-width: 768px) {
     nav ul {
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
         display: none;
        /* Oculto por defecto */
         width: 100%;
    }
     nav ul.active {
         display: flex;
        /* Se muestra cuando el botón se activa */
    }
}
 nav a {
     color: #7f5c05;
     font-weight: bold;
     position: relative;
     font-size: 1.5em;
     text-decoration: none;
     transition: all 0.2s ease-in-out;
}
 nav a::after {
     content: '';
     position: absolute;
     bottom: -5px;
     left: 0;
     width: 0%;
     height: 2px;
     background-color: #f1c40f;
     transition: width 0.3s;
}
 nav a.active{
     color:#000;
}
 nav a:hover::after,nav a.active::after {
     width: 100%;
}
 section {
     padding: 120px 20px;
     text-align: center;
}
 h1, h2 {
     color: #bfa046;
     margin-bottom: 20px;
     font-size: 2.5rem;
}
 p {
     font-size: 1.3rem;
     max-width: 800px;
     margin: 0 auto;
}
 .decorado {
     border: 32px solid transparent;
     border-image: url('tilemap.png') 32 round;
     margin: 20px auto;
     max-width: 90%;
     position: relative;
}
 .decorado::before, .decorado::after {
     content: "";
     position: absolute;
     width: 23px;
     height: 13px;
     background-image: url('deco.png');
     background-size: contain;
     background-repeat: no-repeat;
     left: 50%;
     transform: translateX(-50%);
     z-index: 2;
}
 .decorado::before {
     top: -31px;
     margin-left: -10px;
     transform: rotateX(180deg);
}
 .decorado::after {
     bottom: -32px;
}
 .section {
     position: relative;
     height: 600px;
}
 section:nth-child(even) {
     background-color:#FFF;
}
 .bg {
     background-image: url(bg.jpg);
     background-size: cover;
     background-repeat: no-repeat;
     height: 600px;
     width: 100%;
     background-position: center;
     position: absolute;
     top: 0;
     left: 0;
     filter: blur(1px);
}
 .black-shadow {
     text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}
 .black-bg {
     background: rgba(0, 0, 0, 0.3);
     color: #fff;
     font-size: 3em;
     position: absolute;
     left: 0;
     bottom: 0;
     padding: 20px;
     border-radius: 10px;
}
 .whatsapp-float {
     text-decoration:none;
     position: fixed;
     bottom: 20px;
     right: 20px;
     background-color: #25d366;
     color: white;
     border-radius: 50%;
     width: 60px;
     height: 60px;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 30px;
     z-index: 999;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease;
}
 .whatsapp-float:hover {
     transform: scale(1.1);
}
 .expander{
     flex-grow:1 
}
 .carrusel {
     position: relative;
     margin: auto;
     overflow: hidden;
}
 .carrusel-contenedor {
     overflow: hidden;
     width: 100%;
}
 .carrusel-imagenes {
     display: flex;
     transition: transform 0.4s ease;
}
 .carrusel-imagenes img {
     width: 100%;
     max-width: 100%;
     object-fit: contain;
     border-radius: 10px;
	 min-width:90vw;
	 max-height: 80vh;
     margin: 0 5px;
     cursor: pointer;
	 filter:blur(0.5px);
}
 .prev, .next {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background-color: rgba(0,0,0,0.4);
     color: white;
     border: none;
     font-size: 2rem;
     padding: 10px;
     cursor: pointer;
     border-radius: 50%;
     z-index: 10;
     width:65px;
}
 .prev:hover, .next:hover {
     background-color: rgba(0,0,0,0.6);
}
 .prev {
     left: 10px;
}
 .next {
     right: 10px;
}
 .carrusel-indicadores {
     text-align: center;
     margin-top: 10px;
}
 .carrusel-indicadores span {
     display: inline-block;
     width: 12px;
     height: 12px;
     margin: 4px;
     background: #ccc;
     border-radius: 50%;
     cursor: pointer;
}
 .carrusel-indicadores .activo {
     background: #bfa046;
}
/* Lightbox */
 .lightbox {
     display: none;
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0,0,0,0.8);
     justify-content: center;
     align-items: center;
}
 .lightbox-img {
     max-width: 90%;
     max-height: 90%;
     border-radius: 10px;
}
 .cerrar {
     position: absolute;
     top: 30px;
     right: 40px;
     font-size: 3rem;
     color: white;
     cursor: pointer;
}
/* --- Responsive --- */
 @media (max-width: 768px) {
     .nav-container {
         align-items: flex-start;
    }
     .prev,.next {
         display:none;
    }
     .menu-toggle {
         display: block;
    }
     nav ul {
         position:fixed;
         z-index:10;
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
         display: none;
         padding: 10px 20px;
         font-size:1.1em;
         background-color:var(--nav-bg);
    }
     nav ul.active {
         display: flex;
    }
     nav a {
         font-size: 1.2em;
    }
     .logo img {
         height: 40px;
    }
     .black-bg {
         font-size: 1.5em;
         padding: 15px;
    }
     h1, h2 {
         font-size: 1.8rem;
    }
     section{
         padding-top:80px;
    }
     .section {
         height: 400px;
         padding: 60px 10px;
    }
     .bg {
         height: 400px;
    }
}

/* Aplicación de variables */
 body {
     background-color: var(--bg);
     color: var(--text);
}
 header {
     background-color: var(--bg-alt);
     box-shadow: 0 2px 10px var(--shadow);
}
 .theme-toggle {
     margin-right: 10px;
     font-size: 2em;
     color: var(--titlehighlight);
     background: none;
     border: none;
     cursor: pointer;
     position:relative;
     right:0px;
}
 nav {
     background-color: var(--nav-bg);
}
 .nav-container{
     background-color: var(--nav-bg);
}
 nav a {
     color: var(--text-alt);
}
 nav a.active, nav a:hover {
     text-shadow: 0 0 2px var(--highlight);
}
 nav a.active{
     color:var(--titlehighlight) 
}
 .menu-toggle {
     color:var(--text-alt);
     z-index:11;
}
 nav a::after {
     background-color: var(--highlight);
}
 section {
     background-color: var(--bg);
}
 section:nth-child(even) {
     background-color: var(--bg-alt);
}
 h1, h2 {
     color: var(--highlight);
}
 p {
     color: var(--text);
}
 .dark-mode .decorado {
     border-image: url('maptile.png') 32 round;
    /* usa otra imagen si necesitas para dark mode */
     &::after {
         filter:invert(1);
    }
     &::before {
         filter:invert(1);
    }
}
/* WhatsApp */
 .whatsapp-float {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
 #rotate-warning {
     display: none;
     position: fixed;
     inset: 0;
     background-color: #000;
     color: white;
     font-size: 1.5rem;
     text-align: center;
     z-index: 9999;
    /* Centrado con Flexbox */
     display: flex;
     justify-content: center;
     align-items: center;
    /* Asegura que el texto esté encima */
     pointer-events: none;
}
 #rotate-warning img {
     margin: auto;
     padding: 1rem;
     max-width: 90%;
     line-height: 1.5;
     position:absolute;
     color:#Fff;
     filter:invert(1);
     height:100%;
}
.inline {
	display:inline-flex;
}
.flex {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}






.plan {
 
  border-radius: 12px;
  box-shadow: 0 2px 10px 3px var(--shadow);
  padding: 20px;
  flex: 1;
  min-width: 150px;
  max-width: 250px;
  position: relative;
  text-align: center;
  border-top: 8px solid transparent;
}

.plan h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.plan .price {
  font-size: 2rem;
  font-weight: bold;
  color:var(--text-plan);
  margin-bottom: 15px;
}

.plan .price span {
  font-size: 1rem;
  color: #666;
}

.plan ul {
  list-style: none;
  margin-bottom: 20px;
}
 

button {
  font-family:Barlow Condensed;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  transition: background 0.3s;
   background-color: var(--bg-btn);
}

button.active {
  box-shadow: 0px 0px 3px;
}

.basic {
  border-top-color: #a3c9d9;
}

.basic button {
  background-color: #a3c9d9;
}

.standard {
  border-top-color: #c3b5f2;
  position: relative;
}

.standard button {
  background-color: #c3b5f2;
}

.premium {
  border-top-color: #c8a05e;
}

.premium button {
  background-color: #c8a05e;
}

.premium2  {
  border-top-color: #F00;
  button {
  background-color: #F00;
  }
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
background: #000000;
    color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}
.pricing-section {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.plan ul li {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 0.9rem;
  color: var(--text-plan2);
  font-family:Barlow Condensed;
  
 
}

.plan ul li i {
  width: 20px; /* Fija el ancho para alinear */
  text-align: center;
  margin-right: 10px;
  font-size: 1rem;
}

.plan ul li.no {
  color: #aaa;
  text-decoration: line-through;
}

.plan ul li.no i {
  color: #ccc;
}

.disclamer{
  padding-top:20px;
  font-size:0.8em;
  color: var(--text-plan);
  font-family:Barlow Condensed;
  text-align: justify;
  
}
.fa-star {
 color:var(--titlehighlight);
}


.slider-title {
  position: relative;
  height: 80px; /* Ajusta según tu tamaño de fuente */
  overflow: hidden;
  text-align: center;
  font-size: 1.5rem;
  &.bold{
	font-weight: bold;
  }
}

ul .slider-title {
	height: 17px;
	.text {
		margin-top: -10px;
	}
}

.slider-title .text {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slider-title .primary {
  transform: translateX(0%);
  opacity: 1;
}

.slider-title .alt {
  transform: translateX(-100%);
  opacity: 0;
}

/* Cuando la tarjeta está girada, alternar los títulos */
.flip .slider-title .primary {
  transform: translateX(100%);
  opacity: 0;
}

.flip .slider-title .alt {
  transform: translateX(0%);
  opacity: 1;
}
.animated-section {
  opacity: 0;
  filter: blur(10px);
 
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, filter 0.5s ease-out;
}

.animated-section.visible {
  opacity: 1;
  filter: blur(0);
 
}

.map-wrapper {
  perspective: 1000px;
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  transform: rotateX(1deg) rotateY(-1deg);
  position: relative;
}

/* Opcional: sombras internas simulando doblez */
.map-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.1),
    transparent 30%,
    rgba(0, 0, 0, 0.1)
  );
  pointer-events: none;
  z-index: 2;
}

/* Extra: filtro para dar un look “impreso” */
.map-wrapper iframe {
  filter: sepia(20%) contrast(1.1) brightness(0.95);
  display: block;
}

.big {
	font-size:1.5em;
}
.mid {
	font-size:1.2em;
}

.link {
 color: var(--text);
	
}

@media (max-width: 768px) {
  .flex {
    flex-direction: column;
    align-items: center;
  }

  .map-wrapper iframe {
    width: 100% !important;
    height: 300px;
  }

  .map-wrapper {
    width: 100%;
    margin-top: 20px;
  }

  .disclamer {
    text-align: left;
    padding: 10px;
  }

  .inline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: var(--bg-btn);
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: var(--bg);
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}
.reviews {
	user-select: none;
 
    max-width:95%;
	
	.rating-container {
	  display: flex;
	  align-items: flex-start;
	  font-family: Arial, sans-serif;
	}
	.rating-score-container{
		 display: flex;
	}
	.rating-container-secondary {
	  display: flex;
	  flex-direction: column;
	}
	.rating-score {
	  font-size: 48px;
	  font-weight: bold;
	  color: var(--text);
	  margin-right: 12px;
	}

	.rating-info {
	  display: flex;
	  flex-direction: column;
	}

	.rating-label {
	  font-size: 18px;
	  color: var(--text);
	  margin-bottom: 4px;
	}
 
	
	.rating {
		margin-top: -10px;
	  font-size: 1.5rem;
	  position: relative;
	  display: inline-block;
	  unicode-bidi: bidi-override;
	  color: gray;
	}
 
.rating::before {
  content: '★★★★★';
  display: block;
  color: #999;
}

.rating::after {
  content: '★★★★★';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--stars);
  overflow: hidden;
  white-space: nowrap;
  width:var(--rating-width); /* Se ajustará con JavaScript */
  pointer-events: none;
}

 .carousel-wrapper {
      position: relative;
      max-width: 100%;
      margin: auto;
      overflow: hidden;
    }

    .carousel-track {
	  scroll-snap-type: x mandatory;
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      gap: 1rem;
      padding: 1rem 2.5rem;
    }

    .carousel-track::-webkit-scrollbar {
      display: none;
    }

    .review-tile {
	  scroll-snap-align: start;
	  font-family:Barlow Condensed;
	  text-align:left;
      flex: 0 0 auto;
      width: 280px;
      background: var(--bg-alt);
	  color:var(--text);
      border-radius: 10px;
      padding: 1rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) inset;
    }

    .review-header {
      display: flex;
      align-items: center;
      margin-bottom: 0.5rem;
    }

    .review-header img {
      width: 40px;
      height: 40px;
      margin-right: 0.75rem;
      flex-shrink: 0;
    }

    .review-name {
  
      font-size: 1rem;
    }

    .review-date {
		
      font-size: 0.8rem;
      color: var(--text-plan2);
    }

    .stars {
      position: relative;
      font-size: 1rem;
      line-height: 1;
      display: inline-block;
      margin: 0.5rem 0;
    }

    .stars::before {
      content: '★★★★★';
      color: #ccc;
    }

    .stars::after {
      content: '★★★★★';
      color: var(--stars);
      position: absolute;
      top: 0;
      left: 0;
      overflow: hidden;
      white-space: nowrap;
      width: var(--rating, 100%);
    }

    .review-message {
      font-size: 0.9rem;
      color:var(--text);
    }

    .carousel-button {
      position: absolute;
      background: #666;
	  opacity:0.3;
      border: none;
	  height: 90%;
      top: 15px;
      width: 50px;
      height: 90%;
      font-size: 20px;
      cursor: pointer;
      z-index: 2;
	  color:var(--text);

    }

    #prevBtn {
	  left: -10px;
	  &:after{
		  content:"‹";
		    font-size: 2em;
            position: absolute;
            top: 40%;
            left: 45%;
	  }
    }

    #nextBtn {
      right: -10px;
	  &:after{
		  content:"›";
		  font-size: 2em;
            position: absolute;
            top: 40%;
            left: 45%;
	  }
    }

    .carousel-button:hover {
     opacity:0.8;
    }

    /* 📱 Mobile responsiveness */
    @media (max-width: 600px) {
      .review-tile {
        width: 80vw;
        padding: 0.8rem;
      }
	  #prevBtn, #nextBtn {
		  display:none;
	  }
      .review-name {
        font-size: 0.95rem;
      }

      .review-message {
        font-size: 0.85rem;
      }

      .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
      }
    }
	
}