/* Portada para celular (lo que ve quien llega de los anuncios): menos texto, tours como historias con video, videos nítidos que rotan y Reservar que se abre encima. En compu no aplica nada. */
@media (max-width: 900px) {

  /* fuera de la portada lo que no ayuda a reservar (se queda en el menú o en su página) */
  #visitantes, #mas, #donar-inicio, #tienda-inicio, #galeria { display: none !important; }

  /* portada: tres videos cortos debajo del texto, sobre la foto del valle */
  .hero-clips { display: flex; gap: 10px; margin: 18px 0 4px; }
  .hero-clips span { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: rgba(22, 27, 15, .5); border: 1px solid rgba(242, 235, 220, .35); }
  .hero-clips video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-clips em { position: absolute; left: 8px; right: 8px; bottom: 7px; font-family: var(--sans); font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #F2EBDC; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

  /* portada: dos etiquetas en vez de cuatro */
  .rd .hero .trust li:nth-child(n+3) { display: none; }

  /* tours como historias: tarjetas verticales que se deslizan, con su video corriendo */
  .rd #aventuras .head p { display: none; }
  .rd #aventuras .accordion { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; height: auto; }
  .rd #aventuras .accordion::-webkit-scrollbar { display: none; }
  .rd #aventuras .panel, .rd #aventuras .panel.open { flex: 0 0 76%; min-width: 0; scroll-snap-align: center; position: relative; aspect-ratio: 9 / 15; height: auto; display: block; overflow: hidden; border-radius: var(--r-m); background: var(--deep); cursor: pointer; }
  .rd #aventuras .panel:nth-child(n+5) { display: none; }   /* bambú y fruta: a la tienda */
  .rd #aventuras .panel > img, .rd #aventuras .panel.open > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: none; }
  .rd #aventuras .panel video.bg { display: none; }
  .rd #aventuras .story-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
  .rd #aventuras .story-bg.on { opacity: 1; }
  .rd #aventuras .panel::after { content: ""; display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(22, 27, 15, .95) 0%, rgba(22, 27, 15, .55) 38%, rgba(22, 27, 15, 0) 62%); }
  .rd #aventuras .panel .badge { z-index: 3; }
  .rd #aventuras .panel .info, .rd #aventuras .panel.open .info { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 16px 16px 18px; }
  .rd #aventuras .panel .info h3 { font-size: 1.5rem; margin: 4px 0 6px; }
  .rd #aventuras .panel .info .meta { font-size: .68rem; }
  .rd #aventuras .panel .info > p:not(.ptag), .rd #aventuras .panel .flores-tour, .rd #aventuras .panel .mas, .rd #aventuras .panel .inc-clips,
  .rd #aventuras .panel .pics, .rd #aventuras .panel .chips, .rd #aventuras .panel .tour-vid, .rd #aventuras .panel .walink { display: none; }
  .rd #aventuras .panel .rd-acts { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
  .story-more { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F2EBDC; background: none; border: 0; padding: 12px 2px; text-decoration: underline; text-underline-offset: 4px; }
  .rd #aventuras .panel .rd-acts .story-more { display: inline-block; }
  .rd #aventuras .panel.full .rd-acts .story-more { display: none; }
  .rd #aventuras .panel:not(.full) .info .ptag { font-size: .78rem; padding: 8px 14px; margin: 4px 0 0; box-shadow: none; }
  .rd #aventuras .panel:not(.full) .info .label { font-size: .58rem; }
  .story-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .story-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .3s, background .3s; }
  .story-dots i.on { width: 18px; border-radius: 3px; background: var(--forest); }

  /* «Ver todo»: el tour a pantalla completa, con sus videos, lo que incluye y las flores */
  .rd #aventuras .panel.full { position: fixed; inset: 0; z-index: 1000; aspect-ratio: auto; border-radius: 0; overflow-y: auto; overscroll-behavior: contain; cursor: default; }
  .rd #aventuras .panel.full > img, .rd #aventuras .panel.full .story-bg, .rd #aventuras .panel.full::after { position: absolute; inset: 0 0 auto 0; height: 58vh; }
  .rd #aventuras .panel.full .info { position: relative; inset: auto; z-index: 3; margin-top: 36vh; padding: 0 20px 120px; background: linear-gradient(to bottom, rgba(44, 52, 31, 0) 0, var(--deep) 22vh); }
  .rd #aventuras .panel.full .info > p:not(.ptag), .rd #aventuras .panel.full .flores-tour, .rd #aventuras .panel.full .mas, .rd #aventuras .panel.full .pics, .rd #aventuras .panel.full .tour-vid { display: block; }
  .rd #aventuras .panel.full .inc-clips { display: grid; }
  .rd #aventuras .panel.full .flores-tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
  .rd #aventuras .panel.full .flores-tour button { display: block; padding: 0; min-width: 0; }
  .rd #aventuras .panel.full .flores-tour img { width: 100%; height: auto; }
  .rd #aventuras .panel.full .story-more { display: none; }
  .story-close { position: fixed; top: 14px; right: 14px; z-index: 1001; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242, 235, 220, .5); background: rgba(22, 27, 15, .6); color: #F2EBDC; font-size: 1.4rem; line-height: 1; display: none; }
  .panel.full .story-close { display: block; }
  body.story-open { overflow: hidden; }
  body.story-open .rd-bar, body.story-open .mbar { z-index: 1002; }

  /* portada con menos texto: se queda el nombre, una línea, la calificación, los videos y los botones */
  .rd .hero .wrap > .label, .rd .hero .wrap p.lead, .rd .hero .wrap .lead-short, .rd .hero #heroFrom { display: none !important; }
  .rd .hero .trust li:nth-child(n+2) { display: none; }
  .hero-line { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #F2EBDC; margin: 14px 0 12px; }
  /* «rancho familiar» baja a las reseñas, donde la persona está decidiendo */
  .rev-origen { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bark); margin: 0 0 10px; }

  /* Reservar se abre encima, sin brincar por la página */
  #reservar.sheet { position: fixed; inset: 0; z-index: 1500; overflow-y: auto; overscroll-behavior: contain; padding-top: 64px; }
  #reservar.sheet .reveal { opacity: 1 !important; transform: none !important; }
  .sheet-close { display: none; position: fixed; top: 12px; right: 12px; z-index: 1501; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  body.sheet-open { overflow: hidden; }
  body.sheet-open .sheet-close { display: block; }
  body.sheet-open #ctaBar, body.sheet-open #nav { visibility: hidden; }

  /* recortes: reseñas sin el carrusel de texto (quedan la calificación y los videos de clientes); «Armamos tu experiencia» pasa al menú */
  #resenas .rev-q, #aventuras .exp { display: none !important; }
}
@media (min-width: 901px) { .hero-clips, .hero-line, .rev-origen, .story-bg, .story-more, .story-close, .story-dots, .sheet-close { display: none; } }
