/* ==========================================================================
   Weber Tack — hand-coded rebuild of webertack.com
   Breakpoints (match Framer source): desktop ≥1200, tablet 810–1199, phone ≤809
   ========================================================================== */

:root {
  --red: #83241a;          /* brand red (buttons, accents, sections) */
  --red-dark: #61140c;     /* key-numbers card */
  --maroon: #420e07;       /* unified dark background (gallery, thank-you, derby, CTA) */
  --accent: #d64228;       /* bright logo red / links on maroon */
  --gold: #efc90b;         /* hero star row */
  --star: #efc90b;         /* testimonial card stars (unified with hero gold) */
  --ink: #000;
  --gray: #444;
  --gray-mid: #767676;
  --gray-light: #ddd;
  --bg-testimonials: #f2f2f2;
  --bg-footer: #f7f5f3;    /* warm neutral — was a cool blue-gray that clashed with the reds */
  --font-body: "Inter", "Inter Placeholder", sans-serif;
  --font-display: "Figtree", "Figtree Placeholder", sans-serif;
  --font-heavy: "Figtree", "Figtree Placeholder", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }
input { font-family: var(--font-body); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

/* ---------- Appear-on-scroll animation (Framer-style fade up) ---------- */
[data-appear] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.21, 0.65, 0.36, 1);
}
[data-appear].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-appear] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Header (transparent, overlays hero / maroon pages)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 30px 50px;
}
.site-header__logo img { transition: height 0.3s ease, width 0.3s ease; }
.site-header__cta {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border-radius: 50px;
  padding: 10px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-header__cta:hover { background: var(--red-dark); transform: translateY(-1px); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img { width: 84px; height: 74px; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__link {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.site-header__link:hover { opacity: 0.8; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 108px 50px 40px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(8, 3, 2, 0.86) 0%,
    rgba(8, 3, 2, 0.62) 48%,
    rgba(20, 6, 3, 0.3) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero__texts { max-width: 650px; }
.hero__texts h1 {
  font-family: var(--font-display);
  font-size: 49px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 15px;
}
.hero__sub {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-light);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 50px; height: 50px;
  border-radius: 100px;
  object-fit: cover;
}
.hero__stars { width: 122px; height: 21px; }
.hero__reviews {
  font-size: 15px;
  color: var(--gray-light);
}

/* ---------- Quote form card (hero) ---------- */
.quote-card {
  width: 436px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 22px 50px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.qform { display: flex; flex-direction: column; }
.qform__title {
  font-size: 11px;
  color: #141414;
  text-align: center;
  margin-bottom: 14px;
}
.qform label {
  display: block;
  margin-bottom: 8px;
}
.qform label span {
  display: block;
  font-size: 11px;
  color: #141414;
  margin-bottom: 4px;
}
.qform input {
  width: 100%;
  height: 42px;
  padding: 12px;
  font-size: 16px;
  color: #000;
  background: rgba(187, 187, 187, 0.15);
  border: none;
  border-radius: 10px;
  outline: none;
}
.qform input::placeholder { color: rgba(20, 20, 20, 0.35); }
.qform .phone-row,
.cta-form .phone-row { display: flex; gap: 8px; margin-bottom: 0; }
.qform .phone-row input,
.cta-form .phone-row input { flex: 1; min-width: 0; }
.qform select,
.cta-form select {
  height: 42px;
  padding: 0 6px;
  font-size: 14px;
  font-family: var(--font-body);
  border: none;
  border-radius: 10px;
  outline: none;
}
.qform select { color: rgba(20, 20, 20, 0.45); background: rgba(187, 187, 187, 0.15); }
.cta-form select { color: rgba(255, 255, 255, 0.55); background: rgba(145, 145, 145, 0.15); }
.cta-form select option { color: #000; }
.qform input:focus { box-shadow: 0 0 0 1px rgba(131, 36, 26, 0.4); }
.qform button {
  height: 44px;
  margin-top: 6px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.qform button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(131, 36, 26, 0.35);
}
.qform__note {
  font-size: 11px;
  color: #141414;
  text-align: center;
  margin-top: 12px;
}

/* ==========================================================================
   Ratings strip
   ========================================================================== */
.ratings {
  background: var(--red);
  padding: 71px 50px;
}
.ratings--tracks { padding: 40px 50px; }
.ratings__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.ratings__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  max-width: 400px;
}
.ratings__stats {
  display: flex;
  gap: 76px;
  padding: 15px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}
.stat__rule {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  align-self: center;
  flex-shrink: 0;
}

/* ---------- Racetrack marquee ---------- */
.tracks { margin: 0 -50px; }
.tracks__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}
.tracks__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 10%, #000 90%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 10%, #000 90%, rgba(0,0,0,0) 100%);
}
.tracks__row {
  display: flex;
  width: max-content;
  animation: tracks-scroll 40s linear infinite;
  will-change: transform;
}
.tracks__marquee:hover .tracks__row { animation-play-state: paused; }
@keyframes tracks-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tracks__row { animation: none; }
}
.track-name {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}
.track-name::after {
  content: "\25C6";
  font-size: 7px;
  color: var(--gold);
  opacity: 0.9;
}

/* ==========================================================================
   Setting the Standard + carousel
   ========================================================================== */
.standard {
  padding: 66px 50px 0;
}
.standard__title {
  font-family: var(--font-display);
  font-size: 49px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
}
.standard__copy {
  font-size: 18px;
  line-height: 1.9;
  color: var(--gray);
  text-align: center;
  max-width: 1165px;
  margin: 0 auto;
}
.standard__copy .red { color: var(--red); }

.carousel {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}
.carousel__track {
  display: flex;
  gap: 10px;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.carousel__slide {
  flex: 0 0 100%;
  height: 910px;
  border-radius: 15px;
  overflow: hidden;
}
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
}
.carousel__arrow:hover { background: rgba(0, 0, 0, 0.4); }
.carousel__arrow--prev { left: 20px; }
.carousel__arrow--next { right: 20px; }
.carousel__arrow img { width: 40px; height: 40px; }
.carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
}
.carousel__dot {
  width: 25px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.25s ease, width 0.25s ease;
}
.carousel__dot.active::after { background: #fff; width: 22px; }
.carousel__pause {
  position: absolute;
  right: 16px; bottom: 14px;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 34px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.carousel__pause:hover { background: rgba(0, 0, 0, 0.6); }

/* ==========================================================================
   Kentucky Derby Proven
   ========================================================================== */
.derby {
  background: var(--red);
  padding: 150px 50px;
  margin-top: 125px;
}
.derby__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 75px;
}
.derby__media { width: 545px; flex-shrink: 0; }
.derby__media > img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 15px;
}
.key-numbers {
  width: 502px;
  max-width: 100%;
  margin: -66px auto 0;
  position: relative;
  background: #fff;
  border-top: 3px solid var(--gold);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 23px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.key-numbers__item { text-align: center; flex: 1; }
.key-numbers__item h3 {
  font-family: var(--font-display);
  font-size: 49px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
}
.key-numbers__item p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--gray);
}
.key-numbers__divider {
  width: 1px;
  height: 70px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.derby__texts { max-width: 545px; padding-top: 80px; }
.text-gold { color: var(--gold); }

/* Honeypot: invisible to humans, tempting to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.derby__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.derby__texts h2 {
  font-family: var(--font-display);
  font-size: 49px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}
.derby__texts p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Ordering process
   ========================================================================== */
.process {
  padding: 71px 50px 125px;
}
.process__title {
  font-family: var(--font-display);
  font-size: 49px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 15px;
}
.process__sub {
  font-size: 18px;
  line-height: 1.9;
  color: var(--gray);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.process__cards {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.pcard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
/* timeline rail connecting the step icons */
.pcard:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 78px;
  bottom: -42px;
  width: 2px;
  background: linear-gradient(180deg, rgba(131, 36, 26, 0.35), rgba(131, 36, 26, 0.08));
}
.pcard__icon {
  flex-shrink: 0;
  width: 70px; height: 70px;
  padding: 20px;
  background: var(--red);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(131, 36, 26, 0.25);
}
.pcard__icon svg { width: 30px; height: 30px; fill: #fff; display: block; }
.pcard__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pcard__texts h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
}
.pcard__texts p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
}

/* ---------- 24/7 text banner ---------- */
.banner {
  position: relative;
  margin-top: 100px;
  height: 170px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 50px;
}
.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.banner h2 {
  position: relative;
  z-index: 2;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.banner__phone {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
  padding: 10px 20px 10px 15px;
  transition: background 0.2s ease;
}
.banner__phone:hover { background: rgba(0, 0, 0, 0.7); }
.banner__phone-icon {
  width: 50px; height: 50px;
  background: var(--red);
  border-radius: 50px;
  padding: 10px;
  flex-shrink: 0;
}
.banner__phone-icon svg { width: 30px; height: 30px; fill: #fff; display: block; }
.banner__phone h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  white-space: nowrap;
}

/* ==========================================================================
   Trainer testimonials (marquee)
   ========================================================================== */
.testimonials {
  background: var(--bg-testimonials);
  padding: 75px 50px;
}
.testimonials__title {
  font-family: var(--font-heavy);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 40px;
}
.ticker {
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 7.5%, #000 92.5%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, #000 7.5%, #000 92.5%, rgba(0,0,0,0) 100%);
}
.ticker__track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: ticker-scroll 160s linear infinite;
  will-change: transform;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-1600px); }  /* one full set: 4 × (370 + 30) */
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.tcard {
  width: 370px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}
.tcard__stars { display: flex; }
.tcard__stars svg { width: 20px; height: 20px; fill: var(--star); }
.tcard__quote {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tcard__author img {
  width: 60px; height: 60px;
  border-radius: 60px;
  object-fit: cover;
}
.tcard__name {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.tcard__role {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 3px;
}

/* ==========================================================================
   CTA — Ready to transform your barn?
   ========================================================================== */
.cta {
  background: var(--red);
  padding: 100px 50px;
}
.cta__title {
  font-family: var(--font-heavy);
  font-size: 37px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 14px;
}
.cta__proof {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 34px;
}
.cta-form {
  max-width: 739px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-form label { display: block; }
.cta-form label span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.cta-form input {
  width: 100%;
  height: 42px;
  padding: 12px;
  font-size: 16px;
  color: #fff;
  background: rgba(145, 145, 145, 0.15);
  border: none;
  border-radius: 10px;
  outline: none;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta-form input:focus { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cta-form button {
  height: 44px;
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.cta-form .cta-form__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  padding: 100px 50px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}
.site-footer__logo img { width: 143px; height: 126px; }
.site-footer__tagline {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer__social a { display: flex; }
.site-footer__social a:hover { opacity: 0.6; }
.site-footer__social svg {
  width: 25px; height: 25px;
  stroke: #000;
  fill: none;
}

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-page {
  background: var(--maroon);
  padding: 124px 50px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery-col figure {
  overflow: hidden;
}
.gallery-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-col figure.r45 { aspect-ratio: 0.8 / 1; }
.gallery-col figure.sq  { aspect-ratio: 1 / 1; }

/* ---------- Gallery CTA band ---------- */
.gallery-cta {
  background: var(--red);
  padding: 65px 50px;
  text-align: center;
}
.gallery-cta h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.gallery-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}
.gallery-cta__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-light,
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.btn-dark { background: rgba(0, 0, 0, 0.35); color: #fff; }
.btn-dark:hover { background: rgba(0, 0, 0, 0.55); transform: translateY(-1px); }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.thanks {
  background: var(--maroon);
  padding: 200px 50px 124px;
}
.thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  text-align: center;
}
.thanks h1 {
  font-family: var(--font-heavy);
  font-size: 37px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}
.thanks p {
  font-size: 18px;
  line-height: 1.9;
  color: #fff;
}

/* thank-you: next-steps flow */
.thanks .thanks__name { color: var(--gold); }
.thanks__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.thanks__check {
  width: 54px;
  height: 54px;
  border-radius: 54px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.thanks__check svg { width: 28px; height: 28px; fill: #fff; }
.thanks .thanks__save {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.thanks__video {
  width: 100%;
  max-width: 760px;
  margin-top: 36px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.thanks__video img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.thanks .thanks__lead {
  margin-top: 40px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}
.thanks__steps {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 760px;
}
.thanks-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.thanks-step:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.thanks-step__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.thanks-step__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.thanks-step__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Tablet — 810 to 1199
   ========================================================================== */
@media (max-width: 1199px) {
  .site-header { padding: 30px 30px; }

  .hero { min-height: 0; padding: 150px 30px 100px; }
  .hero__inner { max-width: 900px; align-items: center; gap: 30px; }
  .hero__texts { max-width: 538px; flex: 1; }
  .hero__texts h1 { font-size: 42px; }
  .quote-card { width: 320px; padding: 24px 12px; }

  .ratings { padding: 40px 30px; }
  .ratings__stats { gap: 32px; }
  .stat__num { font-size: 34px; }
  .tracks { margin: 0 -30px; }

  .standard { padding: 66px 30px 0; }
  .standard__title { font-size: 42px; }
  .carousel__slide { height: 600px; }

  .derby { padding: 100px 30px; margin-top: 100px; }
  .derby__inner { gap: 40px; }
  .derby__media { width: 348px; }
  .derby__media > img { height: 450px; }
  .key-numbers { width: 100%; padding: 11px 25px; }
  .key-numbers__item h3 { font-size: 36px; }
  .derby__texts { padding-top: 0; flex: 1; }
  .derby__texts h2 { font-size: 42px; }

  .process { padding: 95px 30px; }
  .process__title { font-size: 42px; }
  .pcard__texts h3 { font-size: 24px; }
  .banner { margin-top: 80px; height: 120px; padding: 0 30px; }
  .banner h2 { font-size: 22px; }

  .testimonials { padding: 62px 30px; }
  .testimonials__title { font-size: 26px; }

  .cta { padding: 100px 30px; }
  .cta__title { font-size: 36px; }

  .site-footer { padding: 100px 30px; }

  .gallery-page { padding: 124px 30px; }
  .gallery-grid { gap: 30px; }

  .thanks { padding: 180px 30px 100px; }
}

/* ==========================================================================
   Phone — up to 809
   ========================================================================== */
@media (max-width: 809px) {
  /* Framer phone layout: content is a centered 400px column */
  .container { max-width: 400px; }

  .site-header { padding: 30px; }
  .site-header--solo .site-header__inner { justify-content: center; }

  .hero {
    display: block;
    padding: 133px 20px 37px;
  }
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .hero__texts { max-width: none; text-align: center; }
  .hero__texts h1 { font-size: 29px; }
  .hero__sub { margin-bottom: 30px; margin-left: auto; margin-right: auto; }
  .hero__proof {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .quote-card { width: 100%; max-width: 320px; margin: 0 auto; padding: 20px 12px; }

  .ratings { padding: 40px 20px; }
  .ratings__inner {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .ratings__title {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    max-width: 400px;
  }
  .ratings__stats {
    flex-direction: column;
    gap: 22px;
    width: 100%;
    align-items: center;
  }
  .stat__num { font-size: 34px; }
  .stat__rule { display: none; }
  .tracks { margin: 0 -20px; }
  .track-name { font-size: 14px; gap: 24px; padding-right: 24px; }

  .standard { padding: 92px 20px 0; }
  .standard__title { font-size: 29px; }
  .standard__copy { font-size: 15px; }
  .carousel__slide { height: 400px; }
  .carousel__arrow--prev { left: 10px; }
  .carousel__arrow--next { right: 10px; }

  .derby { padding: 75px 20px; margin-top: 75px; }
  .derby__eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .derby__inner { flex-direction: column; gap: 30px; }
  .derby__media { width: 100%; }
  .derby__media > img { height: 360px; }
  .key-numbers { width: calc(100% + 8px); max-width: none; padding: 11px 20px; margin: -38px -4px 0; }
  .key-numbers__item h3 { font-size: 29px; }
  .derby__texts { max-width: none; }
  .derby__texts h2 { font-size: 29px; }

  .process { padding: 100px 20px 150px; }
  .process__title { font-size: 29px; }
  .process__sub { font-size: 15px; }
  .process__cards { margin-top: 50px; gap: 40px; }
  .pcard__texts h3 { font-size: 20px; }

  .banner {
    margin-top: 75px;
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 50px 30px;
  }
  .banner h2 { font-size: 20px; text-align: center; }
  .banner__phone-icon { width: 40px; height: 40px; padding: 8px; }
  .banner__phone-icon svg { width: 24px; height: 24px; }
  .banner__phone h4 { font-size: 18px; }

  .testimonials { padding: 49px 20px; }
  .testimonials__title { font-size: 23px; text-align: center; }

  .cta { padding: 80px 20px; }
  .cta__title { font-size: 32px; }
  .cta-form { max-width: 335px; padding: 0; }

  .site-footer { padding: 75px 30px; }
  .site-footer__inner { align-items: center; text-align: center; }

  .gallery-page { padding: 152px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-cta { padding: 55px 20px; }
  .gallery-cta h2 { font-size: 26px; }

  .thanks { padding: 152px 20px; }
  .thanks h1 { font-size: 32px; }
  .thanks p { font-size: 16px; }
    .thanks__steps { flex-direction: column; gap: 14px; margin-top: 30px; }
}
