/* =========================================================
   CITY HOTELS — affiliate-optimized
   ========================================================= */

.utility-bar { background: var(--ink); color: rgba(255,255,255,0.78); font-size: 12px; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.utility-bar .live::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--warm); margin-right: 8px; vertical-align: 1px;
}

.crumbs { padding: 24px 0 8px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color 160ms; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { margin: 0 10px; opacity: 0.5; }
.crumbs .here { color: var(--ink); font-weight: 500; }

/* HERO — compact */
.city-hero { padding: 16px 0 32px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.city-hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--rule);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px;
}
.city-hero .kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.city-hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 14px; color: var(--ink); text-wrap: balance; max-width: 880px;
}
.city-hero h1 em { font-style: italic; color: var(--teal); font-weight: 500; }
.city-hero .deck {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.5; color: var(--ink-2);
  margin: 0 0 16px; max-width: 720px; font-weight: 400;
}
.city-hero .meta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.city-hero .meta-row svg { color: var(--teal); }
.city-hero .meta-row .dot { width: 3px; height: 3px; background: var(--muted-2); border-radius: 50%; }

/* Author strip in hero */
.author-strip {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px; align-items: center;
}
.author-strip .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--cream);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(20,36,44,0.1);
}
.author-strip .who .line1 {
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 2px;
}
.author-strip .who .line1 strong { color: var(--ink); font-weight: 600; }
.author-strip .who .role { font-style: italic; font-family: var(--serif); color: var(--ink-2); }
.author-strip .who .line2 { font-size: 12px; color: var(--muted); }
.trust-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pills .tp {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border: 1px solid var(--rule);
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0.02em;
}
.trust-pills .tp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Word-of-mouth block — Tomás speaking */
.hc-wom {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  margin-top: 4px;
  padding: 18px;
  background: var(--cream);
  border-radius: var(--r);
  border-left: 3px solid var(--warm);
  position: relative;
}
.hc-wom::before {
  content: "“";
  position: absolute;
  top: -2px; left: 14px;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--warm);
  line-height: 1;
  opacity: 0.35;
  pointer-events: none;
}
.wom-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--sand);
  border: 2px solid var(--paper);
  box-shadow: 0 3px 10px -3px rgba(20,36,44,0.18);
  align-self: flex-start;
  position: relative; z-index: 1;
}
.wom-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 400;
  text-wrap: pretty;
  position: relative; z-index: 1;
}
.wom-meta {
  font-size: 12px;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 2px;
}
.wom-name { font-weight: 700; color: var(--ink); }
.wom-sep { color: var(--muted-2); }
.wom-role { color: var(--muted); font-style: italic; font-family: var(--serif); }
.wom-stay {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Inês's tip */
.hc-tip {
  background: var(--warm-soft);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 10px 14px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
}
.hc-tip .tip-label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--warm-2, #8a5a2a);
  margin-bottom: 3px;
}
.hc-tip .tip-body { color: var(--ink-2); font-style: italic; font-family: var(--serif); }

/* Bio card */
.bio-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.bio-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--sand);
  border: 3px solid var(--paper);
}
.bio-name {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
}
.bio-role {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--muted);
  margin-bottom: 10px;
}
.bio-text {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 14px;
}
.bio-text a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.bio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.bs { display: flex; flex-direction: column; gap: 2px; }
.bs-num {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--teal); letter-spacing: -0.015em; line-height: 1;
}
.bs-l {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.04em;
}

/* HOTEL LIST */
.results-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.results-head .ttl {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin: 0;
}
.results-head .ttl em { font-style: italic; color: var(--teal); }
.results-head .sort {
  font-size: 13px; color: var(--muted);
}
.results-head select {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 6px 10px; border-radius: var(--r);
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  font-family: var(--sans); margin-left: 8px;
}

.hotel-list {
  display: flex; flex-direction: column;
  gap: 28px;
  margin-bottom: 56px;
}

/* CARD — refined two-column layout */
.hotel-card {
  display: grid;
  grid-template-columns: 440px 1fr;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(20,36,44,0.02), 0 12px 32px -24px rgba(20,36,44,0.18);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.hotel-card:hover {
  box-shadow: 0 1px 0 rgba(20,36,44,0.02), 0 22px 48px -22px rgba(20,36,44,0.22);
  transform: translateY(-2px);
}

/* MEDIA — main photo with rank overlay + integrated gallery strip */
.hc-media {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink);
}
.hc-photo-main {
  position: relative;
  flex: 1;
  background-size: cover; background-position: center;
  background-color: var(--cream);
  min-height: 280px;
  transition: background-image 250ms ease;
}
.hc-photo-main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,36,44,0) 50%, rgba(20,36,44,0.55) 100%);
  pointer-events: none;
}

/* Rank — circular medallion top-left */
.hc-rank-overlay {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
}
.hc-rank-medal {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
  box-shadow: 0 6px 18px -6px rgba(20,36,44,0.4);
  border: 2px solid var(--paper);
}
.hc-rank-medal.first { background: var(--warm); color: var(--ink); }
.hc-rank-label {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.hc-rank-label.first { background: var(--warm); color: var(--ink); }

/* Pick flag top-right */
.hc-photo-main .pick-flag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: rgba(20,36,44,0.85);
  backdrop-filter: blur(8px);
  color: var(--warm);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 5px;
}

/* Neighborhood pinned to bottom-left over scrim */
.hc-photo-main .neighborhood {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  color: var(--paper);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hc-photo-main .neighborhood svg { color: var(--warm); }

/* Photo count bottom-right */
.hc-photo-count {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px;
}

/* Gallery strip — flush, no padding around it */
.hc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--paper);
  padding: 2px 0 0;
}
.hc-gallery .thumb {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  background-color: var(--cream);
  cursor: pointer;
  transition: opacity 160ms ease;
  position: relative;
}
.hc-gallery .thumb:hover { opacity: 0.85; }
.hc-gallery .thumb.active::after {
  content: "";
  position: absolute; inset: 0;
  border: 2px solid var(--teal);
  pointer-events: none;
}
.hc-gallery .thumb.more {
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}

/* RIGHT SIDE — body + booking sidebar combined */
.hc-content {
  display: grid;
  grid-template-columns: 1fr 220px;
  min-width: 0;
}

.hc-body {
  padding: 24px 24px 22px;
  display: flex; flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--rule);
}
.hc-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.hc-eyebrow .stars {
  color: var(--warm);
  letter-spacing: 0.05em;
  font-size: 12px;
}
.hc-card h3, .hotel-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}
.hc-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.hc-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
}
.hc-tags span {
  background: var(--cream-2);
  color: var(--ink-2);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* BOOKING SIDEBAR — vertical, all CTA emphasis at bottom */
.hc-side {
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(247,243,234,0.5) 0%, var(--paper) 100%);
}

.hc-score-block {
  margin-bottom: 14px;
}
.hc-score {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 2px;
}
.hc-score .num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.015em;
}
.hc-score .num small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.hc-score .word {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hc-reviews {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hc-divider {
  height: 1px;
  background: var(--rule);
  margin: 14px 0;
}

.hc-price {
  margin-bottom: 14px;
}
.hc-price .from {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hc-price .p {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.hc-price .p small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.hc-price .p .was {
  font-family: var(--sans);
  text-decoration: line-through;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hc-price .compare {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--green);
  background: rgba(46,139,87,0.08);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-weight: 700;
}

.hc-book {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: var(--paper);
  padding: 14px 16px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  margin-top: auto;
  box-shadow: 0 4px 12px -4px rgba(31,90,92,0.4);
}
.hc-book:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(31,90,92,0.5);
}
.hc-book-trust {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.hc-book-trust .row {
  display: flex; align-items: center; gap: 6px;
}
.hc-book-trust .row svg { color: var(--green); flex-shrink: 0; }

/* Disclosure */
.disc-card {
  border: 1px dashed var(--rule);
  border-radius: var(--r);
  padding: 16px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 13px; color: var(--ink-2);
  background: var(--paper);
  line-height: 1.6;
  margin-bottom: 56px;
}
.disc-card svg { color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.disc-card strong { color: var(--ink); font-weight: 600; }
.disc-card a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 980px) {
  .hotel-card { grid-template-columns: 1fr; }
  .hc-content { grid-template-columns: 1fr; }
  .hc-body { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hc-side { background: var(--cream); }
}
