/* ─────────────────────────────────────────
   Tarifa House — Interior page styles
   ───────────────────────────────────────── */

body { padding-top: 0; }

.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.nav.nav-scrolled, .nav.nav-always-solid {
  background: rgba(0, 100, 52, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
  color: var(--snow);
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

.nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a:hover, .nav-links a.on { color: var(--snow); }
.nav-cursor { background: rgba(255,255,255,0.15); }

.nav-contact, .nav-contact a { color: rgba(255,255,255,0.85); }
.nav-contact a:hover { color: var(--marigold); }

.nav-toggle { color: var(--snow); border-color: rgba(255,255,255,0.2); }

/* ─────────────────────────────────────────
   Property Hero (Full Bleed)
   ───────────────────────────────────────── */
.prop-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.prop-hero-img {
  height: 65vh;
  min-height: 480px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px 5vw;
  overflow: hidden;
}

.prop-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,33,44,0.55) 0%, transparent 55%);
}

.prop-hero-photo {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 0;
}

.prop-hero-content {
  position: relative;
  z-index: 1;
  color: var(--snow);
}

.prop-hero-eyebrow {
  font-size: 12px;
  font-weight: var(--w-regular);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.prop-hero-title {
  font-size: 40px;
  font-weight: var(--w-light);
  line-height: 0.95;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.prop-hero-sub {
  font-size: 16px;
  font-weight: var(--w-light);
  letter-spacing: -0.08px;
  color: rgba(255,255,255,0.82);
}

/* ── Partner note ── */
.prop-partner-note {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: rgba(247,240,225,0.16);
  border: 1px solid rgba(247,240,225,0.4);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: var(--w-regular);
  letter-spacing: -0.05px;
  color: var(--paper);
}

/* ─────────────────────────────────────────
   Main Layout
   ───────────────────────────────────────── */
.prop-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 40px 72px;
}

.prop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.prop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Two-column layout ── */
.prop-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* ─────────────────────────────────────────
   Content Sections
   ───────────────────────────────────────── */
.prop-section { margin-bottom: 56px; }
.prop-section:last-child { margin-bottom: 0; }

.prop-section-title {
  font-size: 28px;
  font-weight: var(--w-light);
  line-height: 1.07;
  letter-spacing: -0.42px;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.prop-desc {
  font-size: 18px;
  font-weight: var(--w-light);
  line-height: 1.45;
  letter-spacing: -0.18px;
  color: var(--charcoal);
  max-width: 68ch;
}

.prop-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prop-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: var(--w-light);
  line-height: 1.4;
  letter-spacing: -0.08px;
  color: var(--charcoal);
}

.prop-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pine);
  margin-top: 8px;
}

/* ─────────────────────────────────────────
   Sidebar Price Card
   ───────────────────────────────────────── */
.price-card {
  position: sticky;
  top: 96px;
  background: var(--paper-deep);
  border-radius: var(--r-card);
  overflow: hidden;
}

.price-card-header { padding: 24px 24px 16px; }

.price-card-title {
  font-size: 22px;
  font-weight: var(--w-light);
  line-height: 1.15;
  letter-spacing: -0.33px;
  color: var(--charcoal);
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum" on;
}

.prices-table td {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: var(--w-light);
  letter-spacing: -0.07px;
  border-top: 1px solid var(--hairline);
  color: var(--charcoal);
}

.price-value {
  text-align: right;
  font-weight: var(--w-regular);
  white-space: nowrap;
}

.price-row-now td {
  background: rgba(252, 189, 28, 0.16);
  font-weight: var(--w-regular);
}
.price-row-now td:first-child::after {
  content: 'ahora';
  margin-left: 8px;
  padding: 1px 8px;
  background: var(--marigold);
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: var(--w-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

.price-card-footer { padding: 20px 24px 24px; }

/* ── Date Picker ── */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-picker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-input-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
  font-weight: 500;
}

.date-input-group input {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  padding: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--snow);
  outline: none;
  transition: border-color 200ms;
}

.date-input-group input:focus {
  border-color: var(--pine);
}

.trust-badges {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-light);
  font-weight: var(--w-light);
}

.trust-badge svg {
  color: var(--pine);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   Calendar Picker (Apple-style)
   ───────────────────────────────────────── */
.cal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}
.cal-modal {
  position: relative;
  width: 310px;
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
  padding: 18px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  z-index: 1001;
}
.cal-modal.is-open {
  opacity: 1;
  transform: scale(1);
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-month-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--pine);
  cursor: pointer;
  padding: 0;
  transition: opacity 200ms;
}
.cal-month-btn:hover { opacity: 0.75; }
.cal-month-icon {
  display: flex;
  transition: transform 200ms;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--pine);
  cursor: pointer;
  transition: background 200ms, opacity 200ms;
}
.cal-nav-btn:hover {
  background: rgba(0,0,0,0.05);
}
.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(35,33,44,0.4);
  letter-spacing: 0.05em;
}
.cal-body-wrapper {
  position: relative;
  height: 216px;
}
.cal-days {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 36px;
  justify-items: center;
  z-index: 10;
}
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 150ms;
}
.cal-day.empty { cursor: default; }
.cal-day:not(.empty):not(.is-selected):not(.is-disabled):hover {
  background: rgba(0,0,0,0.05);
}
.cal-day.is-selected {
  background: var(--pine);
  color: var(--snow);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,100,52,0.3);
  transform: scale(1.05);
  z-index: 11;
}
.cal-day.is-today:not(.is-selected) {
  color: var(--pine);
}
.cal-day.is-disabled {
  color: rgba(35,33,44,0.25);
  cursor: default;
}
.cal-dropdown {
  position: absolute;
  inset: -8px;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.cal-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.cal-year-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
}
.cal-months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.cal-month-item {
  padding: 6px;
  border-radius: 8px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 150ms;
}
.cal-month-item:hover { background: rgba(0,0,0,0.05); }
.cal-month-item.is-selected {
  background: var(--pine);
  color: var(--snow);
}
.cal-month-item:disabled {
  color: rgba(35,33,44,0.25);
  cursor: default;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   Gallery
   ───────────────────────────────────────── */
/* Colocada entre los badges y el contenido (estilo Airbnb): sin separadores
   de "final de página" y con altura contenida para no ocupar toda la pantalla */
.gallery-section {
  margin: 0 0 64px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-card);
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: transform 500ms var(--ease-out);
}

.gallery img:hover {
  transform: scale(1.06);
  z-index: 2;
}

/* ─────────────────────────────────────────
   Responsive
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .prop-grid { grid-template-columns: 1fr; gap: 56px; }
  .price-card { position: static; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 64px; }

  .prop-hero { padding: 0 20px; margin-top: 80px; }
  .prop-hero-img { padding: 28px; border-radius: var(--r-card); }
  .prop-hero-title { font-size: 38px; letter-spacing: -1.2px; }

  .prop-top { margin: 40px 20px; flex-direction: column; align-items: stretch; }
  .prop-badges { justify-content: flex-start; }

  .prop-grid { padding: 0 20px; gap: 40px; }
  .prop-right { top: 0; }

  .gallery-section { padding: 0; margin: 0 0 48px; }
  .gallery { gap: 6px; }
}

/* ─────────────────────────────────────────
   Bento Gallery & Lightbox
   ───────────────────────────────────────── */

.bento-wrapper {
  position: relative;
  width: 100%;
}

.bento-nav-btn {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--snow);
  color: var(--pine);
  border: 1px solid var(--hairline);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 200ms ease;
  outline: none;
}
.bento-nav-btn:hover {
  background: var(--pine);
  color: var(--snow);
  transform: translateY(-50%) scale(1.1);
}
.bento-nav-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,100,52,0.3);
}
.bento-nav-btn.is-disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.9);
}
.bento-prev { left: 16px; }
.bento-next { right: 16px; }

.bento-scroll-container {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bento-scroll-container::-webkit-scrollbar {
  display: none;
}

.bento-gallery {
  display: grid;
  grid-template-rows: repeat(2, 200px);
  grid-auto-columns: minmax(240px, 1fr);
  grid-auto-flow: column dense;
  gap: 14px;
  width: max-content;
  padding: 0 64px 20px 64px;
}

@media (max-width: 768px) {
  .bento-gallery {
    grid-template-rows: repeat(2, 220px);
    padding: 0 20px 40px 20px;
    gap: 12px;
  }
}

.bento-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--hairline);
  background: var(--paper-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  padding: 24px;
  text-align: left;
  transition: box-shadow 300ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}
.bento-item:hover,
.bento-item:focus-visible {
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  transform: scale(1.02);
  z-index: 2;
}
.bento-item:focus-visible {
  box-shadow: 0 0 0 3px var(--pine);
}

.bento-col-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }

@media (max-width: 768px) {
  .bento-gallery {
    grid-template-rows: 280px;
  }
  .bento-col-2 { grid-column: span 1; min-width: 320px; }
  .bento-row-2 { grid-row: span 1; }
}

.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  z-index: 0;
}
.bento-item:hover img {
  transform: scale(1.05);
}

.bento-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 500ms ease;
  z-index: 1;
  pointer-events: none;
}
.bento-item:hover .bento-item-overlay {
  opacity: 1;
}

.bento-item-text {
  position: relative;
  z-index: 2;
  transform: translateY(16px);
  opacity: 0;
  transition: all 500ms ease;
}
.bento-item:hover .bento-item-text {
  transform: translateY(0);
  opacity: 1;
}
.bento-item-title {
  display: block;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  color: var(--snow);
  margin-bottom: 4px;
}
.bento-item-desc {
  display: block;
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* Lightbox Modal */
.bento-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 20);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bento-modal.is-open {
  pointer-events: auto;
}

.bento-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 300ms ease;
}
.bento-modal.is-open .bento-modal-backdrop {
  opacity: 1;
}

.bento-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bento-modal.is-open .bento-modal-content {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.bento-modal-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-chip);
}

.bento-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 300ms ease, color 200ms, background 200ms;
}
.bento-modal.is-open .bento-modal-close {
  opacity: 1;
}
.bento-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Immersive viewer: figure, meta, thumbnails, navigation */
.bento-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.bento-modal-figure {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.bento-modal-img {
  transition: opacity 300ms ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.bento-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 300ms ease, background 200ms ease, color 200ms ease;
}
.bento-modal.is-open .bento-modal-nav { opacity: 1; }
.bento-modal-nav:hover { background: rgba(255,255,255,0.2); color: #fff; }
.bento-modal-prev { left: max(16px, 3vw); }
.bento-modal-next { right: max(16px, 3vw); }

.bento-modal-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: rgba(255,255,255,0.82);
}
.bento-modal-caption {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--snow);
}
.bento-modal-counter {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  font-feature-settings: "tnum" on;
  font-variant-numeric: tabular-nums;
}

.bento-modal-thumbs {
  display: flex;
  gap: 8px;
  max-width: min(760px, 90vw);
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bento-modal-thumbs::-webkit-scrollbar { display: none; }
.bento-modal-thumb {
  flex-shrink: 0;
  width: 66px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  background: none;
  transition: opacity 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.bento-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-modal-thumb:hover { opacity: 0.85; }
.bento-modal-thumb.active { opacity: 1; border-color: var(--marigold); transform: translateY(-2px); }

@media (max-width: 768px) {
  .bento-modal-content { padding: 20px 12px; gap: 12px; }
  .bento-modal-nav { width: 44px; height: 44px; }
  .bento-modal-prev { left: 8px; }
  .bento-modal-next { right: 8px; }
  .bento-modal-thumb { width: 54px; height: 38px; }
}
/* -----------------------------------------
   Custom Select (Shadcn-style Dropdown)
   ----------------------------------------- */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--r-btn, 8px);
  border: 1px solid var(--hairline);
  background: var(--snow);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.custom-select-trigger:focus,
.custom-select:focus-within .custom-select-trigger,
.custom-select-trigger[aria-expanded="true"] {
  border-color: var(--pine);
  box-shadow: 0 0 0 1px var(--pine);
}

.custom-select-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.custom-select-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: transform 200ms ease;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-icon {
  transform: rotate(180deg);
}

.custom-select-content {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  z-index: 50;
  min-width: 8rem;
  overflow: hidden;
  border-radius: var(--r-btn, 8px);
  border: 1px solid var(--hairline);
  background: var(--snow);
  color: var(--charcoal);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  padding: 4px;
  
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
  transform-origin: top center;
}

.custom-select-content.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-item {
  position: relative;
  display: flex;
  cursor: pointer;
  user-select: none;
  align-items: center;
  border-radius: 6px;
  padding: 8px 12px 8px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.custom-select-item:hover, 
.custom-select-item.is-focused {
  background-color: rgba(0,0,0,0.04);
  color: var(--charcoal);
}

.custom-select-item[aria-selected="true"] {
  font-weight: 500;
}

.custom-select-check {
  position: absolute;
  left: 8px;
  display: flex;
  height: 16px;
  width: 16px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms ease;
}

.custom-select-item[aria-selected="true"] .custom-select-check {
  opacity: 1;
}

/* ─────────────────────────────────────────
   Reseñas nativas (Ruralidays / Rustical Travel)
   ───────────────────────────────────────── */
.rd-section {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--hairline);
}
.rd-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.rd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--pine);
  color: #fff;
  font-size: 22px;
  font-weight: var(--w-medium);
}
.rd-summary-text p { font-size: 14px; color: rgba(35,33,44,0.6); }
.rd-summary-text strong { display: block; font-size: 16px; color: var(--charcoal); font-weight: var(--w-medium); }
.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.rd-card {
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rd-score { font-size: 15px; font-weight: var(--w-medium); color: var(--pine); }
.rd-score small { font-size: 12px; font-weight: var(--w-regular); color: rgba(35,33,44,0.45); }
.rd-text { font-size: 15px; line-height: 1.65; color: rgba(35,33,44,0.8); }
.rd-meta { margin-top: auto; font-size: 13px; color: rgba(35,33,44,0.55); }
.rd-meta strong { color: var(--charcoal); font-weight: var(--w-medium); }
.rd-source {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(35,33,44,0.5);
  text-align: center;
}
.rd-source a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .rd-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   Consent gate
   ───────────────────────────────────────── */
.consent-gate {
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.consent-gate-title {
  font-size: 17px;
  font-weight: var(--w-medium);
  color: var(--charcoal);
  margin-bottom: 8px;
}
.consent-gate-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(35,33,44,0.65);
  margin-bottom: 20px;
}
.consent-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--pine);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: var(--w-medium);
  cursor: pointer;
  transition: opacity 200ms var(--ease-out);
}
.consent-gate-btn:hover { opacity: 0.88; }
