.slider-container {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 600px
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.main-image {
  position: relative
}
.main-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin-bottom: 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .2s,filter .2s
}

.main-image:hover {
  transform: scale(1.02);
  filter: brightness(1.1)
}

.aviso-ok,
.aviso-error {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.aviso-ok {
    background-color: #d4edda;
    color: #1a5c2a;
    border: 1px solid #b0dbb9;
}

.aviso-error {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f5c0c0;
}

.firstIMG {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .2s,filter .2s
}
.firstIMG:hover {
  transform: scale(1.02);
  filter: brightness(1.1)
}
.thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px
}
.thumbnail {
  width: 70px;
  height: 50px;
  cursor: pointer;
  transition: transform .3s ease
}
.thumbnail:hover {
  transform: scale(1.1)
}
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  inset: 0;
  background-color: rgba(0,0,0,.7);
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  overscroll-behavior: contain;
  touch-action: pan-x
}
.modal-content {
  position: relative
}
.modal img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 5px
}
.modal-image-wrapper {
  position: relative
}
.modal-image-wrapper img {
  display: block;
  max-width: 100%;
  height: auto
}
.image-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: none
}
.close:hover {
  color: #f44336
}
button.next,
button.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  background-color: rgba(0,0,0,.5);
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  z-index: 10
}
button.next:hover,
button.prev:hover {
  background-color: rgba(0,0,0,.7)
}
button.prev {
  left: 10px
}
button.next {
  right: 10px
}
.controls button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color .3s
}
.controls button:hover {
  background-color: rgba(0,0,0,.7)
}
.controls .previous {
  left: 10px
}
.controls .next {
  right: 10px
}
.modal button.next.hidden,
.modal button.prev.hidden {
  display: none
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  font-family: Arial,sans-serif
}
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1000
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px
}

.logo {
  font-weight: 700;
  font-size: 1.4rem
}
.nav ul {
  display: flex;
  list-style: none;
  gap: 20px
}
.nav a {
  text-decoration: none;
  color: #333;
  font-size: .95rem
}
.nav a:hover {
  color: olive
}
.menu-toggle {
  display: none;
  background: 0 0;
  border: none;
  font-size: 24px;
  cursor: pointer
}
.slider {
  margin-top: 70px;
  position: relative;
  height: 70vh;
  overflow: hidden
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s
}
.slide.active {
  opacity: 1
}
.caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 20px;
  border-radius: 6px
}
.next,
.prev {
  position: absolute;
  top: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer
}
.prev {
  left: 15px
}
.next {
  right: 15px
}
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center
}
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 4px;
  background: #bbb;
  border-radius: 50%
}
.dot.active {
  background: #fff
}
.section {
  padding: 80px 20px;
  text-align: center
}
footer {
  background: #222;
  padding: 15px
}
.wix-info-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 40px;
  background: #fff
}
.info-card {
  position: relative;
  border: 1px solid #000;
  padding: 60px 30px 30px;
  width: 420px;
  min-height: 380px
}
.info-title {
  position: absolute;
  top: -18px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  letter-spacing: 1px
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(12px, 1.5vw, 18px);
  max-width: 100%;
}
.info-title-grey {
  position: absolute;
  top: -18px;
  left: 20px;
  background: #858383;
  color: #fff;
  padding: 8px 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px
}
.info-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #111;
  text-align: justify
}
.entorno-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr;
  gap: 30px;
  padding: 10px 40px;
  max-width: 1300px;
  align-items: stretch;
  margin: 0 auto
}
.entorno-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.entorno-center {
  background: #000;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: left;
  text-align: left;
  padding: 20px
}
.entorno-center h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600
}
.entorno-center-top {
  background: #000;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  text-align: left;
  padding: 20px
}
.entorno-center-top h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600
}
.entorno-text {
  border: 1px solid #000;
  padding: 40px
}
.entorno-text p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify
}
.entorno-text strong {
  font-weight: 700
}

.botones-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
}

.btn-reserva-vibrante {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  color: #fff;
  background-color: #28a745;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  transition: transform .2s,background-color .3s ease
}
.btn-reserva-vibrante:hover {
  transform: scale(1.05);
  background-color: #218838
}
.btn-reserva-vibrante:active {
  transform: scale(1);
  background-color: #1e7e34
}
.btn-reserva-vibrante.disabled {
  pointer-events: none;
  opacity: .5;
  cursor: not-allowed
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 10px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  z-index: 1000;
  transition: transform .3s ease
}
.whatsapp-float:hover {
  transform: scale(1.1)
}
.whatsapp-float img {
  width: 30px;
  height: 30px
}
.entorno-text-servicios {
  border: 1px solid #000;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 40px;
  row-gap: 12px
}
.entorno-text-servicios p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px
}
.entorno-text-servicios img {
  flex-shrink: 0
}
@media (max-width:900px) {
  .entorno-section {
    grid-template-columns: 1fr;
    padding: 60px 20px
  }
  .entorno-center h2 {
    text-align: center
  }
  .entorno-center-top h2 {
    text-align: center
  }
}
@media (max-width:900px) {
  .wix-info-section {
    flex-direction: column;
    align-items: center
  }
  .info-card {
    width: 90%;
    max-width: 420px
  }
}
@media (max-width:600px) {
  .entorno-text-servicios {
    grid-template-columns: 1fr
  }
}
@media (max-width:768px) {
  .nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 100%;
    display: none
  }
  .nav ul.active {
    display: flex
  }
  .menu-toggle {
    display: block
  }
}
.site-footer {
  border-top: 1px solid #ccc;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  background: #fff
}
.site-footer a {
  text-decoration: none;
  color: inherit
}
.site-footer a:hover {
  opacity: .7
}
.site-footer a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px
}
.site-footer .footer-left,
.site-footer .footer-right {
  display: flex
}
.footer-left {
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  align-items: flex-start
}
.footer-left .social-icons {
  display: flex;
  gap: 8px
}
.footer-left .social-row {
  display: flex;
  align-items: center;
  gap: 15px
}
.footer-left .divider {
  width: 100%;
  height: 1px;
  background-color: #111
}
.footer-left .contact-btn {
  background-color: #111;
  color: #fff;
  padding: 8px 18px;
  border: none;
  cursor: pointer
}
.footer-left small {
  color: #000;
  font-weight: 300
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 6px
}
.footer-right {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px
}
.footer-right {
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px
}
.footer-right label {
  font-weight: 600;
  margin-bottom: 0
}
.footer-right input[type=email] {
  width: 280px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 3px;
  margin-bottom: 0
}
.footer-right .checkbox-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  font-weight: 300
}
.footer-right button {
  background-color: #111;
  color: #fff;
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  max-width: 280px;
  transition: background-color .3s ease
}
.footer-right button:hover {
  background-color: #444
}
@media (max-width:600px) {
  footer {
    flex-direction: column;
    gap: 20px;
    padding: 20px
  }
  .footer-right button,
  .footer-right input[type=email] {
    width: 100%;
    max-width: none
  }
  .footer-left {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px
  }
}
.location-link {
  margin-top: 20px;
  margin-left: 0;
  font-size: 14px;
  cursor: pointer;
  color: #000;
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  opacity: .8
}
.location-link:hover {
  opacity: 1;
  text-decoration: underline
}
.modalmapa {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center
}
.modalmapa.active {
  display: flex
}
.modalmapa-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6)
}
.modalmapa-content {
  position: relative;
  background: #fff;
  width: 80%;
  max-width: 900px;
  height: 500px;
  margin: 5% auto;
  z-index: 1;
  border: 1px solid #000;
  border-radius: 10px;
  overflow: hidden
}
#map {
  width: 100%;
  height: 100%
}
.closemap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 10;
  transition: transform .2s,box-shadow .2s
}
.closemap:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,.3)
}
.info-window {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  font-family: Arial,sans-serif;
  margin: 0;
  padding: 0
}
.info-img {
  display: flex;
  align-items: center
}
.info-img img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  display: block
}
.info-text h4 {
  margin: 0 0 6px;
  font-size: 15px
}
.info-text p {
  margin: 0;
  font-size: 13px;
  color: #555
}
.marker {
  width: 38px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  cursor: pointer;
  transition: transform .2s ease
}
.marker-normal {
  background-image: url("../img/alojamiento-pin.svg")
}
.marker-secondary {
  background-image: url("../img/alojamiento-pin.svg");
  opacity: .5
}
.marker-active {
  width: 58px;
  height: 72px;
  background-image: url("../img/alojamiento-pin-active.svg");
  animation: bounce .7s ease-in-out infinite alternate;
  z-index: 10
}
.price-direct {
  font-size: .9rem;
  font-weight: 600;
  color: #6b3f21
}
.price-direct strong {
  font-size: 1rem;
  color: #86592d
}
.price-weekend {
  font-size: .9rem;
  font-weight: 600;
  margin-left: 0;
  color: #6b3f21
}
.icon-tag {
  font-size: 1.4rem;
  line-height: 1
}
.direct-offer {
  position: relative;
  background: #3a7a52;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  cursor: pointer;
  animation: pulseSoft 2.2s infinite;
  z-index: 20
}
.direct-offer strong {
  font-weight: 800;
  letter-spacing: .2px
}
.direct-offer2 {
  position: relative;
  background: #bfd8c2;
  color: #2f5d4a;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  cursor: pointer;
  animation: pulseSoft 2.2s infinite;
  z-index: 20
}
.direct-offer2 strong {
  font-weight: 800;
  letter-spacing: .2px
}
.direct-offer3 {
  position: relative;
  background: #8fbfa6;
  color: #1f4a3a;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  cursor: pointer;
  animation: pulseSoft 2.2s infinite;
  z-index: 20
}
.direct-offer3 strong {
  font-weight: 800;
  letter-spacing: .2px
}
.direct-offer-link {
  position: absolute;
  bottom: -18px;
  right: -25px;
  z-index: 20;
  text-decoration: none
}
@keyframes pulseSoft {
  0% {
    transform: rotate(-6deg) scale(1)
  }
  50% {
    transform: rotate(-6deg) scale(1.04)
  }
  100% {
    transform: rotate(-6deg) scale(1)
  }
}
@keyframes bounce {
  from {
    transform: translateY(0)
  }
  to {
    transform: translateY(-10px)
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}
.entorno-section,
.entorno-section .entorno-center,
.entorno-section .entorno-image,
.entorno-section .entorno-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease-out,transform .9s ease-out
}
.entorno-section .entorno-center.fade-up,
.entorno-section .entorno-image.fade-up,
.entorno-section .entorno-text.fade-up,
.entorno-section.fade-up {
  opacity: 1;
  transform: translateY(0)
}
#popup-suscripcion {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  font-size: 14px;
  z-index: 9999;
  max-width: 320px;
  text-align: center;
  cursor: pointer
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,.75);
  color: #fff;
  padding: 15px 20px;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-family: Arial,sans-serif;
  font-size: 14px
}
#cookie-banner a {
  color: gold;
  text-decoration: underline
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px
}
.cookie-buttons button {
  background-color: gold;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700
}
.cookie-buttons button:hover {
  background-color: #e6c200
}
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  justify-content: center;
  align-items: center
}
.cookie-modal-content {
  background-color: #fff;
  color: #000;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  font-family: Arial,sans-serif
}
.cookie-modal h2 {
  margin-top: 0
}
.cookie-modal label {
  display: block;
  margin: 10px 0;
  font-size: 14px
}
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px
}
.modal-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer
}
.modal-buttons button[type=submit] {
  background-color: gold
}
.modal-buttons button[type=submit]:hover {
  background-color: #e6c200
}
.modal-buttons button#close-modal {
  background-color: #ccc
}
.modal-buttons button#close-modal:hover {
  background-color: #aaa
}
@media (max-width:600px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px
  }
   .location-link {
        margin-left: 0;
        margin-top: 15px;
    }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 10px
  }
  .cookie-buttons button {
    width: 100%
  }
  .cookie-modal-content {
    width: 95%
  }
}

@media (max-width: 768px) {
    .info-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 10px 20px;
        border-left: none;
        border-right: none;
    }

    .info-content {
        width: 100%;
        padding: 0;
    }

    .slider-container {
        width: 100%;
        max-width: 100%;
    }

    .main-image {
        width: 100%;
    }

    .main-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .thumbnails {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 4px;
        padding: 0;
    }

    .thumbnail {
        flex: 1;
        width: 0;        /* flex se encarga del ancho */
        height: 55px;
        object-fit: cover;
    }
	    .info-window {
        flex-direction: column;
        max-width: 200px;   /* ancho máximo del popup en móvil */
        gap: 6px;
    }

    .info-img img {
        width: 100%;
        height: 60px;
        object-fit: cover;
        border-radius: 6px;
    }

    .info-text h4 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .info-text p {
        font-size: 12px;
    }
}
