:root {
  --navy: #071c3a;
  --navy-dark: #04111f;
  --silver: #c8c1b5;
  --gold: #d5b77d;
  --gold-light: #e8d4a8;
  --cream: #f7f1e8;
  --text: #1a2230;
  --text-muted: #3d4654;
  --text-soft: #566070;
  --on-dark: #f8f6f2;
  --on-dark-muted: rgba(248, 246, 242, 0.92);
  --on-dark-soft: rgba(248, 246, 242, 0.8);
  --white: #ffffff;
  --shadow-sm: 0 4px 20px rgba(7, 28, 58, 0.08);
  --shadow-md: 0 18px 55px rgba(7, 28, 58, 0.12);
  --shadow-lg: 0 30px 100px rgba(0, 0, 0, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --header-height: 82px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;

  /* Typography scale */
  --font-size-2xs: 10px;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 17px;
  --font-size-h1: clamp(40px, 6.5vw, 72px);
  --font-size-h2: clamp(30px, 4.5vw, 48px);
  --font-size-h3: clamp(20px, 2.2vw, 24px);
  --font-size-display: clamp(44px, 7vw, 88px);
  --font-size-stat: clamp(26px, 3vw, 32px);

  --leading-tight: 1.15;
  --leading-heading: 1.12;
  --leading-normal: 1.65;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-label: 1.2px;
  --tracking-nav: 1.6px;
  --tracking-eyebrow: 2.5px;
  --tracking-button: 1.4px;
  --tracking-wide: 2px;

  --gold-text: #a8874a;
  --link: #8a7340;
  --text-placeholder: #9aa3b0;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
  --page-max: 1440px;
  --content-max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad-y: clamp(72px, 8vw, 112px);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--white);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-horsestox {
  background: var(--white);
}

::selection {
  background: rgba(213, 183, 125, 0.35);
  color: var(--navy-dark);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* Layout — 2026 standard centered shell */
.page-shell {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.section-block {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(7, 28, 58, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px var(--gutter);
}

.site-header.scrolled {
  background: rgba(4, 17, 31, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  font-size: var(--font-size-base);
  line-height: var(--leading-tight);
  font-weight: 500;
}

.brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand:hover img {
  transform: scale(1.03);
}

.brand small {
  font-size: var(--font-size-2xs);
  color: var(--silver);
  letter-spacing: var(--tracking-eyebrow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-nav);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav a[data-nav].active {
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
}

.site-nav a.nav-horsestox {
  padding: 8px 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a.nav-horsestox:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.site-nav a.nav-external {
  color: var(--gold);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*
 * Typography system
 * — Display: Cormorant Garamond (h1–h3, stat numbers, decorative numerals)
 * — UI & body: Outfit (nav, labels, paragraphs, forms, footer)
 * — Scale: 2xs 10 · xs 11 · sm 13 · base 15 · md 17 · h3/h2/h1/display (fluid)
 * — Body copy: --text-soft at --font-size-base
 * — Lead copy: --font-size-md on hero, transport, vision sections
 * — Labels: --font-size-xs uppercase, --gold-text
 * — Links: --link (--navy on hover)
 */
/* Typography — serif display headings, Outfit for UI and body */
.eyebrow,
.brand,
.site-nav a,
.menu-toggle,
.hero-lead,
.hero-scroll,
.section-lead,
.group-note,
.group-card-tag,
.stat-item span,
.contact-intro,
.contact-channel-label,
.contact-affiliates-label,
.contact-response,
.contact-form label,
.contact-form-hint,
.lightbox-counter,
.lightbox-help,
.gallery-hint,
.lightbox-figure figcaption,
.footer-brand p,
.footer-contact p,
.footer-column a,
.footer-bottom,
.chat-toggle,
.chat-panel-header strong,
.chat-panel-header span,
.chat-panel-footer,
.chat-option-text strong,
.chat-option-text small,
.hsx-process-list li,
.hsx-cta-meta {
  font-family: var(--font-sans);
}

.eyebrow,
h4,
.stat-item span,
.group-card-tag,
.contact-channel-label,
.contact-affiliates-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--gold-text);
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: var(--leading-tight);
}

.eyebrow {
  margin-bottom: 16px;
}

h4 {
  display: block;
  margin: 0 0 18px;
}

.group-card-tag {
  display: block;
  margin-bottom: 14px;
}

.contact-affiliates-label {
  display: block;
  margin-bottom: 10px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-light);
}

.vision-section .section-heading .eyebrow,
.transport-section .section-heading .eyebrow {
  color: var(--gold);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
  opacity: 0.6;
}

.section-heading .eyebrow::after,
.seo-content .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: var(--leading-heading);
  font-family: var(--font-serif);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  color: var(--navy);
}

h1 {
  font-size: var(--font-size-h1);
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: var(--font-size-h2);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-h3);
  letter-spacing: -0.01em;
}

.brand-title {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

p {
  margin: 0 0 16px;
}

/* Shared body copy */
.section-lead,
.split-copy p,
.group-card p,
.breed-card-body p,
.gallery-hint,
.group-note,
.hsx-pillar p,
.hsx-service-card p,
.hsx-cta-inner > div > p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
}

.section-lead {
  max-width: 720px;
  margin: 0 auto;
}

/* Lead paragraphs — slightly larger */
.hero-lead,
.page-hero-lead,
.seo-content p:last-child {
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
}

.hero-lead,
.page-hero-lead {
  color: var(--on-dark-muted);
  font-weight: 400;
}

.seo-content p:last-child {
  color: var(--text-soft);
}

/* Card & service titles */
.breed-card-body h3,
.hsx-pillar h3,
.hsx-service-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.group-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: var(--font-size-h3);
  line-height: var(--leading-tight);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--on-dark-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* Accent links */
.group-note a,
.hsx-cta-meta a {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.group-note a:hover,
.hsx-cta-meta a:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 12px 0 0;
  padding: 15px 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--tracking-button);
  font-size: var(--font-size-xs);
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn.primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(213, 183, 125, 0.35);
}

.btn.primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(213, 183, 125, 0.45);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(213, 183, 125, 0.1);
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  margin: 8px 0 0;
  border: none;
}

/* Hero — homepage and subpage heroes share sizing */
.hero,
.page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 60px) 0 100px;
  color: var(--white);
}

.hero {
  background: url("../assets/hero-farm-road.jpg") center/cover no-repeat;
}

.hero .page-shell,
.page-hero .page-shell {
  position: relative;
  width: 100%;
}

.hero h1,
.page-hero h1 {
  color: var(--white);
}

.hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.88) 0%, rgba(7, 28, 58, 0.55) 45%, rgba(7, 28, 58, 0.15) 100%),
    linear-gradient(180deg, transparent 60%, rgba(4, 17, 31, 0.4) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  max-width: 780px;
}

.hero-lead {
  max-width: 640px;
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  margin: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  max-width: var(--page-max);
  margin-left: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter)));
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--gold);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 1s var(--ease) 0.2s forwards;
}

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stat-item.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Split section — full-bleed 50/50 panel */
.split-section {
  background: var(--white);
}

.split-section.section-block {
  padding-top: 0;
  padding-bottom: 0;
}

.split-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(560px, 78vh);
  align-items: stretch;
}

.split-section-inner.section-inner {
  max-width: none;
  margin: 0;
}

.split-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: min(480px, 78vh);
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 17, 31, 0.05) 0%,
    rgba(4, 17, 31, 0.35) 55%,
    rgba(4, 17, 31, 0.55) 100%
  );
  transition: opacity var(--transition);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: min(480px, 78vh);
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s var(--ease);
}

.split-section:hover .split-image img {
  transform: scale(1.03);
}

.split-copy {
  background: var(--white);
  padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-height: min(480px, 78vh);
  box-sizing: border-box;
}

.split-copy .section-heading--left {
  max-width: 520px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.split-copy .section-heading--left h2.brand-title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
}

.split-copy p {
  max-width: 520px;
  color: var(--text-soft);
  line-height: var(--leading-relaxed);
}

.split-copy .eyebrow {
  color: var(--gold-text);
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-eyebrow);
  font-weight: 600;
  line-height: var(--leading-tight);
}

.split-section-inner--reverse .split-image {
  grid-column: 2;
}

.split-section-inner--reverse .split-copy {
  grid-column: 1;
}

.split-copy .group-card-link {
  margin-top: 12px;
}

/* Gallery */
.gallery-section {
  background: var(--white);
}

.cards-section {
  background: var(--cream);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading--left {
  text-align: left;
  margin: 0 0 28px;
  max-width: 520px;
}

.section-heading--left .eyebrow::after {
  margin-left: 0;
  margin-right: auto;
}

.section-heading--left .section-lead {
  margin: 0;
  max-width: 820px;
}

.vision-content .section-heading,
.transport-content .section-heading {
  max-width: 820px;
}

.vision-content .section-heading h2,
.transport-content .section-heading h2 {
  color: var(--white);
}

.vision-content .section-heading .section-lead,
.transport-content .section-heading .section-lead {
  color: var(--on-dark-muted);
}

.vision-content .eyebrow {
  color: var(--gold);
}

.vision-content .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.vision-content h2 {
  color: var(--white);
}

.vision-content .section-lead {
  color: var(--on-dark-muted);
  margin: 0 auto;
}

.gallery-hint {
  margin: 12px 0 0;
}

.gallery-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.masonry-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: zoom-in;
  background: var(--navy-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.item-landscape {
  aspect-ratio: 3 / 2;
}

.item-portrait {
  aspect-ratio: 4 / 5;
}

.gallery-pair--portrait .item-portrait {
  aspect-ratio: 5 / 6;
  min-height: 360px;
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 17, 31, 0.45) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.masonry-item:hover::after,
.masonry-item:focus-visible::after {
  opacity: 1;
}

.masonry-item:hover,
.masonry-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.masonry-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 14px;
  background: rgba(4, 17, 31, 0.72);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.masonry-item:hover .gallery-label,
.masonry-item:focus-visible .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: var(--navy);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.gallery-zoom svg {
  width: 18px;
  height: 18px;
}

.masonry-item:hover .gallery-zoom,
.masonry-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) {
  .gallery-label,
  .gallery-zoom {
    opacity: 1;
    transform: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 31, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 96vw);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lightbox-figure {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 120px;
}

.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox-figure.is-loading .lightbox-loader {
  opacity: 1;
}

.lightbox-figure.is-loading img {
  opacity: 0.35;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(72vh - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transition: opacity var(--transition);
}

.lightbox-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-figure figcaption {
  color: var(--on-dark-muted);
  font-size: var(--font-size-sm);
  text-align: center;
  max-width: 600px;
  line-height: var(--leading-normal);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(213, 183, 125, 0.25);
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-counter {
  margin: 0;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  letter-spacing: var(--tracking-label);
  font-weight: 600;
}

.lightbox-help {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--on-dark-soft);
}

.lightbox-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.lightbox-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition), transform var(--transition), opacity var(--transition);
  opacity: 0.65;
}

.lightbox-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.lightbox-thumb.is-active {
  border-color: var(--gold);
  opacity: 1;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Transport */
.transport-section {
  position: relative;
  color: var(--white);
  background: var(--navy-dark);
  overflow: hidden;
}

.transport-section .page-shell {
  position: relative;
}

.transport-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.94) 0%, rgba(7, 28, 58, 0.78) 50%, rgba(7, 28, 58, 0.65) 100%),
    url("../assets/horses-portrait-fence.jpg") center/cover no-repeat;
}

.transport-content {
  position: relative;
  text-align: center;
}

.transport-content .btn {
  margin-top: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 44px 0 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 28px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(213, 183, 125, 0.3);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--gold);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

/* Breeding cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.breed-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.breed-card-image {
  overflow: hidden;
  height: 300px;
}

.breed-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.breed-card:hover .breed-card-image img {
  transform: scale(1.06);
}

.breed-card-body {
  padding: 28px 28px 32px;
  text-align: center;
}

.breed-card-body p {
  margin: 0;
}

/* Vision */
.vision-section {
  min-height: 520px;
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.82) 0%, rgba(4, 17, 31, 0.55) 100%),
    url("../assets/mountain-horse.jpg") center/cover no-repeat fixed;
  color: var(--white);
  display: flex;
  align-items: center;
}

.vision-section.section-block {
  padding-bottom: 0;
}

.stats-section + section.section-block {
  padding-top: var(--section-pad-y);
}

.vision-section-shell {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 6vw, 56px);
}

.vision-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.vision-stats {
  width: 100%;
  max-width: var(--content-max);
}

.vision-stats .stats-section-inner {
  box-shadow: var(--shadow-lg);
}

/* Stats */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.stats-section .stat-item {
  padding: 38px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.stats-section .stat-item:last-child {
  border-right: none;
}

.stats-section .stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stats-section .stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.stats-section .stat-item span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: var(--font-size-2xs);
  color: rgba(255, 255, 255, 0.82);
}

.stats-section-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--cream);
  color: var(--text);
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(7, 28, 58, 0.08);
  box-shadow: var(--shadow-md);
}

.stats-section-inner .stat-item {
  padding: 44px 20px;
  border-right: 1px solid rgba(7, 28, 58, 0.08);
  transition: background var(--transition);
}

.stats-section-inner .stat-item:last-child {
  border-right: none;
}

.stats-section-inner .stat-item:hover {
  background: rgba(213, 183, 125, 0.08);
}

.stats-section-inner .stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--font-size-stat);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

/* SEO content */
.seo-content-section {
  background: var(--cream);
}

.seo-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Group ecosystem */
.group-section {
  background: var(--cream);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.group-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.split-copy .hsx-process-list {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 100%;
  border: 1px solid rgba(7, 28, 58, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(213, 183, 125, 0.4);
}

.group-card p {
  margin: 0;
  flex: 1;
}

.group-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.group-card-link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a7340' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--transition);
}

.group-card-link:hover {
  color: var(--navy);
  gap: 10px;
}

.group-card-link:hover::after {
  transform: translateX(2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23071c3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
}

.group-note {
  margin-top: 8px;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(rgba(7, 28, 58, 0.88), rgba(7, 28, 58, 0.88)),
    url("../assets/horse-eye-close.jpg") center/cover no-repeat fixed;
}

.contact-section .page-shell {
  width: 100%;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(7, 28, 58, 0.06);
}

.contact-info {
  background: var(--cream);
  padding: clamp(36px, 5vw, 56px);
  border-right: 1px solid rgba(7, 28, 58, 0.08);
  display: flex;
  align-items: center;
}

.contact-info-inner {
  width: 100%;
}

.contact-info .eyebrow {
  margin-bottom: 14px;
}

.contact-info h2 {
  margin-bottom: 14px;
}

.contact-intro {
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
  max-width: 340px;
}

.contact-channels {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid rgba(7, 28, 58, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-channel:hover {
  border-color: rgba(213, 183, 125, 0.45);
  box-shadow: var(--shadow-md);
}

.contact-channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(213, 183, 125, 0.18);
  color: var(--link);
}

.contact-channel-icon svg {
  width: 18px;
  height: 18px;
}

.contact-channel-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contact-channel-body a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color var(--transition);
}

.contact-channel-body a:hover {
  color: var(--navy);
}

.contact-channel-body address {
  font-style: normal;
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.map-link {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.map-link:hover {
  color: var(--navy);
}

.footer-contact .map-link {
  color: var(--text-soft);
}

.footer-contact .map-link:hover {
  color: var(--navy);
}

.contact-channel-body .map-link {
  color: var(--text);
}

.contact-affiliates {
  margin-bottom: 24px;
}

.contact-affiliate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-affiliate-tags a,
.contact-affiliate-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.2;
}

.contact-affiliate-tags a {
  background: rgba(213, 183, 125, 0.2);
  color: var(--navy);
  text-decoration: none;
  border: 1px solid rgba(213, 183, 125, 0.35);
  transition: background var(--transition), border-color var(--transition);
}

.contact-affiliate-tags a:hover {
  background: rgba(213, 183, 125, 0.32);
  border-color: var(--gold);
}

.contact-affiliate-tags span {
  background: var(--white);
  color: var(--text-soft);
  border: 1px solid rgba(7, 28, 58, 0.1);
}

.contact-response {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(7, 28, 58, 0.1);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-soft);
}

.contact-response svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold-text);
}

.contact-form-wrap {
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  min-width: 0;
}

.contact-form {
  width: 100%;
  display: grid;
  gap: 14px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-hint {
  margin: 0 0 4px;
  font-size: var(--font-size-sm);
  color: var(--text-soft);
  line-height: var(--leading-normal);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-weight: 600;
  color: var(--text-soft);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ddd5c8;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
  background-color: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23566070' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-placeholder);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 183, 125, 0.2);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--text);
  border-top: 1px solid rgba(7, 28, 58, 0.08);
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-main {
  padding: clamp(48px, 6vw, 64px) 0 clamp(32px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(200px, 1.25fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.footer-brand img {
  height: 96px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.footer-column h4 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-text);
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 14px;
  font-size: var(--font-size-sm);
  line-height: var(--leading-normal);
  color: var(--text-soft);
}

.footer-contact a,
.footer-column a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover,
.footer-column a:hover,
.footer-contact .map-link:hover {
  color: var(--navy);
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(7, 28, 58, 0.08);
  padding: 22px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
  font-size: var(--font-size-sm);
}

.footer-bottom p {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(7, 28, 58, 0.14);
  border-radius: 50%;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(213, 183, 125, 0.12);
  transform: translateY(-2px);
}

/* Chat widget — fixed corner CTA */
.chat-widget {
  position: fixed;
  z-index: 1000;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, #c9a86a 100%);
  color: var(--navy-dark);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(7, 28, 58, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.chat-toggle svg {
  width: 20px;
  height: 20px;
}

.chat-toggle-close {
  display: none;
}

.chat-toggle.is-open .chat-toggle-icon {
  display: none;
}

.chat-toggle.is-open .chat-toggle-close {
  display: block;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(7, 28, 58, 0.28);
}

.chat-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.chat-panel {
  width: min(340px, calc(100vw - 32px));
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatIn 0.28s var(--ease);
}

.chat-panel[hidden] {
  display: none;
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-panel-header strong {
  display: block;
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 4px;
}

.chat-panel-header span {
  color: var(--on-dark-soft);
  font-size: var(--font-size-sm);
}

.chat-panel-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.chat-panel-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.chat-panel-close svg {
  width: 18px;
  height: 18px;
}

.chat-panel-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.chat-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(213, 183, 125, 0.35);
  transform: translateX(2px);
}

.chat-option-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(213, 183, 125, 0.15);
  color: var(--gold-light);
}

.chat-option-icon svg {
  width: 20px;
  height: 20px;
}

.chat-option--whatsapp .chat-option-icon {
  background: rgba(37, 211, 102, 0.18);
  color: #5de88a;
}

.chat-option-text strong {
  display: block;
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.chat-option-text small {
  color: var(--on-dark-soft);
  font-size: var(--font-size-sm);
}

.chat-panel-footer {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-xs);
  color: var(--on-dark-soft);
  text-align: center;
  line-height: var(--leading-normal);
}

.chat-panel-footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.chat-panel-footer a:hover {
  color: var(--white);
}

/* Subpage hero backgrounds */
.page-hero--horsestox {
  background-image: url("../assets/horsestox-hero.jpg");
  background-size: cover;
  background-position: 72% 38%;
  background-repeat: no-repeat;
}

.page-horsestox .page-hero-overlay {
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.93) 0%, rgba(4, 17, 31, 0.78) 38%, rgba(7, 28, 58, 0.35) 68%, rgba(7, 28, 58, 0.15) 100%),
    linear-gradient(180deg, transparent 50%, rgba(4, 17, 31, 0.5) 100%);
}

.page-hero--studfarm {
  background: url("../assets/hero-farm-road.jpg") center/cover no-repeat;
}

.page-hero--transport {
  background: url("../assets/horses-portrait-fence.jpg") center/cover no-repeat;
}

.page-hero--registry {
  background: url("../assets/mountain-horse.jpg") center/cover no-repeat;
}

.page-hero-lead {
  max-width: 640px;
}

.site-nav a.nav-horsestox[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.hsx-pillars {
  background: var(--white);
}

.hsx-pillars .hsx-pillar {
  background: var(--cream);
}

.hsx-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hsx-pillar {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 28, 58, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.hsx-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hsx-pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(213, 183, 125, 0.15);
  color: var(--link);
}

.hsx-pillar-icon svg {
  width: 24px;
  height: 24px;
}

.hsx-pillar p {
  margin: 0;
}

/* HorseStox — editorial layout (no card grids) */
.hsx-prose-section {
  background: var(--white);
}

.hsx-prose-section--cream {
  background: var(--cream);
}

.hsx-prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--content-max);
  margin: 0;
}

.hsx-prose-columns--three {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.hsx-prose-cta {
  margin: clamp(28px, 4vw, 40px) 0 0;
  text-align: center;
}

.hsx-prose-cta--left {
  text-align: left;
}

.split-copy .hsx-prose-columns {
  margin-top: 8px;
  max-width: 100%;
  width: 100%;
}

.hsx-prose-col h3 {
  margin-bottom: 12px;
}

.hsx-prose-col > p {
  margin-bottom: 20px;
  color: var(--text-soft);
}

.hsx-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hsx-detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.hsx-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hsx-detail-list li strong {
  color: var(--navy);
  font-weight: 600;
}

.hsx-key-points {
  margin-top: 24px;
}

.split-copy .hsx-key-points {
  margin-top: 20px;
}

.split-copy a:not(.group-card-link):not(.btn) {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.split-copy a:not(.group-card-link):not(.btn):hover {
  color: var(--navy);
}

.hsx-client-block {
  margin-top: 24px;
}

.hsx-client-block h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 6px;
}

.hsx-client-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.hsx-process-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 680px;
}

.hsx-process-timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.hsx-process-timeline li:last-child {
  padding-bottom: 0;
}

.hsx-process-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: rgba(7, 28, 58, 0.1);
}

.hsx-step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.hsx-process-timeline h3 {
  margin-bottom: 8px;
  font-size: var(--font-size-lg);
}

.hsx-process-timeline p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.hsx-vision-band {
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.9) 0%, rgba(7, 28, 58, 0.78) 100%),
    url("../assets/horsestox-vision.jpg") center/cover no-repeat;
  color: var(--white);
}

.hsx-vision-band .section-heading .eyebrow {
  color: var(--gold);
}

.hsx-vision-band .section-heading h2 {
  color: var(--white);
}

.hsx-vision-band .section-heading {
  max-width: var(--content-max);
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}

.hsx-vision-band .section-heading .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.hsx-vision-band .section-heading .section-lead {
  color: var(--on-dark-muted);
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
  margin: 0 auto;
  max-width: none;
}

.hsx-vision-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.hsx-vision-body {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.hsx-vision-prose {
  margin: 0 0 28px;
  color: var(--on-dark-muted);
  font-size: var(--font-size-md);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hsx-detail-list--light li {
  color: var(--on-dark-muted);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.hsx-detail-list--light li strong {
  color: var(--white);
}

.hsx-vision-body .hsx-detail-list {
  max-width: none;
  margin: 0;
}

.hsx-vision-body .hsx-detail-list li {
  padding-left: 0;
  margin-bottom: 12px;
}

.hsx-vision-body .hsx-detail-list li::before {
  display: none;
}

.hsx-metrics-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hsx-metrics-inline strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--font-size-h2);
  color: var(--white);
  line-height: 1.1;
}

.hsx-metrics-inline span {
  display: block;
  margin-top: 4px;
  font-size: var(--font-size-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 500;
}

/* HorseStox — Why section */
.hsx-why-section.hsx-vision-band {
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.92) 0%, rgba(7, 28, 58, 0.82) 55%, rgba(4, 17, 31, 0.75) 100%),
    url("../assets/horsestox-vision.jpg") center/cover no-repeat;
}

.hsx-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--content-max);
  margin: 0 auto clamp(40px, 5vw, 56px);
  align-items: start;
}

.hsx-why-intro .eyebrow {
  color: var(--gold);
}

.hsx-why-intro .eyebrow::after {
  margin-left: 0;
  margin-right: auto;
}

.hsx-why-intro h2 {
  color: var(--white);
}

.hsx-why-intro .section-lead {
  margin: 0;
  text-align: left;
  color: var(--on-dark-muted);
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
}

.hsx-why-copy p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
}

.hsx-why-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.hsx-why-pillar {
  padding: 18px 0 0;
  border-top: 2px solid var(--gold);
}

.hsx-why-pillar h3 {
  margin-bottom: 8px;
  font-size: var(--font-size-lg);
  color: var(--white);
}

.hsx-why-pillar p {
  margin: 0;
  color: var(--on-dark-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

/* HorseStox — cinematic contact band (no card box) */
.hsx-contact-band {
  background:
    linear-gradient(105deg, rgba(4, 17, 31, 0.88) 0%, rgba(7, 28, 58, 0.78) 100%),
    url("../assets/horsestox-contact.jpg") center/cover no-repeat fixed;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: min(480px, 68vh);
}

.hsx-contact-shell {
  width: 100%;
}

.hsx-contact-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hsx-contact-band .eyebrow {
  color: var(--gold);
}

.hsx-contact-band .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.hsx-contact-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.hsx-contact-lead {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--on-dark-muted);
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
}

.hsx-contact-actions {
  justify-content: center;
  margin-bottom: 22px;
}

.hsx-contact-band .hsx-cta-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: var(--font-size-sm);
  line-height: var(--leading-normal);
}

.hsx-cta-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hsx-cta-meta-sep {
  color: rgba(248, 246, 242, 0.45);
}

.hsx-contact-band .hsx-cta-meta svg {
  flex-shrink: 0;
  color: var(--gold);
}

.hsx-contact-band .hsx-cta-meta a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 183, 125, 0.35);
}

.hsx-contact-band .hsx-cta-meta a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.hsx-ecosystem-band {
  background: var(--white);
}

.hsx-ecosystem-band.section-block {
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.hsx-ecosystem-inner {
  text-align: center;
}

.hsx-ecosystem-inner .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.hsx-ecosystem-statement {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
}

.hsx-ecosystem-statement .brand-title {
  font-weight: 600;
}

.hsx-ecosystem-links {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: var(--leading-relaxed);
  color: var(--text-soft);
  font-weight: 400;
}

.hsx-ecosystem-links a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 183, 125, 0.55);
  transition: color var(--transition), border-color var(--transition);
}

.hsx-ecosystem-links a:hover {
  color: var(--link);
  border-bottom-color: var(--gold);
}

/* Simple affiliate pages — not homepage layout */
body.page-simple {
  background: var(--white);
}

body.page-simple .site-header,
body.page-simple .site-header.scrolled {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.subpage-simple {
  padding-top: var(--header-height);
}

.subpage-header {
  width: 100%;
  background: var(--cream);
  border-bottom: 1px solid rgba(7, 28, 58, 0.06);
}

.subpage-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 52px) var(--gutter) clamp(28px, 4vw, 40px);
}

.subpage-header .eyebrow::after {
  margin-left: 0;
}

.subpage-back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.subpage-back:hover {
  color: var(--navy);
}

.subpage-header h1 {
  color: var(--navy);
  max-width: 900px;
  margin-bottom: 16px;
}

.subpage-lead {
  max-width: 820px;
  margin: 0;
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
  color: var(--text-soft);
  font-weight: 400;
}

.subpage-body {
  max-width: var(--content-max);
  padding: clamp(40px, 5vw, 56px) var(--gutter) clamp(48px, 6vw, 72px);
}

.subpage-doc {
  max-width: none;
  width: 100%;
}

.subpage-contact {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(7, 28, 58, 0.08);
  max-width: none;
  width: 100%;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.subpage-contact a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
}

.subpage-contact a:hover {
  color: var(--navy);
}

.subpage-contact-sep {
  margin: 0 10px;
  color: rgba(7, 28, 58, 0.25);
}

.page-simple .enterprise-article {
  max-width: none;
  width: 100%;
  margin: 0;
}

.enterprise-article {
  max-width: 720px;
  margin: 0 auto;
}

.enterprise-article > p:first-child {
  font-size: var(--font-size-md);
  line-height: var(--leading-relaxed);
  color: var(--text-soft);
  margin: 0 0 8px;
}

.enterprise-article h2 {
  font-size: var(--font-size-h2);
  margin-top: 36px;
  margin-bottom: 8px;
}

.enterprise-article h3 {
  font-size: var(--font-size-lg);
  margin: 32px 0 10px;
  color: var(--navy);
}

.enterprise-article h3:first-of-type {
  margin-top: 24px;
}

.page-simple .enterprise-prose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: 8px;
}

.page-simple .enterprise-prose-grid h3 {
  margin-top: 0;
}

.page-simple .enterprise-prose-span {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .page-simple .enterprise-prose-grid {
    grid-template-columns: 1fr;
  }

  .page-simple .enterprise-prose-grid h3 {
    margin-top: 28px;
  }

  .page-simple .enterprise-prose-grid > div:first-child h3 {
    margin-top: 0;
  }

  .page-simple .enterprise-prose-span {
    grid-column: auto;
  }
}

.enterprise-article p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
}

.enterprise-outro {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(7, 28, 58, 0.1);
  font-size: var(--font-size-md);
}

.enterprise-article a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
}

.enterprise-article a:hover {
  color: var(--navy);
}

.hsx-intro-band {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}

.hsx-intro-list {
  list-style: none;
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hsx-intro-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.hsx-intro-list strong {
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hsx-intro-list span {
  color: var(--on-dark-muted);
  font-size: var(--font-size-sm);
  line-height: var(--leading-normal);
}

.hsx-steps-section {
  background: var(--cream);
}

.hsx-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hsx-step {
  background: var(--white);
  border: 1px solid rgba(7, 28, 58, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hsx-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(213, 183, 125, 0.35);
}

.hsx-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(213, 183, 125, 0.18);
  color: var(--navy);
  font-size: var(--font-size-sm);
  font-weight: 700;
  font-family: var(--font-sans);
}

.hsx-step h3 {
  margin-bottom: 10px;
}

.hsx-step p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--font-size-sm);
  line-height: var(--leading-normal);
}

.hsx-services {
  background: var(--white);
}

.hsx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hsx-service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(7, 28, 58, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: left;
}

.hsx-service-card .group-card-tag {
  margin-bottom: 14px;
}

.hsx-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(213, 183, 125, 0.35);
}

.hsx-service-card p {
  margin: 0;
}

.hsx-process-list {
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 520px;
  text-align: left;
}

.hsx-process-list li {
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  color: var(--text-soft);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
}

.hsx-process-list strong {
  color: var(--navy);
  font-weight: 600;
}

.hsx-cta-band {
  background: var(--white);
}

.hsx-ecosystem-band.section-block + .hsx-cta-band.section-block {
  padding-top: 0;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.hsx-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid rgba(7, 28, 58, 0.08);
  background: var(--cream);
  box-shadow: var(--shadow-md);
}

.hsx-cta-inner > div:first-child {
  text-align: center;
}

.hsx-cta-inner .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.hsx-cta-inner h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.hsx-cta-inner > div > p:not(.eyebrow) {
  margin: 0;
}

.hsx-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hsx-cta-actions .btn {
  margin: 0;
  text-align: center;
}

.hsx-cta-actions .btn.secondary {
  border-color: rgba(7, 28, 58, 0.22);
  color: var(--navy);
  background: var(--white);
}

.hsx-cta-actions .btn.secondary:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(213, 183, 125, 0.12);
}

.hsx-cta-meta {
  margin: 8px 0 0;
  font-size: var(--font-size-sm);
  text-align: center;
}

.split-copy .btn {
  margin-top: 8px;
}

/* HorseStox page */
.page-horsestox .page-hero {
  min-height: 88vh;
  min-height: 88dvh;
  padding: calc(var(--header-height) + 64px) 0 0;
  flex-direction: column;
  justify-content: flex-start;
}

.page-horsestox .page-hero .page-shell {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: clamp(56px, 10vw, 96px);
}

.page-horsestox #about-hsx.split-section {
  padding-top: 0;
}

.page-horsestox .split-image img {
  object-position: center center;
}

.page-horsestox #hsx-services .split-image img {
  object-position: center center;
}

.page-horsestox .hsx-hero-stats {
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  background: rgba(7, 28, 58, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-horsestox .hero-scroll {
  display: none;
}

.page-horsestox .hsx-hero-stats .stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1, "onum" 0;
  color: var(--white);
  margin-bottom: 8px;
}

.page-horsestox .hsx-hero-stats .stat-item span {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--font-size-2xs);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-text);
}

.page-horsestox .page-hero .hsx-hero-meta-affiliate {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-nav);
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  line-height: 1.2;
}

.page-horsestox .page-hero h1 {
  margin-bottom: 22px;
}

.page-horsestox .page-hero-lead {
  font-size: var(--font-size-md);
  line-height: 1.75;
  color: var(--on-dark-muted);
  margin-bottom: 36px;
  max-width: 34rem;
}

.page-horsestox .page-hero .hero-actions {
  margin-top: 8px;
}

.page-horsestox .split-copy a:not(.group-card-link):not(.btn) {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
}

.page-horsestox .split-copy a:not(.group-card-link):not(.btn):hover {
  color: var(--navy);
}

.page-horsestox .split-copy {
  justify-content: flex-start;
}

.page-horsestox .split-copy p,
.page-horsestox .split-copy .section-heading--left {
  max-width: none;
}

.page-horsestox .split-section-inner {
  min-height: auto;
  align-items: stretch;
}

.page-horsestox .split-section,
.page-horsestox .split-copy {
  background: var(--white);
}

.page-horsestox .hsx-prose-section,
.page-horsestox .hsx-prose-section--cream,
.page-horsestox .seo-content-section {
  background: var(--white);
}

.page-horsestox #how-it-works.hsx-prose-section {
  background: var(--cream);
}

.page-horsestox #hsx-services.split-section,
.page-horsestox #hsx-services .split-copy {
  background: var(--cream);
}

.page-horsestox .seo-content a {
  color: var(--link);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 183, 125, 0.45);
}

.page-horsestox .seo-content a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Responsive */
@media (max-width: 1280px) {
  .site-nav a {
    padding: 8px 10px;
    font-size: var(--font-size-2xs);
    letter-spacing: 1.3px;
  }
}

@media (max-width: 1100px) {
  .split-section-inner {
    min-height: auto;
  }

  .split-image,
  .split-image img,
  .split-copy {
    min-height: min(400px, 62vh);
  }

  .group-grid,
  .group-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-pair--portrait .item-portrait {
    min-height: 300px;
  }

  .hsx-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hsx-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hsx-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hsx-prose-columns,
  .hsx-prose-columns--three {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hsx-intro-list {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .hsx-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(4, 17, 31, 0.98);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .split-section-inner,
  .contact-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split-section-inner--reverse .split-image,
  .split-section-inner--reverse .split-copy {
    grid-column: auto;
  }

  .split-image {
    min-height: 0;
    max-height: none;
  }

  .split-image::after {
    opacity: 1;
  }

  .split-image img {
    min-height: clamp(220px, 42vw, 340px);
    max-height: clamp(260px, 48vw, 380px);
    object-position: center 32%;
  }

  .split-copy {
    padding: clamp(40px, 6vw, 56px) var(--gutter);
    min-height: 0;
  }

  .contact-info {
    border-right: none;
    border-bottom: 1px solid rgba(7, 28, 58, 0.08);
  }

  .contact-intro {
    max-width: none;
  }

  .service-grid,
  .cards,
  .stats-section-inner {
    grid-template-columns: 1fr;
  }

  .stats-section:not(.hsx-hero-stats) {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-section:not(.hsx-hero-stats) .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-section:not(.hsx-hero-stats) .stat-item:nth-child(2) {
    border-right: none;
  }

  .stats-section:not(.hsx-hero-stats) .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-section:not(.hsx-hero-stats) .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-section:not(.hsx-hero-stats) .stat-item:last-child {
    border-bottom: none;
  }

  .vision-section {
    min-height: min(460px, 72vh);
    background:
      linear-gradient(105deg, rgba(4, 17, 31, 0.9) 0%, rgba(4, 17, 31, 0.78) 100%),
      url("../assets/mountain-horse.jpg") center 38% / cover no-repeat scroll;
  }

  .vision-section .page-shell {
    padding-top: clamp(32px, 5vw, 48px);
    padding-bottom: clamp(32px, 5vw, 48px);
  }

  .page-horsestox .page-hero {
    min-height: min(88vh, 820px);
  }

  .page-horsestox .page-hero .page-shell {
    padding-bottom: clamp(40px, 8vw, 64px);
  }

  .page-horsestox .split-image img {
    min-height: clamp(220px, 42vw, 320px);
    max-height: clamp(260px, 48vw, 360px);
    object-position: center 28%;
  }

  .page-horsestox #hsx-services .split-image {
    order: -1;
  }

  .page-horsestox #hsx-services .split-copy {
    order: 1;
  }

  .page-horsestox #hsx-services .split-image img {
    object-position: center center;
  }

  .stats-section-inner .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(7, 28, 58, 0.08);
  }

  .stats-section-inner .stat-item:last-child {
    border-bottom: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .brand span {
    display: none;
  }

  .hero-scroll {
    left: 50%;
    transform: translateX(-50%);
  }

  .vision-section,
  .contact-section {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .page-horsestox .page-hero {
    min-height: min(78vh, 680px);
  }

  .vision-section {
    min-height: min(400px, 68vh);
  }

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

  .group-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .gallery-rows,
  .gallery-pair {
    gap: 14px;
  }

  .gallery-pair {
    grid-template-columns: 1fr;
  }

  .gallery-pair--portrait .item-portrait {
    min-height: 260px;
  }

  .hsx-pillar-grid,
  .hsx-service-grid,
  .hsx-step-grid {
    grid-template-columns: 1fr;
  }

  .hsx-metrics-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hsx-metrics-inline strong {
    font-size: var(--font-size-h3);
  }

  .hsx-why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hsx-why-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-horsestox .hsx-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-horsestox .hsx-hero-stats .stat-item:nth-child(2) {
    border-right: none;
  }

  .page-horsestox .hsx-hero-stats .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .page-horsestox .hsx-hero-stats .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .chat-toggle-label {
    display: none;
  }

  .chat-toggle {
    padding: 14px;
    border-radius: 50%;
  }

  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .brand img {
    height: 48px;
  }

  .hero,
  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
  }

  .btn {
    width: 100%;
    margin-right: 0;
  }
}
