/* ================= RESET / BASE ================= */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
}

/* Links globales (adiós azul feo) */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.75;
}

/* ================= HEADER ================= */
.header {
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-left {
  font-size: 14px;
  color: #666;
}

.header-center img {
  height: 60px;
  display: block;
}

.header-right {
  text-align: right;
}

.btn-book {
  background: #b84c00;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-book:hover {
  background: #a24300;
  opacity: 1;
}

/* ================= NAV ================= */
.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 12px 0;
}

.nav a {
  font-size: 15px;
  color: #222;
  padding-bottom: 6px;
}

.nav a.active {
  border-bottom: 2px solid #b84c00;
}

/* ================= HERO ================= */
.hero {
  max-width: 1400px;
  margin: 30px auto 50px;
  padding: 0 20px;
}

.hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  border-radius: 14px;
}

/* ================= INTRO (texto tras hero) ================= */
.intro {
  max-width: 900px;
  margin: 0 auto 70px;
  padding: 0 20px;
}

.intro h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.intro p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
}

/* ================= GRID 4 IMÁGENES ================= */
.image-grid {
  max-width: 900px; /* alineado con el texto */
  margin: 0 auto 90px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* ================= CONTENT (texto largo final) ================= */
.content {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.content h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.content h2 {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 16px;
}

.content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
}

.content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ================= FOOTER ================= */
.footer {
  background: #444;
  color: #fff;
  padding: 50px 40px;
}

.footer-cols {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
}

.footer h4 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer a {
  display: block;
  color: #e0e0e0;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  opacity: 0.7;
  font-size: 14px;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {

  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .header-right {
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero img {
    height: 45vh;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .intro p,
  .content p {
    text-align: left; /* mejor legibilidad en móvil */
  }

  .footer-cols {
    flex-direction: column;
    gap: 30px;
  }
}

/* ================= PREZENTARE (detalle Lodgify) ================= */

.hero--detail {
  position: relative;
}

.hero-cta {
  position: absolute;
  right: 26px;
  bottom: 22px;
  background: #b84c00;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.hero-cta:hover {
  opacity: 1;
  background: #a24300;
}

.hero-cta-icon {
  margin-right: 8px;
}

/* container general página */
.detail {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 26px;
  padding: 8px 0 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 22px;
}

.tab {
  background: transparent;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  font-size: 16px;
  color: #222;
}

.tab.is-active {
  border-bottom: 2px solid #b84c00;
  font-weight: 700;
}

.section {
  padding: 28px 0;
}

/* Títulos */
.kicker {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.title-xl {
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 16px;
}

.title-lg {
  font-size: 34px;
  margin: 0 0 18px;
}

.title-md {
  font-size: 20px;
  margin: 0 0 10px;
}

/* Meta row */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 18px;
  color: #333;
}

.meta-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* Read more (recorte tipo Lodgify) */
.readmore {
  margin-top: 18px;
}

.readmore-content {
  line-height: 1.75;
}

.readmore[data-collapsed="true"] .readmore-content {
  max-height: 160px;
  overflow: hidden;
  position: relative;
}

.readmore[data-collapsed="true"] .readmore-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.readmore-toggle {
  display: inline-block;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: #b84c00;
  font-weight: 800;
  cursor: pointer;
}

/* Chips */
.chips {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
}

/* Gallery grids */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.gallery-grid--second {
  margin-top: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.link-more {
  display: inline-block;
  margin: 18px 0 10px;
  color: #b84c00;
  font-weight: 800;
}

/* Cards (organiza dormitoare) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}

.card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.card-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.card-title {
  font-weight: 700;
}

/* Facilități layout */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 12px;
}

.fac-item {
  margin-bottom: 20px;
}

.fac-head {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fac-ico {
  opacity: .85;
}

.fac-text {
  margin-top: 10px;
  line-height: 1.7;
  color: #333;
}

/* Regulament + Politici (2 columnas) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 16px;
}

.rule {
  margin-bottom: 14px;
  line-height: 1.6;
}

.rule-time {
  margin-bottom: 14px;
  line-height: 1.6;
}

.policy p {
  line-height: 1.7;
  margin: 0 0 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .title-xl { font-size: 38px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid--second { grid-template-columns: 1fr; }

  .cards { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }

  .hero-cta {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ================= FIX PREZENTARE (iconos gigantes / layout roto) ================= */

/* 1) No dejar que SVG/ICON hereden tamaños raros */
.ico, .mini-ico, .fac-ico, .hero-cta-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.ico svg, .mini-ico svg, .fac-ico svg, .hero-cta-ico svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

/* 2) Wrapper principal (evita texto estirado infinito) */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 90px;
}

/* 3) Tabs */
.tabs {
  display: flex;
  gap: 22px;
  padding: 18px 0 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.tab {
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  padding-bottom: 10px;
}
.tab.active {
  border-bottom: 2px solid #b84c00;
}

/* 4) Tipografías / títulos */
.kicker {
  color: #888;
  font-size: 14px;
  margin-top: 6px;
}
.title-xl {
  font-size: 54px;
  line-height: 1.05;
  margin: 14px 0 14px;
}
.title-lg {
  font-size: 34px;
  margin: 40px 0 18px;
}
.title-md {
  font-size: 20px;
  margin: 0 0 10px;
}
.text-h3 {
  font-size: 20px;
  margin: 22px 0 10px;
}
.section p {
  line-height: 1.8;
  margin: 0 0 14px;
}

/* 5) Meta row (4 oaspeți / 1 dormitor / etc) */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 10px 0 24px;
  color: #222;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.meta-item strong {
  font-weight: 700;
}

/* 6) Readmore (texto recortado) */
.readmore {
  position: relative;
  margin-top: 6px;
}
.readmore[data-collapsed="true"] .readmore-content {
  max-height: 210px;   /* ajusta si quieres más/menos */
  overflow: hidden;
}
.readmore[data-collapsed="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 42px;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}
.readmore-toggle {
  background: transparent;
  border: 0;
  padding: 10px 0 0;
  color: #b84c00;
  font-weight: 700;
  cursor: pointer;
}

/* 7) Chips (Parcare / Internet) -> estilo pill, NO círculos gigantes */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  font-size: 15px;
}
.chip .ico svg {
  width: 18px !important;
  height: 18px !important;
}

/* 8) Gallery grids */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.gallery-grid--second {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}
.link-more {
  display: inline-block;
  margin-top: 18px;
  color: #b84c00;
  font-weight: 700;
}
.link-more--end {
  margin-top: 22px;
}

/* 9) Cards 3 (Organizarea dormitoarelor) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mini-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.mini-ico svg {
  width: 22px !important;
  height: 22px !important;
}
.mini-title {
  margin-top: 12px;
  font-weight: 700;
}

/* 10) Facilități */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.fac-block {
  padding: 0 0 18px;
}
.fac-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.fac-title {
  font-weight: 800;
}
.fac-ico svg {
  width: 18px !important;
  height: 18px !important;
  opacity: .9;
}
.fac-text {
  line-height: 1.8;
  color: #333;
}

/* 11) Two columns (Regulament / Politică) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.rule-list .rule,
.rule-times .rule-time {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.rule-list .ico svg,
.rule-times .ico svg {
  width: 18px !important;
  height: 18px !important;
}

/* 12) HERO en prezentare (si existe) */
.hero--detail {
  max-width: 1400px;
  margin: 22px auto 0;
  padding: 0 20px;
}
.hero-media {
  position: relative;
}
.hero--detail img {
  width: 100%;
  height: 48vh;
  object-fit: cover;
  border-radius: 14px;
}
.hero-cta {
  position: absolute;
  right: 22px;
  bottom: 18px;
  background: #b84c00;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-cta-ico svg {
  width: 18px !important;
  height: 18px !important;
}

/* 13) Responsive */
@media (max-width: 900px) {
  .title-xl { font-size: 40px; }
  .gallery-grid, .gallery-grid--second { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero--detail img { height: 40vh; }
  .hero-cta { left: 14px; right: 14px; justify-content: center; }
}

/* ===== Ajuste hero: misma altura en todas las páginas ===== */
.hero img,
.hero--detail img {
  height: 70vh !important;
  min-height: 420px;
}
@media (max-width: 900px) {
  .hero img,
  .hero--detail img {
    height: 48vh !important;
    min-height: 280px;
  }
}

/* ===== Texto justificado ===== */
.section p,
.content p,
.readmore-content p {
  text-align: justify;
  text-justify: inter-word;
}

/* ===== Readmore tipo Lodgify: degradado y botón centrado ===== */
.readmore {
  position: relative;
  margin-top: 6px;
}

.readmore[data-collapsed="true"] .readmore-content {
  max-height: 220px;
  overflow: hidden;
}

/* degradado más suave y SIN tapar el botón */
.readmore[data-collapsed="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 52px;            /* deja espacio para el botón */
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.readmore-toggle {
  display: block;
  width: max-content;
  margin: 8px auto 0;      /* centrado */
  background: transparent;
  border: 0;
  padding: 10px 0 0;
  color: #b84c00;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .2px;
}

/* ===== Galería: cursor "clickable" ===== */
.gallery-grid img,
.gallery-grid--second img,
.image-grid img {
  cursor: zoom-in;
}

/* ===== Lightbox modal ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 22px;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0,0,0,.2);
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }

.lb-prev { left: -10px; }
.lb-next { right: -10px; }

.lb-close {
  position: absolute;
  top: -10px;
  right: -10px;
  transform: none;
  width: 44px;
  height: 44px;
}

@media (max-width: 900px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 6px; right: 6px; }
}

/* Footer: reducir espacio entre links */
.footer-cols{
  gap: 48px;                 /* antes 80px */
  align-items: flex-start;
}

.footer .footer-cols a{
  display: inline-block;
  margin: 0;
  padding: 6px 0;            /* controla el aire vertical */
  line-height: 1.25;         /* más compacto */
}

/* Si tus links están en <li> */
.footer ul{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.footer li{
  margin: 0;
  padding: 0;
}

/* ===== Lightbox: contador + miniaturas ===== */
.lb-counter{
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  user-select: none;
  backdrop-filter: blur(6px);
}

.lb-thumbs{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  padding: 12px 6px 6px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lb-thumb{
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  opacity: .75;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  flex: 0 0 auto;
  background: rgba(255,255,255,.06);
}

.lb-thumb:hover{ opacity: .95; }

.lb-thumb.is-active{
  opacity: 1;
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}

@media (max-width: 900px){
  .lb-thumb{
    width: 62px;
    height: 46px;
  }
  .lb-thumbs{
    gap: 8px;
    padding: 10px 6px 6px;
  }
}

.lb-top{
  position:absolute;
  left:0; right:0;
  top:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.lb-counter{
  pointer-events:none;
  color:#fff;
  font-weight:700;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}
.lb-close{
  pointer-events:auto;
  position:absolute;
  right: -10px;
  top: -10px;
}

.lb-bottom{
  margin-top: 12px;
}
.lb-thumbs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding: 10px 6px;
  scrollbar-width: thin;
}
.lb-thumb{
  width:64px;
  height:44px;
  object-fit:cover;
  border-radius:10px;
  opacity:.7;
  border:1px solid rgba(255,255,255,.18);
  cursor:pointer;
}
.lb-thumb.is-active{
  opacity:1;
  border-color: rgba(255,255,255,.65);
}

/* ===== Language switch ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}
.lang-switch .lang-link {
  opacity: .75;
  font-weight: 700;
}
.lang-switch .lang-link.is-active {
  opacity: 1;
  color: #b84c00;
}
.lang-switch span { opacity: .35; }

/* ===== Reserva (FAB + Modal) ===== */
.reserve-fab{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  display: none;
}

@media (max-width: 820px){
  .reserve-fab{ display: inline-flex; align-items: center; gap: 10px; }
}

/* Modal */
.reserve-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.reserve-modal.is-open{ display: block; }
.reserve-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.reserve-panel{
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 24px));
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}
.reserve-panel h3{ margin: 0 0 12px; }
.reserve-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reserve-btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
}
.reserve-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* Evitar scroll detrás */
body.reserve-lock{ overflow: hidden; }


/* ================= MOBILE HEADER: botón más pequeño ================= */
@media (max-width: 720px){
  .btn-book{
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }
  /* Si tu logo es grande en móvil, puedes limitarlo */
  .header-center img{ max-height: 52px; width: auto; }
}

/* ===== FIX VISIBILIDAD MODAL RESERVA ===== */
.reserve-panel{
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.10);
}

/* Modal: botones iguales a .btn-book (naranja) */
.reserve-btn{
  background: #b84c00;
  color: #fff;
}

.reserve-btn:hover{
  background: #a24300;
  opacity: 1;
}


.reserve-close{
  background: #fff;
  color: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* Modal: hacer que reserve-btn use el estilo de btn-book sin deformarse */
.reserve-actions .btn-book{
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
}

/* ===== MOBILE HEADER (limpio, sin amontonarse) ===== */
@media (max-width: 900px){

  .header-inner{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 12px 12px !important;
  }

  /* Idiomas a la izquierda */
  .header-left{
    order: 1;
    white-space: nowrap;
    font-size: 13px;
  }

  /* Logo centrado y que NO empuje */
  .header-center{
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .header-center img{
    height: 46px;
    width: auto;
  }

  /* Botón reservar a la derecha */
  .header-right{
    order: 3;
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
  }

  .btn-book{
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }
}


/* =========================================================
   OVERRIDE FINAL — HEADER móvil + RESERVA modal (CLAVADO)
   Pegar al FINAL del CSS para evitar guerras de estilos
   ========================================================= */

/* --- Botón principal (unificar tipografía y peso) --- */
.btn-book,
.reserve-btn{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;                 /* igual que btn-book */
  letter-spacing: 0;                /* evita look “distinto” */
}

/* --- Modal Reserva: siempre visible y consistente --- */
.reserve-modal{
  z-index: 11000;
}

.reserve-backdrop{
  background: rgba(0,0,0,.45);
}

.reserve-panel{
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

/* Botones Booking/Airbnb EXACTAMENTE como .btn-book (color + radio + hover) */
.reserve-btn{
  background: #b84c00 !important;
  color: #fff !important;
  border-radius: 6px !important;    /* mismo radio que .btn-book */
  padding: 10px 22px !important;    /* mismo padding que .btn-book */
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
}

.reserve-btn:hover{
  background: #a24300 !important;
  opacity: 1 !important;
}

/* Grid del modal sin deformar botones */
.reserve-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Cerrar visible */
.reserve-close{
  background: #fff;
  color: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

/* --- FAB: arriba del contenido pero debajo del modal --- */
.reserve-fab{ z-index: 10500; }

/* =========================================================
   HEADER móvil: 3 columnas reales (izq / logo / botón)
   Reemplaza el layout “centrado” de tu @media (max-width:900px)
   ========================================================= */
@media (max-width: 900px){
  .header-inner{
    display: grid;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center;
    gap: 0 !important;
    text-align: left !important;
    padding: 12px 12px !important;
  }

  .header-left{
    justify-self: start;
    text-align: left;
  }

  .header-center{
    justify-self: center;
  }

  .header-right{
    justify-self: end;
    text-align: right !important;
  }

  .header-center img{
    height: 52px;
    width: auto;
  }
}

/* =========================================================
   EXTRA móvil: botón header compacto, SIN moverlo al centro
   ========================================================= */
@media (max-width: 720px){
  .btn-book{
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    font-weight: 600; /* igual que desktop */
  }
}

/* =========================================================
   Fix iPhone safe-area: sube el modal para no pegar al borde
   ========================================================= */
.reserve-panel{
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}
/* ===============================
   RESERVE STICKY = CLON DE .btn-book
   (Pegar al FINAL del CSS)
   =============================== */

.reserve-sticky{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 10500;

  /* CLAVADO a .btn-book */
  background: #b84c00 !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  line-height: 1 !important;

  border: 0 !important;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(0,0,0,.18);

  /* oculto por defecto */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.reserve-sticky:hover{
  background: #a24300 !important;
  opacity: 1 !important;
}

.reserve-sticky.is-visible{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* móvil: ancho completo pero MISMO estilo */
@media (max-width: 420px){
  .reserve-sticky{
    width: calc(100% - 28px);
    text-align: center;
  }
}
