/* ==========================================================================
   O'Neill Motorcycle Training, home page (2026 redesign, "Centrado")
   Built on the current design: light canvas, amber for actions, indigo for
   labels, Hanken Grotesk + Noto Sans + JetBrains Mono (self-hosted, the same
   files styles.css uses). Part 1 is the page structure; part 2, at the end,
   is the Centrado look: a centred headline over three photos, white space and
   hairlines instead of boxes, headings in ink. Only index.html loads it.
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/noto-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* Arial resized to the web fonts' metrics (same values as styles.css) */
@font-face {
  font-family: "Hanken Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 500;
  size-adjust: 101.58%;
  ascent-override: 98.44%;
  descent-override: 29.83%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Hanken Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 95.02%;
  ascent-override: 105.24%;
  descent-override: 31.89%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Noto Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 500;
  size-adjust: 105.48%;
  ascent-override: 101.35%;
  descent-override: 27.78%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Noto Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 101.95%;
  ascent-override: 104.85%;
  descent-override: 28.74%;
  line-gap-override: 0%;
}

/* ==========================================================================
   1. Tokens (defaults; each style overrides them)
   ========================================================================== */
:root {
  --bg: #f9fafb;
  --bg-alt: #f2f4f7;
  --surface: #ffffff;
  --ink: #101828;
  --ink-soft: #475467;
  --ink-faint: #667085;
  --line: #e4e7ec;
  --accent: #ffaa00;
  --accent-hover: #f99c00;
  --accent-ink: #101828;
  --accent-tint: #fff4dc;
  --navy: #0c297e;
  --navy-tint: #eef2ff;
  --dark: #101828;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.74);
  --dark-line: rgba(255, 255, 255, 0.14);

  --font-display: "Hanken Grotesk", "Hanken Fallback", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans", "Noto Fallback", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --h1: clamp(2.8rem, 1.4rem + 4.6vw, 5.2rem);
  --h2: clamp(2.05rem, 1.3rem + 2.4vw, 3.4rem);
  --h3: clamp(1.2rem, 1.08rem + 0.4vw, 1.4rem);
  --display-weight: 700;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 74px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 40px -18px rgba(16, 24, 40, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px;
  scroll-padding-bottom: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

.lead {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.65;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 20px 56px;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}

.section-head h2 {
  max-width: 9.6em;
}

.section-head .lead {
  padding-bottom: 0.3rem;
}

.lead a,
.step p a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lead a:hover,
.step p a:hover {
  text-decoration-thickness: 3px;
}

.section-head--center {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.section-head--center .lead {
  margin-top: -4px;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0.8em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--primary::after {
  content: "";
  width: 16px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 42%, 64% 42%, 64% 0, 100% 50%, 64% 100%, 64% 58%, 0 58%);
  transition: transform 0.3s var(--ease);
}

.btn--primary:hover::after {
  transform: translateX(3px);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--wa {
  background: #25d366;
  color: #06301a;
}

.btn--wa:hover {
  background: #36dd76;
}

.btn--sm {
  min-height: 44px;
  padding: 0.65em 1.2em;
  font-size: 0.93rem;
}

.btn--sm::after {
  display: none;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  transition: box-shadow 0.3s;
}

.site-header.is-solid {
  box-shadow: 0 10px 30px -20px rgba(16, 24, 40, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  position: relative;
  z-index: 2;
  flex: none;
}

.brand img {
  width: auto;
  height: 44px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__item--has-menu {
  position: relative;
}

.nav__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__menu a:hover {
  background: var(--bg-alt);
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav__phone svg {
  width: 16px;
  height: 16px;
}

.header-call,
.nav-toggle {
  display: none;
}

/* ==========================================================================
   5. Hero (structure; each style sets the look)
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: var(--h1);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.hero__visual {
  position: relative;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* "300+ riders passed" badge */
.stat-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-badge__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
}

.stat-badge__icon svg {
  width: 22px;
  height: 22px;
}

.stat-badge__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-badge__label {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: rise 0.8s var(--ease) both;
  }
  .hero__copy > :nth-child(2) { animation-delay: 0.05s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.1s; }

  .stat-badge {
    animation: pop 0.7s 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* ==========================================================================
   6. Trust strip
   ========================================================================== */
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust__item svg {
  flex: none;
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   7. Services: three cards with photos
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-4px);
}

.card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 26px 26px 28px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--ink);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__text {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}

.card__link::after {
  content: "\2192";
  transition: transform 0.3s var(--ease);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

.services__more {
  margin-top: clamp(28px, 3.5vw, 44px);
  color: var(--ink-soft);
  text-align: center;
}

.services__more a {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* ==========================================================================
   8. Showcase: the yard, the classroom, the gear room, the road
   ========================================================================== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(200px, 21vw, 290px));
  gap: clamp(10px, 1.4vw, 18px);
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.shot:hover img {
  transform: scale(1.04);
}

.shot figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 16px -8px rgba(16, 24, 40, 0.35);
}

.shot--yard   { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.shot--class  { grid-column: 8 / span 5; grid-row: 1; }
.shot--gear   { grid-column: 8 / span 3; grid-row: 2; }
.shot--plate  { grid-column: 11 / span 2; grid-row: 2; }
.shot--plate img { object-position: 50% 30%; }

.showcase__road {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px clamp(24px, 4vw, 56px);
  margin-top: clamp(10px, 1.4vw, 18px);
}

.showcase__road .photo {
  aspect-ratio: 16 / 7;
}

.showcase__road .photo img {
  object-position: 50% 35%;
}

.showcase__caption {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* caption and its "Book your IBT now" button (13-10), stacked beside the photo */
.showcase__aside {
  display: grid;
  justify-items: start;
  gap: 18px;
}

/* ==========================================================================
   9. The licence journey: four steps
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
}

.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
}

.step__tag {
  margin-bottom: 6px;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.step p:not(.step__tag) {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.step__link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.step__link::after {
  content: " \2192";
}

.step__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ==========================================================================
   10. Why riders choose us
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.why__side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.why__side .photo {
  margin-top: 32px;
  aspect-ratio: 4 / 5;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.reason {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: reason;
}

.reason::before {
  content: counter(reason, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.reason p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   11. Numbers
   ========================================================================== */
.stats-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--dark);
  color: var(--on-dark);
}

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

.stat {
  display: grid;
  gap: 10px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 2rem + 4vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.stat__label {
  max-width: 24ch;
  color: var(--on-dark-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* ==========================================================================
   12. Reviews
   ========================================================================== */
/* Reviews slide sideways: native scroll-snap, Previous / Next buttons from
   home.js, no autoplay. Every card is in the page for readers and search. */
.review-track {
  --gap: clamp(16px, 2vw, 24px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.review-slide {
  display: grid;
  scroll-snap-align: start;
}

/* the buttons replace the scrollbar once home.js is running */
.js .review-track {
  scrollbar-width: none;
}

.js .review-track::-webkit-scrollbar {
  display: none;
}

/* the button row keeps its height while hidden, so showing it moves nothing */
.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.carousel__nav[hidden] {
  display: none;
}

.js .carousel__nav[hidden] {
  display: flex;
  visibility: hidden;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__btn:hover {
  border-color: var(--accent);
}

.carousel__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}

.carousel__btn[aria-disabled="true"]:hover {
  border-color: var(--line);
}

.review {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  margin: 0;
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.review__stars {
  color: var(--amber-text);
  font-size: 1.05rem;
  letter-spacing: 3px;
}

.review__quote {
  font-size: 1.04rem;
  line-height: 1.65;
}

.review__who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.review__name {
  display: block;
  font-weight: 700;
}

.review__meta {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* Last card: the count of reviews and links to both Google profiles */
.review--cta {
  grid-template-rows: none;
  align-content: center;
  gap: 8px;
  justify-items: start;
}

.review-cta__num {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.review-cta__text {
  color: var(--ink-soft);
}

.review-cta__links {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.review-cta__links a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.review-cta__links a:hover {
  text-decoration-thickness: 3px;
}

/* ==========================================================================
   14. Book: call back form
   ========================================================================== */
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "info form"
    "van  form";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0 clamp(32px, 5vw, 80px);
}

.book__info {
  grid-area: info;
}

.book h2 {
  max-width: 7.9em;
  margin-bottom: 1.2rem;
}

.book__rows {
  display: grid;
  gap: 16px;
  margin: 32px 0 36px;
}

.book__row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.book__row-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--ink);
}

.book__row-icon svg {
  width: 22px;
  height: 22px;
}

.book__row dt {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.book__row dd {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.book__row dd a {
  text-decoration: none;
}

.book__van {
  grid-area: van;
  overflow: hidden;
  border-radius: var(--radius);
}

.book__van img {
  width: 100%;
}

.lead-form {
  grid-area: form;
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form__title {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.93rem;
  font-weight: 600;
}

.req {
  color: #d92d20;
}

.optional {
  color: var(--ink-faint);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a2b3;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(255, 170, 0, 0.28);
}

.field--error input {
  border-color: #d92d20;
}

.field__error {
  color: #b42318;
  font-size: 0.86rem;
}

.field__error:empty,
.form-status:empty {
  display: none;
}

.form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status--ok {
  background: #ecfdf3;
  color: #027a48;
}

.form-status--err {
  background: #fef3f2;
  color: #b42318;
}

.lead-form .btn--primary {
  margin-top: 6px;
}

.lead-form .btn--wa {
  margin-top: 10px;
}

.form-note {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 0.88rem;
  text-align: center;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.site-footer {
  padding: 76px 0 30px;
  background: var(--dark);
  color: var(--on-dark-soft);
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 40px;
}

.footer-brand .brand img {
  height: 48px;
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  color: var(--on-dark);
  transition: background-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.footer-title {
  margin-bottom: 16px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

/* Second group in a footer column (Guides under Lessons) */
.footer-group {
  margin-top: 28px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col li {
  overflow-wrap: anywhere;
}

.site-footer a {
  text-decoration: none;
}

.footer-col a:hover,
.footer-areas a:hover {
  color: var(--accent);
}

.footer-areas {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-line);
}

.footer-areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.86rem;
}

/* "Cookie settings" reopens the cookie notice (assets/js/consent.js): a button dressed as a footer link */
.footer-legal button {
  margin: -2px 0;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--accent);
}

/* ==========================================================================
   16. WhatsApp button (desktop) and quick bar (mobile)
   ========================================================================== */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(16, 24, 40, 0.45);
  transition: transform 0.25s var(--ease);
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
}

.wa-fab svg {
  width: 30px;
  height: 30px;
}

.quickbar {
  display: none;
}

/* ==========================================================================
   17. Scroll reveals (main.js adds .is-in; without JS nothing is hidden)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal,
  .js [data-stagger] > * {
    opacity: 0;
    translate: 0 22px;
    transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
  }

  .js .reveal.is-in,
  .js [data-stagger].is-in > * {
    opacity: 1;
    translate: none;
  }

  .js [data-stagger].is-in > :nth-child(2) { transition-delay: 0.07s; }
  .js [data-stagger].is-in > :nth-child(3) { transition-delay: 0.14s; }
  .js [data-stagger].is-in > :nth-child(4) { transition-delay: 0.21s; }
  .js [data-stagger].is-in > :nth-child(5) { transition-delay: 0.28s; }
  .js [data-stagger].is-in > :nth-child(6) { transition-delay: 0.35s; }
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__phone {
    display: none;
  }
}

@media (max-width: 1023px) {
  .hero__grid,
  .section-head,
  .why__grid,
  .book__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .book__grid {
    grid-template-areas:
      "info"
      "form"
      "van";
    gap: 0;
  }

  .book__van {
    margin-top: 32px;
  }

  .why__side {
    position: static;
  }

  .why__side .photo {
    aspect-ratio: 16 / 9;
  }

  .trust__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .cards > :first-child {
    grid-column: 1 / -1;
  }

  .cards > :first-child .card__media {
    aspect-ratio: 16 / 7;
  }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  /* backdrop-filter would trap the fixed menu inside the header */
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand img {
    height: 38px;
  }

  .header-call,
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
  }

  .header-call {
    margin-left: auto;
  }

  .header-call svg {
    width: 18px;
    height: 18px;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), background-color 0.2s;
  }

  .nav-toggle span {
    position: relative;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle span::before {
    top: -6px;
  }

  .nav-toggle span::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] span {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) 120px;
    overflow-y: auto;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .nav__link::after {
    display: none;
  }

  .nav__menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    min-width: 0;
    padding: 8px 0 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    /* Inherit from .nav, so the submenu can't take keyboard focus while the menu is closed */
    visibility: inherit;
    transform: none;
  }

  .nav__menu a {
    padding: 8px 0;
    color: var(--ink-soft);
  }

  .nav__item--has-menu > .nav__link {
    border-bottom: 0;
  }

  .nav__phone {
    display: inline-flex;
    margin-top: 26px;
    font-size: 1.05rem;
  }

  .nav .btn {
    margin-top: 20px;
  }

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

  .trust__item {
    font-size: 0.9rem;
  }

  .cards,
  .reasons,
  .steps,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards > :first-child .card__media {
    aspect-ratio: 4 / 3;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 250px 200px 200px;
  }

  .shot--yard  { grid-column: 1 / -1; grid-row: 1; }
  .shot--class { grid-column: 1 / -1; grid-row: 2; }
  .shot--gear  { grid-column: 1; grid-row: 3; }
  .shot--plate { grid-column: 2; grid-row: 3; }

  .showcase__road .photo {
    aspect-ratio: 16 / 10;
  }

  .stats {
    gap: 36px;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  /* Thumb-reach call and WhatsApp buttons (the footer makes room for them) */
  .site-footer {
    padding-bottom: calc(30px + 84px + env(safe-area-inset-bottom));
  }

  .wa-fab {
    display: none;
  }

  .quickbar {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 40px -14px rgba(16, 24, 40, 0.45);
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }

  .js .quickbar:not(.is-shown) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
  }

  .quickbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
  }

  .quickbar svg {
    width: 18px;
    height: 18px;
  }

  .quickbar__call {
    background: var(--accent);
    color: var(--accent-ink);
  }

  .quickbar__wa {
    background: #25d366;
    color: #06301a;
  }
}

/* ==========================================================================
   Part 2 · "Centrado"
   Calm and airy: a big centred headline with the current highlighter, three
   photos underneath, and the rest held by white space and fine hairlines
   instead of boxes. Headings in ink, emphasis in indigo, amber for actions.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --accent: #ffaa00;
  --accent-hover: #f59e0b;
  --accent-tint: #fff4dc;
  /* Amber for small text: brand #ffaa00 is only 2:1 on white, this one is
     4.9:1 on white and 4.6:1 on #f5f7fc (WCAG AA) */
  --amber-text: #a16207;
  --radius: 22px;
  --h1: clamp(2.7rem, 1.3rem + 4.2vw, 5rem);
}

mark {
  padding: 0 0.08em;
  background: linear-gradient(100deg, transparent 0.1em, #ffc94d 0.1em, #ffb319 calc(100% - 0.1em), transparent calc(100% - 0.1em)) 0 80% / 100% 42% no-repeat;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

h2 em {
  font-style: normal;
  color: var(--navy);
}

/* Every section heading is centred */
.section-head {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.section-head h2 {
  max-width: 11.2em;
}

.section-head .lead {
  margin-inline: auto;
  padding-bottom: 0;
}

/* ---------- Hero: centred headline, three photos ---------- */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  text-align: center;
}

.hero__grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(44px, 5vw, 72px);
}

.hero__copy {
  display: grid;
  justify-items: center;
}

.hero h1 {
  /* em, not ch: the width must not change when the web font replaces the fallback */
  max-width: 9.4em;
}

.hero__lead {
  margin-inline: auto;
}

.hero__actions {
  justify-content: center;
}

.hero__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 1.6vw, 22px);
  width: 100%;
}

.hero__side {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.hero__photo {
  aspect-ratio: 16 / 11;
  border-radius: 28px;
}

.hero__photo img {
  object-position: 60% 62%;
}

.stat-badge {
  right: 0;
  bottom: -26px;
  left: 0;
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}

/* ---------- Trust strip between hairlines ---------- */
.trust {
  margin-top: clamp(56px, 7vw, 88px);
}

.trust__inner {
  justify-items: center;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.trust__item svg {
  color: var(--navy);
}

/* ---------- Services: open columns, no boxes ---------- */
.card {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.card:hover {
  transform: none;
}

.card__media {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
}

.card__body {
  gap: 10px;
  padding: 22px 2px 0;
}

.card__icon {
  display: none;
}

.card__link {
  color: var(--navy);
}

/* ---------- Showcase ---------- */
.showcase {
  padding-bottom: clamp(72px, 9vw, 120px);
}

.shot {
  border-radius: var(--radius);
}

/* ---------- Journey: big numerals over a hairline ---------- */
.journey {
  background: var(--bg-alt);
}

.steps {
  gap: clamp(24px, 3vw, 40px);
}

.step {
  padding: 22px 0 0;
  border-top: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.step__num {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 8px;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step--us {
  border-top-color: var(--accent);
}

.step--us .step__num {
  color: var(--amber-text);
}

.step__tag {
  color: var(--navy);
}

/* ---------- Why us: centred heading, wide photo, reasons in three columns ---------- */
.why__grid {
  grid-template-columns: minmax(0, 1fr);
}

.why__side {
  position: static;
  display: grid;
  justify-items: center;
  text-align: center;
}

.why__side h2 {
  max-width: 11.2em;
}

.why__side .photo {
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-top: 40px;
  border-radius: 28px;
}

/* The whole training bike, mirrors included, with the helmet beside it */
.why__side .photo img {
  object-position: 50% 3%;
}

.reasons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 44px);
}

/* "Book your IBT now" under the six reasons, to the form below */
.why__cta {
  display: flex;
  justify-content: center;
  /* pulls back the grid's row gap, so the button sits close to the reasons */
  margin-top: calc(clamp(20px, 3vw, 36px) - clamp(32px, 5vw, 72px));
}

.reason {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.reason::before {
  color: var(--amber-text);
}

/* ---------- Steps and reasons: hover, tap and focus ---------- */
/* One active card per list (--on: 1): an amber rule draws in along its top
   line, the text goes from soft to full ink and, in the steps, the big number
   lifts 4px. With a mouse it follows :hover; on touch screens home.js sets
   .is-active on tap and on the card crossing the middle of the screen; with
   the keyboard, focus on the step's link. Only children and pseudo-elements
   change, never the li itself, so it can't fight the reveal transition, and
   nothing moves the layout. */
.reason {
  position: relative;
}

.step::before,
.reason::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(var(--on, 0));
  transform-origin: left;
  pointer-events: none;
}

.reason::after {
  top: -1px;
  height: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .step:hover,
  .reason:hover {
    --on: 1;
  }
}

.step:has(:focus-visible),
.step.is-active,
.reason.is-active {
  --on: 1;
}

.step p:not(.step__tag),
.reason p {
  color: color-mix(in srgb, var(--ink) calc(var(--on, 0) * 100%), var(--ink-soft));
}

.step,
.reason {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .step__num {
    translate: 0 calc(var(--on, 0) * -4px);
    transition: translate 0.3s var(--ease);
  }

  .step::before,
  .reason::after {
    transition: transform 0.45s var(--ease);
  }

  .step p:not(.step__tag),
  .reason p {
    transition: color 0.3s;
  }
}

/* ---------- Numbers between hairlines ---------- */
.stats-band {
  background: var(--bg-alt);
  color: var(--ink);
}

.stat {
  justify-items: center;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__label {
  color: var(--ink-soft);
}

/* ---------- Reviews, book ---------- */
.review {
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.book {
  background: var(--bg-alt);
}

.book h2 {
  max-width: 9em;
}

.lead-form {
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 24px 60px -30px rgba(16, 24, 40, 0.35);
}

/* ---------- Mobile ---------- */
@media (max-width: 1023px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-track {
    grid-auto-columns: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 760px) {
  /* Reviews run edge to edge on phones, so the next card peeks in */
  .review-track {
    grid-auto-columns: 86%;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  /* Square on phones: a wider crop clips the mirrors */
  .why__side .photo {
    aspect-ratio: 1 / 1;
  }

  .why__side .photo img {
    object-position: 55% 0;
  }

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

  .hero__side {
    display: none;
  }

  .hero__photo {
    aspect-ratio: 4 / 3;
  }

  .stat-badge {
    bottom: -22px;
  }

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

  .stat + .stat {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
