/* ─────────────────────────────────────────────
   Guides & Tours page
   ───────────────────────────────────────────── */

/* ── Header ── */
.guides-header {
  background: var(--teal-dark);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.guides-header--has-image {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.guides-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  filter: brightness(0.88);
}

.guides-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,28,20,0.88) 0%, rgba(18,28,20,0.25) 100%);
}

.guides-header__inner { position: relative; z-index: 1; width: 100%; }

.guides-header__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.guides-header__title {
  color: var(--white);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.guides-header__rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.guides-header__intro {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

/* ── Jump nav ── */
.guides-jumpnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.guides-jumpnav .container {
  display: flex;
  flex-wrap: wrap;
}

.guides-jumpnav__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.guides-jumpnav__link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.guides-jumpnav__count {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.1em 0.5em;
  min-width: 1.4em;
  text-align: center;
}

/* ── Body container ── */
.guides-body { padding: 0; }

/* ── Section ── */
.guides-section {
  padding: 4rem 0 3rem;
  background: #fff;
}

.guides-section--pale { background: var(--teal-pale); }

.guides-section__header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.guides-section__header .rule { margin-bottom: 1rem; }

.guides-section__intro {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ── Grid ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

/* ── Card ── */
.guide-card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.guides-section--pale .guide-card {
  border-color: transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.guide-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.guide-card__body {
  padding: 1.2rem 1.3rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.guide-card__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.guide-card__type {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 0.2em 0.65em;
  border-radius: 3px;
}

.guides-section--pale .guide-card__type {
  background: rgba(44,58,46,0.08);
}

.guide-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.guide-card__meta svg {
  flex-shrink: 0;
  margin-top: 0.15em;
  opacity: 0.55;
}

.guide-card__notes {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-mid);
  font-style: italic;
  margin: 0.1rem 0 0;
  line-height: 1.4;
}

/* ── Card actions ── */
.guide-card__actions {
  padding: 0.8rem 1.3rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.guide-card__contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-card__contact svg { flex-shrink: 0; opacity: 0.6; }
.guide-card__contact:hover { color: var(--teal); }

.guide-card__contact--email { font-size: 0.75rem; }

.guide-card__links {
  display: flex;
  gap: 1rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}

.guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.guide-card__link:hover { color: var(--gold); }
.guide-card__link--fb { color: var(--text-mid); }
.guide-card__link--fb:hover { color: var(--teal); }

/* ── CTA ── */
.guides-cta {
  background: var(--teal-dark);
  padding: var(--section-pad);
  text-align: center;
}

.guides-cta .eyebrow { color: var(--gold); }
.guides-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.guides-cta p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0.8rem auto 2rem; line-height: 1.65; }

.guides-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .guides-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .guides-jumpnav .container {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .guides-jumpnav__link { flex-shrink: 0; }

  .guides-grid { grid-template-columns: 1fr; }

  .guides-section { padding: 3rem 0; }
  .guides-cta { padding: 3rem 0; }
}
