:root {
  --verde: #2f8f8a;
  --verde-oscuro: #1b5c5e;
  --arena: #f6f2ea;
  --blanco: #ffffff;
  --texto: #23302c;
  --texto-suave: #6b7a74;
  --dorado: #d9a441;
  --rojo: #c0533f;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto);
  background: var(--arena);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, .brand { font-family: 'Cormorant Garamond', serif; }

/* HERO */
.hero {
  background:
    linear-gradient(160deg, rgba(20,48,39,.82), rgba(30,66,54,.60)),
    url('images/aquum-1.jpg') center/cover;
  color: var(--blanco);
  padding-bottom: 70px;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand { font-size: 1.7rem; font-weight: 700; text-decoration: none; color: var(--blanco); }
.brand span { color: var(--dorado); }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.brand-logo span { color: var(--dorado); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-drop-btn {
  color: #e8f0ec; text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding: 9px 14px; border-radius: 999px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover, .nav-drop-btn:hover { color: var(--dorado); }
.nav-links a.activo { color: var(--dorado); font-weight: 700; }

.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-btn::after {
  content: '▾'; font-size: .8em; color: var(--dorado);
  transition: transform .2s ease;
}
.nav-drop:hover .nav-drop-btn::after, .nav-drop.open .nav-drop-btn::after { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  background: rgba(20,46,44,.97);
  border: 1px solid rgba(217,164,65,.35);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  color: #e8f0ec; font-size: .93rem;
  padding: 10px 14px; border-radius: 10px; margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.nav-drop-menu a:hover { background: rgba(217,164,65,.14); color: var(--dorado); }
.nav-drop-menu a.activo { background: rgba(217,164,65,.16); color: var(--dorado); font-weight: 700; }
.nav-drop-menu a::before { content: '✦'; color: var(--dorado); font-size: .75em; opacity: .8; }

.nav-cta {
  background: linear-gradient(90deg, var(--dorado), #e6b55a) !important;
  color: #2a2418 !important;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 6px 18px rgba(217,164,65,.35);
}
.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: var(--blanco);
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.hero-content { max-width: 800px; margin: 0 auto; text-align: center; padding: 20px 24px 0; }

.hero-content h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 14px; }
.hero-content p { font-size: 1.1rem; opacity: .92; margin-bottom: 32px; }

.search-box {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--blanco);
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 1rem;
  border-radius: 50px;
  background: transparent;
}

.btn-search {
  background: var(--dorado);
  color: #2a2418;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.btn-search:hover { background: #dbb877; }

.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.9rem; color: var(--dorado); font-family: 'Cormorant Garamond', serif; }
.hero-stats span { font-size: .85rem; opacity: .85; text-transform: uppercase; letter-spacing: 1px; }

/* CONTENEDOR */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* FILTROS */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-end;
  background: var(--blanco);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(31,74,60,.08);
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .5px; }
.filter-group select, .filter-group input[type=range] { width: 100%; }
.filter-group select {
  padding: 9px 12px;
  border: 1px solid #d8ddd9;
  border-radius: 8px;
  font-size: .95rem;
  background: var(--blanco);
  color: var(--texto);
}

input[type=range] { accent-color: var(--verde); }

.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; padding-bottom: 9px; cursor: pointer; }
.checkbox input { accent-color: var(--verde); width: 18px; height: 18px; }

/* SECCIONES */
section { padding: 48px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: 2.1rem; color: var(--verde-oscuro); }
.sub { color: var(--texto-suave); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
}
.btn-outline:hover { background: var(--verde); color: var(--blanco); }

/* GRID DE TARJETAS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31,74,60,.09);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31,74,60,.16); }

.card-img { position: relative; height: 190px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rojo);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge.tipo {
  top: auto;
  bottom: 12px;
  left: 12px;
  background: rgba(31,74,60,.88);
  color: var(--dorado);
  text-transform: none;
  letter-spacing: 0;
}

.rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.7);
  color: var(--dorado);
  padding: 5px 10px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 700;
}

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.4rem; color: var(--verde-oscuro); }

.meta { color: var(--texto-suave); font-size: .9rem; display: flex; flex-direction: column; gap: 3px; }

.card-desc { font-size: .88rem; color: var(--texto-suave); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--arena);
  border: 1px solid #e2ded5;
  color: var(--verde-oscuro);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 30px;
}

.precio-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.precio { display: flex; align-items: baseline; gap: 8px; }
.precio-actual { font-size: 1.6rem; font-weight: 700; color: var(--verde); font-family: 'Cormorant Garamond', serif; }
.precio-anterior { text-decoration: line-through; color: var(--texto-suave); font-size: .9rem; }
.offer-line { font-size: .78rem; color: var(--dorado); margin-top: 2px; }
.offer-line a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.offer-line a:hover { color: var(--verde); }

.btn-card {
  background: var(--verde);
  color: var(--blanco);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
}

.btn-card.tel { background: var(--dorado); color: #2a2418; }
.btn-card.reservar { background: var(--verde-oscuro); }
.btn-card.en-compare { background: var(--verde-oscuro); }
.btn-card:hover { filter: brightness(1.08); }

.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card-actions .btn-card { flex: 1; justify-content: center; }

.no-results { text-align: center; color: var(--texto-suave); padding: 40px 0; font-size: 1.1rem; }
.hidden { display: none !important; }

/* COMPARATIVA */
.compare-section { border-top: 1px solid #e2ded5; }
.compare-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blanco);
  border: 1px dashed var(--dorado);
  border-radius: 14px;
  padding: 16px;
  flex-wrap: wrap;
}

#compareSlots { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }

.slot {
  border: 2px dashed #d8ddd9;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--texto-suave);
  font-size: .9rem;
  min-width: 160px;
  text-align: center;
}

.slot.filled {
  border-style: solid;
  border-color: var(--verde);
  color: var(--texto);
  background: #f0f6f2;
  position: relative;
  cursor: pointer;
}

.slot.filled:hover::after {
  content: '✕ quitar';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,83,63,.92);
  color: #fff;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--verde);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: .95rem;
}
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }

.btn {
  background: var(--blanco); color: var(--verde-oscuro);
  border: 1px solid #cfd8d3; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; cursor: pointer; font-size: .9rem; font-family: 'Inter', sans-serif;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--verde); }

.compare-table { margin-top: 24px; overflow-x: auto; background: var(--blanco); border-radius: 14px; box-shadow: 0 8px 24px rgba(31,74,60,.09); }
.compare-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #ece9e1; font-size: .92rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--texto-suave); font-weight: 600; }
.compare-table th { background: var(--verde-oscuro); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.compare-table tr:last-child td { border-bottom: none; }
.mejor { color: var(--verde); font-weight: 700; }
.mejor::after { content: ' ✓'; }

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(18,34,28,.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-content {
  background: var(--blanco);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px 18px 0 0; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-body { padding: 24px; }
.modal-body h3 { font-size: 1.7rem; color: var(--verde-oscuro); margin-bottom: 8px; }
.modal-body .meta { margin-bottom: 14px; }
.modal-detail { margin: 14px 0; }
.modal-detail h4 { color: var(--verde-oscuro); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions a { flex: 1; text-align: center; }

/* PÁGINA DE DETALLE */
.hero-detalle { padding-bottom: 0; }
.hero-detalle .hero-content { padding-bottom: 56px; }

.detalle-main { padding-top: 0; }

.galeria { margin-top: -38px; position: relative; z-index: 5; }

.galeria-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(31,74,60,.18);
  background: #0f1f19;
}

.galeria-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: opacity .15s ease;
}

.galeria-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
}

.galeria-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 14px; pointer-events: none; }
.g-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.88);
  color: var(--verde-oscuro);
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.g-btn:hover { background: var(--dorado); color: #2a2418; }

.galeria-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: .6;
  border: 2.5px solid transparent;
  transition: opacity .15s, border-color .15s;
}
.thumb:hover { opacity: .9; }
.thumb.activa { opacity: 1; border-color: var(--verde); }

.detalle-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 34px;
  padding: 40px 0 20px;
}

.detalle-col p { color: var(--texto-suave); margin-bottom: 8px; }
.lista-incluye { list-style: none; margin-top: 8px; }
.lista-incluye li { padding: 5px 0; color: var(--texto); font-size: .95rem; border-bottom: 1px dashed #e2ded5; }

.ficha {
  background: var(--blanco);
  border: 1px solid #e6e2d9;
  border-radius: 16px;
  padding: 26px;
  align-self: start;
  position: sticky;
  top: 20px;
  box-shadow: 0 10px 28px rgba(31,74,60,.1);
}

.ficha-precio { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ficha-precio .precio-actual { font-size: 2.4rem; }
.descuento { color: var(--rojo); font-weight: 700; font-size: .95rem; }

.ficha-lista { list-style: none; margin: 18px 0; }
.ficha-lista li { padding: 9px 0; border-bottom: 1px solid #f0ede6; font-size: .95rem; }
.ficha-lista a { color: var(--verde); text-decoration: none; font-weight: 600; }
.ficha-lista a:hover { text-decoration: underline; }

.ficha-acciones { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 820px) {
  .detalle-grid { grid-template-columns: 1fr; }
  .ficha { position: static; }
  .galeria-main img { height: 280px; }
  .hero-detalle .hero-content { padding-bottom: 40px; }
  .thumb { width: 76px; height: 52px; }
}

/* MÓVIL Y TABLET (menú desplegable centrado) */
@media (max-width: 900px) {
  /* Cabecera: logo a la izquierda y botón hamburguesa a la derecha */
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: calc(14px + env(safe-area-inset-top)) 18px 6px;
  }
  .brand { order: 1; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-left: auto;
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 12px;
  }
  .nav-links {
    order: 3;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    width: min(88%, 360px);
    max-height: 82vh;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    background: rgba(18,42,40,.97);
    border: 1px solid rgba(217,164,65,.4);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
  }
  .nav-links.open {
    display: flex;
    animation: navDropIn .22s ease;
  }
  @keyframes navDropIn {
    from { opacity: 0; transform: translate(-50%, -48%) scale(.97); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
  .nav-links a, .nav-drop-btn {
    margin: 0;
    padding: 11px 16px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    font-size: .98rem;
    text-align: center;
    justify-content: center;
  }
  .nav-links a:hover { background: rgba(217,164,65,.12); }
  .nav-links a.activo { background: var(--dorado); color: #2a2418; border-color: var(--dorado); font-weight: 700; }
  .nav-drop { display: flex; flex-direction: column; width: 100%; }
  .nav-drop-btn { justify-content: space-between; width: 100%; text-align: center; }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    min-width: 0;
    background: rgba(255,255,255,.06);
    border-color: rgba(217,164,65,.22);
    box-shadow: none;
    margin-top: 6px;
    display: none;
    padding: 6px;
  }
  .nav-drop-menu a { padding: 10px 12px; border-radius: 10px; }
  .nav-drop.open .nav-drop-menu { display: flex; }
  .nav-cta { justify-content: center; margin-left: 0; }
  /* Overlay oscuro detrás del menú abierto */
  body.menu-abierto::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 150;
    backdrop-filter: blur(2px);
  }
}

/* MÓVIL (iPhone / Android) */
@media (max-width: 640px) {
  /* Imagen del hero bien encuadrada en pantallas verticales */
  .hero { background-position: center 28%; padding-bottom: 46px; }
  .hero-content { padding-top: 12px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content-mini h1 { font-size: 1.8rem; }
  .filters { margin-top: -28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  section { padding: 32px 0; }
  .grid { grid-template-columns: 1fr; }
  .card-img { height: 170px; }
  .section-head h2 { font-size: 1.7rem; }
  .ofertas-page { padding-top: 20px; }
  .stat-mini { min-width: 130px; flex: 1 1 45%; }
  .detalle-ofertas, .calendario-precios, .detalle-tarifas { padding: 20px 18px; }
  .detalle-ofertas h2, .calendario-precios h2, .detalle-tarifas h2 { font-size: 1.4rem; }
  .ofertas-table, .tarifas-table { min-width: 560px; }
  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .calendario-row input[type="date"] { width: 100%; }
  .calendario-row .btn-card { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.75rem; }
  .search-box { flex-direction: column; border-radius: 18px; }
  .btn-search { width: 100%; }
  .hero-stats strong { font-size: 1.5rem; }
  .card-actions { flex-direction: column; }
  .card-actions .btn-card { flex: 1; }
}

/* FOOTER */
footer { background: var(--verde-oscuro); color: #e8f0ec; margin-top: 40px; }.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 50px 24px; }
.footer-grid h3 { color: var(--dorado); margin-bottom: 10px; font-size: 1.3rem; }
.footer-grid a { color: #e8f0ec; text-decoration: none; }
.footer-grid a:hover { color: var(--dorado); }
.footer-bottom { text-align: center; padding: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; opacity: .75; }

/* PÁGINA DE OFERTAS */
.hero-content-mini { padding-bottom: 20px; }
.hero-content-mini h1 { font-size: 2.4rem; margin-bottom: 8px; }
.hero-content-mini p { margin-bottom: 12px; }

.ofertas-page { padding-top: 32px; padding-bottom: 20px; }
.ofertas-nota { background: #eef0e7; border: 1px solid #dfe3d5; color: var(--texto-suave); padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 20px; }

.ofertas-top { margin-bottom: 22px; }
.ofertas-top #ofertasResumen { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-mini { flex: 1; min-width: 150px; background: var(--blanco); border: 1px solid #eae6dd; border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; }
.stat-mini strong { font-size: 1.4rem; color: var(--verde); font-family: 'Cormorant Garamond', serif; }
.stat-mini span { font-size: .8rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .5px; }
.stat-mini-top { border-color: var(--dorado); background: #fbf7ee; }

.ofertas-table th, .ofertas-table td { text-align: left !important; }
.ofertas-table td:first-child, .ofertas-table th:first-child { text-align: center !important; width: 40px; }
.ofertas-table td:nth-child(4) { font-weight: 700; font-size: 1.1rem; }
.ofertas-table td:last-child { white-space: nowrap; }
.ofertas-nombre { color: var(--verde-oscuro); font-weight: 700; text-decoration: none; }
.ofertas-nombre:hover { text-decoration: underline; }
.ofertas-table small { display: block; color: var(--texto-suave); font-size: .8rem; }
.ofertas-consultar { color: var(--texto-suave); }
.ofertas-leyenda { font-size: .85rem; color: var(--texto-suave); margin-top: 18px; text-align: center; }

/* OFERTAS Y CALENDARIO EN LA PÁGINA DE DETALLE */
.detalle-ofertas, .calendario-precios { background: var(--blanco); border: 1px solid #eae6dd; border-radius: 14px; padding: 28px 32px; margin-top: 28px; }
.detalle-ofertas h2, .calendario-precios h2 { font-size: 1.7rem; color: var(--verde-oscuro); margin-bottom: 6px; }
.detalle-ofertas h2 span { color: var(--dorado); }
.oferta-list { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.oferta-list li a { display: inline-block; background: var(--arena); border: 1px solid #e2ded5; color: var(--verde); text-decoration: none; padding: 9px 14px; border-radius: 8px; font-size: .9rem; font-weight: 600; }
.oferta-list li a:hover { background: var(--verde); color: var(--blanco); border-color: var(--verde); }

.calendario-sub { color: var(--texto-suave); font-size: .92rem; margin-bottom: 16px; }
.calendario-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.calendario-row input[type="date"] { padding: 12px 14px; border: 1px solid #d8d4c9; border-radius: 10px; font-size: 1rem; background: var(--blanco); color: var(--texto); font-family: 'Inter', sans-serif; }
.calendario-result { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: #fbf7ee; border: 1px solid var(--dorado); }
.calendario-result .btn-card { display: inline-block; margin-top: 12px; }
.calendario-fecha { font-weight: 700; color: var(--verde-oscuro); }
.calendario-precio { font-size: 1.15rem; margin-top: 4px; }
.calendario-precio strong { color: var(--verde); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.calendario-oferta { color: var(--texto-suave); font-size: .9rem; margin-top: 4px; }
.calendario-nota { color: var(--texto-suave); font-size: .88rem; margin-top: 10px; border-top: 1px dashed #e0d5b8; padding-top: 10px; }

/* TABLA DE TARIFAS POR TRATAMIENTO */
.detalle-tarifas { background: var(--blanco); border: 1px solid #eae6dd; border-radius: 14px; padding: 28px 32px; margin-top: 28px; }
.detalle-tarifas h2 { font-size: 1.7rem; color: var(--verde-oscuro); margin-bottom: 6px; }
.detalle-tarifas .compare-table { margin-top: 16px; }
.tarifas-table th, .tarifas-table td { padding: 13px 16px; border-bottom: 1px solid #ece9e1; font-size: .92rem; }
.tarifas-table th { background: var(--verde-oscuro); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.tarifas-table td:first-child, .tarifas-table th:first-child { text-align: left; }
.tarifas-table tr:last-child td { border-bottom: none; }
.tarifa-precio { font-weight: 700; color: var(--verde); white-space: nowrap; }
.tarifas-table .btn-card { padding: 7px 12px; font-size: .8rem; }

/* RESEÑAS EN FICHA */
.detalle-resenas { background: var(--blanco); border: 1px solid #eae6dd; border-radius: 14px; padding: 28px 32px; margin-top: 28px; }
.detalle-resenas h2 { font-size: 1.7rem; color: var(--verde-oscuro); margin-bottom: 16px; }
.detalle-resenas h2 span { color: var(--dorado); }
.resenas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.resena { background: var(--arena); border: 1px solid #e2ded5; border-radius: 12px; padding: 16px 18px; }
.resena-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.resena-autor { font-weight: 700; color: var(--verde-oscuro); font-size: .95rem; }
.resena-stars { color: var(--dorado); font-size: .9rem; white-space: nowrap; }
.resena-texto { color: var(--texto); font-size: .92rem; line-height: 1.55; margin: 0; }

/* DESTACAR LA OPCIÓN MÁS BARATA */
.tarifas-table tr.tarifa-barata { background: #f0faf2; }
.tarifas-table tr.tarifa-barata td { border-bottom-color: #cde8d2; }
.badge-masbarata { display: inline-block; background: var(--verde); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }


/* CHAT EN DIRECTO */
.wa-chat { position: fixed; bottom: 20px; right: 20px; z-index: 1000; font-family: 'Inter', sans-serif; }

.wa-chat-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--verde);
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.wa-chat-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,.38); }
.wa-chat-fab svg { width: 32px; height: 32px; }
.wa-chat-fab.wa-abierto { background: var(--verde-oscuro); }

.wa-panel {
  position: fixed;
  bottom: 92px;
  right: 20px;
  width: 370px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 130px);
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  display: flex;
  flex-direction: column;
}

.wa-header {
  background: var(--verde-oscuro);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dorado);
  color: #2a2418;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-avatar svg { width: 22px; height: 22px; }
.wa-header-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.wa-nombre { font-weight: 700; font-size: .98rem; }
.wa-estado { font-size: .76rem; opacity: .9; }
.wa-close {
  margin-left: auto;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
.wa-close:hover { background: rgba(255,255,255,.3); }

.wa-mensajes {
  background: #efe9df;
  padding: 14px 12px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  max-height: 280px;
  scrollbar-width: thin;
}
.wa-burbuja {
  border-radius: 14px;
  padding: 9px 13px;
  font-size: .9rem;
  line-height: 1.45;
  max-width: 82%;
  word-break: break-word;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.wa-burbuja-admin { background: #fff; color: var(--texto); align-self: flex-start; border-bottom-left-radius: 4px; }
.wa-burbuja-user { background: var(--verde); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.wa-rapidas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 2px;
  flex-shrink: 0;
  background: var(--blanco);
}
.wa-rapida {
  background: #fff;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 30px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.wa-rapida:hover { background: var(--verde); color: #fff; }

.wa-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  flex-shrink: 0;
  background: var(--blanco);
}
.wa-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8ddd9;
  border-radius: 30px;
  padding: 11px 15px;
  font-size: .9rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.wa-form input:focus { border-color: var(--verde); }
.wa-form button {
  background: var(--verde);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
}
.wa-form button:hover { filter: brightness(1.08); }
.wa-aviso { font-size: .72rem; color: var(--texto-suave); padding: 0 14px 12px; margin: 0; background: var(--blanco); }

@media (max-width: 640px) {
  .wa-chat { bottom: 14px; right: 14px; }
  .wa-chat-fab { width: 54px; height: 54px; }
  .wa-panel {
    bottom: 80px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 100px);
    border-radius: 14px;
  }
  .wa-mensajes { max-height: 46vh; }
}

/* PANEL DE ADMINISTRACIÓN */
.admin-body { background: var(--arena); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-box {
  background: var(--blanco);
  border: 1px solid #eae6dd;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(31,74,60,.12);
  padding: 34px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-login-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; color: var(--verde-oscuro); display: inline-flex; align-items: center; gap: 10px; }
.admin-login-brand span { color: var(--dorado); }
.admin-login-logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.admin-login-sub { color: var(--texto-suave); font-size: .9rem; }
.admin-login-box input {
  padding: 12px 14px;
  border: 1px solid #d8ddd9;
  border-radius: 10px;
  font-size: .95rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.admin-login-box input:focus { border-color: var(--verde); }
.admin-login-btn { padding: 12px; border-radius: 10px; }
.admin-error { color: var(--rojo); font-size: .85rem; }

.admin-console { min-height: 100vh; display: flex; flex-direction: column; }
.admin-top {
  background: var(--verde-oscuro);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-top h1 { font-size: 1.5rem; }
.admin-top-sub { font-size: .85rem; opacity: .85; }
.admin-top-actions { display: flex; align-items: center; gap: 14px; }
.admin-online { font-size: .85rem; color: #25D366; }
.admin-top-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.admin-top-actions .btn-outline:hover { background: #fff; color: var(--verde-oscuro); }

.admin-main {
  display: flex;
  flex: 1;
  padding: 20px 24px;
  gap: 20px;
  align-items: stretch;
}
.admin-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--blanco);
  border: 1px solid #eae6dd;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 130px);
}
.admin-sidebar-title {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--verde-oscuro);
  border-bottom: 1px solid #ece9e1;
  font-size: .95rem;
}
.admin-sesiones { overflow-y: auto; flex: 1; }
.admin-sesion {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ede6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-sesion:hover { background: var(--arena); }
.admin-sesion.activa { background: #f0f6f2; border-left: 3px solid var(--verde); }
.admin-sesion strong { color: var(--verde-oscuro); }
.admin-sesion-ultimo { font-size: .8rem; color: var(--texto-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-sesion small { font-size: .7rem; color: var(--texto-suave); }
.admin-vacio { padding: 20px 16px; color: var(--texto-suave); font-size: .85rem; }

.admin-chat {
  flex: 1;
  background: var(--blanco);
  border: 1px solid #eae6dd;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 130px);
}
.admin-chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-suave);
  padding: 30px;
  text-align: center;
}
.admin-chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid #ece9e1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-chat-header strong { color: var(--verde-oscuro); }
.admin-chat-header small { color: var(--texto-suave); font-size: .8rem; }
.admin-mensajes {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  background: #efe9df;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}
.admin-form {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid #ece9e1;
}
.admin-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d8ddd9;
  border-radius: 30px;
  padding: 12px 16px;
  font-size: .95rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.admin-form input:focus { border-color: var(--verde); }
.admin-form button { border-radius: 30px; padding: 0 26px; flex-shrink: 0; }

@media (max-width: 820px) {
  .admin-main { flex-direction: column; padding: 16px; }
  .admin-sidebar { width: 100%; max-height: 30vh; }
  .admin-chat { max-height: 55vh; }
  .admin-top { padding: 12px 16px; }
}
@media (max-width: 640px) {
  .admin-top h1 { font-size: 1.2rem; }
  .admin-login-box { padding: 26px; }
}

/* ===== Personalizador de apariencia (panel admin) ===== */
.admin-tabs { display: flex; gap: 6px; }
.admin-tab {
  background: rgba(255,255,255,.12);
  border: none; color: #e8f0ec; font-size: .9rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background .2s ease, color .2s ease;
}
.admin-tab:hover { background: rgba(255,255,255,.22); }
.admin-tab.activo { background: #fff; color: var(--verde-oscuro); }
.panel-seccion { display: none; flex: 1; min-height: 0; }
.panel-seccion.activo { display: flex; }

.theme-main { flex: 1; min-height: 0; }
.theme-panel {
  width: 320px; flex-shrink: 0; background: var(--blanco);
  border: 1px solid #eae6dd; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; max-height: calc(100vh - 130px);
}
.theme-tabs {
  display: flex; border-bottom: 1px solid #ece9e1; padding: 8px; gap: 4px;
}
.theme-tab {
  flex: 1; background: transparent; border: none; cursor: pointer;
  padding: 9px 6px; font-size: .82rem; font-weight: 600; color: var(--texto-suave);
  border-radius: 9px; font-family: 'Inter', sans-serif; transition: .15s;
}
.theme-tab:hover { background: var(--arena); }
.theme-tab.activo { background: #eef5f1; color: var(--verde-oscuro); }
.theme-panel-scroll { flex: 1; overflow-y: auto; padding: 16px; }
.theme-panel h3 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--verde-oscuro); margin: 18px 0 10px; font-family: 'Inter', sans-serif;
}
.theme-panel h3:first-child { margin-top: 0; }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color-field { display: flex; flex-direction: column; gap: 4px; }
.color-field label { font-size: .78rem; color: var(--texto-suave); }
.color-field .color-row { display: flex; align-items: center; gap: 8px; }
.color-field input[type=color] {
  width: 44px; height: 34px; border: 1px solid #d8ddd9; border-radius: 8px;
  background: none; padding: 2px; cursor: pointer;
}
.color-field .hex { font-size: .74rem; color: var(--texto-suave); font-family: ui-monospace, monospace; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .82rem; color: var(--texto-suave); margin-bottom: 5px; }
.field select, .theme-panel input[type=text] {
  width: 100%; border: 1px solid #d8ddd9; border-radius: 9px;
  padding: 9px 11px; font-size: .88rem; outline: none; font-family: 'Inter', sans-serif;
  background: var(--blanco); color: var(--texto);
}
.field select:focus { border-color: var(--verde); }
.hero-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.hero-opt { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: var(--arena); }
.hero-opt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-opt.activo { border-color: var(--verde); box-shadow: 0 0 0 2px rgba(47,143,138,.25); }
.hero-opt .hero-opt-none { display: grid; place-items: center; width: 100%; height: 100%; color: var(--texto-suave); font-size: 1.3rem; background: var(--arena); }
input[type=range] { width: 100%; accent-color: var(--verde); }
.theme-panel textarea {
  width: 100%; min-height: 220px; border: 1px solid #d8ddd9; border-radius: 10px;
  padding: 12px; font-family: ui-monospace, monospace; font-size: .8rem; outline: none; resize: vertical;
}
.theme-panel textarea:focus { border-color: var(--verde); }
.theme-panel-footer {
  border-top: 1px solid #ece9e1; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.theme-estado { font-size: .78rem; color: var(--texto-suave); text-align: center; min-height: 14px; }
.theme-estado.saved { color: var(--verde); }
.theme-estado.error { color: var(--rojo); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: .82rem; }

.estilo-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border: 1px solid #eae6dd; border-radius: 10px; margin-bottom: 8px;
  background: #fbfaf6;
}
.estilo-item strong { font-size: .9rem; color: var(--verde-oscuro); }
.estilo-item .es-activo { font-size: .7rem; color: var(--verde); font-weight: 700; }
.estilo-item .es-acciones { display: flex; gap: 6px; }
.estilo-item .btn { padding: 5px 10px; font-size: .78rem; }

.upload-box {
  border: 2px dashed #cfd8d3; border-radius: 12px; padding: 16px;
  text-align: center; margin-bottom: 16px;
}
.upload-box input[type=file] { font-size: .82rem; margin-bottom: 10px; color: var(--texto-suave); }
.img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.img-tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--arena); }
.img-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-tile .img-actions {
  position: absolute; inset: auto 0 0 0; display: flex; gap: 4px; padding: 6px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: .15s;
}
.img-tile:hover .img-actions { opacity: 1; }
.img-tile .img-actions button {
  flex: 1; border: none; border-radius: 6px; font-size: .7rem; padding: 4px 2px;
  cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 600;
}
.img-tile .img-actions .usar { background: #25D366; color: #fff; }
.img-tile .img-actions .borrar { background: #e74c3c; color: #fff; }
.img-tile.activa { outline: 3px solid var(--verde); }

.theme-preview {
  flex: 1; background: var(--blanco); border: 1px solid #eae6dd; border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 130px);
}
.preview-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px; border-bottom: 1px solid #ece9e1; font-size: .85rem; color: var(--texto-suave);
}
.preview-toolbar .btn-sm { margin-left: 6px; text-decoration: none; display: inline-block; }
#themePreview { flex: 1; width: 100%; border: none; }

@media (max-width: 900px) {
  .theme-main { flex-direction: column; }
  .theme-panel { width: 100%; max-height: none; }
  .theme-preview { max-height: 60vh; min-height: 50vh; }
}


/* PÁGINA ROMÁNTICA */
.hero-romantico {
  background:
    linear-gradient(160deg, rgba(76,26,45,.9), rgba(122,46,58,.72)),
    url('images/header.png') center/cover;
}

.hero-romantico .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-flor { font-size: 1.6rem; color: #e8b4c8; display: inline-block; margin-bottom: 4px; }

.romantico-page { padding-top: 32px; padding-bottom: 20px; }
.rom-nota {
  background: #f7eef0;
  border: 1px solid #ecd9df;
  color: #7a4a55;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 20px;
}

.rom-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--verde-oscuro);
  font-size: 1.05rem;
  margin-bottom: 26px;
  text-align: center;
}
.rom-tagline .rom-flor { color: #c0536f; }

.rom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.rom-card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(122,46,58,.1);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0e0e4;
}
.rom-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(122,46,58,.18); }

.rom-card-img { position: relative; height: 200px; }
.rom-card-img img { width: 100%; height: 100%; object-fit: cover; }
.rom-img-link { display: block; height: 100%; }
.rom-img-link img { display: block; }
.rom-img-link:hover { opacity: .92; }
.rom-titulo-link { color: var(--texto); text-decoration: none; }
.rom-titulo-link:hover { color: var(--verde); text-decoration: underline; }

.rom-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(122,46,58,.92);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  letter-spacing: .5px;
}

.rom-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.7);
  color: #e8b4c8;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 700;
}

.rom-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.rom-card-body h3 { font-size: 1.4rem; color: #5c1f33; font-family: 'Cormorant Garamond', serif; }

.rom-tipo { font-size: .76rem; color: #c0536f; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.rom-etiqueta { font-size: .9rem; color: #5c1f33; font-weight: 600; }
.rom-desc { font-size: .88rem; color: var(--texto-suave); }

.rom-precio-row { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.rom-precio-actual { font-size: 1.35rem; font-weight: 700; color: #c0536f; font-family: 'Cormorant Garamond', serif; }

.rom-acciones { display: flex; gap: 8px; }
.rom-acciones .btn-card { flex: 1; justify-content: center; }
.rom-reservar { background: #c0536f; }
.rom-reservar:hover { background: #a83a54; }
.rom-tel { background: #e8b4c8; color: #5c1f33; }
.rom-tel:hover { background: #d99ab4; color: #5c1f33; }

.rom-ideal { margin-top: 44px; background: var(--blanco); border: 1px solid #f0e0e4; border-radius: 16px; padding: 32px 28px; }
.rom-ideal h2 { font-size: 1.9rem; color: #5c1f33; text-align: center; margin-bottom: 24px; font-family: 'Cormorant Garamond', serif; }
.rom-ideal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.rom-ideal-grid div { text-align: center; padding: 16px 10px; border-radius: 12px; background: #fdf6f8; }
.rom-ideal-grid span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.rom-ideal-grid h3 { color: #5c1f33; margin-bottom: 6px; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; }
.rom-ideal-grid p { font-size: .88rem; color: var(--texto-suave); }

.rom-seccion { margin-top: 44px; padding-top: 28px; border-top: 1px solid #f0e0e4; }
.rom-seccion h2 {
  font-size: 1.8rem;
  color: #5c1f33;
  font-family: 'Cormorant Garamond', serif;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.rom-sec-ico { font-size: 1.6rem; }
.rom-seccion .rom-sec-sub { color: var(--texto-suave); font-size: .95rem; margin-bottom: 22px; max-width: 760px; }

.rom-seccion--boda h2 { color: #5c1f33; }
.rom-seccion--boda .rom-card:hover { box-shadow: 0 14px 32px rgba(92,31,51,.16); border-color: #e8d3da; }
.rom-seccion--boda .rom-badge { background: linear-gradient(90deg,#c9a86a,#5c1f33); }
.rom-seccion--boda .rom-tipo { color: #8a6a3a; }
.rom-seccion--boda .rom-reservar { background: #5c1f33; }
.rom-seccion--boda .rom-reservar:hover { background: #481825; }
.rom-seccion--boda .rom-precio-actual { color: #8a6a3a; }
.rom-seccion--boda .rom-tel { background: #f3e7dc; color: #5c1f33; }
.rom-seccion--boda .rom-tel:hover { background: #ead8c6; }
.rom-seccion--boda .rom-dir { font-size: .88rem; color: var(--texto-suave); margin: 0 0 8px; }

.rom-horario {
  font-size: .84rem;
  color: #7a4a55;
  background: #f7eef0;
  border-radius: 8px;
  padding: 7px 12px;
  display: inline-block;
}

.rom-seccion--horas .rom-card:hover { box-shadow: 0 14px 32px rgba(46,86,122,.16); border-color: #d9e6f0; }
.rom-seccion--horas .rom-badge { background: rgba(46,86,122,.92); }
.rom-seccion--horas .rom-tipo { color: #2e567a; }
.rom-seccion--horas .rom-reservar { background: #2e567a; }
.rom-seccion--horas .rom-reservar:hover { background: #24445f; }
.rom-seccion--horas .rom-precio-actual { color: #2e567a; }
.rom-seccion--horas .rom-tel { background: #d9e6f0; color: #2e567a; }
.rom-seccion--horas .rom-tel:hover { background: #bcd2e4; }

.rom-seccion--lgbt .rom-badge { background: linear-gradient(90deg,#e40303,#ff8c00,#ffed00,#008026,#24408e,#732982); }
.rom-seccion--lgbt .rom-tipo { color: #6a1b9a; }
.rom-seccion--lgbt .rom-reservar { background: #7b3fa0; }
.rom-seccion--lgbt .rom-reservar:hover { background: #662f88; }
.rom-seccion--lgbt .rom-precio-actual { color: #7b3fa0; }
.rom-seccion--lgbt .rom-tel { background: #ead9f5; color: #5a2d75; }
.rom-seccion--lgbt .rom-tel:hover { background: #d9bcf0; }

.rom-seccion--bdsm .rom-card { border-color: #e6d9d9; }
.rom-seccion--bdsm .rom-badge { background: rgba(20,20,24,.92); }
.rom-seccion--bdsm .rom-tipo { color: #8a1a1a; }
.rom-seccion--bdsm .rom-reservar { background: #3a3a44; }
.rom-seccion--bdsm .rom-reservar:hover { background: #2a2a32; }
.rom-seccion--bdsm .rom-precio-actual { color: #8a1a1a; }
.rom-seccion--bdsm .rom-tel { background: #e8e0e0; color: #3a3a44; }
.rom-seccion--bdsm .rom-tel:hover { background: #d6caca; }

/* PÁGINA HOT 🔥 */
.hero-hot {
  background:
    linear-gradient(160deg, rgba(38,10,10,.92), rgba(160,44,24,.78)),
    url('images/header.png') center/cover;
}
.hero-hot .hero-content h1 { font-family: 'Cormorant Garamond', serif; }

.rom-seccion--hot h2 { color: #7a1f1f; }
.rom-seccion--hot .rom-sec-ico { font-size: 1.6rem; }
.rom-seccion--hot .rom-card:hover { box-shadow: 0 14px 32px rgba(160,44,24,.18); border-color: #f0d5cb; }
.rom-seccion--hot .rom-badge { background: linear-gradient(90deg,#d62828,#f77f00); }
.rom-seccion--hot .rom-tipo { color: #b3301f; }
.rom-seccion--hot .rom-reservar { background: #d62828; }
.rom-seccion--hot .rom-reservar:hover { background: #b01e1e; }
.rom-seccion--hot .rom-precio-actual { color: #d62828; }
.rom-seccion--hot .rom-tel { background: #f8e3da; color: #7a1f1f; }
.rom-seccion--hot .rom-tel:hover { background: #f0ccbd; }

@media (max-width: 640px) {
  .rom-grid { grid-template-columns: 1fr; }
  .rom-card-img { height: 180px; }
  .rom-ideal { padding: 22px 16px; }
  .rom-ideal-grid { grid-template-columns: 1fr; }
  .rom-seccion h2 { font-size: 1.5rem; }
}

/* BANNER PACK ROMÁNTICO (portada) */
.rom-banner {
  margin: 28px 0 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(150deg, rgba(76,26,45,.92), rgba(122,46,58,.78)),
    url('images/sb-jacuzzi.jpg') center/cover;
  color: #fff;
  padding: 34px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(122,46,58,.28);
}
.rom-banner-text { max-width: 620px; }
.rom-banner h2 { font-size: 2rem; font-family: 'Cormorant Garamond', serif; margin-bottom: 8px; }
.rom-banner h2 span { color: #e8b4c8; }
.rom-banner p { font-size: 1rem; opacity: .94; margin-bottom: 0; }
.rom-banner .rom-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8b4c8;
  color: #5c1f33;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.rom-banner .rom-banner-btn:hover { background: #d99ab4; transform: translateY(-2px); }

@media (max-width: 640px) {
  .rom-banner { padding: 24px 20px; }
  .rom-banner h2 { font-size: 1.5rem; }
  .rom-banner .rom-banner-btn { width: 100%; justify-content: center; }
}

/* TABLAS RESPONSIVE (formato móvil) */
@media (max-width: 820px) {
  .ofertas-table thead, .tarifas-table thead { display: none; }
  .ofertas-table, .tarifas-table { display: block; width: 100%; min-width: 0 !important; }
  .ofertas-table tbody, .tarifas-table tbody { display: flex; flex-direction: column; gap: 14px; }
  .ofertas-table tr, .tarifas-table tr {
    display: block;
    background: var(--blanco);
    border: 1px solid #eae6dd;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(31,74,60,.08);
    padding: 14px 16px;
    margin: 0;
  }
  .ofertas-table tr:hover, .tarifas-table tr:hover { background: var(--blanco); }
  .ofertas-table td, .tarifas-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #ece9e1;
    text-align: right;
    font-size: .9rem;
  }
  .ofertas-table td:last-child, .tarifas-table td:last-child { border-bottom: none; }
  .ofertas-table td::before, .tarifas-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--texto-suave);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    flex-shrink: 0;
    text-align: left;
  }
  .ofertas-table td:first-child, .tarifas-table td:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .ofertas-table td:first-child::before, .tarifas-table td:first-child::before { content: none; }
  .ofertas-table td:first-child a { font-size: 1.05rem; }
  .ofertas-table td:first-child small { font-size: .8rem; }
  .ofertas-table td[data-label="Comprar / Reservar"] {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .ofertas-table td[data-label="Comprar / Reservar"]::before { content: none; }
  .ofertas-table td[data-label="Comprar / Reservar"] .btn-card { flex: 1; justify-content: center; min-width: 120px; }
  .tarifas-table td[data-label="Reservar"] {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .tarifas-table td[data-label="Reservar"]::before { content: none; }
  .tarifas-table td[data-label="Reservar"] .btn-card { flex: 1; justify-content: center; }
  .tarifa-precio { white-space: normal; }
  .compare-table { overflow-x: visible; }
  .ofertas-table .mejor, .tarifas-table .tarifa-precio { color: var(--verde); }
}

/* ===================== LANDING PICARONA ===================== */
.hero-landing {
  background:
    linear-gradient(160deg, rgba(27,92,94,.92), rgba(47,143,138,.72)),
    url('images/aquum-1.jpg') center/cover;
  padding-bottom: 90px;
}
.landing-flor { font-size: 2.6rem; color: var(--dorado); display: block; margin-bottom: 6px; }
.landing-tagline { font-size: 1.25rem; line-height: 1.5; }

.landing-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  transition: transform .15s ease, background .15s ease;
}
.btn-landing:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-landing--dorado { background: var(--dorado); color: #2a2418; border-color: var(--dorado); }
.btn-landing--dorado:hover { background: #dbb877; }

.landing-intro { text-align: center; max-width: 720px; margin: 0 auto; padding: 64px 0 40px; }
.landing-intro .rom-flor { color: var(--dorado); font-size: 1.4rem; }
.landing-intro h2 { font-size: 2.4rem; color: var(--verde-oscuro); margin: 8px 0 12px; }
.landing-intro p { color: var(--texto-suave); font-size: 1.05rem; }

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  padding: 0 0 60px;
}
.landing-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 340px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(31,74,60,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.landing-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(31,74,60,.24); }
.landing-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.landing-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  color: var(--blanco);
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%);
}
.landing-card-ico { font-size: 1.8rem; margin-bottom: 4px; }
.landing-card h3 { font-size: 1.7rem; font-family: 'Cormorant Garamond', serif; margin-bottom: 6px; }
.landing-card p { font-size: .95rem; opacity: .94; margin-bottom: 12px; line-height: 1.45; }
.landing-card-btn {
  align-self: flex-start;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.5);
  padding: 9px 18px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .88rem;
  backdrop-filter: blur(4px);
  transition: background .15s ease;
}
.landing-card:hover .landing-card-btn { background: rgba(255,255,255,.3); }

.landing-card--romantico h3 { color: #ffd6e4; }
.landing-card--hot h3 { color: #ffc9a3; }
.landing-card--rural h3 { color: #d7f0e0; }
.landing-card--tardeo h3 { color: #ffe9b8; }
.landing-card--eventos h3 { color: #ffd9c9; }
.landing-card--restaurantes h3 { color: #ffe6c9; }

.landing-porque { padding: 0 0 70px; }
.landing-porque .section-head { justify-content: center; text-align: center; }
.landing-porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 10px;
}
.landing-porque-grid div {
  background: var(--blanco);
  border: 1px solid #eae6dd;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(31,74,60,.07);
  text-align: center;
}
.landing-porque-grid span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.landing-porque-grid h3 { color: var(--verde-oscuro); font-size: 1.25rem; margin-bottom: 6px; }
.landing-porque-grid p { color: var(--texto-suave); font-size: .92rem; }

/* ===================== ESCAPADAS RURALES ===================== */
.hero-escapa {
  background:
    linear-gradient(160deg, rgba(22,54,41,.9), rgba(47,107,87,.74)),
    url('images/xalet-prades.jpg') center/cover;
}
.hero-escapa .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-seccion--rural h2 { color: #1f4a3c; }
.rom-seccion--rural .rom-card:hover { box-shadow: 0 14px 32px rgba(47,107,87,.18); border-color: #d3e7dd; }
.rom-seccion--rural .rom-badge { background: linear-gradient(90deg,#2f6b57,#4c9f82); }
.rom-seccion--rural .rom-tipo { color: #2f6b57; }
.rom-seccion--rural .rom-reservar { background: #2f6b57; }
.rom-seccion--rural .rom-reservar:hover { background: #1f4a3c; }
.rom-seccion--rural .rom-precio-actual { color: #2f6b57; }
.rom-seccion--rural .rom-tel { background: #e2efe9; color: #1f4a3c; }
.rom-seccion--rural .rom-tel:hover { background: #cfe5da; }

/* ===================== TARDEOS ===================== */
.hero-tardeo {
  background:
    linear-gradient(160deg, rgba(40,32,15,.9), rgba(201,168,106,.75)),
    url('images/macarella.jpg') center/cover;
}
.hero-tardeo .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-seccion--tardeo h2 { color: #7a5a12; }
.rom-seccion--tardeo .rom-card:hover { box-shadow: 0 14px 32px rgba(201,168,106,.2); border-color: #efe4cd; }
.rom-seccion--tardeo .rom-badge { background: linear-gradient(90deg,#c9a86a,#8f6c1e); }
.rom-seccion--tardeo .rom-tipo { color: #8f6c1e; }
.rom-seccion--tardeo .rom-reservar { background: #c9a86a; }
.rom-seccion--tardeo .rom-reservar:hover { background: #a8873f; }
.rom-seccion--tardeo .rom-precio-actual { color: #8f6c1e; }
.rom-seccion--tardeo .rom-tel { background: #f4ecdd; color: #6b4f0e; }
.rom-seccion--tardeo .rom-tel:hover { background: #eadbc0; }

@media (max-width: 640px) {
  .landing-grid { grid-template-columns: 1fr; }
  .landing-card { min-height: 280px; }
  .landing-intro h2 { font-size: 1.9rem; }
}

/* ===================== EVENTOS (CUMPLEAÑOS Y DESPEDIDAS) ===================== */
.hero-eventos {
  background:
    linear-gradient(160deg, rgba(122,46,58,.92), rgba(217,164,65,.72)),
    url('images/millor-farra.jpg') center/cover;
}
.hero-eventos .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-seccion--eventos h2 { color: #7a2e3a; }
.rom-seccion--eventos .rom-card:hover { box-shadow: 0 14px 32px rgba(122,46,58,.18); border-color: #f0d5db; }
.rom-seccion--eventos .rom-badge { background: linear-gradient(90deg,#c0533f,#d9a441); }
.rom-seccion--eventos .rom-tipo { color: #b3304a; }
.rom-seccion--eventos .rom-reservar { background: #c0533f; }
.rom-seccion--eventos .rom-reservar:hover { background: #a04030; }
.rom-seccion--eventos .rom-precio-actual { color: #c0533f; }
.rom-seccion--eventos .rom-tel { background: #f6e3e0; color: #7a2e3a; }
.rom-seccion--eventos .rom-tel:hover { background: #f0cdc6; }

/* ===================== RESTAURANTES CON ENCANTO ===================== */
.hero-restaurantes {
  background:
    linear-gradient(160deg, rgba(43,30,20,.92), rgba(122,46,58,.72)),
    url('images/gaudium.jpg') center/cover;
}
.hero-restaurantes .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-seccion--restaurantes h2 { color: #6b3a1e; }
.rom-seccion--restaurantes .rom-card:hover { box-shadow: 0 14px 32px rgba(107,58,30,.18); border-color: #efe0d3; }
.rom-seccion--restaurantes .rom-badge { background: linear-gradient(90deg,#8a5a2b,#c9a86a); }
.rom-seccion--restaurantes .rom-tipo { color: #8a5a2b; }
.rom-seccion--restaurantes .rom-reservar { background: #8a5a2b; }
.rom-seccion--restaurantes .rom-reservar:hover { background: #6b3a1e; }
.rom-seccion--restaurantes .rom-precio-actual { color: #8a5a2b; }
.rom-seccion--restaurantes .rom-tel { background: #f3e7dc; color: #6b3a1e; }
.rom-seccion--restaurantes .rom-tel:hover { background: #ead8c6; }
.rom-dir { font-size: .88rem; color: var(--texto-suave); margin: 0; }

.rest-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.rest-tab {
  font: 600 .92rem/1 'Inter', sans-serif;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid #e2dcd0;
  background: var(--blanco);
  color: #6b3a1e;
  cursor: pointer;
  transition: all .2s ease;
}
.rest-tab:hover { border-color: #8a5a2b; background: #faf3e9; }
.rest-tab.activo { background: linear-gradient(90deg,#8a5a2b,#c9a86a); color: #fff; border-color: transparent; }

.rest-card { cursor: default; }
.rest-map-btn { background: #eef3f0; color: var(--verde-oscuro); border: 1px solid #d5e3dd; }
.rest-map-btn:hover { background: #ddebe4; }

.rest-mapa-block { padding: 0 0 70px; }
.rest-mapa-block .section-head { justify-content: space-between; }
.rest-mapa-block h2 { font-size: 1.9rem; color: var(--verde-oscuro); }
.rest-mapa-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(31,74,60,.18);
  border: 4px solid var(--blanco);
  background: var(--blanco);
}
.rest-mapa-frame iframe { display: block; width: 100%; }
.rest-mapa-hint { margin-top: 14px; color: var(--texto-suave); font-size: .92rem; text-align: center; }

/* ===================== TRANSPORTES (TAXIS, AUTOBUSES, LIMUSINAS) ===================== */
.hero-transportes {
  background:
    linear-gradient(160deg, rgba(27,92,94,.92), rgba(47,143,138,.72)),
    url('images/xalet-prades.jpg') center/cover;
}
.hero-transportes .hero-content h1 { font-family: 'Cormorant Garamond', serif; }
.rom-seccion--transportes h2 { color: var(--verde-oscuro); }
.rom-seccion--transportes { margin-bottom: 10px; }

.trans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.trans-card {
  background: var(--blanco);
  border: 1px solid #e5e9e4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(31,74,60,.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.trans-card:hover { box-shadow: 0 14px 32px rgba(31,74,60,.16); border-color: #cfe0d8; }
.trans-card--wide { grid-column: 1 / -1; }
.trans-ico { font-size: 2rem; }
.trans-zona {
  font: 600 .78rem/1 'Inter', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d9a441;
}
.trans-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--verde-oscuro); margin: 0; }
.trans-nota { font-size: .92rem; color: var(--texto-suave); margin: 0 0 6px; }
.trans-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #e5f2ee;
  color: var(--verde-oscuro);
  font-weight: 600;
  border: 1px solid #cfe6dd;
}
.trans-tel:hover { background: #d3e9e1; }
.trans-tel--nd { background: transparent; color: var(--texto-suave); border-color: #e5e9e4; }
.trans-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: var(--verde-oscuro);
  color: #fff;
}
.trans-web:hover { background: var(--verde); }
.trans-fuente { font-size: .78rem; color: var(--texto-suave); text-decoration: underline; width: fit-content; margin-top: 4px; }

/* ===== Editor web visual ===== */
.editor-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid #ece9e1; flex-wrap: wrap;
}
.editor-left, .editor-right { display: flex; gap: 8px; align-items: center; }
.editor-main {
  flex: 1; display: flex; min-height: 0; height: calc(100vh - 230px);
}
.editor-sidebar, .editor-inspector {
  width: 260px; flex-shrink: 0; background: var(--blanco);
  border: 1px solid #eae6dd; border-radius: 14px; margin: 0 16px;
  display: flex; flex-direction: column; overflow: hidden;
}
.editor-sidebar:first-child { margin-left: 20px; }
.editor-sidebar-title {
  padding: 12px 16px; font-weight: 700; color: var(--verde-oscuro);
  border-bottom: 1px solid #ece9e1; font-size: .9rem;
}
.lib-lista { overflow-y: auto; padding: 10px; }
.lib-item {
  padding: 10px 12px; border: 1px dashed #cfd8d3; border-radius: 9px;
  margin-bottom: 8px; font-size: .85rem; cursor: grab; color: var(--verde-oscuro);
  background: #fbfaf6; transition: .15s;
}
.lib-item:hover { border-color: var(--verde); background: #eef5f1; }

.editor-canvas-wrap {
  flex: 1; display: flex; flex-direction: column; min-width: 0;
  background: #f5f3ee; border: 1px solid #eae6dd; border-radius: 14px; margin: 0 16px; overflow:auto;
}
.editor-canvas-label {
  padding: 8px 14px; font-size: .78rem; color: var(--texto-suave);
  background: var(--blanco); border-bottom: 1px solid #ece9e1;
}
.canvas { width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px; }
.canvas-vacio, .canvas { background: var(--arena); }
.canvas-vacio { text-align: center; color: var(--texto-suave); padding: 40px; }
.canvas .bl {
  position: relative; margin-bottom: 10px; border: 1px dashed #cfd8d3;
  border-radius: 12px; overflow: visible; background: var(--blanco);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.canvas .bl.sel { border: 2px solid var(--verde); box-shadow: 0 0 0 4px rgba(47,143,138,.15); }
.bl-inner { position: relative; }
.bl .drag-handle, .bl .bl-del, .bl .bl-dup {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: var(--blanco); border: 1px solid #cfd8d3; border-radius: 6px;
  padding: 2px 8px; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center;
}
.bl .drag-handle { top: -10px; cursor: grab; }
.bl .bl-del { top: -10px; left: auto; right: 8px; transform: none; background: rgba(231,76,60,.9); color: #fff; cursor: pointer; }
.bl .bl-dup { top: -10px; left: auto; right: 78px; transform: none; cursor: pointer; }
.bl:hover .drag-handle, .bl:hover .bl-del, .bl:hover .bl-dup { display: inline-flex; }

.inspector-content { flex: 1; overflow-y: auto; padding: 14px; }
.inspector-content .inspector-section { margin-bottom: 18px; }
.inspector-content h4 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--verde-oscuro); margin-bottom: 10px;
}
.inspector-content .field { margin-bottom: 11px; font-size: .82rem; }
.inspector-content .field label { display: block; color: var(--texto-suave); margin-bottom: 4px; }
.inspector-content input[type=text], .inspector-content select, .inspector-content textarea {
  width: 100%; border: 1px solid #d8ddd9; border-radius: 8px; padding: 8px 10px; font-size: .82rem; outline: none;
}
.inspector-content input[type=text]:focus, .inspector-content select:focus, .inspector-content textarea:focus { border-color: var(--verde); }
.inspector-content input[type=range] { width: 120px; vertical-align: middle; }
.color-chooser { display: flex; align-items: center; gap: 6px; }
.color-chooser input[type=color] { width: 36px; height: 28px; padding: 0; }
.img-chooser { display: flex; align-items: center; gap: 6px; }
.img-chooser input[type=text] { flex: 1; }
.editor-preview-bar {
  border-top: 1px solid #ece9e1; padding: 10px 20px; background: var(--blanco);
}
.editor-preview-bar span { font-size: .8rem; color: var(--texto-suave); }
#builderPreview { width: 100%; height: 360px; border: 1px solid #eae6dd; border-radius: 10px; }

/* Galería de imágenes */
.gal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gal-body { background: var(--blanco); border-radius: 16px; max-width: 720px; width: 100%; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; }
.gal-head { padding: 12px 16px; border-bottom: 1px solid #ece9e1; font-weight: 700; color: var(--verde-oscuro); display: flex; justify-content: space-between; align-items: center; }
.gal-grid { padding: 14px; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; overflow-y: auto; max-height: 60vh; }
.gal-thumb { aspect-ratio: 1; border-radius: 8px; background: var(--arena); overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { border-color: var(--verde); }
.gal-vacia { display: grid; place-items: center; width: 100%; height: 100%; color: var(--texto-suave); font-size: 1.4rem; }

/* Bloques de contenido del sitio */
.bl-hero { background: linear-gradient(135deg, var(--verde-oscuro), #1b5c5e); color: var(--blanco); padding: 80px 24px; text-align: center; margin: 0; }
.bl-hero-inner h1 { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; margin-bottom: 12px; }
.bl-hero-inner p { font-size: 1.1rem; opacity: .92; margin-bottom: 20px; }
.bl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.bl-cards a { display: block; background: var(--blanco); border-radius: 12px; overflow: hidden; border: 1px solid #ece9e1; box-shadow: 0 6px 18px rgba(0,0,0,.05); text-decoration: none; color: inherit; }
.bl-cards img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.bl-cards div { padding: 12px; }
.bl-cards h3 { color: var(--verde-oscuro); }
.bl-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.bl-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.bl-divider { margin: 18px 0; border: none; border-top: 1px solid #d8ddd9; }
.placeholder-img { display: grid; place-items: center; color: var(--texto-suave); font-size: 1.6rem; padding: 28px; border: 1px dashed #cfd8d3; border-radius: 8px; }
.bl-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Logo picker del personalizador */
.logo-picker { margin-top: 12px; }
.logo-preview {
  background: var(--blanco); border: 1px dashed #cfd8d3; border-radius: 10px;
  padding: 12px; text-align: center; margin-bottom: 10px;
}
.logo-preview img { max-width: 160px; max-height: 70px; object-contain; }

/* ============================================================
   Mejoras de apariencia moderna (2026)
   ============================================================ */
:root {
  --r-md: 14px;
  --r-lg: 20px;
  --sh-card: 0 1px 2px rgba(20,50,42,.05), 0 10px 30px -10px rgba(20,50,42,.18);
  --sh-hover: 0 2px 6px rgba(20,50,42,.08), 0 24px 52px -16px rgba(20,50,42,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; }
.hero-content h1, .section-head h2 { letter-spacing: -.01em; }

::selection { background: rgba(217,164,65,.32); color: inherit; }

html { scrollbar-width: thin; scrollbar-color: #b9c8c1 transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #b9c8c1;
  border-radius: 20px;
  border: 3px solid var(--arena);
}
::-webkit-scrollbar-thumb:hover { background: var(--verde); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(217,164,65,.55);
  outline-offset: 2px;
  border-radius: 6px;
}
section[id], div[id] { scroll-margin-top: 96px; }

/* Barra de navegación flotante de cristal (escritorio) */
@media (min-width: 901px) {
  .nav {
    position: sticky;
    top: 14px;
    z-index: 60;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: var(--r-lg);
    background: rgba(10,26,21,.55);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 12px 34px rgba(0,0,0,.28);
  }
  .nav-drop-menu { top: calc(100% + 10px); }
}
@media (max-width: 900px) {
  .nav {
    position: static;
    margin-top: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Halo de luz sutil sobre los heroes */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(700px 380px at 88% 110%, rgba(217,164,65,.16), transparent 62%);
}
.hero-content, .search-box, .hero-stats { position: relative; }

/* Tarjetas: sombras por capas y zoom de imagen */
.card, .rom-card, .trans-card, .ficha, .stat-mini, .compare-table,
.detalle-ofertas, .calendario-precios, .detalle-tarifas, .rom-ideal {
  box-shadow: var(--sh-card);
}
.card, .rom-card {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover, .rom-card:hover { box-shadow: var(--sh-hover); }
.card-img img, .rom-card-img img { transition: transform .6s var(--ease); }
.card:hover .card-img img, .rom-card:hover .card-img img { transform: scale(1.06); }
.landing-card img { transition: transform .6s var(--ease); }
.landing-card:hover img { transform: scale(1.05); }

/* Entrada suave de las tarjetas */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card, .landing-card, .rom-card, .trans-card { animation: cardIn .55s var(--ease) backwards; }

.grid .card:nth-child(1), .rom-grid .rom-card:nth-child(1), .trans-grid .trans-card:nth-child(1) { animation-delay: .02s; }
.grid .card:nth-child(2), .rom-grid .rom-card:nth-child(2), .trans-grid .trans-card:nth-child(2) { animation-delay: .06s; }
.grid .card:nth-child(3), .rom-grid .rom-card:nth-child(3), .trans-grid .trans-card:nth-child(3) { animation-delay: .10s; }
.grid .card:nth-child(4), .rom-grid .rom-card:nth-child(4), .trans-grid .trans-card:nth-child(4) { animation-delay: .14s; }
.grid .card:nth-child(5), .rom-grid .rom-card:nth-child(5), .trans-grid .trans-card:nth-child(5) { animation-delay: .18s; }
.grid .card:nth-child(6), .rom-grid .rom-card:nth-child(6), .trans-grid .trans-card:nth-child(6) { animation-delay: .22s; }
.grid .card:nth-child(7), .rom-grid .rom-card:nth-child(7), .trans-grid .trans-card:nth-child(7) { animation-delay: .26s; }
.grid .card:nth-child(8), .rom-grid .rom-card:nth-child(8), .trans-grid .trans-card:nth-child(8) { animation-delay: .30s; }
.grid .card:nth-child(9), .rom-grid .rom-card:nth-child(9), .trans-grid .trans-card:nth-child(9) { animation-delay: .34s; }
.grid .card:nth-child(10), .rom-grid .rom-card:nth-child(10), .trans-grid .trans-card:nth-child(10) { animation-delay: .38s; }
.grid .card:nth-child(11), .rom-grid .rom-card:nth-child(11) { animation-delay: .42s; }
.grid .card:nth-child(12), .rom-grid .rom-card:nth-child(12) { animation-delay: .46s; }

.landing-grid .landing-card:nth-child(1) { animation-delay: .02s; }
.landing-grid .landing-card:nth-child(2) { animation-delay: .07s; }
.landing-grid .landing-card:nth-child(3) { animation-delay: .12s; }
.landing-grid .landing-card:nth-child(4) { animation-delay: .17s; }
.landing-grid .landing-card:nth-child(5) { animation-delay: .22s; }
.landing-grid .landing-card:nth-child(6) { animation-delay: .27s; }
.landing-grid .landing-card:nth-child(7) { animation-delay: .32s; }
.landing-grid .landing-card:nth-child(8) { animation-delay: .37s; }
.landing-grid .landing-card:nth-child(9) { animation-delay: .42s; }

/* Microinteracciones en botones */
.btn-card, .btn-search, .btn-primary, .btn-outline, .btn, .btn-landing, .rest-tab, .nav-cta {
  transition: transform .15s var(--ease), box-shadow .25s var(--ease), filter .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-card:active, .btn-search:active, .btn-primary:active, .btn-outline:active,
.btn:active, .btn-landing:active, .rest-tab:active, .nav-cta:active {
  transform: translateY(1px) scale(.97);
}

/* Formularios y filtros */
.filters {
  border: 1px solid rgba(31,74,60,.08);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 44px -18px rgba(20,50,42,.30);
}
.filter-group select:focus, .calendario-row input:focus, .search-box input:focus,
.ficha input:focus, .detalle-tarifas input:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(47,143,138,.14);
}
.search-box { border: 1px solid rgba(255,255,255,.25); }
.search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(217,164,65,.18), 0 12px 30px rgba(0,0,0,.22);
}

/* Pie de página */
footer { background: linear-gradient(180deg, var(--verde-oscuro) 0%, #0f3b36 100%); }
.footer-grid { padding: 56px 24px 44px; }
.footer-bottom { background: rgba(0,0,0,.14); }

/* Accesibilidad: sin movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===================== HOTELES (TODAS LAS OPCIONES) ===================== */
.hero-hoteles {
  background:
    linear-gradient(160deg, rgba(27,92,94,.92), rgba(47,143,138,.72)),
    url('images/sb-jacuzzi.jpg') center/cover;
}
.hero-hoteles .hero-content h1 { font-family: 'Cormorant Garamond', serif; }

.rom-seccion--hoteles h2 { color: var(--verde-oscuro); }
.landing-card--hoteles h3 { color: #d7f0e0; }
.rom-seccion--hoteles .rom-card:hover { box-shadow: 0 14px 32px rgba(47,143,138,.18); border-color: #cfe5dc; }
.rom-seccion--hoteles .rom-badge { background: linear-gradient(90deg, #2f8f8a, #4c9f82); }
.rom-seccion--hoteles .rom-tipo { color: #2f8f8a; }
.rom-seccion--hoteles .rom-reservar { background: #2f6b57; }
.rom-seccion--hoteles .rom-reservar:hover { background: #1f4a3c; }
.rom-seccion--hoteles .rom-precio-actual { color: #2f6b57; }
.rom-seccion--hoteles .rom-tel { background: #e2efe9; color: #1f4a3c; }
.rom-seccion--hoteles .rom-tel:hover { background: #cfe5da; }
.rom-seccion--hoteles .rom-horario { background: #eef5f1; color: #2f6b57; }
