/* PAGE HERO - OFERTA DESTACADA */
.oferta-hero {
  background: linear-gradient(135deg, #0d1a2e 0%, #1a2d4a 100%);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.oferta-hero__bg-circle-1 {
  position: absolute;
  top: 0;
  right: -50px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.oferta-hero__bg-circle-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.oferta-hero__content {
  position: relative;
  z-index: 2;
}

.oferta-hero__breadcrumb {
  font-size:16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
}

.oferta-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.oferta-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.oferta-hero__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.oferta-hero__text h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.oferta-hero__text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
}

.oferta-hero__chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* PRECIO DESTACADO */
.oferta-price-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.oferta-price-box__label {
  font-size:16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.oferta-price-box__amount {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* BOTONES DE ACCIÓN */
.oferta-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.oferta-actions .btn {
  padding: 16px 32px;
  font-size:16px;
  font-weight: 600;
}

.oferta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* DESCRIPCIÓN COMPLETA */
.oferta-description {
  padding: 60px 0;
  background: #fff;
}

.oferta-description__content {
  max-width: 800px;
}

/* Descripción + sidebar del motor (selector de hotel y Reservar) */
.oferta-description__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.oferta-description__layout .oferta-description__content {
  max-width: none;
}
.oferta-motor {
  position: sticky;
  top: 100px;
  background: #f4f6f9;
  border-radius: 12px;
  padding: 24px;
}
.oferta-motor__title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 14px;
}
.oferta-motor select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 16px;
  background: #fff;
  margin-bottom: 12px;
}
.oferta-motor button {
  width: 100%;
}
.oferta-motor button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .oferta-description__layout { grid-template-columns: 1fr; }
  .oferta-motor { position: static; }
}

.oferta-description__section {
  margin-bottom: 40px;
}

.oferta-description__section h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 16px;
}

.oferta-description__section p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

.oferta-description__details {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
  background: #f4f6f9;
  padding: 24px;
  border-radius: 10px;
  border-left: 4px solid #7dd3fc;
}

/* GALERÍA DE FOTOS */
.oferta-gallery {
  padding: 60px 0;
  background: #f4f6f9;
}

.oferta-gallery__title {
  font-size: 32px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 40px;
  text-align: center;
}

.oferta-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.oferta-gallery__item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.oferta-gallery__item:hover {
  transform: scale(1.05);
}

.oferta-gallery__item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* CARACTERÍSTICAS CLAVE */
.oferta-highlights {
  padding: 60px 0;
  background: #fff;
}

.oferta-highlights__title {
  font-size: 32px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 40px;
  text-align: center;
}

.oferta-highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.oferta-highlight-card {
  padding: 32px;
  border-radius: 10px;
  border: 2px solid;
  text-align: center;
}

.oferta-highlight-card--blue {
  background: #f0f9ff;
  border-color: #7dd3fc;
}

.oferta-highlight-card--green {
  background: #f0fdf4;
  border-color: #86efac;
}

.oferta-highlight-card--pink {
  background: #fdf2f8;
  border-color: #f472b6;
}

.oferta-highlight-card__emoji {
  font-size: 48px;
  margin: 0 0 12px;
}

.oferta-highlight-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 8px;
}

.oferta-highlight-card__text {
  font-size: 16px;
  color: #4b5563;
  margin: 0;
}

/* ── HERO MOBILE ── */
@media (max-width: 768px) {
  .oferta-hero {
    padding: 24px 0 36px;
  }

  .oferta-hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 16px;
  }

  .oferta-hero__image img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .oferta-hero__text h1 {
    font-size: 26px;
  }

  .oferta-hero__text p {
    font-size: 15px;
    max-width: 100%;
    margin: 0;
  }

  .oferta-price-box {
    padding: 14px 16px;
    margin: 16px 0;
  }

  .oferta-price-box__amount {
    font-size: 26px;
  }

  .oferta-actions {
    flex-direction: column;
    margin-top: 20px;
  }

  .oferta-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* RECOMENDADOS */
.oferta-recommended {
  padding: 60px 0;
  background: #f4f6f9;
}

.oferta-recommended__title {
  font-size: 32px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 40px;
  text-align: center;
}

.oferta-recommended__more {
  text-align: center;
  margin-top: 24px;
}

.oferta-recommended__link {
  width: auto;
  display: inline-flex;
  padding: 12px 28px;
}

/* MODAL DE COTIZACIÓN (copiado de hoteles-ficha-inline) */
.hf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow: auto;
}

.hf-modal[hidden] {
  display: none;
}

.hf-modal__dialog {
  background: white;
  margin: 50px auto;
  padding: 0;
  width: 750px;
  max-width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hf-modal__header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hf-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.hf-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  line-height: 1;
}

.hf-modal__close:hover {
  color: #666;
}

.hf-modal__body {
  padding: 20px;
}

.hf-modal__subtitle {
  margin-top: 0;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hf-layout { grid-template-columns: 1fr; }
  .hf-sidebar { order: -1; }
  .hf-sidebar-card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .hf-sb-btn { grid-column: 1/-1; }
  .hf-fotos-grid { grid-template-columns: repeat(2, 1fr); }
  .hf-opiniones-grid { grid-template-columns: 1fr; }
  .hf-hero__slider, .hf-hero__placeholder img { height: 280px; }
  #hf-map { height: 350px; }
  .ficha-slider__slide img { height: 280px; }
}
@media (max-width: 600px) {
  .hf-hero__info-inner { flex-direction: column; gap: 16px; }
  .hf-fotos-grid { grid-template-columns: 1fr 1fr; }
  .hf-foto-item img { height: 160px; }
  .hf-tab { padding: 12px 14px; font-size: .85rem; }
  .hf-hero__name { font-size: 1.35rem; }
  .ficha-slider__slide img { height: 220px; }
}

.cf-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
}

.cf-field.is-invalid input,
.cf-field.is-invalid select,
.cf-field.is-invalid textarea {
  border-color: #dc2626;
}

.hf-swal {
  z-index: 10000;
}
