:root{
  --red: #CE1126;
  --red-deep: #970D1B;
  --green: #2E9E4C;
  --green-deep: #1E7A38;
  --blue: #1877F2;
  --blue-deep: #0F5BC4;
  --ink: #17120F;
  --cream: #FBF3E7;
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body{
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}
body.nav-open{ overflow: hidden; }

a{color:inherit; text-decoration:none;}

/* ---------- NAV ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.4rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(251,243,231,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23,18,15,0.08);
}

.logo{
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark{
  width: 40px; height: 40px;
  object-fit: contain;
}

.logo-text{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: auto;
}
.nav-links a{
  color: rgba(23,18,15,0.7);
  transition: color 0.2s ease;
}
.nav-links a:hover{ color: var(--red); }

.nav-cta{
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover{ background: var(--red-deep); transform: translateY(-1px); }

/* Selector de idioma: pastilla secundaria (mismo lenguaje visual que
   .nav-cta pero discreta, para no competir con "Reservar"). El idioma
   activo se marca con fondo blanco tipo "segmented control". */
.nav-lang{
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(23,18,15,0.06);
  border: 1px solid rgba(23,18,15,0.08);
}
.nav-lang-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: rgba(23,18,15,0.55);
}
.nav-lang a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(23,18,15,0.55);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nav-lang a:hover{ color: var(--ink); }
.nav-lang a.active{
  background: #fff;
  color: var(--red);
  box-shadow: 0 1px 3px rgba(23,18,15,0.15);
}

.nav-toggle{
  display: none;
  position: relative;
  z-index: 56;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop{ display: none; }

@media (max-width: 900px){
  .nav-toggle{ display: flex; order: 4; }
  .nav-cta{
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    order: 3;
  }

  /* Fila colapsada: logo … [ES|EN] [Reservar] [☰]. Sin icono de globo
     (aprieta demasiado junto al CTA y el hamburger) y pastilla más angosta. */
  .nav-lang{
    order: 2;
    padding: 0.2rem;
    gap: 0;
  }
  .nav-lang-icon{ display: none; }
  .nav-lang a{
    min-width: 26px;
    padding: 0.28rem 0.4rem;
    font-size: 0.72rem;
  }

  .nav-links{
    order: 1;
    position: fixed;
    z-index: 55;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 5.5rem clamp(1.5rem, 6vw, 2.5rem) 2rem;
    box-shadow: -8px 0 24px rgba(23,18,15,0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s 0.3s;
    font-size: 1.05rem;
  }
  .nav-links.is-open{
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease;
  }

  .nav-backdrop{
    display: block;
    position: fixed;
    inset: 0;
    z-index: 54;
    background: rgba(23,18,15,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
  }
}

/* ---------- HERO ---------- */
.hero{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 76px;
}

.hero-grid{
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.hero-panel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 5vw, 5.5rem) 3rem clamp(1.5rem, 5vw, 5.5rem);
  position: relative;
}

.tag{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.4rem;
}
.tag::before{
  content: "";
  width: 24px; height: 2px;
  background: var(--red);
}

.title{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.title-line{
  display: block;
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.sub{
  margin-top: 1.6rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(23,18,15,0.72);
  max-width: 460px;
}

.actions{
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary{
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(193,39,45,0.3);
}
.btn-primary:hover{
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(193,39,45,0.4);
}

.btn-line{
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-line:hover{
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.facts{
  margin-top: 3rem;
  display: flex;
  gap: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(23,18,15,0.15);
}

.fact{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fact-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
}
.fact-label{
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(23,18,15,0.6);
}

.hero-media{
  position: relative;
  overflow: hidden;
}

.media-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.media-frame{
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(255,255,255,0.55);
  pointer-events: none;
}

.media-chip{
  position: absolute;
  left: 44px;
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(23,18,15,0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.chip-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.stripe{
  display: flex;
  height: 10px;
}
.stripe span{ flex: 1; }
.stripe span:nth-child(1){ background: var(--green); }
.stripe span:nth-child(2){ background: var(--cream); border-top: 1px solid rgba(23,18,15,0.1); border-bottom: 1px solid rgba(23,18,15,0.1); }
.stripe span:nth-child(3){ background: var(--red); }

@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ min-height: 340px; order: -1; }
  .hero-panel{ padding-top: 2.4rem; }
  .facts{ flex-wrap: wrap; row-gap: 1.2rem; }
}

/* ---------- ABOUT ---------- */
.about{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
}

.about-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-media{
  position: relative;
  padding-right: 2.5rem;
  padding-bottom: 2.5rem;
}

.about-img{
  display: block;
  object-fit: cover;
}

.about-img-main{
  width: 100%;
  height: 480px;
  border-radius: 6px;
}

.about-img-small{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 220px;
  border: 6px solid var(--cream);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(23,18,15,0.22);
}

.about-panel .about-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 1.2rem;
}

.about-panel .title-line{
  display: block;
  color: var(--red);
  font-style: italic;
  font-weight: 600;
  font-size: 0.72em;
  margin-top: 0.2rem;
}

.about-panel .sub{
  margin-top: 1.3rem;
  max-width: 540px;
}

.about-panel .facts{
  border-top: 1px solid rgba(23,18,15,0.15);
  margin-top: 2.4rem;
}

.about-cta{
  margin-top: 2.2rem;
}

@media (max-width: 940px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ padding-right: 0; }
  .about-img-main{ height: 340px; }
  .about-img-small{ width: 55%; height: 170px; }
}

/* ---------- TOUR ---------- */
.tour{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  background: #F1E7D6;
}

.tour-head{
  max-width: 640px;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.tour-head .tag{
  justify-content: center;
}
.tour-head .tag::before{ display: none; }

.tour-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}

.tour-title .title-line{
  display: block;
  color: var(--red);
  font-style: italic;
  font-weight: 600;
  font-size: 0.75em;
  margin-top: 0.15rem;
}

.tour-head .sub{
  margin: 1rem auto 0;
}

.tour-coverflow{
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  outline: none;
}

.tour-viewport{
  position: relative;
  flex: 1 1 auto;
  height: clamp(380px, 64vw, 640px);
  perspective: 1600px;
  overflow: hidden;
  touch-action: pan-y;
}

.tour-slide{
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(420px, 62vw);
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(23,18,15,0.15);
  transition: transform 0.55s cubic-bezier(0.22,0.75,0.3,1), opacity 0.55s ease, box-shadow 0.55s ease;
  transform:
    translateX(calc(var(--offset) * 56%))
    scale(calc(1 - min(var(--abs), 2) * 0.17))
    rotateY(calc(var(--offset) * -18deg));
  opacity: calc(1 - min(var(--abs), 3) * 0.32);
  z-index: calc(10 - var(--abs));
}

.tour-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,10,8,0.35);
  opacity: calc(min(var(--abs), 1));
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.tour-slide.is-active{
  box-shadow: 0 30px 60px rgba(23,18,15,0.28);
}
.tour-slide.is-active::after{ opacity: 0; }

.tour-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-caption{
  text-align: center;
  margin-top: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.tour-arrow{
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(23,18,15,0.15);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23,18,15,0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.tour-arrow:hover{
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.tour-dots{
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.tour-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(23,18,15,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tour-dot.active{
  background: var(--red);
  transform: scale(1.3);
}

.tour-fallback{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.tour-fallback img{
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 640px){
  .tour-arrow{ width: 38px; height: 38px; }
  .tour-slide{
    transform:
      translateX(calc(var(--offset) * 72%))
      scale(calc(1 - min(var(--abs), 2) * 0.22))
      rotateY(calc(var(--offset) * -14deg));
  }
}

@media (prefers-reduced-motion: reduce){
  .tour-slide{ transition: opacity 0.2s linear; }
}

/* ---------- ROOMS ---------- */
.rooms{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  background: var(--cream);
}

.rooms-head{
  max-width: 640px;
  margin: 0 auto 3.2rem;
  text-align: center;
}
.rooms-head .tag{ justify-content: center; }
.rooms-head .tag::before{ display: none; }
.rooms-head .sub{ margin: 1rem auto 0; }

.rooms-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px){
  .rooms-grid{
    grid-template-columns: repeat(2, minmax(0, 360px));
    justify-content: center;
  }
}
@media (min-width: 960px){
  .rooms-grid{
    grid-template-columns: repeat(3, minmax(0, 320px));
  }
}

.room-card{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23,18,15,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23,18,15,0.18);
}

.room-media{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.room-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,10,8,0.45), transparent 38%);
  pointer-events: none;
}

.room-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.room-zoom-hint{
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15,10,8,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.room-card:hover .room-zoom-hint{ opacity: 1; }

.room-badge{
  position: absolute;
  top: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.room-badge-type{
  left: 0.9rem;
  background: rgba(15,10,8,0.55);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.room-badge-price{
  right: 0.9rem;
  background: var(--red);
}
.room-badge-price strong{
  font-family: var(--font-display);
  font-size: 1rem;
}

.room-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
}

.room-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.room-desc{
  margin-top: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(23,18,15,0.72);
}

.room-chips{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.room-chip{
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(23,18,15,0.06);
  color: rgba(23,18,15,0.7);
  font-size: 0.7rem;
  font-weight: 600;
}
.room-chip svg{ flex-shrink: 0; width: 12px; height: 12px; }

.room-month{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(23,18,15,0.12);
  border-bottom: 1px solid rgba(23,18,15,0.12);
}
.room-month-label{
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(23,18,15,0.55);
}
.room-month-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
}

.room-actions{
  margin-top: auto;
  padding-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.room-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.6rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.room-btn-wa{ background: var(--green); }
.room-btn-wa:hover{ background: var(--green-deep); transform: translateY(-2px); }
.room-btn-fb{ background: var(--blue); }
.room-btn-fb:hover{ background: var(--blue-deep); transform: translateY(-2px); }

.room-price-note{
  margin-top: 0.5rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(23,18,15,0.5);
}

@media (max-width: 360px){
  .room-actions{ grid-template-columns: 1fr; }
}

/* ---------- PLACES ---------- */
.places{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  background: #F1E7D6;
}

.places-head{
  max-width: 640px;
  margin: 0 auto 3.2rem;
  text-align: center;
}
.places-head .tag{ justify-content: center; }
.places-head .tag::before{ display: none; }
.places-head .sub{ margin: 1rem auto 0; }

.places-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.place-card{
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(23,18,15,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.place-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(23,18,15,0.2);
}
.place-card:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.place-media{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.place-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.place-card:hover .place-media img{
  transform: scale(1.06);
}
.place-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,8,0.82), rgba(15,10,8,0.05) 55%);
  pointer-events: none;
}

.place-info{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  color: #fff;
}
.place-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.place-distance{
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.place-body{
  padding: 1rem 1.1rem 1.2rem;
}
.place-teaser{
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(23,18,15,0.72);
}
.place-cta{
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
}

/* ---------- TRIPS ---------- */
.trips{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  background: var(--cream);
}

.trips-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2.6rem;
}
.trips-head-text{ max-width: 560px; }
.trips-head .sub{ margin-top: 1rem; }
@media (max-width: 720px){
  .trips-head{
    flex-direction: column;
    align-items: flex-start;
  }
}

.trips-cta{
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.5rem 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(23,18,15,0.15);
  background: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.trips-cta:hover{ border-color: var(--ink); }
.trips-cta-arrow{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.trips-cta:hover .trips-cta-arrow{ background: var(--red); }

.trips-carousel{ max-width: 1100px; margin: 0 auto; }

.trips-track{
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 10px;
}
.trips-track::-webkit-scrollbar{ display: none; }

.tour-card{
  flex: 0 0 clamp(230px, 30%, 340px);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3 / 4;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(23,18,15,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tour-card:hover,
.tour-card:focus-visible{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23,18,15,0.2);
}

.tour-card-media{
  position: relative;
  width: 100%;
  height: 100%;
}
.tour-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-card-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,10,8,0.8), rgba(15,10,8,0) 55%);
  pointer-events: none;
}

.tour-card-arrow{
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.tour-card:hover .tour-card-arrow{
  background: var(--red);
  color: #fff;
}

.tour-card-info{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.2rem 1.2rem;
  color: #fff;
}
.tour-card-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
.tour-card-price{
  margin-top: 0.3rem;
  font-size: 0.85rem;
  opacity: 0.9;
}
.tour-card-price strong{
  font-family: var(--font-display);
  font-size: 1rem;
}

.trips-nav{
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.trips-arrow[disabled]{
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Reusadas dentro del panel izquierdo del modal de tours (#tourModal). */
.tour-modal-head{
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.tour-modal-type{
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(23,18,15,0.08);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tour-modal-price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
}
.tour-modal-price span{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: rgba(23,18,15,0.55);
  margin-left: 0.15rem;
}

.trip-desc{
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(23,18,15,0.72);
}

.trip-chips{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.trip-chip{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(23,18,15,0.06);
  color: rgba(23,18,15,0.7);
  font-size: 0.75rem;
  font-weight: 600;
}
.trip-chip svg{ flex-shrink: 0; }

.trip-info{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(23,18,15,0.12);
  border-bottom: 1px solid rgba(23,18,15,0.12);
}
.trip-info-label{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(23,18,15,0.55);
}
.trip-info-value{
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.trip-price-note{
  margin-top: 0.6rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(23,18,15,0.5);
}

.trip-actions{
  margin-top: auto;
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.trip-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
/* .trip-btn{display:flex} le gana en especificidad al [hidden]{display:none}
   por defecto del navegador (misma especificidad, pero el navegador siempre
   pierde contra la hoja de estilos del autor) — sin esto, el atributo
   `hidden` del botón "Cómo llegar" no ocultaba nada. */
.trip-btn[hidden]{ display: none; }
.trip-btn-wa{ background: var(--green); }
.trip-btn-wa:hover{ background: var(--green-deep); transform: translateY(-2px); }
.trip-btn-fb{ background: var(--blue); }
.trip-btn-fb:hover{ background: var(--blue-deep); transform: translateY(-2px); }
.trip-btn-dir{ background: var(--red); }
.trip-btn-dir:hover{ background: var(--red-deep); transform: translateY(-2px); }

.place-modal-actions{ margin-top: auto; padding-top: 1.4rem; }
.place-modal-actions .trip-btn{ width: 100%; }

@media (max-width: 360px){
  .trip-actions{ grid-template-columns: 1fr; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(15,10,8,0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox.active{
  opacity: 1;
  visibility: visible;
}

.lightbox img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close{
  position: absolute;
  top: 22px;
  right: clamp(1rem, 4vw, 3rem);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover{ background: var(--red); }

/* ---------- PLACE MODAL ---------- */
.place-modal{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(15,10,8,0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.place-modal.active{
  opacity: 1;
  visibility: visible;
}

.place-modal-panel{
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 88vh;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.place-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15,10,8,0.5);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.place-modal-close:hover{ background: var(--red); }

.place-modal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 0;
}
@media (max-width: 760px){
  .place-modal-grid{
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
}

.place-modal-info{
  padding: 2.2rem clamp(1.5rem, 3vw, 2.6rem);
  overflow-y: auto;
}
.place-modal-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  padding-right: 2rem;
}
.place-modal-distance{
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
}
.place-modal-history{
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(23,18,15,0.75);
}
.place-modal-history p + p{ margin-top: 0.9rem; }

.place-modal-media{
  position: relative;
  background: #17120F;
  min-height: 260px;
}
@media (max-width: 760px){
  .place-modal-media{
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

.place-slider{
  position: relative;
  width: 100%;
  height: 100%;
}
.place-slider-track{
  position: relative;
  width: 100%;
  height: 100%;
}

.place-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.place-slide.active{ opacity: 1; }

.place-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.place-slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15,10,8,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.place-slider-arrow:hover{ background: var(--red); }
.place-slider-prev{ left: 10px; }
.place-slider-next{ right: 10px; }

.place-slider-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.place-slider-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.place-slider-dot.active{
  background: #fff;
  transform: scale(1.3);
}

/* ---------- CONTACT ---------- */
.contact{
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5.5rem);
  background: #F1E7D6;
}

.contact-head{
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.contact-head .tag{ justify-content: center; }
.contact-head .tag::before{ display: none; }
.contact-head .sub{ margin: 1rem auto 0; }

.contact-actions{
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 720px){
  .contact-actions{ grid-template-columns: 1fr; }
}

.contact-action{
  position: relative;
}

.contact-action-link,
a.contact-action{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(23,18,15,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-action-link:hover,
a.contact-action:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(23,18,15,0.16);
}

.contact-action-icon{
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contact-action-wa .contact-action-icon{ background: var(--green); }
.contact-action-tel .contact-action-icon{ background: var(--blue); }
.contact-action-mail .contact-action-icon{ background: var(--red); }

.contact-action-text{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.contact-action-text strong{
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-action-text span{
  font-size: 0.8rem;
  color: rgba(23,18,15,0.6);
}

.contact-action-arrow{
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(23,18,15,0.06);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-action:hover .contact-action-arrow,
.contact-action-link:hover .contact-action-arrow{
  background: var(--red);
  color: #fff;
}

.contact-action-copy{
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 2;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(23,18,15,0.1);
  background: #fff;
  color: rgba(23,18,15,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(23,18,15,0.15);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-action-copy:hover{ background: rgba(23,18,15,0.08); color: var(--ink); transform: scale(1.08); }
.contact-action-copy .contact-copy-check{ display: none; }
.contact-action-copy.is-copied{ background: var(--green); color: #fff; }
.contact-action-copy.is-copied .contact-copy-icon{ display: none; }
.contact-action-copy.is-copied .contact-copy-check{ display: flex; }

.contact-panel{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23,18,15,0.14);
}
@media (max-width: 760px){
  .contact-panel{ grid-template-columns: 1fr; }
}

.contact-info{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.contact-item{
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-icon{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(23,18,15,0.06);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-label{
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(23,18,15,0.55);
}
.contact-value{
  display: block;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-socials{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(23,18,15,0.12);
}
.contact-social{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-social:hover{ transform: translateY(-2px); }
.contact-social-wa{ background: var(--green); }
.contact-social-wa:hover{ background: var(--green-deep); }
.contact-social-fb{ background: var(--blue); }
.contact-social-fb:hover{ background: var(--blue-deep); }
.contact-social-ig{ background: var(--red); }
.contact-social-ig:hover{ background: var(--red-deep); }

.contact-map{
  position: relative;
  min-height: 340px;
  background: #17120F;
}
.contact-map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-map-cta{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-map-cta:hover{
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 760px){
  .contact-map{
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

/* ---------- FOOTER ---------- */
.footer{
  background: var(--ink);
  color: rgba(251,243,231,0.75);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 5.5rem) 2rem;
}

.footer-top{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .footer-top{ grid-template-columns: 1fr; }
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-logo{
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-logo-mark{ width: 36px; height: 36px; object-fit: contain; }
.footer-logo-text{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}
.footer-tagline{
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-heading{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.footer-col a{
  font-size: 0.9rem;
  color: rgba(251,243,231,0.75);
  transition: color 0.2s ease;
}
.footer-col a:hover{ color: #fff; }

.footer-socials{
  display: flex;
  gap: 0.6rem;
}
.footer-socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(251,243,231,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover{
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-legal{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(251,243,231,0.14);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.footer-legal-text{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  column-gap: 0.7rem;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.footer-legal-text::-webkit-scrollbar{ display: none; }

@media (max-width: 640px){
  /* En vez de forzar todo a una sola línea con scroll horizontal oculto
     (arriba, para pantallas anchas), aquí se deja envolver en dos líneas:
     "Desarrollado por" quedaba recortado y solo visible arrastrando el
     dedo, sin ninguna pista de que había más contenido. */
  .footer-legal-text{
    font-size: 0.72rem;
    flex-wrap: wrap;
    row-gap: 0.3rem;
    white-space: normal;
    overflow-x: visible;
  }
  .footer-credit{ padding-left: 0; }
  .footer-credit::before{ content: none; }
}

.footer-copy{
  color: rgba(251,243,231,0.75);
}

.footer-credit{
  position: relative;
  padding-left: 0.85rem;
  color: rgba(251,243,231,0.5);
}
.footer-credit::before{
  content: "|";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(251,243,231,0.3);
}
.footer-credit a{
  font-weight: 700;
  color: rgba(251,243,231,0.85);
  transition: color 0.2s ease;
}
.footer-credit a:hover{ color: var(--red); }

.footer-top-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: rgba(251,243,231,0.75);
  transition: color 0.2s ease;
}
.footer-top-link:hover{ color: #fff; }
