.geometric-bg {
  background-image:
    linear-gradient(rgba(125, 88, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 88, 0, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
}

.site-geometry {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.site-geometry::before,
.site-geometry::after {
  border: 1px solid rgba(96, 95, 82, 0.09);
  content: "";
  height: 420px;
  position: absolute;
  transform: rotate(18deg);
  width: 420px;
}

.site-geometry::before {
  left: -150px;
  top: 100px;
}

.site-geometry::after {
  bottom: 60px;
  right: -150px;
}

.soft-gradient {
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 190, 89, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(161, 143, 175, 0.16), transparent 26%),
    var(--surface);
}

.page-hero {
  padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 8vw, 96px);
}

.page-hero.center {
  text-align: center;
}

.page-hero.center .lead {
  margin-inline: auto;
  max-width: 780px;
}

.treatment-pill {
  background: var(--surface-low);
  border: 1px solid rgba(202, 198, 188, 0.75);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px 14px;
}

.quote-block {
  border-left: 2px solid var(--gold-bright);
  color: var(--primary);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  padding-left: 28px;
}

.cta-panel {
  background: var(--ink);
  border-radius: 24px;
  color: var(--surface);
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  position: relative;
}

.cta-panel::after {
  border: 1px solid rgba(253, 248, 246, 0.16);
  border-radius: 50%;
  content: "";
  height: 360px;
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.two-column-list {
  columns: 2;
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
}

.two-column-list li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.testimonial-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(202, 198, 188, 0.5);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.testimonial p:first-child {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.45;
}

/* Reserve header height while include loads to prevent layout shift */
#site-header:empty {
  height: 80px;
}

/* --- Gold accent divider --- */
.accent-divider {
  background: var(--color-gold);
  border: 0;
  height: 2px;
  margin: 0 auto;
  width: 60px;
}

/* --- Scrolling testimonials wrapper --- */
.testimonial-scroll-outer {
  overflow: hidden;
}

.testimonial-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.testimonial-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-wide {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(202, 198, 188, 0.5);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  min-width: 360px;
  padding: 32px;
}

.testimonial-wide p:first-child {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonial-author {
  align-items: center;
  display: flex;
  gap: 12px;
}

.testimonial-avatar {
  background: var(--surface-mid);
  border-radius: 50%;
  flex-shrink: 0;
  height: 42px;
  width: 42px;
}

.testimonial-author-name {
  font-weight: 700;
}

.testimonial-author-since {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-card {
  background: var(--surface-mid);
  border: 1px solid var(--outline);
  border-radius: 18px;
  display: grid;
  min-height: 360px;
  place-items: center;
  text-align: center;
}

.blog-page {
  padding: clamp(80px, 9vw, 136px) 0 clamp(56px, 7vw, 96px);
}

.blog-hero {
  padding-top: 0;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(28px, 5vw, 56px);
  justify-content: center;
  margin: 0 0 clamp(52px, 7vw, 84px);
}

.filter-button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 0 0 9px;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-card {
  cursor: pointer;
  display: grid;
  gap: 18px;
}

.blog-card.is-hidden {
  display: none;
}

.blog-card-media {
  aspect-ratio: 4 / 5;
  background: var(--surface-mid);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.blog-card:hover .blog-card-media {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.blog-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card h3 {
  transition: color 180ms ease;
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(48px, 7vw, 80px);
}

.page-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--outline);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.page-button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 980px) {
  .testimonial-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .two-column-list {
    columns: 1;
  }
}
