/* Hub pages CSS: homepage, state hubs, near-city hubs, indexes, trust pages. */

/* Home hero */
.home-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.home-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
  z-index: 0;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,18,16,.20) 0%, rgba(7,18,16,.05) 30%, rgba(7,18,16,.65) 75%, rgba(7,18,16,.90) 100%);
}
.home-hero-content {
  position: relative; z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto; padding: 140px 0 56px;
  color: #fff;
}
.home-hero-content h1 {
  max-width: 880px; margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: #fff;
}
.home-hero-dek {
  max-width: 720px; margin: 22px 0 28px;
  font-size: 21px; line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.home-search {
  display: flex; gap: 8px; margin-bottom: 24px;
  max-width: 540px;
}
.home-search input {
  flex: 1; height: 50px; padding: 0 18px;
  font-family: Inter, sans-serif; font-size: 16px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(4px);
  color: #fff;
}
.home-search input::placeholder { color: rgba(255,255,255,.65); }
.home-search button {
  height: 50px; padding: 0 26px;
  font-family: Inter, sans-serif; font-weight: 600; font-size: 15px;
  border-radius: 8px; border: none;
  background: var(--sun); color: var(--ink);
  cursor: pointer;
}
.home-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hub hero (state, near-city, trust) */
.hub-hero, .trust-hero {
  background: linear-gradient(135deg, var(--pool-darker) 0%, var(--pool-dark) 100%);
  color: #fff;
  padding: 90px 0 50px;
}
.hub-hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.hub-hero h1, .trust-hero h1 {
  margin: 14px 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.005em;
  color: #fff;
  max-width: 880px;
}
.hub-hero-dek {
  max-width: 760px; margin: 18px 0 0;
  font-size: 19px; line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.hub-stats {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: Inter, sans-serif; font-size: 14px;
  color: rgba(255,255,255,.78);
}
.hub-stats strong { color: #fff; font-weight: 600; }

/* Card grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.hub-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.hub-card img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-warm);
}
.hub-card-body { padding: 16px 18px 20px; }
.hub-card-state {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--pool-dark); margin-bottom: 6px;
}
.hub-card h3 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  color: var(--ink);
}
.hub-card p {
  margin: 0;
  font-size: 14px; line-height: 1.45;
  color: var(--muted);
}

/* State pills on homepage */
.state-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.state-pill {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
  font-family: Inter, sans-serif;
  text-align: left;
  transition: border-color .15s ease, transform .15s ease;
}
.state-pill:hover {
  border-color: var(--pool);
  transform: translateY(-2px);
  text-decoration: none;
}
.state-pill strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.state-pill span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* Value grid (homepage trust block) */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.value-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid; gap: 10px; align-content: start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--steam); color: var(--pool-dark);
  margin-bottom: 4px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-item h3 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
}
.value-item p {
  margin: 0;
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-soft);
}

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.commercial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.commercial-card h3 {
  margin: 2px 0 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  line-height: 1.16;
  color: var(--ink);
}
.commercial-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.commercial-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.guide-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.guide-booking-card {
  position: sticky;
  top: 86px;
}
.guide-grid .hub-card-body {
  min-height: 190px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  min-width: 680px;
}

/* Quick picks (state hub) */
.quick-picks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.quick-pick {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--sun);
}
.quick-pick-label {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--clay-dark); margin-bottom: 6px;
}
.quick-pick h4 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
}
.quick-pick h4 a {
  color: var(--ink);
  text-decoration: none;
}
.quick-pick h4 a:hover { color: var(--pool-dark); text-decoration: underline; }
.quick-pick p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Region blocks (state hub) */
.region-block {
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--paper-warm);
  border-radius: var(--radius);
  border-left: 4px solid var(--pool);
}
.region-block h3 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
}
.region-block p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Related list (state hub) */
.related-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.related-list li {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: Inter, sans-serif;
  font-size: 15px;
}

/* Search bar on /hot-springs/ index */
.search-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.search-bar input,
.search-bar select {
  flex: 1; min-width: 200px;
  height: 46px; padding: 0 16px;
  font-family: Inter, sans-serif; font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.search-results-count {
  font-family: Inter, sans-serif;
  font-size: 13px; color: var(--muted);
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
  .home-search { max-width: 100%; }
  .guide-intro-grid { grid-template-columns: 1fr; }
  .guide-booking-card { position: static; }
}
@media (max-width: 720px) {
  .home-hero-content { padding-top: 110px; padding-bottom: 40px; }
  .home-hero { min-height: 540px; }
  .hub-hero { padding: 70px 0 40px; }
}
