/* Hello New Braunfels — hand-written CSS, no framework.
   Design language: Inter body / Outfit display, Google-blue palette, pill buttons, soft cards. */

:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --blue-soft: #e8f0fe;
  --ink: #202124;
  --gray: #5f6368;
  --gray-light: #f8f9fa;
  --border: #e5e7eb;
  --border-light: #f1f3f4;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px rgba(60, 64, 67, 0.06);
  --shadow-md: 0 4px 12px rgba(60, 64, 67, 0.12);
  --shadow-lg: 0 10px 30px rgba(26, 115, 232, 0.18);
  --radius-card: 1rem;
  --radius-big: 1.5rem;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.narrow {
  max-width: 46rem;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo span {
  color: var(--blue);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
  border: none;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-primary .arrow {
  transition: transform 0.15s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--border);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-secondary:hover {
  border-color: var(--blue);
}

.btn-small {
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* Filter chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.chip {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.chip:hover {
  background: var(--gray-light);
  text-decoration: none;
}

.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---------- Photo hero ---------- */

.photo-hero {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.photo-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 30, 66, 0.35) 0%, rgba(9, 30, 66, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  max-width: 56rem;
  margin: 1.75rem auto 0;
  text-shadow: 0 2px 18px rgba(9, 30, 66, 0.45);
}

.hero-content h1 span {
  color: #fbbc04;
}

.hero-content .sub {
  font-size: 1.2rem;
  color: #e8f0fe;
  max-width: 40rem;
  margin: 1.5rem auto 0;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(9, 30, 66, 0.5);
}

.hero-content .actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.pill-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--blue);
  color: #e8f0fe;
  padding: 1rem 0;
}

.stats-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  justify-content: center;
  font-size: 0.95rem;
}

.stats-bar strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-right: 0.3rem;
}

/* ---------- Photo band ---------- */

.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.photo-band figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}

.photo-band figure:nth-child(even) {
  transform: translateY(1.25rem);
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-band figure:hover img {
  transform: scale(1.04);
}

.photo-band figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0.9rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(9, 30, 66, 0.75));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 40rem) {
  .photo-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Warm cream section ---------- */

.section-cream {
  background: #fdf6ec;
  margin-top: 5rem;
  padding: 4rem 0;
}

.photo-band-wrap {
  overflow: visible;
  padding-bottom: 1.5rem;
}

/* ---------- Team docs ---------- */

.team-doc h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.6em;
}

.team-doc blockquote {
  margin: 1em 0;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  border-left: 4px solid var(--blue);
  border-radius: 0 0.6rem 0.6rem 0;
}

.team-doc code {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  padding: 0.08rem 0.35rem;
  font-size: 0.88em;
}

.team-doc hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.md-table {
  overflow-x: auto;
  margin: 1.25rem 0;
}

.md-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}

.md-table th,
.md-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.md-table th {
  background: var(--gray-light);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- Team copy library ---------- */

.copy-block {
  margin: 0.75rem 0;
}

.copy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.copy-btn {
  border: 1px solid var(--blue);
  background: var(--accent);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.copy-block pre {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  white-space: pre-wrap;
  margin: 0;
}

/* ---------- Faces of NB ---------- */

.face-card .face-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.face-card .excerpt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.face-hero {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin: 0 0 2rem;
}

.face-interview h2 {
  font-size: 1.15rem;
  color: var(--blue);
  margin: 2em 0 0.5em;
}

/* ---------- River ribbon ---------- */

.river-ribbon {
  background: #e8f0fe;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.river-ribbon .asof {
  color: var(--gray);
  font-size: 0.8rem;
}

/* ---------- Welcome note ---------- */

.welcome-note {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.7;
}

.welcome-note .howdy {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.welcome-note .signature {
  color: var(--gray);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.byline {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 0.25rem 0 0.5rem;
}

.signature {
  color: var(--gray);
}

/* ---------- Community footer ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.made-with {
  color: var(--blue);
  font-weight: 600;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col h4 {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
}

@media (max-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer photo credits ---------- */

.photo-credits {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 0.8;
}

.photo-credits a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 6rem 0 5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 56rem;
  margin: 2rem auto 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero .sub {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 40rem;
  margin: 2rem auto 0;
  line-height: 1.65;
}

.hero .actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

/* ---------- Sections ---------- */

.section {
  margin-top: 5rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0;
}

.section-head .more {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Card grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card .thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.card .body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .when {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.card h3 a {
  color: var(--ink);
}

.card .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--gray);
  font-size: 0.88rem;
}

.card .meta .price {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.card .excerpt {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 0;
}

.card.premium {
  border-color: var(--blue);
}

.card.super {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, #fbbc04, #1a73e8) border-box;
  box-shadow: 0 6px 24px rgba(26, 115, 232, 0.18);
}

/* Super Premium: full-width horizontal card with logo */
.card.super-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.card.super-wide .biz-logo {
  flex-shrink: 0;
  width: 12rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.super-wide .biz-logo img {
  width: 100%;
  height: auto;
}

.card.super-wide h3 {
  font-size: 1.35rem;
}

.card.super-wide .meta {
  margin-top: 0.75rem;
  justify-content: flex-start;
  gap: 1.5rem;
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--gray);
}

@media (max-width: 40rem) {
  .card.super-wide {
    flex-direction: column;
    align-items: stretch;
  }

  .card.super-wide .biz-logo {
    width: 10rem;
    margin: 0 auto;
    padding-bottom: 0;
  }
}

/* Inline tier pill — sits in the card flow so it never overlaps the title */
.tier-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.tier-pill.tier-super {
  background: linear-gradient(135deg, #f9ab00, #fbbc04);
  color: #202124;
}

/* Photo collage on business pages */
.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 9rem;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.collage img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 40rem) {
  .collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 7.5rem;
  }
}

/* Social links */
.socials {
  display: flex;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}

.socials a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.socials a:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}

/* Google Business Profile card */
.gbp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.gbp-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gbp-rating {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9ab00;
}

.gbp-count {
  color: var(--gray);
  font-weight: 500;
}

.gbp-link {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
}

.gbp-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.gbp-reviews blockquote {
  margin: 0;
  padding: 1rem;
  background: var(--gray-light);
  border-radius: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.gbp-reviews .stars {
  display: block;
  color: #f9ab00;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
}

.gbp-reviews p {
  margin: 0;
}

/* Trusted badge panel + embed code */
.badge-panel .trust-badge {
  margin: 0 auto 1rem;
  width: 10rem;
  height: auto;
}

.embed-code {
  text-align: left;
  background: var(--ink);
  color: #e8f0fe;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin: 1.5rem auto 0;
  max-width: 40rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.6;
}

.embed-code code {
  font-family: var(--font-mono), ui-monospace, monospace;
  white-space: pre;
}

/* Services catalog on business pages */
.services-title {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.service-group {
  margin: 0;
}

.service-group h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  color: var(--blue);
}

.service-group ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--gray);
}

.service-group li {
  margin-bottom: 0.35rem;
}

/* Trade chips — which industry spot a business holds */
.trade-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
}

.trade-chip {
  display: inline-block;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Business detail header with logo — stacked and centered */
.biz-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-top: 1rem;
}

.biz-logo-lg {
  width: 11rem;
  height: auto;
  margin-inline: auto;
}

/* ---------- Day groups (events page) ---------- */

.day-group {
  margin-bottom: 3rem;
}

.day-group > h2 {
  font-size: 1.35rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

/* ---------- Page headers ---------- */

.page-head {
  padding: 4.5rem 0 2.5rem;
}

.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
}

.page-head .sub {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 44rem;
}

.crumb {
  font-size: 0.9rem;
  color: var(--gray);
}

/* When body copy directly follows a page header, close the double gap
   (header bottom padding + paragraph margin) */
.page-head + .prose {
  margin-top: -1.5rem;
}

.page-head .sub {
  margin-bottom: 0;
}

/* ---------- Article / guide prose ---------- */

.prose {
  font-size: 1.05rem;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 2.25em 0 0.6em;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.75em 0 0.5em;
}

.prose ul {
  padding-left: 1.4rem;
  margin: 0 0 1.25em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose img {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* ---------- Detail info card ---------- */

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem 2rem;
  margin: 0;
}

.info-card dt {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.info-card dd {
  margin: 0.1rem 0 0;
}

/* ---------- Feature panel (directory teaser) ---------- */

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-big);
  background: var(--gray-light);
  padding: 3rem 2rem;
  text-align: center;
}

.panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.panel .sub {
  color: var(--gray);
  max-width: 36rem;
  margin: 0.75rem auto 0;
}

.panel .links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.panel .links a {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.panel .links a:hover {
  background: var(--gray-light);
  text-decoration: none;
}

.panel .btn {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--gray);
}

.site-footer a:hover {
  color: var(--ink);
}

/* ---------- Small screens ---------- */

@media (max-width: 40rem) {
  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
