@media (max-width: 700px) {
  header.hero {
    margin-bottom: 3.5em;
  }
  #headerReserveBtn {
    margin-bottom: 2em !important;
    display: block;
  }
}
/* Viñetas verdes personalizadas y salto de línea entre ítems */
ul:not(.features-list) {
  list-style: none;
  padding-left: 1.2em;
}
ul:not(.features-list) li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 1em;
}
ul:not(.features-list) li::before {
  content: '';
  position: absolute;
  left: 0.2em;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6em;
  height: 0.6em;
  background: #3b6e4c;
  border-radius: 50%;
  display: inline-block;
}
/*

  Estilo para Cabaña Arrayán en Niebla

  Inspirado en naturaleza, verde, lluvia y descanso del sur de Chile

*/

:root {

  --verde: #3b6e4c;

  --verde-claro: #7bbf72;

  --azul-lluvia: #6ca0b6;

  --gris-niebla: #e6ecec;

  --madera: #bfa77b;

  --blanco: #fff;

  --negro: #222;

  --sombra: 0 4px 24px rgba(60,80,60,0.10);

  --fuente-titulo: 'Montserrat', sans-serif;

  --fuente-texto: 'Roboto', sans-serif;

}

* {

  box-sizing: border-box;

}

body {

  margin: 0;

  font-family: var(--fuente-texto);

  background: linear-gradient(135deg, var(--gris-niebla) 0%, var(--verde-claro) 100%);

  color: var(--negro);

}

header.hero {

  position: relative;

  height: 42vh;

  min-height: 220px;

  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: var(--sombra);

}

header .overlay {

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(59,110,76,0.7) 0%, rgba(108,160,182,0.5) 100%);

  z-index: 1;

}

.hero-content {

  position: relative;

  z-index: 2;

  color: var(--blanco);

  text-align: center;

}

.hero-content h1 {

  font-family: var(--fuente-titulo);

  font-size: 2.8rem;

  margin-bottom: 0.5em;

  letter-spacing: 1px;

}

.hero-content p {

  font-size: 1.3rem;

  margin-bottom: 1.5em;

}

.cta-main {

  display: inline-block;

  background: var(--verde);

  color: var(--blanco);

  padding: 0.8em 2em;

  border-radius: 30px;

  font-weight: bold;

  font-size: 1.1rem;

  text-decoration: none;

  box-shadow: var(--sombra);

  transition: background 0.2s, transform 0.2s;

  margin-bottom: 0.5em;

}



.reserve-btn {

  background: #FF5A5F;

  color: #fff;

  margin-left: 1em;

  transition: background 0.2s, transform 0.2s;

}

.reserve-btn:hover {

  background: #e0484d;

  color: #fff;

  transform: translateY(-2px) scale(1.04);

}

.cta-main:hover {

  background: var(--azul-lluvia);

  transform: translateY(-2px) scale(1.04);

}

main {

  max-width: 900px;

  margin: 0 auto;

  padding: 2em 1em 5em 1em;

}

section {

  margin-bottom: 2.5em;

  background: var(--blanco);

  border-radius: 18px;

  box-shadow: var(--sombra);

  padding: 2em 1.5em 1.5em 1.5em;

}

section h2 {

  font-family: var(--fuente-titulo);

  color: var(--verde);

  margin-top: 0;

  margin-bottom: 0.7em;

  font-size: 1.5rem;

}

.features-list {

  list-style: none;

  padding: 0;

  margin: 0;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 0.7em 1.5em;

}

.features-list li {

  display: flex;

  align-items: center;

  font-size: 1.08rem;

  margin-bottom: 0.2em;

}

.features-list .icon {

  font-size: 1.5em;

  margin-right: 0.6em;

}

.attractions ul {

  padding-left: 1.2em;

  margin: 0;

}

.gallery-section, .video-section {

  background: var(--gris-niebla);

  box-shadow: none;

}

.gallery {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

  gap: 12px;

  margin-top: 1em;

}

.gallery img {

  width: 100%;

  aspect-ratio: 4/3;

  object-fit: cover;

  border-radius: 10px;

  cursor: pointer;

  box-shadow: var(--sombra);

  transition: transform 0.18s, box-shadow 0.18s;

}

.gallery img:hover {

  transform: scale(1.04);

  box-shadow: 0 8px 32px rgba(59,110,76,0.18);

}

.video-gallery {

  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 1em;

}

.video-gallery video, .video-gallery img {

  width: 220px;

  max-width: 100%;

  border-radius: 10px;

  cursor: pointer;

  box-shadow: var(--sombra);

  background: #000;

}

.floating-btn {

  position: fixed;

  right: 24px;

  bottom: 32px;

  background: linear-gradient(90deg, #FF5A5F 60%, #7bbf72 100%);

  color: var(--blanco);

  font-family: var(--fuente-titulo);

  font-size: 1.2rem;

  padding: 1em 2.2em;

  border-radius: 40px;

  box-shadow: 0 8px 32px rgba(59,110,76,0.18);

  text-decoration: none;

  font-weight: bold;

  z-index: 1000;

  transition: background 0.2s, transform 0.2s;

  border: none;

}

.floating-btn:hover {

  background: linear-gradient(90deg, #7bbf72 10%, #FF5A5F 90%);

  transform: scale(1.06);

}

footer {

  background: var(--verde);

  color: var(--blanco);

  padding: 1.2em 0 1em 0;

  text-align: center;

  position: relative;

  z-index: 2;

}

.footer-content {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 1.2em;

}

.footer-icon svg {

  vertical-align: middle;

  transition: transform 0.18s;

}

.footer-icon:hover svg {

  transform: scale(1.12) rotate(-6deg);

}

.footer-text {

  font-size: 1rem;

  font-family: var(--fuente-titulo);

}

/* Modal */

.modal {

  display: none;

  position: fixed;

  z-index: 2000;

  left: 0; top: 0; width: 100vw; height: 100vh;

  background: rgba(34, 34, 34, 0.85);

  align-items: center;

  justify-content: center;

  transition: opacity 0.2s;

}

.modal.open {

  display: flex;

  animation: modalFadeIn 0.2s;

}

@keyframes modalFadeIn {

  from { opacity: 0; }

  to { opacity: 1; }

}

.modal-content {

  max-width: 90vw;

  max-height: 80vh;

  display: flex;

  align-items: center;

  justify-content: center;

}

.modal-content img, .modal-content video {

  max-width: 90vw;

  max-height: 80vh;

  border-radius: 12px;

  box-shadow: 0 8px 32px rgba(59,110,76,0.18);

  background: #000;

}

.close {

  position: absolute;

  top: 32px;

  right: 48px;

  color: #fff;

  font-size: 2.5rem;

  font-weight: bold;

  cursor: pointer;

  z-index: 2100;

  text-shadow: 0 2px 8px #222;

  transition: color 0.18s;

}

.close:hover {

  color: var(--azul-lluvia);

}

.modal-prev, .modal-next {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: rgba(59,110,76,0.7);

  color: #fff;

  border: none;

  font-size: 2.2rem;

  border-radius: 50%;

  width: 48px;

  height: 48px;

  cursor: pointer;

  z-index: 2100;

  transition: background 0.18s;

}

.modal-prev:hover, .modal-next:hover {

  background: var(--azul-lluvia);

}

.modal-prev { left: 32px; }

.modal-next { right: 32px; }

@media (max-width: 700px) {

  main { padding: 1em 0.2em 6em 0.2em; }

  section { padding: 1.2em 0.7em 1em 0.7em; }

  .features-list { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

  .video-gallery video, .video-gallery img { width: 100%; }

  .modal-content img, .modal-content video { max-width: 98vw; max-height: 60vh; }

  .close { top: 12px; right: 18px; font-size: 2rem; }

  .modal-prev, .modal-next { width: 38px; height: 38px; font-size: 1.5rem; left: 8px; right: 8px; }

  .floating-btn { right: 10px; bottom: 16px; padding: 0.7em 1.2em; font-size: 1rem; }

}

