/* =========================================================
   Stablemate — Editorial thoroughbred aesthetic
   Cream parchment + ink + racing green + brass
   ========================================================= */

:root {
  /* Surfaces */
  --cream: #F8F5EE;
  --cream-soft: #F2EEE3;
  --white: #FFFFFF;

  /* Ink + text */
  --ink: #1A1612;
  --ink-soft: #2A241D;
  --muted: #6B635A;
  --hint: #9C9388;

  /* Lines + accents */
  --hairline: #E8E2D4;
  --hairline-strong: #D4CCB8;
  --green: #1F3A2E;          /* racing green */
  --green-deep: #14271F;
  --brass: #A88B5C;
  --brass-soft: #C8B189;

  /* Type stacks */
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.005em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

p { margin: 0 0 1em; }
em, .italic { font-style: italic; }

/* ============ LAYOUT ============ */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(36px, 5vw, 72px) 0; }
.section--cream-soft { background: var(--cream-soft); }
.section--green { background: var(--green); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--cream); }
.section--green .lead { color: rgba(248, 245, 238, 0.8); }
.section--green .eyebrow { color: var(--brass-soft); }

.divider-top { border-top: 1px solid var(--hairline); }
.divider-bot { border-bottom: 1px solid var(--hairline); }

/* ============ NAV ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
}
.brand__icon {
  width: 36px;
  height: 36px;
  display: block;
  flex: none;
  transition: transform 0.3s ease;
}
.brand:hover .brand__icon {
  transform: rotate(-5deg);
}
.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__est {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--green); }
.nav__links a.active { color: var(--green); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 1px;
  background: var(--green);
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__inner .btn { font-size: 13px; padding: 8px 14px; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-1px); }

.btn--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn--cream:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.btn--lg { padding: 14px 28px; font-size: 15px; }

.btn .arr { display: inline-block; transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ============ HERO ============ */

.hero {
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 100px);
  position: relative;
}

.hero__eyebrow { margin-bottom: 24px; display: block; }

.hero h1 { margin-bottom: 24px; max-width: 14ch; text-wrap: balance; }
.hero h1 .em { color: var(--green); font-weight: 500; }

.hero__lead { margin-bottom: 36px; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero ornament: horse-globe brand mark with tagline */
.hero__mark {
  position: absolute;
  top: clamp(80px, 12vw, 140px);
  right: var(--gutter);
  width: clamp(180px, 22vw, 320px);
  pointer-events: none;
  text-align: center;
}
.hero__mark-circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(31, 58, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__mark-circle::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(31, 58, 46, 0.1);
}
.hero__mark-icon {
  width: 75%;
  height: auto;
  position: relative;
  z-index: 1;
}
.hero__mark-tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.08em;
  color: var(--muted);
}
@media (max-width: 820px) {
  .hero__mark { display: none; }
}

/* ============ PULL QUOTE ============ */

.pull {
  background: var(--cream-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pull__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  text-align: center;
}
.pull__eyebrow { display: block; margin-bottom: 28px; }
.pull__quote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
}
.pull__cite {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.pull__cite strong { color: var(--ink); font-weight: 500; }

/* ============ CLIENT STRIP ============ */

.clients {
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}
.clients__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.clients__label {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.clients__list span { white-space: nowrap; opacity: 0.8; }

/* ============ FEATURE GRID ============ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 56px;
}
.feature {
  background: var(--cream);
  padding: clamp(28px, 3.5vw, 40px);
  transition: background 0.25s ease;
}
.feature:hover { background: var(--white); }
.feature__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--green);
}
.feature__title {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.feature__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ============ STATS STRIP ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--cream-soft);
}
.stats__item {
  padding: clamp(36px, 5vw, 56px) var(--gutter);
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--green);
  margin: 0 0 10px;
}
.stats__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid var(--hairline); }
  .stats__item:last-child { border-bottom: none; }
}

/* ============ CTA BLOCK ============ */

.cta-block {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) var(--gutter);
}
.cta-block h2 { margin: 0 auto 16px; max-width: 18ch; }
.cta-block p { color: var(--muted); margin-bottom: 32px; }

/* ============ DEEP FEATURE SECTIONS (platform.html) ============ */

.deep {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--hairline);
}
.deep__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 820px) {
  .deep__grid { grid-template-columns: 1fr; }
}
.deep__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.deep h2 { margin-bottom: 20px; }
.deep__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--hairline);
}
.deep__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.deep__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  transform: translateY(-2px);
}

/* ============ CURRENCY SWITCHER ============ */

.currency-switcher {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 32px;
  padding: 4px;
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  background: var(--white);
}
.currency-switcher button {
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: 0;
}
.currency-switcher button:hover {
  color: var(--ink);
  background: var(--cream-soft);
}
.currency-switcher button.active {
  background: var(--ink);
  color: var(--cream);
}
.currency-switcher button.active:hover {
  background: var(--green);
  color: var(--cream);
}

/* ============ PRICING TIERS ============ */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  margin-top: 64px;
}
@media (max-width: 880px) {
  .tiers { grid-template-columns: 1fr; }
}
.tier {
  background: var(--cream);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
}
.tier--feature {
  background: var(--white);
  position: relative;
}
.tier--feature::before {
  content: "Most popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
}
.tier__name {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tier__sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  min-height: 40px;
}
.tier__price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}
.tier__price small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}
.tier__period {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 28px;
}
.tier__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  border-top: 1px solid var(--hairline);
}
.tier__list li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tier__list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 500;
  flex: none;
}
.tier__cta { width: 100%; justify-content: center; }

/* ============ FAQ ============ */

.faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============ FOOTER ============ */

.foot {
  background: var(--green);
  color: rgba(248, 245, 238, 0.78);
  padding: clamp(56px, 7vw, 80px) 0 32px;
  font-size: 14px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 720px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.foot__brand { color: var(--cream); }
.foot__brand .brand__name { color: var(--cream); }
.foot__brand .brand__est { color: var(--brass-soft); }
.foot__brand p { margin-top: 16px; max-width: 28ch; line-height: 1.6; color: rgba(248, 245, 238, 0.7); }

.foot h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { color: rgba(248, 245, 238, 0.78); transition: color 0.18s; }
.foot ul a:hover { color: var(--cream); }

.foot__bottom {
  border-top: 1px solid rgba(248, 245, 238, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(248, 245, 238, 0.55);
}

/* ============ UTILS ============ */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 56px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.mb-4 { margin-bottom: 56px; }

/* ============ ANIMATION ============ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .hero__lead, .hero .hero__ctas {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero .hero__eyebrow { animation: fadeUp 0.5s both; }
.hero .hero__lead { animation-delay: 0.1s; }
.hero .hero__ctas { animation-delay: 0.2s; }

/* ============ COOKIE CONSENT BANNER ============ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 20px 24px;
  z-index: 100;
  animation: slideUp 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(248, 245, 238, 0.85);
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 2px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.cookie-banner__btn:hover {
  background: var(--brass);
  border-color: var(--brass);
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248, 245, 238, 0.3);
}
.cookie-banner__btn--ghost:hover {
  background: rgba(248, 245, 238, 0.1);
  border-color: rgba(248, 245, 238, 0.6);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ============ SOCIAL ICONS ============ */

/* Contact page sidebar — social row */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink-soft);
  transition: all 0.18s ease;
}
.social-icon:hover {
  color: var(--cream);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}
.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Footer — social row */
.foot__social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.foot__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(248, 245, 238, 0.18);
  color: rgba(248, 245, 238, 0.75);
  transition: all 0.18s ease;
}
.foot__social-icon:hover {
  color: var(--cream);
  background: rgba(248, 245, 238, 0.08);
  border-color: rgba(248, 245, 238, 0.45);
}
.foot__social-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

/* ============ DOC PAGES (legal / accessibility long-form) ============ */

.doc-page {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.doc-page h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.doc-page h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.doc-page h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 8px;
}
.doc-page p { margin: 0 0 16px; }
.doc-page ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.doc-page ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.doc-page ul li::marker { color: var(--brass); }
.doc-page a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.doc-page a:hover { color: var(--ink); }
.doc-page strong { color: var(--ink); font-weight: 500; }
.doc-page code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.92em;
  background: var(--cream-soft);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ============ MODULE CATALOG ============ */

.catalog-cat {
  margin-bottom: 64px;
}
.catalog-cat:last-child {
  margin-bottom: 0;
}
.catalog-cat__header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.catalog-cat__header h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
  color: var(--ink);
}
.catalog-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.catalog-mod {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.catalog-mod:hover {
  border-color: var(--brass);
  transform: translateY(-1px);
}
.catalog-mod h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.catalog-mod p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.catalog-mod--note {
  background: var(--cream-soft);
  border-style: dashed;
}
.catalog-mod--note h4 {
  font-style: italic;
  color: var(--green);
}

/* "Plus N more modules" tagline below feature grids */
.features__more {
  text-align: center;
  margin: 36px auto 0;
  max-width: 640px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}
.features__more a {
  color: var(--green);
  font-style: normal;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.features__more a:hover {
  color: var(--ink);
}
.features__more .arr {
  font-style: normal;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease;
}
.features__more a:hover .arr {
  transform: translateX(2px);
}

/* ============ CONTACT — REGIONAL OFFICE BLOCKS ============ */

.contact-office {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-office:first-of-type {
  border-top: 1px solid var(--hairline);
}
.contact-office__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.contact-office__name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 500;
}
.contact-office__line {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 17px;
}
.contact-office__line a {
  color: var(--ink);
}
.contact-office__line a:hover {
  color: var(--green);
}
.contact-office__hours {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 14px;
  font-family: var(--sans);
}
.contact-office__addr {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  font-family: var(--sans);
}

/* ============ "COMING SOON" BADGE ============ */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: 1px;
}
.badge--soon {
  background: var(--brass);
  color: var(--cream);
}
