/* Comparador de hoteles (js/hotels.js) · mismo lenguaje «noche mágica» que la calculadora */
.hotel-compare {
  --hc-night: #141537;
  --hc-night-2: #22205a;
  --hc-ink: #1c1a40;
  --hc-muted: #6b6788;
  --hc-paper: #fbf6ea;
  --hc-card: #fffdf8;
  --hc-line: #e7dcc2;
  --hc-gold: #c9a24a;
  --hc-gold-2: #e9c978;
  --hc-gold-ink: #8a6a22;
  --hc-display: 'Caprasimo', Georgia, 'Times New Roman', serif;
  position: relative;
  margin: 2.5rem 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hc-paper);
  color: var(--hc-ink);
  box-shadow: inset 0 0 0 1px var(--hc-line), 0 24px 48px -30px rgba(20, 21, 55, .55);
}
.hotel-compare .hc-hero {
  position: relative;
  padding: 1.8rem 1.7rem 2.5rem;
  color: #f4e7c3;
  background:
    radial-gradient(1.4px 1.4px at 93% 40%, #fdf3d0 99%, transparent),
    radial-gradient(1px 1px at 97% 72%, rgba(255, 255, 255, .7) 99%, transparent),
    radial-gradient(ellipse 60% 80% at 88% 0%, rgba(233, 201, 120, .16), transparent 70%),
    linear-gradient(165deg, var(--hc-night) 0%, var(--hc-night-2) 72%, #2e2470 100%);
}
.hotel-compare .hc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 12px;
  background: radial-gradient(circle at 10px 12px, var(--hc-paper) 7px, transparent 7.5px) repeat-x;
  background-size: 20px 12px;
}
.article-body .hotel-compare .hc-hero h2,
.hotel-compare .hc-hero h2 {
  margin: 0 0 .45rem;
  padding: 0 1.5rem 0 0;
  border: 0;
  font-family: var(--hc-display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.15;
  color: #f6e8c4;
}
.article-body .hotel-compare .hc-hero h2::after,
.hotel-compare .hc-hero h2::after { display: none; }
.hotel-compare .hc-hero p { margin: 0; max-width: 36rem; color: #cfcbea; font-size: .95rem; }
.hc-app { padding: 1.3rem 1.5rem 1.6rem; }

/* Controles */
.hc-controls { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.hc-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.hc-label { min-width: 5.5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-gold-ink); }
.hotel-compare .hc-chip {
  position: relative;
  margin: 0;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  font-size: .84rem;
  font-weight: 700;
  color: var(--hc-ink);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.hc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hotel-compare .hc-chip.is-on { border-color: var(--hc-gold); background: var(--hc-night-2); color: var(--hc-gold-2); }
.hc-toggle.is-on span::before { content: "✓ "; }
.hc-chip:focus-within { outline: 2px solid var(--hc-night-2); outline-offset: 2px; }

/* Tarjetas */
.hc-list { display: grid; gap: .75rem; }
.hc-card {
  display: grid;
  grid-template-columns: 1fr 210px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--hc-card);
  box-shadow: 0 0 0 1px var(--hc-line), 0 12px 24px -22px rgba(20, 21, 55, .8);
}
.hc-card-main { padding: 1rem 1.15rem; }
.hotel-compare .hc-group { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hc-gold-ink); }
.article-body .hotel-compare .hc-card h3,
.hotel-compare .hc-card h3 { margin: .15rem 0 .2rem; font-family: var(--hc-display); font-weight: 400; font-size: 1.15rem; color: var(--hc-ink); }
.hotel-compare .hc-desc { margin: 0 0 .6rem; font-size: .84rem; color: var(--hc-muted); }
.article-body .hotel-compare .hc-badges,
.hotel-compare .hc-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.article-body .hotel-compare .hc-badges li,
.hotel-compare .hc-badges li {
  margin: 0;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: #f3ecda;
  font-size: .74rem;
  font-weight: 700;
  color: #4a4670;
}
.hotel-compare .hc-badges li::before { content: none; }
.hc-card-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
  padding: 1rem 1.1rem;
  color: #efe7cf;
  background: linear-gradient(160deg, var(--hc-night), var(--hc-night-2));
  border-left: 2px dashed rgba(233, 201, 120, .45);
}
.hc-card-price small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-gold-2); }
.hc-card-price b { font-family: var(--hc-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: #f8e9be; }
.hc-card-price > span { font-size: .76rem; color: #c9c4e6; }
.hc-card-price em { margin: .35rem 0 .55rem; font-style: normal; font-size: .76rem; color: #c9c4e6; }
.hotel-compare .hc-card-price a,
.hotel-compare .hc-card-price a:visited {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  color: var(--hc-night);
  background: linear-gradient(180deg, #f6dc94, var(--hc-gold-2) 55%, #d6ad55);
}
.hotel-compare .hc-card-price a.hc-calc,
.hotel-compare .hc-card-price a.hc-calc:visited { margin-top: .35rem; background: none; color: var(--hc-gold-2); box-shadow: inset 0 0 0 1px rgba(233, 201, 120, .5); }
.hc-empty { margin: 0; padding: 1rem; color: var(--hc-muted); font-style: italic; }
.hotel-compare .hc-note { margin: 1rem 0 0; font-size: .76rem; line-height: 1.5; color: var(--hc-muted); }
@media (max-width: 640px) {
  .hotel-compare { margin: 2rem -.5rem; border-radius: 16px; }
  .hotel-compare .hc-hero { padding: 1.5rem 1.1rem 2.2rem; }
  .hc-app { padding: 1.1rem 1rem 1.3rem; }
  .hc-label { min-width: 100%; }
  .hc-card { grid-template-columns: 1fr; }
  .hc-card-price { border-left: 0; border-top: 2px dashed rgba(233, 201, 120, .45); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .2rem .8rem; }
  .hc-card-price small, .hc-card-price em { grid-column: 1 / -1; }
  .hc-card-price em { margin: 0 0 .3rem; }
  .hc-card-price a.hc-calc { margin-top: 0; }
}
/* Japonés y chino: Caprasimo no tiene esos caracteres; gótica redondeada en negrita sin engordar la parte latina */
:lang(ja) :is(.budget-calc, .hotel-compare), :lang(zh) :is(.budget-calc, .hotel-compare) {
  --bc-display: 'Caprasimo', 'Hiragino Maru Gothic ProN', 'Yu Gothic', 'PingFang SC', 'PingFang TC', 'Noto Sans CJK JP', 'Microsoft YaHei', sans-serif;
  --hc-display: 'Caprasimo', 'Hiragino Maru Gothic ProN', 'Yu Gothic', 'PingFang SC', 'PingFang TC', 'Noto Sans CJK JP', 'Microsoft YaHei', sans-serif;
}
:lang(ja) :is(.budget-calc, .hotel-compare) :is(h2, h3, .bc-big span, .bc-dot b, .hc-card-price b),
:lang(zh) :is(.budget-calc, .hotel-compare) :is(h2, h3, .bc-big span, .bc-dot b, .hc-card-price b) { font-weight: 800; font-synthesis: none; }
