/* ── HOTELES PAGE ── */

/* Header */
.hoteles-page-header {
  background: linear-gradient(135deg, #0d1a2e 0%, #1565c0 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.hoteles-header-title {
  font-family: 'Raleway', sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

.hoteles-header-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (max-width: 768px) {
  .hoteles-page-header {
    padding: 60px 0 40px;
  }
  .hoteles-header-title {
    font-size: 28px;
  }
  .hoteles-header-subtitle {
    font-size: 16px;
  }
}

/* Encabezado con la imagen de fondo (banner de hoteles) */
.hoteles-page-header--banner {
  position: relative;
  background: #0d1a2e url('https://chileanski-assets.imgix.net/banners/hoteles.jpg') center / cover no-repeat;
}

.hoteles-page-header--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 26, 46, .4);
}

.hoteles-page-header--banner .wrap {
  position: relative;
  z-index: 1;
}

/* Tabs */
.hoteles-tabs-wrap {
  background: #fff;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.hoteles-tabs {
  display: flex;
  gap: 0;
}

.hoteles-tab {
  padding: 18px 28px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.hoteles-tab:hover {
  color: #1565c0;
}

.hoteles-tab--active {
  color: #1565c0;
  border-bottom-color: #1565c0;
}

.hoteles-tab-panel {
  display: none;
}

.hoteles-tab-panel--active {
  display: block;
}

@media (max-width: 600px) {
  .hoteles-tabs {
    overflow-x: auto;
  }
  .hoteles-tab {
    padding: 14px 18px;
    font-size: 16px;
  }
}

/* Hotels Section */
.hoteles-section {
  padding: 60px 0;
  background: #f9fafb;
}

/* Section Intro */
.hoteles-section-intro {
  margin-bottom: 36px;
}

.hoteles-section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 10px;
}

.hoteles-section-desc {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Centro Block */
.centro-block {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: stretch;
  margin-bottom: 40px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.centro-block:last-child {
  margin-bottom: 0;
}

/* Alternate layout for even blocks */
.centro-block:nth-child(even) {
  direction: rtl;
}
.centro-block:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .centro-block,
  .centro-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Centro Image */
.centro-block__image {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
}

.centro-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .centro-block__image {
    min-height: 220px;
    max-height: 260px;
  }
}

/* Centro Content */
.centro-block__content {
  padding: 28px 32px;
}

@media (max-width: 768px) {
  .centro-block__content {
    padding: 20px;
  }
}

.centro-block__title {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0d1a2e;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #1565c0;
}

.centro-block__no-hotels {
  color: #9ca3af;
  font-size: 16px;
  margin: 12px 0;
}

/* Hotels Table */
.hotels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.hotels-table thead th {
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 10px 8px 0;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.hotels-table thead th:last-child {
  text-align: right;
  padding-right: 0;
}

.hotels-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}

.hotels-table tbody tr:last-child {
  border-bottom: none;
}

.hotels-table tbody tr:hover {
  background: #f9fafb;
}

.hotels-table td {
  padding: 10px 10px 10px 0;
  vertical-align: middle;
}

.hotels-table td:last-child {
  padding-right: 0;
  text-align: right;
}

.ht-name {
  font-weight: 700;
  color: #0d1a2e;
  text-decoration: none;
  white-space: nowrap;
}

.ht-name:hover {
  color: #1565c0;
  text-decoration: underline;
}

.ht-stars {
  color: #fbbf24;
  font-size: 16px;
  white-space: nowrap;
}

.ht-dist,
.ht-price {
  color: #374151;
  white-space: nowrap;
}

.ht-price strong {
  color: #0d1a2e;
}

.ht-btn {
  display: inline-block;
  padding: 6px 14px;
  background: #1565c0;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: background 0.2s;
}

.ht-btn:hover {
  background: #0d47a1;
  color: white;
}

@media (max-width: 600px) {
  .hotels-table thead {
    display: none;
  }
  .hotels-table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .hotels-table td {
    display: block;
    padding: 2px 0;
  }
  .hotels-table td:last-child {
    text-align: left;
    padding-top: 6px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hoteles-section {
    padding: 40px 0;
  }
  .centro-block {
    margin-bottom: 28px;
    border-radius: 8px;
  }
}
