/* Roomlyz · basic.css — Plantilla BÁSICA (landing de una sola página)
   Depende de base.css (reset + tokens + lang-switch). */

.plan-basic {
  --b-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --b-ink: #20232a;          /* texto principal oscuro */
  --b-mute: #5e6157;         /* enlaces del nav */
  --b-navy: #1f2d4d;         /* botón "Reservar" del header */
  --b-green: #6d7b43;        /* botón primario, nav activo, iconos de tarjetas */
  --b-gold: #c8b78a;         /* iconos destacados del hero */
  --b-cream: #f6f5f1;        /* fondo de la sección de características */
  --b-line: #ece9e1;         /* bordes suaves */
  --b-header-h: 74px;

  font-family: var(--font-sans);
  color: var(--b-ink);
  background: #fff;
}

/* ============================ HEADER ============================ */
.b-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.b-header.is-scrolled {
  border-color: var(--b-line);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.35);
}
.b-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(24px, 5vw, 48px);
  height: var(--b-header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --- Marca --- */
.b-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.b-brand__img { height: auto; max-height: 52px; width: auto; }
.b-brand__icon {
  display: inline-flex;
  color: #bf6a3a;            /* terracota por defecto; configurable */
}
.b-brand__icon svg { width: 30px; height: 30px; }
.b-brand__name {
  font-family: var(--b-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--b-ink);
  line-height: 1;
}

/* --- Navegación --- */
.b-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  margin-inline: auto;          /* centra el nav entre marca y acciones */
}
.b-nav__link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--b-mute);
  padding: 0.4rem 0;
  transition: color 160ms ease;
}
.b-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--b-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.b-nav__link:hover { color: var(--b-ink); }
.b-nav__link.is-active { color: var(--b-ink); }
.b-nav__link.is-active::after,
.b-nav__link:hover::after { transform: scaleX(1); }

/* --- Acciones derecha --- */
.b-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ============================ BOTONES ============================ */
.b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0.78rem 1.4rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.b-btn--lg { padding: 1rem 1.9rem; font-size: 0.98rem; }

/* Header: navy sólido */
.b-btn--book { background: var(--b-navy); color: #fff; }
.b-btn--book:hover { background: #18233c; transform: translateY(-1px); }

/* Hero: verde oliva sólido */
.b-btn--primary { background: var(--b-green); color: #fff; }
.b-btn--primary:hover { background: #5d6939; transform: translateY(-1px); box-shadow: 0 16px 32px -18px rgba(0,0,0,0.5); }

/* Hero: contorno claro */
.b-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
.b-btn--outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ============================ HERO ============================ */
.b-hero {
  position: relative;
  min-height: clamp(520px, 76vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.b-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.b-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,18,16,0.82) 0%, rgba(12,18,16,0.55) 38%, rgba(12,18,16,0.12) 70%, rgba(12,18,16,0) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.28), rgba(0,0,0,0) 45%);
}
.b-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(18px, 4vw, 48px);
}
.b-hero__title {
  font-family: var(--b-serif);
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 500px;
  margin: 0;
}
.b-hero__sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 300;
  line-height: 1.45;
  max-width: 500px;
  margin: 1.1rem 0 0;
}

/* Destacados del hero (3-5) */
.b-highlights {
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.b-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  max-width: 70px;
}
.b-highlight__icon { color: var(--b-gold); }
.b-highlight__icon svg { width: 30px; height: 30px; }
.b-highlight__text {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
}

/* Botones del hero */
.b-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* ===================== CARACTERÍSTICAS (tarjetas) ===================== */
.b-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}
.b-features {
  background: var(--b-cream);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.b-features__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.1rem);
}
.b-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--b-line);
  border-radius: 14px;
  padding: 1.6rem 1rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.b-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.4);
}
.b-feature-card__icon { color: var(--b-green); }
.b-feature-card__icon svg { width: 34px; height: 34px; }
.b-feature-card__text {
  color: var(--b-ink);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ===================== TÍTULOS DE SECCIÓN ===================== */
.b-section-title {
  font-family: var(--b-serif);
  font-weight: 600;
  color: var(--b-ink);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 1.4rem;
}
.b-section-title::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  margin-top: 0.7rem;
  background: var(--b-green);
  border-radius: 2px;
}
.b-section-title--center { text-align: center; }
.b-section-title--center::after { margin-inline: auto; }

/* ===================== ACERCA DE ESTE ESPACIO ===================== */
.b-about { padding: clamp(2.8rem, 6vw, 5rem) 0; background: #fff; }
.b-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
.b-about__grid--solo { grid-template-columns: 1fr; max-width: 760px; }
.b-about__media { margin: 0; }
.b-about__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 14px;
}
.b-prose { color: var(--b-mute); font-size: 1.02rem; line-height: 1.7; }
.b-prose p { margin: 0 0 1rem; }
.b-prose p:last-child { margin-bottom: 0; }
.b-prose strong { color: var(--b-ink); font-weight: 600; }
.b-prose em { font-style: italic; }
.b-prose a { color: var(--b-green); text-decoration: underline; }
.b-prose ul, .b-prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }

@media (max-width: 760px) {
  .b-about__grid { grid-template-columns: 1fr; }
  .b-about__media { order: -1; }
}

/* ===================== GALERÍA ===================== */
.b-gallery { padding: clamp(2.8rem, 6vw, 5rem) 0; background: var(--b-cream); }
.b-gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  margin-top: 2rem;
}
.b-gallery__item {
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.b-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.b-gallery__item:hover img { transform: scale(1.06); }

@media (max-width: 900px) { .b-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .b-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== LIGHTBOX ===================== */
.b-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,12,14,0.92);
  padding: 4vw;
}
.b-lightbox[hidden] { display: none; }
.b-lightbox__img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.b-lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 1.6rem; line-height: 1;
}
.b-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.b-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 2rem; line-height: 1;
}
.b-lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.b-lightbox__nav--prev { left: 18px; }
.b-lightbox__nav--next { right: 18px; }
@media (max-width: 560px) {
  .b-lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .b-lightbox__nav--prev { left: 8px; }
  .b-lightbox__nav--next { right: 8px; }
}

/* ===================== BANNER ROOMLYZ ===================== */
.b-promo {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, #243456 0%, #161f37 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.b-promo::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,183,138,0.18), rgba(200,183,138,0) 70%);
  pointer-events: none;
}
.b-promo__inner { position: relative; max-width: 720px; margin-inline: auto; text-align: center; }
.b-promo__eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--b-gold); margin-bottom: 1rem;
}
.b-promo__eyebrow svg { width: 16px; height: 16px; }
.b-promo__title {
  font-family: var(--b-serif); font-weight: 600; color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; margin: 0 0 1rem;
}
.b-promo__text {
  color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.65;
  margin: 0 auto 1.9rem; max-width: 600px;
}
.b-promo__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem; border-radius: 6px;
  background: var(--b-gold); color: #1f2d4d; font-weight: 700; font-size: 0.98rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.b-promo__btn:hover { background: #d6c596; transform: translateY(-2px); box-shadow: 0 18px 38px -18px rgba(0,0,0,0.6); }

/* ===================== ALOJAMIENTO, SERVICIOS Y ZONAS COMUNES ===================== */
.b-services { padding: clamp(2.8rem, 6vw, 5rem) 0; background: #eef2e6; }
.b-amenities {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem;
}
.b-amenity {
  flex: 0 0 auto;
  width: calc((100% - 5 * 1.5rem) / 6);   /* 6 por fila; la última fila queda centrada */
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.85rem;
}
.b-amenity__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: #fff; color: var(--b-green);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,0.4);
}
.b-amenity__icon svg { width: 34px; height: 34px; }
.b-amenity__text { color: var(--b-ink); font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
@media (max-width: 1000px) { .b-amenity { width: calc((100% - 3 * 1.5rem) / 4); } }
@media (max-width: 700px) { .b-amenity { width: calc((100% - 2 * 1.5rem) / 3); } }
@media (max-width: 460px) { .b-amenity { width: calc((100% - 1 * 1.5rem) / 2); } }

/* ===================== PREGUNTAS FRECUENTES ===================== */
.b-faq { padding: clamp(2.8rem, 6vw, 5rem) 0; background: #fff; }
.b-faq__list { margin-top: 2rem; border-top: 1px solid var(--b-line); }
.b-faq__item { border-bottom: 1px solid var(--b-line); }
.b-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0.2rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem; color: var(--b-ink);
}
.b-faq__q::-webkit-details-marker { display: none; }
.b-faq__q::marker { content: ""; }
.b-faq__chevron { flex-shrink: 0; color: var(--b-green); transition: transform 220ms ease; }
.b-faq__item[open] .b-faq__chevron { transform: rotate(180deg); }
.b-faq__a { padding: 0 0.2rem 1.25rem; color: var(--b-mute); line-height: 1.65; max-width: 64ch; }

/* ===================== CONTACTO Y RESERVAS ===================== */
.b-contact { padding: clamp(2.8rem, 6vw, 5rem) 0; background: var(--b-cream); }
.b-contact__list {
  list-style: none; margin: 2rem auto 0; padding: 0;
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.b-contact__item { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.02rem; color: var(--b-ink); }
.b-contact__item a:hover { color: var(--b-green); }
.b-contact__icon { display: inline-flex; color: var(--b-green); flex-shrink: 0; }
.b-contact__icon svg { width: 22px; height: 22px; }
.b-contact__cta { margin-top: 2.2rem; text-align: center; }

/* ===================== PÁGINAS LEGALES ===================== */
.b-container--narrow { max-width: 820px; }
.b-legal__top { border-bottom: 1px solid var(--b-line); background: #fff; }
.b-legal__topinner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.b-legal__brand { font-family: var(--b-serif); font-size: 1.3rem; font-weight: 600; color: var(--b-ink); }
.b-legal__back { color: var(--b-mute); font-size: 0.9rem; font-weight: 500; }
.b-legal__back:hover { color: var(--b-ink); }
.b-legal { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.b-legal__body { font-size: 0.98rem; }
.b-legal__body ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.b-legal__body li { margin-bottom: 0.35rem; }
.b-legal__by { margin-top: 2rem; font-size: 0.85rem; color: var(--b-mute); }

/* ============================ FOOTER ============================ */
.b-footer {
  background: #fff;
  border-top: 1px solid var(--b-line);
  padding: 1.6rem 0;
  font-size: 0.85rem;
  color: var(--b-mute);
}
.b-footer__inner { display: flex; flex-direction: column; gap: 0.9rem; }
.b-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}
.b-footer__powered a { color: var(--b-mute); }
.b-footer__powered a:hover { color: var(--b-green); text-decoration: underline; }
.b-footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.b-footer__legal a { color: var(--b-mute); font-size: 0.82rem; }
.b-footer__legal a:hover { color: var(--b-ink); }

/* ============================ MENÚ MÓVIL ============================ */
.b-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}
.b-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--b-ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.is-nav-open .b-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-nav-open .b-burger span:nth-child(2) { opacity: 0; }
.is-nav-open .b-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .b-nav {
    position: absolute;
    top: var(--b-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--b-line);
    box-shadow: 0 20px 40px -28px rgba(0,0,0,0.4);
    padding: 0.4rem clamp(24px, 5vw, 48px) 1rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .is-nav-open .b-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .b-nav__link { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--b-line); }
  .b-nav__link::after { display: none; }
  .b-nav__link:last-child { border-bottom: 0; }
  .b-burger { display: flex; }
}

@media (max-width: 560px) {
  .b-header .b-btn--book { display: none; }   /* en móvil queda el botón del hero */
  .b-brand__name { font-size: 1.3rem; }
  .b-header__inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}
