/* Styles for O2 Spa Subpages */
.page-hero {
  background: linear-gradient(135deg, rgba(31, 20, 12, 0.88), rgba(45, 30, 20, 0.75)), url('assets/o2-spa-treatment-room.webp') center/cover no-repeat;
  color: #fff;
  padding: 130px 8% 70px;
  border-radius: 0 0 24px 24px;
  text-align: center;
}

.page-hero .kicker {
  color: #d4af37;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  margin: 0 0 16px;
  line-height: 1.15;
  color: #fffdfa;
}

.page-hero p.subtitle {
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.page-content {
  padding: 70px 8%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Page Section Headers */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-wrap h2 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
  color: #3c291c;
  margin-top: 8px;
  line-height: 1.2;
}

/* Common Page Container */
.page-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Price & Duration Table */
.price-table-wrap {
  background: #fbf7ef;
  border: 1px solid #dfd1bc;
  border-radius: 16px;
  padding: 36px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(30, 20, 12, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b754c;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 2px solid #decdb7;
}

.price-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eee3d3;
  color: #3c332b;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-tag {
  font-weight: 600;
  color: #725537;
  font-size: 1rem;
}

/* Testimonials / Review Cards */
.review-rating-summary {
  background: linear-gradient(135deg, #fbf7ef, #f3eddf);
  border: 1px solid #dfd1bc;
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-score .big-num {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
  font-weight: 600;
  color: #3c291c;
  line-height: 1;
}

.rating-score .stars {
  color: #d4af37;
  font-size: 1.375rem;
  letter-spacing: 2px;
}

.review-card {
  background: #fffdf9;
  border: 1px solid #e5d8c5;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(30, 20, 12, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30, 20, 12, 0.08);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #9b754c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #3c291c;
}

.author-info span {
  font-size: 0.75rem;
  color: #8a7b69;
}

.review-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #564a3e;
  margin: 0;
  font-style: italic;
  max-width: 65ch;
}

.review-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #eee3d3;
  color: #725537;
  padding: 5px 12px;
  border-radius: 12px;
}

/* Directions Cards & Step List */
.direction-step {
  background: #fffdfa;
  border-left: 4px solid #9b754c;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(30, 20, 12, 0.04);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.direction-step h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.875rem, 1.375rem);
  color: #3c291c;
  margin: 0 0 8px;
  line-height: 1.3;
}

.direction-step p {
  font-size: 1rem;
  color: #685e52;
  margin: 0;
  line-height: 1.65;
  max-width: 65ch;
}

/* News Cards */
.news-card {
  background: #fffdf9;
  border: 1px solid #e5d8c5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 20, 12, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.75rem;
  color: #9b754c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.875rem, 1.375rem);
  color: #3c291c;
  margin: 0 0 12px;
  line-height: 1.3;
}

.news-card p {
  font-size: 0.9375rem;
  color: #685e52;
  line-height: 1.65;
  margin: 0 0 18px;
  flex-grow: 1;
  max-width: 65ch;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
  background: #3c291c;
  box-shadow: 0 6px 18px rgba(30, 20, 12, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 12, 7, 0.85) 0%, rgba(20, 12, 7, 0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.gallery-caption p {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Location and guide pages */
.reading-width {
  max-width: 72ch;
  margin: 0 auto;
}

.reading-width p {
  color: #685e52;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 65ch;
  margin: 0 0 1.25rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.reading-width h2 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
  color: #3c291c;
  margin: 48px 0 14px;
  line-height: 1.2;
}

.reading-width h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.875rem, 1.375rem);
  color: #3c291c;
  margin: 28px 0 8px;
  line-height: 1.3;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: #fbf7ef;
  border: 1px solid #dfd1bc;
  border-radius: 14px;
  padding: 24px;
  color: #3c291c;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30,20,12,.08);
}

.resource-card h3 {
  font-size: 1.125rem;
  margin: 0 0 10px;
  line-height: 1.3;
}

.resource-card p {
  font-size: 0.875rem;
  color: #685e52;
  line-height: 1.6;
  margin: 0;
  max-width: 65ch;
}

.location-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dfd1bc;
  border: 1px solid #dfd1bc;
  margin: 38px 0;
}

.location-facts div {
  background: #fffdfa;
  padding: 22px;
}

.location-facts strong {
  display: block;
  color: #725537;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.location-facts span {
  color: #564a3e;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.source-note {
  font-size: 0.78125rem !important;
  color: #8a7b69 !important;
  border-top: 1px solid #e5d8c5;
  padding-top: 18px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-hero {
    padding: 95px 6% 45px;
  }
  .page-content {
    padding: 40px 6%;
  }
  .page-grid, .review-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-caption {
    opacity: 1;
    background: linear-gradient(0deg, rgba(20, 12, 7, 0.88) 0%, rgba(20, 12, 7, 0.3) 60%, transparent 100%);
  }
  .reading-width h2 {
    margin-top: 32px;
  }
  .resource-grid, .location-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .resource-card {
    padding: 20px 18px;
  }
  .review-rating-summary {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .price-table-wrap {
    padding: 20px 16px;
  }
  .price-table th, .price-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 85px 5% 35px;
  }
  .page-content {
    padding: 35px 5%;
  }
  .resource-grid, .location-facts {
    grid-template-columns: 1fr;
  }
  .review-rating-summary {
    padding: 18px 15px;
  }
  .rating-score {
    gap: 12px;
  }
  .rating-score .big-num {
    font-size: 2.5rem;
  }
  .rating-score .stars {
    font-size: 1.125rem;
  }
}
