/* Montezuma County Internet — lightweight, readable */

:root {
  --bg: #f8f7f4;
  --card: #fff;
  --text: #1c1c1c;
  --text-muted: #505050;
  --accent: #0d6b63;
  --accent-hover: #094a44;
  --border: #e5e3de;
  --radius: 8px;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "DM Serif Text", Georgia, "Times New Roman", serif;
  --content-width: 52rem;
  --space: 1.25rem;
  --space-lg: 2rem;
  --shadow-sm: 0 2px 8px rgba(19, 33, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(19, 33, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(2px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.5rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--accent);
}

.site-brand:hover .site-brand-title {
  color: var(--accent);
}

.site-brand-mark {
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.site-brand-mark img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.site-brand-lines {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.site-brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
}

.site-brand-subtitle {
  margin-top: 0.1rem;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #74807d;
}

.site-header-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.34rem;
  font-size: 0.86rem;
}
.site-nav a {
  color: #586562;
  text-decoration: none;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  background: #f1f6f5;
  color: var(--accent);
  border-color: #d8e5e2;
}

.site-nav a.is-active {
  background: #eef6f5;
  color: #0b5d55;
  border-color: #d4e4e0;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.4rem 0.74rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s ease, transform 0.16s ease;
}

.site-header-cta::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  line-height: 1;
}

.site-header-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.015);
}

.breadcrumbs-bar nav {
  padding: 0.62rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "🏔️";
  margin-left: 0.25rem;
  color: var(--border);
  font-size: 0.8em;
  font-weight: 300;
  line-height: 1;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.breadcrumbs li:last-child span {
  color: var(--text);
  font-weight: 500;
}

/* Main */
.site-main {
  padding: 0.7rem 0 var(--space-lg);
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
}

.page-shell > header {
  margin-bottom: var(--space-lg);
  position: relative;
}

.page-shell > header::before {
  content: "Local Internet Guide";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-city > header::before { content: "City Internet"; }
.page-county > header::before { content: "County Internet"; }
.page-problem > header::before { content: "Troubleshooting"; }
.page-service > header::before { content: "Service Overview"; }
.page-compare > header::before { content: "Provider Comparison"; }
.page-guide > header::before { content: "Practical Guide"; }

.page-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: var(--space-lg);
  min-height: 15rem;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid #c5c0b5;
  border-bottom: 1px solid #c5c0b5;
  background-image:
    linear-gradient(to bottom, rgba(15, 20, 24, 0.2), rgba(15, 20, 24, 0.58)),
    url("../images/heroes/montezuma-county.jpg");
  background-size: cover;
  background-position: center;
}

/* Default hero (montezuma-county.jpg) only: attach to top, cover */
.page-hero.page-hero-default {
  background-position: top;
  background-size: cover;
}

.page-hero-inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.35rem var(--space) 1.45rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

/* Hero now carries the primary page title. */
.page-shell > header,
.home-page > .page-intro > h1,
.section-page > .page-intro > h1 {
  display: none;
}

/* Most generated pages already carry the page title in the hero.
   Hide the first in-content H1 to prevent duplicate title rendering. */
.page-shell .content > h1:first-child,
.home-page .content > h1:first-child,
.section-page .content > h1:first-child {
  display: none;
}

.home-page .page-intro,
.section-page .page-intro {
  margin-bottom: var(--space-lg);
}

.page-intro {
  margin-bottom: var(--space-lg);
}

/* Compare index intro should read as plain lead copy, not a card. */
.section-page-compare .page-intro {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.section-page-problems .page-intro {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.page-intro h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
}

.section-block {
  margin: 0 0 var(--space-lg);
}

.section-block h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-block h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #d9d4c8, transparent 70%);
}

.card-grid {
  display: grid;
  gap: 0.75rem;
}

.section-block > h2 + .card-grid {
  margin-top: 1rem;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card-link {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card-link strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.card-link strong::before {
  content: "•";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--accent);
  font-size: 0.82rem;
  line-height: 1;
  flex-shrink: 0;
}

.card-link[href*="/locations/"] strong::before { content: "⌂"; }
.card-link[href*="/services/"] strong::before { content: "⚡"; }
.card-link[href*="/problems/"] strong::before { content: "⚠"; }
.card-link[href*="/compare/"] strong::before { content: "⇄"; }
.card-link[href*="/guides/"] strong::before { content: "✦"; }
.card-link[href*="/check-availability/"] strong::before { content: "✓"; }

.card-link span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-link:hover {
  border-color: #cfcac0;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Home: Browse section — editorial link list */
.browse-section > h2 { margin-bottom: 0.85rem; }
.browse-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.browse-list li {
  border-bottom: 1px solid var(--border);
}
.browse-list li:last-child {
  border-bottom: 0;
}
.browse-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-left: 1.15rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.browse-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f4f3 0%, #dceeea 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid rgba(13, 107, 99, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.browse-list a:hover .browse-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
}
.browse-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.browse-list a:hover {
  background: #f6faf9;
}
.browse-list a:hover::before {
  opacity: 1;
}
.browse-list-text {
  flex: 1;
  min-width: 0;
}
.browse-list-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.browse-list a:hover .browse-list-title {
  color: var(--accent);
}
.browse-list-desc {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.browse-list a::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #b5c4c1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.browse-list a:hover::after {
  color: var(--accent);
  transform: translateY(-50%) translateX(2px);
}

.page-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.page-list li {
  border-bottom: 1px solid var(--border);
}

.page-list li:last-child {
  border-bottom: 0;
}

.page-list a {
  display: block;
  padding: 0.72rem 0.9rem;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  padding-right: 1.8rem;
}

.page-list a:hover {
  background: #f3f8f7;
  color: var(--accent-hover);
}

.page-list a::after {
  content: "→";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa8a5;
  font-size: 0.9rem;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 0.9rem;
}

.problem-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cddad7;
}

.problem-card-media {
  min-height: 92px;
  padding: 0.62rem 0.72rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid #d4dfdc;
  background-image: linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58));
  background-size: cover;
  background-repeat: no-repeat;
}

.problem-card-media-buffering {
  background-image:
    linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58)),
    url("../images/problems/buffering.jpg");
  background-position: center 34%;
}

.problem-card-media-high-ping {
  background-image:
    linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58)),
    url("../images/problems/high-ping.jpg");
  background-position: center 44%;
}

.problem-card-media-internet-keeps-dropping {
  background-image:
    linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58)),
    url("../images/problems/internet-keeps-dropping.jpg");
  background-position: center 42%;
}

.problem-card-media-lag {
  background-image:
    linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58)),
    url("../images/problems/lag.jpg");
  background-position: center 40%;
}

.problem-card-media-slow-internet {
  background-image:
    linear-gradient(155deg, rgba(5, 43, 50, 0.72), rgba(12, 91, 84, 0.58)),
    url("../images/problems/slow-internet.jpg");
  background-position: center 36%;
}

.problem-card-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.19);
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 1;
}

.problem-card-kicker {
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.problem-card-body {
  padding: 0.78rem 0.82rem 0.9rem;
}

.problem-card-body h3 {
  margin: 0 0 0.38rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
}

.problem-card-body p {
  margin: 0 0 0.64rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.47;
}

.problem-card-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.problem-card-link::after {
  content: " →";
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.location-tile {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.location-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cfd7d5;
}

.location-tile-media {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dcecea 0%, #ecf5f3 100%);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #d4e1de;
}

.location-tile-media span {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7e7e4;
  color: #116d64;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.location-tile-body {
  padding: 0.82rem 0.85rem 0.95rem;
}

.location-tile-body strong {
  display: block;
  margin-bottom: 0.24rem;
  color: var(--text);
  font-size: 1rem;
}

.location-tile-body span {
  display: block;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.location-tile-fallback .location-tile-media {
  background-image:
    linear-gradient(155deg, rgba(8, 38, 42, 0.3), rgba(8, 38, 42, 0.52)),
    url("../images/heroes/montezuma-county.jpg");
  background-size: cover;
  background-position: right center;
  border-bottom-color: #cfd7d5;
}


article header {
  margin-bottom: var(--space-lg);
}

article h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--text);
}

/* Content typography */
.content {
  font-size: 1rem;
}

/* Keep homepage vertical rhythm consistent between hero, intro copy, and sections. */
.home-page > .content {
  margin: var(--space-lg) 0;
}

.home-page > .content p:last-child {
  margin-bottom: 0;
}

.content h1 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: var(--space-lg) 0 0.75rem;
  padding-top: 0.5rem;
}

.content h1:first-child {
  margin-top: 0;
  padding-top: 0;
}

.content h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: var(--space-lg) 0 0.5rem;
  color: var(--text);
  position: relative;
  padding-left: 0.7rem;
}

.content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: #c8d9d6;
}

.content p {
  margin: 0 0 1rem;
}

.content p:has(> strong:first-child) {
  margin: 0 0 0.75rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.content p strong {
  display: inline;
}
.content p > strong:first-child {
  display: block;
  margin-bottom: 0.3rem;
  color: #1f2f35;
  font-size: 0.98rem;
}

/* Speed guide: "Speed by Use" / "How Much You Need by Activity" rows with icons (Font Awesome) */
.content .speed-by-use-section > p {
  position: relative;
}
/* Override card padding so content starts after icon (must beat .content p:has(> strong:first-child)) */
.content .speed-by-use-section > p:not(:first-child) {
  padding-left: calc(0.9rem + 2.25rem + 0.75rem);
}
.speed-by-use-section > p::before {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8f4f3 0%, #dceeea 100%);
  color: var(--accent);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  border: 1px solid rgba(13, 107, 99, 0.12);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0.9rem;
  top: 0.78rem;
  line-height: 1;
  pointer-events: none;
}
/* Intro paragraph: no icon, no extra padding */
.speed-by-use-section > p:first-child::before {
  display: none;
}
.content .speed-by-use-section > p:first-child {
  padding-left: 0.9rem;
}
.speed-by-use-section > p:nth-child(2)::before { content: "\f0e0"; }   /* envelope - email/browsing */
.speed-by-use-section > p:nth-child(3)::before { content: "\f26c"; }   /* tv - streaming */
.speed-by-use-section > p:nth-child(4)::before { content: "\f03d"; }   /* video - video calls */
.speed-by-use-section > p:nth-child(5)::before { content: "\f11b"; }  /* gamepad - gaming */
.speed-by-use-section > p:nth-child(6)::before { content: "\f0b1"; }   /* briefcase - remote work */
.speed-by-use-section > p:nth-child(7)::before { content: "\f0c0"; }   /* users - several people */

.content ul,
.content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.35rem;
}

/* Guide “tip list”: step badges instead of default numbering */
.page-guide .content ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
  counter-reset: step;
}

.page-guide .content ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

/* More space between section header and first quick-win card (match Related Topics) */
.page-guide .content h2 + ol {
  margin-top: 0.75rem;
}

.page-guide .content ol li:last-child {
  margin-bottom: 0;
}

.page-guide .content ol li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.page-guide .content ol li p {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--accent-hover);
}

.content strong {
  font-weight: 600;
}

.content .cta-button,
.content .cta-button:hover {
  color: #fff;
  text-decoration: none;
}

.content table {
  width: 100%;
  margin: 1.1rem 0 1.3rem;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.content thead {
  background: #eef6f5;
}

.content th,
.content td {
  padding: 0.68rem 0.72rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.content tbody tr:nth-child(even) {
  background: #fbfbfa;
}

.content tbody tr:last-child td {
  border-bottom: 0;
}

/* CTA blocks */
.cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta p {
  margin: 0 0 1rem;
}

.cta-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 90px;
  max-width: 100%;
  margin: 0 auto 0.9rem;
}

.cta-final .cta-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
  opacity: 0.98;
}

.cta-problem {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--text);
}

.cta-support {
  margin: 0 0 1rem;
}

.cta-mid {
  margin: var(--space-lg) 0;
}

.cta-final {
  background: linear-gradient(135deg, #0d6b63 0%, #0a524c 100%);
  border: none;
  color: #fff;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.0625rem;
}

.cta-final .cta-problem {
  color: #fff;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.62rem 1.15rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cta-button::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  line-height: 1;
}

.cta-button:hover {
  background: var(--accent-hover);
  color: #fff;
}

.cta-final .cta-button {
  background: #fff;
  color: var(--accent);
}

.cta-final .cta-button::before {
  background: rgba(13, 107, 99, 0.14);
}

.cta-final .cta-button:hover {
  background: var(--bg);
  color: var(--accent-hover);
}

/* Related links */
.related-links {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

.related-links h2 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links li {
  margin: 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.related-links li:last-child {
  border-bottom: none;
}

.related-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9375rem;
}

.related-links a:hover {
  text-decoration: underline;
}

/* TOC (guides) */
.toc {
  margin-bottom: var(--space-lg);
  padding: var(--space);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.toc nav {
  font-size: 0.9375rem;
}

.toc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

/* Top-level TOC: step-style number badges for consistent alignment + styling */
.toc > nav > ul {
  counter-reset: toc;
}

.toc > nav > ul > li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.toc > nav > ul > li:last-child {
  margin-bottom: 0;
}

.toc > nav > ul > li::before {
  counter-increment: toc;
  content: counter(toc);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.toc > nav > ul > li > a {
  flex: 1;
  min-width: 0;
}

.toc ul ul {
  padding-left: 2.1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.toc ul ul li {
  margin-bottom: 0.25rem;
}

.toc ul ul li::before {
  display: none;
}

.toc a {
  color: var(--accent);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* Availability form */
.availability-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
  margin: 0 0 var(--space-lg);
}

.availability-form-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.availability-form-card > p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.availability-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem 0.8rem;
}

.availability-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
}

.availability-form input,
.availability-form select,
.availability-form textarea {
  width: 100%;
  border: 1px solid #d5dfdc;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0.56rem 0.62rem;
  font: inherit;
  font-size: 0.93rem;
  line-height: 1.4;
}

.availability-form input:focus,
.availability-form select:focus,
.availability-form textarea:focus {
  outline: none;
  border-color: #94c0bb;
  box-shadow: 0 0 0 3px rgba(13, 107, 99, 0.12);
}

.availability-form-notes {
  grid-column: 1 / -1;
}

.availability-submit {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.56rem 0.95rem;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.availability-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.check-availability-page > .content {
  margin-bottom: var(--space-lg);
}

.check-availability-page > .content p:first-child {
  margin-bottom: 0.65rem;
  font-size: 1.04rem;
  color: #253735;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 1.6rem 0 1rem;
  border-top: 1px solid #d8e6e3;
  background: linear-gradient(180deg, #f4f8f7 0%, #edf4f2 100%);
  font-size: 0.9rem;
  color: #3d4c4a;
}

.site-footer-inner {
  display: grid;
  gap: 1.15rem;
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: 1rem;
  align-items: start;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: #0d5e56;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.footer-brand-link:hover {
  color: var(--accent);
}

.footer-brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  color: #0d6b63;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-mark img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  color: #4a5a57;
  line-height: 1.55;
}

.footer-links-group h2,
.footer-cta h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 400;
  color: #233734;
}

.footer-links-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.footer-links-group a {
  color: #195f58;
  text-decoration: none;
}

.footer-links-group a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.footer-cta {
  padding: 0;
}

.footer-cta p {
  margin: 0 0 0.7rem;
  color: #3f504d;
  line-height: 1.5;
}

.footer-action {
  width: 100%;
  justify-content: center;
}

.site-footer-bottom {
  border-top: 1px solid #d8e6e3;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #63706d;
}

.footer-al-logo {
  width: 100%;
  text-align: center;
}

.footer-al-logo a {
  display: inline-block;
  line-height: 0;
  color: inherit;
}

.footer-al-logo a:hover {
  text-decoration: none;
}

.footer-al-logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.footer-credit {
  width: 100%;
  text-align: center;
}

.footer-trademarks {
  width: 100%;
  text-align: center;
  margin: 0;
}

.footer-sep {
  color: #9aa8a5;
}

.site-footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-brand-title {
    font-size: 1.35rem;
    white-space: normal;
  }
}

/* Show menu button from 930px down to avoid nav overlapping logo */
@media (max-width: 930px) {
  .site-header-inner {
    padding: 0.5rem 0;
    align-items: center;
    gap: 0.35rem;
  }

  .site-header-actions {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
  }

  .site-nav-desktop,
  .site-header-cta-desktop {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    border: 1px solid #d4e4e0;
    border-radius: 999px;
    padding: 0.3rem 0.62rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1d5f58;
    background: #edf6f5;
    user-select: none;
  }

  .mobile-menu-summary::before {
    content: "☰";
    font-size: 0.86rem;
    line-height: 1;
  }

  .mobile-menu[open] .mobile-menu-summary::before {
    content: "✕";
  }

  .mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(83vw, 20rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 4.4rem 1rem 1rem;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 28px rgba(0, 0, 0, 0.16);
    transform: translateX(102%);
    transition: transform 0.22s ease;
    z-index: 45;
  }

  .mobile-menu[open] .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #d4e4e0;
    border-radius: 999px;
    background: #edf6f5;
    color: #1d5f58;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .mobile-menu-close:hover {
    background: #d4e4e0;
    color: #0b5d55;
  }

  .mobile-menu-nav {
    display: grid;
    gap: 0.2rem;
  }

  .mobile-menu-nav a {
    display: block;
    border: 1px solid #e1ece9;
    border-radius: 10px;
    padding: 0.52rem 0.62rem;
    color: #37504c;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
  }

  .mobile-menu-nav a.is-active {
    background: #eef6f5;
    border-color: #cfe2de;
    color: #0b5d55;
  }

  .mobile-menu-cta {
    width: 100%;
    margin-top: 0.25rem;
  }
}

@media (max-width: 720px) {
  .site-brand-title {
    font-size: 1.05rem;
    white-space: normal;
  }

  .site-brand-subtitle {
    font-size: 0.63rem;
  }

  .page-intro h1 {
    font-size: 1.75rem;
  }

  .page-hero {
    min-height: 12rem;
  }

  .page-hero-inner {
    padding-bottom: 1.1rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .availability-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 1.2rem 0 0.9rem;
  }

  .site-footer-top {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .footer-cta {
    padding: 0.75rem;
  }

  .site-footer-bottom {
    justify-content: flex-start;
  }

  .footer-sep {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-brand-mark {
    width: 1.28rem;
    height: 1.28rem;
  }

  .site-brand-title {
    font-size: 0.95rem;
  }

  .site-brand-subtitle {
    display: none;
  }

  .mobile-menu-panel {
    width: min(88vw, 19rem);
  }
}

/* System stack used; optional Google Fonts loaded via baseof for DM Sans + DM Serif Text */

/* -------------------------------------------------------------------------- */
/* Aspen / Rocky Mountain High Theme Layer                                    */
/* -------------------------------------------------------------------------- */

:root {
  --bg: #f4efe5;
  --card: #fbf8f2;
  --text: #1d2724;
  --text-muted: #576760;
  --accent: #2d5f53;
  --accent-hover: #1f473e;
  --border: #d4c7b3;
  --radius: 12px;
  --content-width: 54rem;
  --shadow-sm: 0 8px 18px rgba(38, 31, 19, 0.06);
  --shadow-md: 0 14px 30px rgba(38, 31, 19, 0.1);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 247, 228, 0.75), transparent 42%),
    radial-gradient(circle at 92% 18%, rgba(215, 233, 228, 0.52), transparent 38%),
    linear-gradient(180deg, #f7f2e8 0%, #f3ede3 48%, #efe8dc 100%);
}

.site-header {
  background: linear-gradient(180deg, rgba(253, 250, 244, 0.95), rgba(247, 240, 227, 0.92));
  border-bottom-color: #cdbba1;
  box-shadow: 0 8px 18px rgba(57, 43, 20, 0.08);
  backdrop-filter: blur(6px);
}

.site-brand-title,
.page-hero h1,
.page-intro h1,
.section-block h2,
article h1,
.content h1,
.content h2,
.related-links h2,
.availability-form-card h2,
.footer-brand-link {
  letter-spacing: 0.01em;
}

.site-brand-subtitle {
  color: #6f7f78;
  letter-spacing: 0.08em;
}

.site-nav a {
  color: #4f5d57;
}

.site-nav a:hover {
  background: #edf2eb;
  border-color: #c2d1c8;
}

.site-nav a.is-active {
  background: #e6eee7;
  border-color: #bed0c2;
  color: #21483f;
}

.site-header-cta,
.cta-button,
.availability-submit {
  background: linear-gradient(180deg, #396d60 0%, #295449 100%);
  box-shadow: 0 10px 20px rgba(27, 52, 44, 0.24);
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover {
  background: linear-gradient(180deg, #2b5a4f 0%, #1f463d 100%);
}

.breadcrumbs-bar {
  background: rgba(251, 247, 239, 0.9);
  border-bottom-color: #cfc1ac;
}

.page-hero {
  min-height: 16rem;
  border-top-color: #bda98d;
  border-bottom-color: #bda98d;
  background-image:
    linear-gradient(to bottom, rgba(29, 41, 45, 0.22), rgba(22, 30, 33, 0.62)),
    url("../images/heroes/montezuma-county.jpg");
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(255, 245, 224, 0.12), transparent 35%),
    repeating-linear-gradient(
      -14deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.03) 14px 16px
    );
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list {
  background: var(--card);
  border-color: #d0c1ac;
  box-shadow: var(--shadow-sm);
}

.section-block h2::after {
  background: linear-gradient(to right, #c9b89d, transparent 72%);
}

.content h2::before {
  background: linear-gradient(180deg, #a48a66, #7a9b8f);
}

.browse-icon,
.speed-by-use-section > p::before {
  background: linear-gradient(135deg, #ede0c8 0%, #e6d5b7 100%);
  border-color: rgba(89, 73, 43, 0.16);
  color: #755b2f;
}

.browse-list a:hover {
  background: #f4eee2;
}

.browse-list a::before {
  background: linear-gradient(180deg, #9a7d52, #6f8f82);
}

.page-list a:hover {
  background: #f4eee2;
}

.problem-card-media {
  border-bottom-color: #c8b79f;
  background-image: linear-gradient(150deg, rgba(56, 41, 21, 0.72), rgba(42, 86, 77, 0.6));
}

.location-tile-media {
  background: linear-gradient(145deg, #e8dbc3 0%, #f1e7d3 100%);
  background-size: cover;
  background-position: right center;
  border-bottom-color: #c8b79f;
}

.location-tile-media span {
  background: rgba(255, 255, 255, 0.86);
  border-color: #ccbaa0;
  color: #6f5632;
}

.content p:has(> strong:first-child) {
  background: #fcf8f0;
}

.content thead {
  background: #efe3cf;
}

.content tbody tr:nth-child(even) {
  background: #faf5ea;
}

.cta-final {
  background:
    linear-gradient(140deg, #1f4238 0%, #2f6558 48%, #3f7e6e 100%);
  box-shadow: 0 16px 32px rgba(24, 45, 38, 0.24);
}

.cta-final .cta-button {
  color: #21473e;
  background: #f8f3e8;
}

.cta-final .cta-button:hover {
  color: #183831;
  background: #ede6d6;
}

.site-footer {
  border-top-color: #c7b79d;
  background:
    linear-gradient(180deg, #efe5d4 0%, #e7dbc8 55%, #dfd1bb 100%);
  color: #3f4a44;
}

.site-footer-bottom {
  border-top-color: #c7b79d;
}

.footer-sep {
  color: #8d7a5c;
}

@media (max-width: 930px) {
  .mobile-menu-summary,
  .mobile-menu-close {
    background: #efe5d3;
    border-color: #c9b79c;
    color: #4f5c55;
  }

  .mobile-menu-panel {
    background: #f8f2e6;
    border-left-color: #c9b79c;
  }
}

@media (max-width: 720px) {
  .page-hero {
    min-height: 13rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Vintage Folk Type Pass                                                     */
/* -------------------------------------------------------------------------- */

:root {
  --bg: #f3ead9;
  --card: #fbf4e8;
  --text: #222018;
  --text-muted: #625947;
  --accent: #3f6a5f;
  --accent-hover: #2b4e45;
  --border: #cdb89c;
}

body {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 224, 167, 0.18), transparent 30%),
    linear-gradient(180deg, #f6efe2 0%, #f1e6d4 48%, #eadcc5 100%);
}

.site-header {
  background: linear-gradient(180deg, rgba(251, 245, 234, 0.95), rgba(245, 234, 216, 0.92));
  border-bottom-color: #c9b392;
}

.site-brand-title,
.page-hero h1,
.page-intro h1,
article h1,
.content h1 {
  font-family: "DM Serif Text", Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
}

.site-brand-title {
  font-size: 1.45rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.45rem);
  letter-spacing: 0.045em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.section-block h2,
.content h2,
.related-links h2,
.availability-form-card h2 {
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-block h2::after {
  background: linear-gradient(to right, #bda17e, transparent 78%);
}

.content h2::before {
  width: 2px;
  background: linear-gradient(180deg, #8a7050, #6e8f82);
}

.site-brand-subtitle {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  color: #7b7869;
}

.site-nav a,
.mobile-menu-nav a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
}

.site-header-cta,
.cta-button,
.availability-submit {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #4b7a6d 0%, #33594f 100%);
  box-shadow: 0 8px 18px rgba(35, 58, 51, 0.22);
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover {
  background: linear-gradient(180deg, #3e685d 0%, #294b42 100%);
}

.page-hero {
  border-top-color: #b9a07d;
  border-bottom-color: #b9a07d;
  background-image:
    linear-gradient(to bottom, rgba(42, 37, 28, 0.22), rgba(24, 27, 30, 0.6)),
    url("../images/heroes/montezuma-county.jpg");
}

.page-hero::after {
  background:
    linear-gradient(to top, rgba(251, 225, 173, 0.12), transparent 38%),
    repeating-linear-gradient(
      -14deg,
      transparent 0 15px,
      rgba(255, 255, 255, 0.025) 15px 17px
    );
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list {
  border-color: #c7b193;
  box-shadow: 0 8px 18px rgba(50, 39, 24, 0.08);
}

.browse-icon,
.speed-by-use-section > p::before {
  background: linear-gradient(135deg, #ecd9bc 0%, #e3cbab 100%);
  border-color: rgba(95, 73, 44, 0.16);
  color: #6a4b27;
}

.browse-list a:hover,
.page-list a:hover {
  background: #f4e9d6;
}

.content p:has(> strong:first-child) {
  background: #fdf7ee;
}

.cta-final {
  background: linear-gradient(145deg, #2f5148 0%, #426c60 52%, #6a8d7b 100%);
}

.site-footer {
  background: linear-gradient(180deg, #efe2cc 0%, #e5d2b2 58%, #dac39e 100%);
  color: #3e3a2b;
}

@media (max-width: 720px) {
  .site-brand-title {
    font-size: 1.05rem;
  }

  .page-hero h1 {
    letter-spacing: 0.03em;
  }
}

/* -------------------------------------------------------------------------- */
/* Vintage Folk Type Boost                                                    */
/* -------------------------------------------------------------------------- */

:root {
  --accent: #2f5d53;
  --accent-hover: #22463f;
  --font-display: "Cormorant Garamond", "DM Serif Text", Georgia, "Times New Roman", serif;
}

body {
  background:
    radial-gradient(circle at 14% 2%, rgba(248, 187, 96, 0.18), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(86, 123, 109, 0.16), transparent 34%),
    linear-gradient(180deg, #f7efdf 0%, #f0e2cb 54%, #e6d2b1 100%);
}

.site-brand-title,
.page-hero h1,
.page-intro h1,
article h1,
.content h1,
.section-block h2,
.content h2,
.related-links h2,
.availability-form-card h2,
.footer-brand-link {
  font-family: var(--font-display);
  color: #26180f;
}

.site-brand-title {
  letter-spacing: 0.03em;
  font-size: 1.55rem;
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 4.1vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255, 236, 199, 0.34),
    0 3px 12px rgba(0, 0, 0, 0.32);
}

.section-block h2,
.content h2,
.related-links h2,
.availability-form-card h2 {
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.section-block h2::after {
  background: linear-gradient(to right, #bc8d59, transparent 80%);
}

.site-nav a,
.mobile-menu-nav a {
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #4d4a3b;
}

.site-nav a:hover,
.mobile-menu-nav a:hover {
  color: #2b3f37;
}

.site-header-cta,
.cta-button,
.availability-submit {
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #fdf5e8;
  background: linear-gradient(180deg, #3e6e62 0%, #2a4f45 100%);
  border: 1px solid rgba(37, 60, 53, 0.35);
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover {
  color: #fff9f0;
  background: linear-gradient(180deg, #355d54 0%, #234139 100%);
}

.page-hero {
  min-height: 16.5rem;
  border-top-color: #a88155;
  border-bottom-color: #a88155;
  background-image:
    radial-gradient(circle at 78% 24%, rgba(242, 170, 80, 0.24), transparent 24%),
    linear-gradient(to bottom, rgba(53, 38, 23, 0.2), rgba(18, 22, 26, 0.64)),
    url("../images/heroes/montezuma-county.jpg");
}

.cta-final {
  background:
    radial-gradient(circle at 78% 14%, rgba(242, 172, 93, 0.22), transparent 34%),
    linear-gradient(142deg, #2b4a41 0%, #3e675c 52%, #6a8f7b 100%);
}

.site-footer {
  background:
    linear-gradient(180deg, #eddcbe 0%, #e2ca9f 58%, #d5b483 100%);
}

@media (max-width: 720px) {
  .site-brand-title {
    font-size: 1.08rem;
  }

  .page-hero h1 {
    font-size: 1.95rem;
    letter-spacing: 0.05em;
  }

  .section-block h2,
  .content h2,
  .related-links h2,
  .availability-form-card h2 {
    font-size: 1.03rem;
    letter-spacing: 0.1em;
  }
}

/* -------------------------------------------------------------------------- */
/* Header + Hero readability fixes                                            */
/* -------------------------------------------------------------------------- */

.page-hero {
  background-image:
    radial-gradient(circle at 78% 24%, rgba(242, 170, 80, 0.2), transparent 24%),
    linear-gradient(to bottom, rgba(49, 34, 21, 0.38), rgba(14, 18, 22, 0.72)),
    url("../images/heroes/montezuma-county.jpg");
}

.page-hero h1 {
  color: #fff4de;
  max-width: 32ch;
  line-height: 1.12;
  text-shadow:
    0 1px 0 rgba(49, 34, 19, 0.42),
    0 4px 18px rgba(0, 0, 0, 0.44);
}

@media (min-width: 721px) {
  .site-header-inner {
    gap: 0.55rem;
  }

  .site-header-actions {
    gap: 0.35rem;
    min-width: 0;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 0.2rem;
  }

  .site-nav a {
    white-space: nowrap;
    letter-spacing: 0.045em;
    padding: 0.24rem 0.42rem;
  }

  .site-header-cta {
    white-space: nowrap;
    font-size: 0.74rem;
    letter-spacing: 0.055em;
    padding: 0.38rem 0.62rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Dreamy mountain night palette                                              */
/* -------------------------------------------------------------------------- */

:root {
  --bg: #121a29;
  --card: #1a2536;
  --text: #e7edf7;
  --text-muted: #aab8ce;
  --accent: #56bdcf;
  --accent-hover: #7ad3e2;
  --border: #31435c;
  --shadow-sm: 0 10px 24px rgba(5, 10, 19, 0.34);
  --shadow-md: 0 16px 34px rgba(4, 9, 17, 0.44);
}

body {
  background:
    radial-gradient(circle at 18% 6%, rgba(109, 153, 210, 0.14), transparent 28%),
    radial-gradient(circle at 83% 10%, rgba(92, 186, 204, 0.12), transparent 30%),
    linear-gradient(180deg, #0d1627 0%, #0d1728 52%, #0a1220 100%);
  color: var(--text);
}

.site-header {
  background: rgba(13, 22, 36, 0.92);
  border-bottom-color: #2d3f59;
  box-shadow: 0 10px 22px rgba(5, 10, 18, 0.42);
}

.site-brand-title,
.site-brand-subtitle {
  color: #e2e9f5;
}

.site-brand-subtitle {
  opacity: 0.82;
}

.site-nav a {
  color: #c3cfdf;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #dff7fb;
  background: rgba(86, 189, 207, 0.14);
  border-color: rgba(103, 203, 218, 0.32);
}

.site-header-cta,
.cta-button,
.availability-submit {
  color: #092130;
  background: #67c9da;
  border-color: rgba(152, 230, 241, 0.34);
  box-shadow: 0 10px 22px rgba(18, 86, 104, 0.3);
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover {
  color: #051923;
  background: #7ad6e4;
}

.breadcrumbs-bar {
  background: rgba(13, 23, 38, 0.86);
  border-bottom-color: #2d3f59;
}

.breadcrumbs,
.breadcrumbs li:last-child span {
  color: #b7c5d9;
}

.breadcrumbs a {
  color: #80d6e5;
}

.page-hero {
  background-image:
    linear-gradient(to bottom, rgba(8, 17, 29, 0.44), rgba(5, 10, 18, 0.78)),
    url("../images/heroes/montezuma-county.jpg");
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 18%, rgba(101, 201, 213, 0.16), transparent 38%),
    radial-gradient(ellipse at 28% 14%, rgba(139, 167, 220, 0.14), transparent 36%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 26% 12%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.7px),
    radial-gradient(circle at 43% 8%, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle at 57% 16%, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.7px),
    radial-gradient(circle at 74% 10%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 89% 22%, rgba(255, 255, 255, 0.56) 0 1px, transparent 1.8px);
  opacity: 0.56;
}

.page-hero h1 {
  color: #f2f8ff;
  text-shadow:
    0 1px 0 rgba(12, 21, 34, 0.42),
    0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list {
  background: #162133;
  border-color: #30425b;
}

.content p:has(> strong:first-child),
.content table,
.content thead,
.content tbody tr:nth-child(even) {
  background: #1a2536;
}

.content th,
.content td,
.browse-list li,
.page-list li,
.related-links li {
  border-color: #2d3f59;
}

.content h1,
.content h2,
.section-block h2,
.related-links h2,
.availability-form-card h2,
.location-tile-body strong {
  color: #eff4fc;
}

.content p,
.content li,
.location-tile-body span,
.card-link span,
.problem-card-body p,
.footer-brand p,
.footer-cta p {
  color: #aec0d7;
}

.browse-list a:hover,
.page-list a:hover {
  background: rgba(86, 189, 207, 0.12);
}

.cta-final {
  background: #233b57;
}

.site-footer {
  background: #0c1524;
  border-top-color: #2d3f59;
  color: #b6c4d8;
}

.footer-links-group h2,
.footer-cta h2,
.footer-brand-link {
  color: #e7eef9;
}

.footer-links-group a,
.site-footer-bottom a {
  color: #8fdded;
}

.footer-links-group a:hover,
.site-footer-bottom a:hover {
  color: #b9f2fb;
}

.site-footer-bottom {
  border-top-color: #2d3f59;
}

.footer-sep {
  color: #5e7596;
}

@media (max-width: 930px) {
  .mobile-menu-summary,
  .mobile-menu-close {
    background: #162335;
    border-color: #35506f;
    color: #d3e0f0;
  }

  .mobile-menu-panel {
    background: #101b2b;
    border-left-color: #2d3f59;
  }

  .mobile-menu-nav a {
    color: #c7d4e7;
    border-color: #2d3f59;
    background: #152236;
  }
}

@media (max-width: 720px) {
  .mobile-menu-summary,
  .mobile-menu-close {
    background: #162335;
    border-color: #35506f;
    color: #d3e0f0;
  }

  .mobile-menu-panel {
    background: #101b2b;
    border-left-color: #2d3f59;
  }

  .mobile-menu-nav a {
    color: #c7d4e7;
    border-color: #2d3f59;
    background: #152236;
  }
}

/* -------------------------------------------------------------------------- */
/* Starry Colorado night tuning                                               */
/* -------------------------------------------------------------------------- */

:root {
  --bg: #0b1422;
  --card: #142133;
  --text: #e5edf8;
  --text-muted: #a4b4ca;
  --accent: #8bbcc8;
  --accent-hover: #a6ccd6;
  --border: #273a54;
}

body {
  background-color: #0b1422;
  background-image:
    radial-gradient(circle, rgba(226, 238, 255, 0.5) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(210, 226, 248, 0.34) 1px, transparent 1.7px),
    linear-gradient(180deg, #0b1422 0%, #0a1320 52%, #08111d 100%);
  background-size: 170px 170px, 240px 240px, 100% 100%;
  background-position: 0 0, 85px 120px, 0 0;
}

.site-header {
  background: rgba(12, 20, 33, 0.95);
  box-shadow: 0 6px 14px rgba(4, 8, 14, 0.3);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(139, 188, 200, 0.1);
  border-color: rgba(139, 188, 200, 0.24);
}

.site-header-cta,
.cta-button,
.availability-submit {
  background: #8bbcc8;
  color: #0a1a24;
  box-shadow: none;
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover {
  background: #9ec8d2;
  color: #07161f;
}

.page-hero {
  background-image:
    linear-gradient(to bottom, rgba(9, 17, 29, 0.42), rgba(5, 10, 18, 0.8)),
    url("../images/heroes/montezuma-county.jpg");
}

.page-hero::before {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(108, 169, 198, 0.11), transparent 40%),
    radial-gradient(ellipse at 25% 14%, rgba(158, 177, 223, 0.09), transparent 38%);
}

.page-hero::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(220, 234, 255, 0.46) 1px, transparent 1.8px);
  background-size: 150px 150px, 220px 220px;
  background-position: 0 0, 70px 100px;
  opacity: 0.72;
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list,
.content p:has(> strong:first-child),
.content table,
.content thead,
.content tbody tr:nth-child(even) {
  background: #142133;
}

/* Problems index intro should render as plain body copy (no card treatment). */
.section-page-problems .page-intro {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.section-page-problems .page-intro .content p:has(> strong:first-child) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Footer links match surrounding copy color exactly */
.site-footer .footer-links-group a,
.site-footer .footer-links-group a:visited,
.site-footer .site-footer-bottom a,
.site-footer .site-footer-bottom a:visited {
  color: #aec0d7 !important;
  text-decoration-color: rgba(174, 192, 215, 0.85);
}

.site-footer .footer-links-group a:hover,
.site-footer .site-footer-bottom a:hover {
  color: #aec0d7 !important;
  text-decoration-color: rgba(174, 192, 215, 1);
}

/* Popular support topics links match normal text tone */
.page-list a,
.page-list a:visited {
  color: var(--text) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(231, 237, 243, 0.72);
}

.page-list a:hover {
  color: var(--text) !important;
  text-decoration-color: rgba(231, 237, 243, 0.95);
}

/* FAQ and other section-page heading contrast in dark theme */
.section-page .content h2 {
  color: var(--text) !important;
}

.section-page .content p > strong:first-child {
  color: var(--text) !important;
}

.page-shell .content p > strong:first-child {
  color: var(--text) !important;
}

/* High contrast for copy rendered directly on page background */
.page-shell .content > p,
.page-shell .content > ul > li,
.page-shell .content > ol > li,
.section-page .content > p,
.section-page .content > ul > li,
.section-page .content > ol > li,
.home-page > .content > p,
.home-page > .content > ul > li,
.home-page > .content > ol > li {
  color: #e7edf3 !important;
}

/* TOC text should read like body copy, not accent links */
.toc,
.toc nav,
.toc li,
.toc a,
.toc a:visited,
.toc a:hover {
  color: #e7edf3 !important;
  text-decoration-color: rgba(231, 237, 243, 0.82);
}

/* Footer: all copy + links white */
.site-footer,
.site-footer p,
.site-footer h2,
.site-footer li,
.site-footer .footer-brand-link,
.site-footer .footer-brand p,
.site-footer .footer-links-group a,
.site-footer .footer-links-group a:visited,
.site-footer .site-footer-bottom,
.site-footer .site-footer-bottom a,
.site-footer .site-footer-bottom a:visited,
.site-footer .footer-credit,
.site-footer .footer-trademarks {
  color: #e7edf3 !important;
}

.site-footer .footer-links-group a:hover,
.site-footer .site-footer-bottom a:hover {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.95);
}

.site-footer .footer-sep {
  color: rgba(231, 237, 243, 0.72) !important;
}

/* CTA copy on dark cards should be white */
.cta p,
.cta .cta-problem,
.cta .cta-support,
.cta p strong,
.cta p span {
  color: #e7edf3 !important;
}

/* -------------------------------------------------------------------------- */
/* Single accent blue unification                                             */
/* -------------------------------------------------------------------------- */

:root {
  --accent: rgb(79, 181, 191);
  --accent-hover: rgb(79, 181, 191);
  --bg: #0b0f14;
  --card: #151a22;
  --border: #2a323d;
  --text: #e7edf3;
  --text-muted: #a6b0bc;
}

body {
  background-color: #0b0f14;
}

.site-header-cta,
.cta-button,
.availability-submit,
.cta-final .cta-button,
.footer-action {
  background: rgb(79, 181, 191) !important;
  border-color: rgb(79, 181, 191) !important;
  color: #0b1218 !important;
}

.site-header-cta:hover,
.cta-button:hover,
.availability-submit:hover,
.cta-final .cta-button:hover,
.footer-action:hover {
  background: rgb(79, 181, 191) !important;
  border-color: rgb(79, 181, 191) !important;
  color: #0b1218 !important;
  filter: brightness(1.04);
}

.site-nav a:hover,
.site-nav a.is-active,
.browse-list a:hover,
.page-list a:hover {
  border-color: rgba(79, 181, 191, 0.42);
  background: rgba(79, 181, 191, 0.1);
}

.content a,
.breadcrumbs a,
.footer-links-group a,
.site-footer-bottom a,
.related-links a,
.problem-card-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(231, 237, 243, 0.7);
}

.content a:hover,
.breadcrumbs a:hover,
.footer-links-group a:hover,
.site-footer-bottom a:hover,
.related-links a:hover,
.problem-card-link:hover {
  color: var(--text);
  text-decoration-color: rgba(231, 237, 243, 0.95);
}

.site-footer,
.breadcrumbs-bar,
.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list,
.content p:has(> strong:first-child),
.content table,
.content thead,
.content tbody tr:nth-child(even) {
  background: #151a22;
  border-color: #2a323d;
}

.browse-list a:hover,
.page-list a:hover {
  background: rgba(139, 188, 200, 0.08);
}

.cta-final {
  background: #1c324a;
}

.site-footer {
  background: #0a1220;
}

/* -------------------------------------------------------------------------- */
/* Site background: night mountain + Milky Way                               */
/* -------------------------------------------------------------------------- */

body {
  background-color: #0b1422;
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 10, 18, 0.82) 0%,
      rgba(5, 9, 16, 0.76) 46%,
      rgba(4, 8, 14, 0.88) 100%
    ),
    url("../images/heroes/check-availability.png");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center 30%, center 30%;
  background-attachment: fixed, fixed;
}

@media (max-width: 768px) {
  body {
    background-position: center 25%, center 25%;
  }
}

@media (max-width: 480px) {
  body {
    background-attachment: scroll, scroll;
    background-position: center top, center top;
  }
}

@media (max-width: 930px) {
  .mobile-menu-summary,
  .mobile-menu-close {
    background: #162335;
    border-color: #35506f;
    color: #d3e0f0;
  }

  .mobile-menu-panel {
    background: #101b2b;
    border-left-color: #2d3f59;
  }

  .mobile-menu-nav a {
    color: #c7d4e7;
    border-color: #2d3f59;
    background: #152236;
  }
}

.page-hero::after {
  display: none;
}

.page-hero::before {
  background:
    radial-gradient(ellipse at 68% 18%, rgba(92, 149, 178, 0.08), transparent 42%),
    radial-gradient(ellipse at 28% 14%, rgba(130, 151, 196, 0.07), transparent 40%);
}

.page-shell > header,
.home-page .page-intro,
.section-page .page-intro,
.cta,
.related-links,
.toc,
.availability-form-card,
.card-link,
.problem-card,
.location-tile,
.browse-list,
.page-list,
.content p:has(> strong:first-child),
.content table,
.content thead,
.content tbody tr:nth-child(even) {
  background: #142133;
}

/* Keep the homepage hero title on fewer lines. */
.home-page .page-hero h1 {
  max-width: 40ch;
  line-height: 1.08;
  text-wrap: balance;
}

.is-home .page-hero {
  margin-bottom: 0.6rem;
}

.is-home .site-main {
  padding-top: 0.35rem;
}
