/* ── Coffee Tourism — hub + place pages ─────────────────────────────── */

/* Hub hero */
.tour-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
}
.tour-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--espresso) 92%, transparent) 0%,
    color-mix(in oklab, var(--espresso) 55%, transparent) 45%,
    color-mix(in oklab, var(--burgundy) 20%, transparent) 100%
  );
}
.tour-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 56px;
}
.tour-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
}
.tour-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  color: var(--cream);
  line-height: 1.06;
  letter-spacing: -.025em;
  max-width: 820px;
}
.tour-hero h1 em { font-style: italic; color: var(--saffron); }
.tour-hero-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: color-mix(in oklab, var(--cream) 82%, transparent);
  max-width: 620px;
  margin-top: 18px;
  line-height: 1.65;
}
.tour-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Sticky section nav */
.tour-nav {
  background: var(--warm-cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 63px;
  z-index: 90;
}
.tour-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tour-nav-inner::-webkit-scrollbar { display: none; }
.tour-nav-btn {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: color-mix(in oklab, var(--charcoal) 60%, transparent);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.tour-nav-btn:hover { color: var(--espresso); }
.tour-nav-btn[aria-selected="true"] {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

/* Section blocks */
.tour-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}
.tour-section.alt { background: var(--warm-cream); }
.tour-section-head { max-width: 640px; margin-bottom: 40px; }
.tour-section-head .tag { margin-bottom: 8px; }
.tour-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -.02em;
  color: var(--espresso);
}
.tour-section-head p {
  margin-top: 12px;
  color: color-mix(in oklab, var(--charcoal) 68%, transparent);
  line-height: 1.65;
}

/* Card grid */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.tour-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
  color: inherit;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px color-mix(in oklab, var(--charcoal) 14%, transparent);
  text-decoration: none;
}
.tour-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--charcoal);
}
.tour-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.tour-card:hover .tour-card-img-wrap img { transform: scale(1.04); }
.tour-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--espresso) 75%, transparent);
  color: var(--saffron);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tour-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.tour-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.tour-card-tagline {
  font-size: 13px;
  color: color-mix(in oklab, var(--charcoal) 65%, transparent);
  line-height: 1.55;
  margin-top: 6px;
  flex: 1;
}
.tour-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--saffron-dark);
}
.tour-card-link {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--burgundy);
}
.tour-card:hover .tour-card-link { text-decoration: underline; }

/* Coffee tourism spotlight band */
.tour-spotlight {
  background: var(--espresso);
  padding: 64px 24px;
}
.tour-spotlight-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tour-spotlight-text { color: var(--cream); }
.tour-spotlight-text .tag { color: var(--saffron); }
.tour-spotlight-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  margin-top: 8px;
  letter-spacing: -.02em;
}
.tour-spotlight-text p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in oklab, var(--cream) 78%, transparent);
}
.tour-spotlight-list {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour-spotlight-list li {
  font-size: 14px;
  color: color-mix(in oklab, var(--cream) 85%, transparent);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tour-spotlight-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  margin-top: 7px;
  flex-shrink: 0;
}
.tour-spotlight-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
}
.tour-spotlight-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* CTA band */
.tour-cta {
  background: var(--burgundy);
  padding: 72px 24px;
  text-align: center;
}
.tour-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--cream);
  letter-spacing: -.02em;
}
.tour-cta p {
  max-width: 520px;
  margin: 14px auto 28px;
  color: color-mix(in oklab, var(--cream) 78%, transparent);
  line-height: 1.65;
}
.tour-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Place detail page ──────────────────────────────────────────────── */
.place-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.place-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--espresso) 88%, transparent) 0%,
    color-mix(in oklab, var(--espresso) 40%, transparent) 55%,
    transparent 100%
  );
}
.place-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 44px;
}
.place-breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--saffron) 80%, transparent);
  margin-bottom: 14px;
}
.place-breadcrumb a { color: inherit; }
.place-breadcrumb a:hover { color: var(--saffron); text-decoration: none; }
.place-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--cream);
  letter-spacing: -.02em;
  max-width: 780px;
}
.place-hero-tagline {
  font-size: clamp(15px, 1.5vw, 18px);
  color: color-mix(in oklab, var(--cream) 80%, transparent);
  max-width: 580px;
  margin-top: 12px;
  line-height: 1.6;
  font-style: italic;
}
.place-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.place-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--cream) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--cream) 28%, transparent);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
}

.place-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.place-main p {
  font-size: 16px;
  line-height: 1.75;
  color: color-mix(in oklab, var(--charcoal) 78%, transparent);
  margin-bottom: 16px;
}
.place-block { margin-bottom: 44px; }
.place-block h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--espresso);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.place-highlights {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.place-highlights li {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--charcoal) 75%, transparent);
  display: flex;
  gap: 10px;
}
.place-highlights li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  margin-top: 8px;
  flex-shrink: 0;
}
.place-sidebar-card {
  background: var(--warm-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.place-sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 14px;
}
.place-facts {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.place-facts tr { border-bottom: 1px solid var(--line); }
.place-facts tr:last-child { border-bottom: none; }
.place-facts td {
  padding: 10px 0;
  vertical-align: top;
  line-height: 1.5;
}
.place-facts td:first-child {
  font-weight: 700;
  color: var(--saffron-dark);
  width: 38%;
  padding-right: 12px;
}
.place-related {
  background: var(--warm-cream);
  padding: 56px 24px;
}
.place-related-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.place-related-inner h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--espresso);
}
.place-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.place-related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.place-related-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px);
  text-decoration: none;
}
.place-related-card .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--espresso);
}
.place-related-card .meta {
  font-size: 12px;
  color: color-mix(in oklab, var(--charcoal) 60%, transparent);
  margin-top: 4px;
}

/* Photo gallery on place pages */
.place-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.place-gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-cream);
  border: 1px solid var(--line);
}
.place-gallery-item.span2 {
  grid-column: span 2;
}
.place-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.place-gallery-item:hover img { transform: scale(1.03); }
.place-gallery-item figcaption {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in oklab, var(--charcoal) 68%, transparent);
}

/* Homepage front tourism grid */
.home-tourism-front {
  background: var(--warm-cream);
  border-bottom: 1px solid var(--line);
  padding: 56px 24px 64px;
}
.home-tourism-front-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.home-tourism-front-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.home-tourism-front-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -.02em;
  color: var(--espresso);
  margin-top: 6px;
}
.home-tourism-front-head p {
  max-width: 560px;
  margin-top: 10px;
  color: color-mix(in oklab, var(--charcoal) 68%, transparent);
  line-height: 1.65;
}
.home-tourism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.home-tourism-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .2s;
  display: flex;
  flex-direction: column;
}
.home-tourism-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px color-mix(in oklab, var(--charcoal) 12%, transparent);
  border-color: color-mix(in oklab, var(--burgundy) 35%, var(--line));
  text-decoration: none;
}
.home-tourism-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--charcoal);
}
.home-tourism-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.home-tourism-card:hover .home-tourism-card-img img { transform: scale(1.04); }
.home-tourism-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--espresso) 78%, transparent);
  color: var(--saffron);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-tourism-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.home-tourism-card-body .name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.3;
}
.home-tourism-card-body .desc {
  font-size: 13px;
  margin-top: 6px;
  color: color-mix(in oklab, var(--charcoal) 65%, transparent);
  line-height: 1.55;
  flex: 1;
}
.home-tourism-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--saffron-dark);
  letter-spacing: .03em;
}

@media (max-width: 900px) {
  .place-body { grid-template-columns: 1fr; gap: 32px; }
  .tour-spotlight-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .tour-nav { top: 56px; }
  .tour-section { padding: 48px 16px; }
  .place-body { padding: 40px 16px; }
  .place-gallery { grid-template-columns: 1fr 1fr; }
  .place-gallery-item.span2 { grid-column: span 2; }
}
@media (max-width: 520px) {
  .place-gallery { grid-template-columns: 1fr; }
  .place-gallery-item.span2 { grid-column: auto; }
}
@media (max-width: 360px) {
  .tour-hero-content { padding: 40px 12px 36px; }
}
