:root {
  --bg: #e9e6e7;
  --panel: #f7f5f6;
  --panel-strong: #ab97bc;
  --ink: #5e5653;
  --muted: #5e5653;
  --sage: #7b7fba;
  --sage-dark: #6b7c98;
  --gold: #ab97bc;
  --gold-soft: #d8d0dd;
  --line: rgba(94, 86, 83, 0.16);
  --shadow: 0 22px 44px rgba(94, 86, 83, 0.2), 0 5px 14px rgba(94, 86, 83, 0.1);
  --shadow-soft: 0 10px 28px rgba(94, 86, 83, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f7f5f6 0%, var(--bg) 42rem);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 4px;
}

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.7rem, 2vw, 2.3rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(94, 86, 83, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 700;
}

.brand small {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.63rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.96rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--sage-dark);
}

.site-nav .nav-cta {
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.92rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(94, 86, 83, 0.32);
  filter: saturate(1.12);
}

.btn-primary,
.btn-secondary {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(107, 124, 152, 0.36), 0 4px 10px rgba(94, 86, 83, 0.16);
}

.hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse at 2% 10%, rgba(171, 151, 188, 0.2), transparent 36%),
    radial-gradient(ellipse at 96% 90%, rgba(123, 127, 186, 0.12), transparent 32%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.lead {
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 290px;
  margin: 2rem auto;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  color: var(--ink);
}

.hero-meta strong {
  display: block;
  font-size: 1.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.image-card {
  position: relative;
  width: min(100%, 510px);
  min-height: 620px;
  border: 8px solid rgba(247, 245, 246, 0.76);
  border-radius: 36px;
  background:
    linear-gradient(rgba(94, 86, 83, 0.18), rgba(94, 86, 83, 0.18)),
    url("images/horse_image.jpg") 68% center/cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.badge {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: rgba(247, 245, 246, 0.94);
  color: var(--ink);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.photo-frame {
  position: relative;
  aspect-ratio: 3 / 2;
}

.photo-card {
  position: absolute;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.photo-one {
  inset: 0;
  border: 8px solid rgba(247, 245, 246, 0.84);
  background: var(--panel-strong) url("images/madison_thor_comp.jpeg") center/contain no-repeat;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-points div {
  background: rgba(247, 245, 246, 0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading .eyebrow {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(171, 151, 188, 0.2);
}

.section-heading h2 {
  text-wrap: balance;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(247, 245, 246, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--sage), var(--gold));
  content: "";
}

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

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 0.45rem;
}

.training-approach {
  max-width: 820px;
  margin: 2.5rem auto 0;
  padding: 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(171, 151, 188, 0.14);
  text-align: center;
}

.training-approach h3 {
  margin-bottom: 0.75rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing {
  background: linear-gradient(135deg, rgba(171, 151, 188, 0.2), rgba(123, 127, 186, 0.1));
}

.package-heading {
  margin-bottom: 1.25rem;
}

.package-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.75;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(94, 86, 83, 0.12);
  border-radius: 28px;
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 32px rgba(94, 86, 83, 0.14), 0 4px 12px rgba(94, 86, 83, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(94, 86, 83, 0.2), 0 6px 14px rgba(94, 86, 83, 0.1);
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card h3 {
  margin-bottom: 1.5rem;
}

.training-price {
  margin-bottom: 1.75rem;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 700;
}

.training-price span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.package-prices {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
}

.package-prices div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.package-prices dt {
  color: var(--muted);
}

.package-prices dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}

.package-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(123, 127, 186, 0.96), rgba(107, 124, 152, 0.99));
  color: white;
  transform: translateY(-8px);
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured h3 {
  color: white;
}

.plan {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
}

.price-card h3 {
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.price-card.featured ul {
  color: rgba(255, 255, 255, 0.92);
}

.price-card li::before {
  content: "✓";
  margin-right: 0.6rem;
  color: var(--sage-dark);
  font-weight: 700;
}

.price-card.featured li::before {
  color: white;
}

.site-footer {
  background: #5e5653;
  color: rgba(255, 255, 255, 0.84);
  padding: 3.5rem 0 1rem;
}

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

.footer-brand,
.footer-links {
  margin-bottom: 1rem;
}

.footer-brand {
  gap: 1rem;
  font-size: 1.1rem;
}

.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--sage-dark));
}

.footer-brand strong {
  color: white;
  font-size: 1.1rem;
}

.footer-brand small {
  color: var(--gold-soft);
}

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

.footer-links a,
.footer-links li {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.35rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  padding-top: 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(171, 151, 188, 0.16);
  border-color: var(--sage);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .service-grid,
  .pricing-grid,
  .training-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-card {
    min-height: 520px;
  }

  .photo-frame {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: rgba(247, 245, 246, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .training-approach {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
