/* ==========================================================================
   QR Agri & Food Consulting — main stylesheet

   1. Foundation   design tokens, resets, base elements, shared utilities
   2. Layout       page sections and components (see index.html)
   3. State        classes applied at runtime by assets/js/app.js
   4. Responsive   breakpoint overrides, motion preferences
   ========================================================================== */


/* ==========================================================================
   1. Foundation
   ========================================================================== */

:root {
  --g-900: #7FC843;
  --g-800: #7FC843;
  --g-700: #7FC843;
  --g-600: #7FC843;
  --g-500: #7FC843;
  --g-300: #b9e3ad;
  --g-100: #e8f5e2;
  --b-700: #7FC843;
  --b-600: #7FC843;
  --b-500: #7FC843;
  --b-100: #e0f3e4;
  --terra: #B41A24;
  --terra-200: #f2ccd3;
  --red: #B41A24;
  --red-700: #B41A24;
  --red-100: #fbe7eb;
  --paper: #f7f3e9;
  --tint: #f1ebdc;
  --line: #e4dac4;
  --white: #fdfbf5;
  --ink: #221f19;
  --muted: #6b6455;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(31, 61, 25, .05), 0 12px 28px -14px rgba(31, 61, 25, .16);
  --shadow-lift: 0 2px 4px rgba(31, 61, 25, .06), 0 28px 50px -22px rgba(31, 61, 25, .26);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--b-600);
  text-decoration: none;
}

/* a:hover {
  color: var(--b-500);
} */

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--b-500);
  outline-offset: 3px;
}

::selection {
  background: #cdefc2;
}

.sweep {
  position: relative;
  display: inline-block;
}

.sweep::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.07em;
  height: 0.33em;
  background: #cdefc2;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: sweep 900ms cubic-bezier(.2, .7, .2, 1) 350ms forwards;
}

@keyframes sweep {
  to {
    transform: scaleX(1);
  }
}

.caret {
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.lift {
  transition: transform 320ms cubic-bezier(.2, .7, .2, 1), box-shadow 320ms;
}

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

.ulink {
  position: relative;
}

.ulink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(.2, .7, .2, 1);
}

.ulink:hover::after {
  transform: scaleX(1);
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 34s linear infinite;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   2. Layout
   ========================================================================== */

.page {
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: clip;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  z-index: 80;
  padding: 14px 0 8px;
  transition: padding .28s ease;
  /* background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); */
}

.shell-flush {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  background: rgba(253, 251, 245, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 1px 2px rgba(31, 61, 25, .04), 0 18px 40px -26px rgba(31, 61, 25, .4);
  transition: padding .28s ease, box-shadow .28s ease;
}

.brand {
  flex-shrink: 0;
  display: block;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  transition: height .28s ease;
}

/* compact header on scroll */
.site-header.is-compact {
  padding: 6px 0 4px;
}

.site-header.is-compact .nav-bar {
  padding: 4px 8px 4px 16px;
  box-shadow: 0 1px 2px rgba(31, 61, 25, .05), 0 12px 28px -22px rgba(31, 61, 25, .45);
}

.site-header.is-compact .brand-logo {
  height: 24px;
}

.site-header.is-compact .nav-link {
  padding: 6px 12px;
}

.site-header.is-compact .btn-nav-cta {
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {

  .site-header,
  .site-header .nav-bar,
  .site-header .brand-logo {
    transition: none;
  }
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 auto;
  font-size: 15px;
  min-width: 0;
}

.nav-link {
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: padding .28s ease;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Browser translators (Google/Edge) wrap our copy in inline <font>/<span>
   nodes. Left inline they can break a pill across two lines and shift the
   whole bar while the header compacts on scroll. */
.site-header font,
.site-header .nav-link>*,
.site-header .btn-nav-cta>*,
.site-header .nav-phone>* {
  display: inline;
  white-space: nowrap;
  vertical-align: baseline;
  line-height: inherit;
}

.site-header .btn-nav-cta,
.site-header .nav-phone,
.site-header .lang-switch {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-phone {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 4px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 11px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.burger-bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.lang-switch {
  display: flex;
  padding: 3px;
  gap: 2px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.btn-nav-cta {
  background: var(--b-600);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(53, 148, 76, .7);
  transition: padding .28s ease;
}

.mobile-menu {
  margin-top: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  padding: 8px;
}

.mobile-link {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 17px;
}

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 116px 40px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--b-100);
  border: 1px solid #c6e8cd;
  color: var(--g-800);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 26px;
}

.badge-year {
  background: var(--g-800);
  color: var(--white);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(38px, 3vw, 55px);
  color: var(--ink);
  margin-bottom: 22px;
  position: relative;
  z-index: 0;
}

.hero-typed {
  display: block;
  color: var(--g-700);
  min-height: 1.12em;
}

.hero-caret {
  display: inline-block;
  width: 3px;
  height: 0.86em;
  background: var(--red);
  vertical-align: -0.09em;
  margin-left: 4px;
  border-radius: 2px;
}

.t-ink {
  color: var(--ink);
}

.hero-lede {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 33em;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-primary-lg {
  background: var(--b-600);
  color: var(--white);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(53, 148, 76, .45);
}

.btn-ghost-lg {
  color: var(--terra);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--terra-200);
  background: var(--white);
}

.hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 108px;
}

.hero-stat-num {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.014em;
}

.stat-label {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-figure {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.is-square {
  border-radius: 0;
}

.hero-next {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: var(--white);
  border-radius: var(--r);
  padding: 16px 20px;
  box-shadow: var(--shadow-lift);
  max-width: 250px;
}

.hero-next-label {
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-next-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 16.5px;
}

.card-meta {
  color: var(--muted);
  font-size: 14px;
}

.hero-badge {
  position: absolute;
  right: -14px;
  top: 28px;
  background: var(--g-800);
  color: var(--g-100);
  border: 1px solid rgba(149, 214, 163, .3);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--shadow-lift);
}

.hero-badge-num {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--white);
}

.hero-badge-label {
  font-size: 12.5px;
}

.ticker {
  background: var(--red);
  color: var(--white);
  padding: 15px 0;
  overflow: hidden;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: .95;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--white);
  display: inline-block;
  opacity: .65;
}

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

.pb-0 {
  padding-bottom: 0 !important;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 40px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 3vw, 44px);
  max-width: 22em;
}

.section-link {
  margin-left: auto;
  font-weight: 600;
}

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

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 196px;
}

.card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag-row {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tag {
  background: var(--g-100);
  color: var(--g-700);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
}

.card-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-text {
  color: var(--muted);
  margin-bottom: 20px;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
}

.section-md {
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 40px 0;
}

.section-head-inline {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.eyebrow-flush {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.section-note {
  color: var(--muted);
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 14px;
}

.tile {
  height: 260px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-intro {
  margin-bottom: 28px;
}

.section-title-tight {
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 10px;
}

.section-lede {
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 9px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stack-14 {
  display: grid;
  gap: 14px;
}

.course {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 118px 1fr 220px;
  gap: 24px;
  padding: 20px 24px;
  align-items: center;
}

.course-date {
  background: var(--g-800);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}

.course-day {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
}

.course-month {
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--g-300);
}

.course-title {
  font-size: 21px;
  margin-bottom: 6px;
}

.course-blurb {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
  max-width: 46em;
}

.course-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tag-outline {
  border: 1px solid var(--g-300);
  color: var(--g-700);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.pill-muted {
  background: var(--paper);
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.course-seats {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 9px;
}

/* A link (to the course's page), sized as the button it used to be. */
.btn-register {
  display: inline-block;
  background: var(--b-600);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  text-align: center;
  cursor: pointer;
}

.empty-state {
  background: var(--white);
  border-radius: var(--r);
  padding: 36px;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.why {
  background: linear-gradient(180deg, #7FC843 0%, #7FC843 52%, #7FC843 100%);
  position: relative;
  height: 500vh;
}

.why-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.why-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, .14);
}

.why-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 54px 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  width: 100%;
}

.why-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-eyebrow {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-300);
  font-weight: 700;
  margin-bottom: 22px;
}

.why-link {
  color: var(--white);
  font-weight: 600;
  display: inline-block;
  margin-top: 18px;
}

.why-dots {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}

.why-media {
  position: relative;
  height: 64vh;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.about {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 0px;
  padding-top: 44px;
  position: relative;
  /* One viewport to pin, plus 75vh of scroll per card (400vh for the design's four). */
  height: calc(100vh + var(--ab-n, 4) * 75vh);
}

.about-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  overflow-y: visible;
  /* The top padding clears the fixed header while the section is pinned. */
  padding: 84px 0 28px;
}

.about-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.rel {
  position: relative;
}

.portrait {
  /* Positioned so the absolutely placed photo is clipped to the arch. */
  position: relative;
  height: 58vh;
  min-height: 340px;
  border-radius: 190px 190px 18px 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(47, 107, 38, .14);
}

.about-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-track {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.about-count {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--g-700);
}

.about-lead {
  margin-top: 54px;
}

.about-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.meta-sm {
  color: var(--muted);
  font-size: 13.5px;
}

.about-text {
  position: relative;
  min-width: 0;
}

.about-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.grow {
  flex: 1;
}

.about-nav {
  display: flex;
  gap: 8px;
}

.quote {
  margin: 0 0 30px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.16;
  letter-spacing: -.014em;
  color: var(--ink);
  max-width: 24em;
}

/* Paragraph-length quote: reading size, set off by a rule instead of by scale. */
.quote.is-long {
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.004em;
  max-width: 46em;
  padding-left: 22px;
  border-left: 3px solid var(--red);
}

/* The padding widens the clip box so the raised card's shadow is not cut off
   in a hard band; the matching negative margins keep the layout unchanged. */
.logo-strip {
  overflow: hidden;
  margin: 0 -20px -48px;
  padding: 0 14px 48px;
}

.h-founder {
  font-size: 22px;
  letter-spacing: -.012em;
  margin-bottom: 10px;
}

.body-sm {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.card-thumb {
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: auto;
}

.about-tags {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-blue {
  background: var(--b-100);
  color: var(--b-700);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
}

.about-facts {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
}

.stat-num-lg {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--ink);
}

.rule-left {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.section-lg {
  max-width: 1320px;
  margin: 0 auto;
  padding: 104px 40px 0;
}

.testi {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 56px;
  align-items: start;
}

.testi-eyebrow {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 26px;
}

.testi-quote {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.32;
  letter-spacing: -.012em;
  max-width: 36em;
  min-height: 250px;
  color: var(--ink);
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.testi-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 17px;
}

.btn-circle,
.btn-circle-solid {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 27px;
  line-height: 40px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 220ms, color 220ms, border-color 220ms,
    box-shadow 220ms, transform 220ms cubic-bezier(.2, .7, .2, 1);
}

.btn-circle:hover,
.btn-circle-solid:hover {
  background: var(--g-800);
  border-color: var(--g-800);
  color: var(--white);
  box-shadow: 0 10px 22px -12px rgba(31, 61, 25, .55);
}

/* Nudge each arrow toward the direction it navigates. */
.btn-circle:hover {
  transform: translateX(-2px);
}

.btn-circle-solid:hover {
  transform: translateX(2px);
}

.btn-circle:active,
.btn-circle-solid:active {
  transform: scale(.94);
}

.is-round {
  border-radius: 50%;
}

.btn-label {
  text-align: left;
  min-width: 0;
}

.person-name {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 15.5px;
}

.person-role {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.faq {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 56px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 110px;
}

.faq-title {
  font-size: clamp(28px, 2.6vw, 40px);
  margin-bottom: 14px;
}

.link-bold {
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-q {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -.01em;
}

.faq-a {
  padding: 0 44px 26px 52px;
  color: var(--muted);
  max-width: 46em;
}

.blog {
  padding: 104px 0 0;
}

.blog-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.blog-link {
  font-weight: 600;
  white-space: nowrap;
}

.blog-media {
  height: 420px;
  overflow: hidden;
}

.blog-overlap {
  max-width: 1320px;
  margin: -110px auto 0;
  padding: 0 40px;
  position: relative;
}

.blog-card {
  background: var(--white);
  max-width: 720px;
  padding: 34px 38px 36px;
  box-shadow: var(--shadow);
}

.blog-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag-red {
  background: var(--red-100);
  color: var(--red-700);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.tag-line {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.blog-title {
  font-size: clamp(24px, 2.4vw, 34px);
  margin-bottom: 12px;
  letter-spacing: -.014em;
}

.blog-text {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 40em;
}

.news-wrap {
  max-width: 1320px;
  margin: 72px auto 0;
  padding: 0 40px;
}

.news {
  border-top: 2px solid var(--g-800);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.news-eyebrow {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-700);
  font-weight: 700;
  margin-bottom: 10px;
}

.news-title {
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -.014em;
  max-width: 22em;
}

.news-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-input {
  flex: 1;
  min-width: 190px;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  padding: 12px 2px;
  font-size: 16.5px;
  font-family: inherit;
  color: var(--ink);
}

.btn-subscribe {
  background: var(--g-800);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.news-msg {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

.signup {
  margin-top: 104px;
  background: var(--tint);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.signup-ghost {
  position: absolute;
  right: -40px;
  top: -30px;
  font-family: Fraunces, Georgia, serif;
  font-size: 300px;
  font-weight: 600;
  line-height: 1;
  color: rgba(47, 107, 38, .07);
  pointer-events: none;
}

.signup-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  padding: 96px 40px 104px;
  align-items: center;
  position: relative;
}

.signup-eyebrow {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}

.signup-title {
  font-size: clamp(28px, 3vw, 42px);
  color: var(--ink);
  margin-bottom: 16px;
}

.signup-lede {
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 28px;
}

.signup-facts {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 15.5px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lift);
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.stack-20 {
  display: grid;
  gap: 20px;
}

.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  resize: vertical;
}

.done-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--g-100);
  color: var(--g-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.done-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.done-text {
  color: var(--muted);
  margin-bottom: 18px;
}

.done-summary {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
}

.btn-back {
  background: var(--white);
  color: var(--terra);
  border: 1px solid var(--terra-200);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.btn-next {
  background: var(--b-600);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(53, 148, 76, .55);
}

.step-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13.5px;
}

.site-footer {
  background: var(--g-800);
  color: var(--g-100);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 40px 30px;
  display: grid;
  grid-template-columns: 1.3fr .6fr .6fr .7fr;
  gap: 40px;
}

.footer-brand {
  background: var(--white);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-block;
  text-decoration: none;
  transition: opacity .18s ease;
}

.footer-brand:hover {
  opacity: .85;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-about {
  opacity: .75;
  font-size: 15px;
  margin-top: 18px;
  max-width: 27em;
}

.foot-head {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--g-300);
  margin-bottom: 14px;
}

.foot-list {
  display: grid;
  gap: 9px;
  font-size: 15px;
}

.link-light {
  color: var(--g-100);
}

.footer-legal {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 40px 44px;
  border-top: 2px solid var(--red);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  opacity: .75;
}

.bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  display: none !important;
}

.bar-text {
  min-width: 0;
}

.bar-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}

.bar-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-bar-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.btn-bar-cta {
  background: var(--b-600);
  color: var(--white);
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

/* ==========================================================================
   3. State
   Rules for classes applied at runtime by assets/js/app.js. Scroll-driven
   values arrive as custom properties (--fade, --shift, --bar-w, …) so the
   declarations themselves stay here rather than in a style attribute.
   ========================================================================== */

/* --- Filter / choice chips ------------------------------------------------ */
.chip {
  cursor: pointer;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: background 180ms, color 180ms, border-color 180ms;
}

.chip.is-active {
  border-color: transparent;
  background: var(--g-800);
  color: var(--white);
}

.chip--dark {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #daf2df;
}

.chip--dark.is-active {
  border-color: transparent;
  background: #ffffff;
  color: #26571f;
}

/* --- Language switch ------------------------------------------------------ */
.lang-btn {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Public Sans", sans-serif;
  background: transparent;
  color: var(--muted);
  transition: background 180ms, color 180ms;
}

.lang-btn.is-active {
  background: var(--g-800);
  color: var(--white);
}

/* --- "Why QR" scroll section ---------------------------------------------- */
.why-bar {
  height: 100%;
  width: var(--bar-w, 0%);
  background: var(--red);
  transition: width 90ms linear;
}

.why-tick {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 2px 0 2px 12px;
  text-align: left;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(218, 242, 223, .38);
  border-left: 2px solid rgba(255, 255, 255, .16);
  transition: color 260ms, border-color 260ms;
}

.why-tick.is-active {
  color: #ffffff;
  border-left-color: var(--red);
}

.why-kicker {
  font-size: 13px;
  letter-spacing: .14em;
  color: #B41A24;
  font-weight: 700;
  margin-bottom: 14px;
  opacity: var(--fade, 1);
  transform: translateY(var(--shift, 0));
}

.why-title {
  font-size: clamp(30px, 3.6vw, 54px);
  color: #ffffff;
  margin-bottom: 18px;
  max-width: 20em;
  opacity: var(--fade, 1);
  transform: translateY(var(--shift, 0));
}

.why-body {
  font-size: 18.5px;
  color: var(--g-100);
  max-width: 30em;
  opacity: var(--fade, 1);
  transform: translateY(var(--shift, 0));
}

.why-dot {
  display: block;
  height: 4px;
  border-radius: 999px;
  width: 14px;
  background: rgba(255, 255, 255, .28);
  transition: width 320ms, background 320ms;
}

.why-dot.is-active {
  width: 40px;
  background: #ffffff;
}

.why-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(var(--slide-scale, 1.05));
  transition: opacity 520ms cubic-bezier(.2, .7, .2, 1), transform 200ms linear;
}

.why-slide.is-active {
  opacity: 1;
}

.why-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(12, 45, 20, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* --- Founder / about scroll section --------------------------------------- */
.ab-portrait {
  position: absolute;
  inset: 0;
  transform: scale(var(--portrait-scale, 1.12)) translateY(var(--portrait-y, 0));
  transition: transform 160ms linear;
}

.ab-bar {
  height: 100%;
  width: var(--bar-w, 0%);
  background: var(--red);
  border-radius: 999px;
  transition: width 120ms linear;
}

/* app.js measures how far the track overflows the strip and slides it by that much. */
.ab-track {
  display: flex;
  gap: 16px;
  transform: translateX(var(--track-x, 0));
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1);
}

/* Paged: one card fills the column and the track snaps a whole card per chapter. */
.ab-track.is-paged {
  transition-duration: 640ms;
}

.ab-card {
  /* 59% of the strip, less the 2 x 6px margin and the share of the gaps. */
  flex: 0 0 calc(59% - 24px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: var(--r);
  padding: 24px;
  margin: 6px;
  transition: background 320ms, box-shadow 320ms, transform 320ms, border-color 320ms;
}

.ab-track.is-paged .ab-card {
  flex-basis: calc(100% - 12px);
}

.ab-card > :last-child {
  margin-bottom: 0;
}

/* Kicker and name only: a signature card, centred, with a faint closing quote mark. */
.ab-card.is-byline {
  position: relative;
  isolation: isolate;
  justify-content: center;
  min-height: 132px;
  overflow: hidden;
}

.ab-card.is-byline .h-founder {
  font-size: clamp(24px, 2.1vw, 30px);
}

.ab-card.is-byline::after {
  content: "\201D";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-30%);
  z-index: -1;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(120px, 13vw, 180px);
  line-height: 1;
  color: var(--red);
  opacity: .1;
  pointer-events: none;
}

.ab-card.is-on {
  background: var(--white);
  border-color: transparent;
}

.ab-card.is-stacked {
  box-shadow: var(--shadow);
}

.ab-card.is-raised {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.ab-kicker {
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--muted);
  transition: color 320ms;
}

.ab-kicker.is-on {
  color: var(--red);
}

.ab-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--line);
  transition: width 280ms, background 280ms;
}

.ab-dot.is-active {
  width: 30px;
  background: var(--red);
}

/* --- Testimonial picker ---------------------------------------------------- */
.face-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  transition: background 240ms, box-shadow 240ms;
}

.face-row.is-active {
  background: var(--white);
  box-shadow: var(--shadow);
}

.face-ring {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 240ms;
}

.face-ring.is-active {
  box-shadow: 0 0 0 2px var(--red);
}

/* --- FAQ accordion --------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 260ms;
}

.faq-item.is-open {
  background: rgba(224, 243, 228, .55);
}

.faq-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 26px 24px 26px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}

.faq-num {
  width: 36px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color 220ms;
}

.faq-num.is-open {
  color: var(--red);
}

.faq-icon {
  margin-left: auto;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  transform: none;
  transition: transform 240ms cubic-bezier(.2, .7, .2, 1), color 220ms;
}

.faq-icon.is-open {
  color: var(--red);
  transform: rotate(45deg);
}

/* --- Registration form stepper --------------------------------------------- */
.step {
  flex: 1;
}

.step-bar {
  height: 4px;
  border-radius: 999px;
  margin-bottom: 9px;
  background: var(--line);
  transition: background 300ms;
}

.step-bar.is-done {
  background: var(--b-600);
}

.step-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.step-label.is-done {
  color: var(--ink);
}

/* --- Sticky bottom bar ------------------------------------------------------ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(253, 251, 245, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(31, 61, 25, .3);
  transform: translateY(130%);
  transition: transform 320ms cubic-bezier(.2, .7, .2, 1);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}



/* nav pill hover (was style-hover in the source) */
.nav-pill:hover {
  background: var(--tint);
  color: var(--red) !important;
}

/* static stand-ins for <image-slot>, matching its shadow-DOM appearance */
.img-slot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
      background-color: var(--b-500);
  aspect-ratio: 3/2;
  font: 13px/1.3 system-ui, -apple-system, sans-serif;
  color: inherit;
  overflow: hidden;
}

.img-slot-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(127, 127, 127, .08);
}

.img-slot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  user-select: none;
}

.img-slot-empty svg {
  opacity: .45;
}

.img-slot-empty .cap {
  max-width: 90%;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: .75;
}

.img-slot-empty .sub {
  font-size: 11px;
  opacity: .75;
}

.img-slot-empty .sub u {
  text-underline-offset: 2px;
}

.img-slot-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1.5px dashed currentColor;
  opacity: .35;
}

x-for,
x-if,
x-item {
  display: contents;
}

/* real images inside .img-slot stand-ins */
.img-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-slot-frame:has(.img-slot-img) {
  background: none;
}

.img-slot-frame:has(.img-slot-img)+.img-slot-ring,
.img-slot:has(.img-slot-img) .img-slot-ring {
  display: none;
}

.img-slot.is-round .img-slot-img {
  border-radius: 50%;
}
/* ---------- blog slider (card content slides; card design unchanged) ---------- */
.blog-viewport {
  overflow: hidden;
}

.blog-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}

.blog-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* keep the last element's spacing identical to the original card */
.blog-slide>:last-child {
  margin-bottom: 0;
}

.blog-ctrls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.blog-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* line-height: 20px !important; */
    border: 1px solid #2f6b26;
    background: #2f6b2629;
    color: var(--ink);
    border-radius: 999px;
    font-size: 16px;
    /* line-height: 40px !important; */
    line-height: 52px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.blog-arrow:hover {
    background: #2f6b26;
    border-color: #2f6b26;
  color: var(--white);
}
.slider-section .blog-ctrls {
    position: absolute;
    bottom: -50px;
    left: 32px;
}

#fondatrice .logo-strip .r-card:nth-child(3) .img-slot-frame .img-slot-img{
  object-fit: contain;
}
#fondatrice .logo-strip .r-card:nth-child(4) .img-slot-frame .img-slot-img{
  object-fit: contain;
}
#services .lift.card:nth-child(1) .img-slot-img{
    object-fit: contain;
}


/* --- BRCGS approved training highlight ------------------------------------ */

.brcgs-approved-training {
  padding: 12px 0 8px;
}

.brc-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(32px, 4.4vw, 60px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--g-800);
  box-shadow: var(--shadow-lift);
  color: var(--white);
}

.brc-glow {
  position: absolute;
  inset: auto -12% -55% -12%;
  height: 320px;
  z-index: -1;
  background: radial-gradient(60% 100% at 20% 100%, rgba(69, 178, 94, .3), transparent 70%);
  pointer-events: none;
}

.brc-head {
  max-width: 46em;
}

.brc-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(185, 227, 173, .32);
  background: rgba(255, 255, 255, .07);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-300);
}

.brc-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--b-500);
  box-shadow: 0 0 0 4px rgba(69, 178, 94, .22);
}

.brc-title {
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 12px;
}

.brc-lede {
  color: rgba(253, 251, 245, .74);
  font-size: 16.5px;
  line-height: 1.6;
}

.brc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.brc-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.brc-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .095);
  border-color: rgba(185, 227, 173, .4);
}

.brc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--b-500), var(--g-700));
  font-family: Fraunces, Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--b-100);
}

.brc-card-title {
  font-size: 19px;
  margin-bottom: 8px;
}

.brc-card-text {
  color: rgba(253, 251, 245, .68);
  font-size: 14.5px;
  line-height: 1.6;
}

.brc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.brc-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.brc-stat-n {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brc-stat-l {
  margin-top: 3px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(253, 251, 245, .6);
  font-weight: 600;
}

.brc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--g-900);
  font-weight: 600;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
  transition: transform .25s ease, color .25s ease;
}

.brc-cta:hover {
  transform: translateY(-2px);
  color: var(--g-800);
}

.brc-cta span {
  transition: transform .25s ease;
}

.brc-cta:hover span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .brc-grid {
    grid-template-columns: 1fr;
  }

  .brc-foot {
    align-items: flex-start;
  }

  .brc-stats {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .brc-card,
  .brc-cta,
  .brc-cta span {
    transition: none;
  }

  .brc-card:hover,
  .brc-cta:hover,
  .brc-cta:hover span {
    transform: none;
  }
}

/* Static markup uses the `hidden` attribute for content the page hides at
   runtime (filtered-out courses, closed FAQ answers, inactive form steps).
   Several of those elements set `display` above, which would otherwise beat
   the user-agent default for [hidden]. */
[hidden] {
  display: none !important;
}

#brcgs-approved-training{
  padding-top: 80px;
}


/* ---------- "why" chapter document link ---------- */
.why-body-doc-link {
  cursor: pointer;
  color: inherit;
}
.brcgs-approved-training .image img{
  width: 100%;
  border: 1px solid #fff;
  border-radius: 32px;
}
.brcgs-approved-training .image{
  margin-top: 30px;
}

/* ==========================================================================
   Header: Services dropdown
   Desktop uses hover + focus-within; below 1080px the .r-nav is hidden and
   the same links appear as a sub-list inside .mobile-menu.
   ========================================================================== */

.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-drop-toggle>.nav-drop-caret {
  display: inline-block !important;
  vertical-align: middle;
  flex: 0 0 auto;
}

.nav-drop-caret {
  transition: transform .22s ease;
}

.nav-drop:hover .nav-drop-caret,
.nav-drop:focus-within .nav-drop-caret {
  transform: rotate(180deg);
}

/* Hover bridge: keeps the pointer from falling through the gap between the
   pill and the panel while moving down into it. */
.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 264px;
  margin-top: 10px;
  padding: 0px;
  background: var(--white);
  border: 1px solid var(--line);
  /* border-radius: 18px; */
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
}

.nav-drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-link {
  display: block;
  padding: 11px 14px;
  /* border-radius: 12px; */
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  transition: background .18s ease, color .18s ease;
}

.nav-drop-link:hover {
  background: var(--g-100);
  color: var(--g-900) !important;
}

/* Mobile: sub-links nested under the Services entry in the burger menu */
.mobile-sublist {
  display: grid;
  gap: 2px;
  margin: 2px 0 6px 14px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.mobile-sublink {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.mobile-sublink:hover {
  background: var(--g-100);
  color: var(--g-900);
}

/* Burger-menu parent label that only heads a sublist ("Formations"): it groups
   the entries below it rather than navigating anywhere. */
.mobile-link-static {
  cursor: default;
  padding-bottom: 6px;
}

/* Register CTA inside the burger menu — the navbar .btn-nav-cta is hidden
   below 380px, so the action stays reachable here on narrow phones. */
.mobile-link-cta {
  margin-top: 6px;
  background: var(--b-600);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.mobile-link-cta:hover {
  background: var(--g-900);
  color: var(--white);
}

.nav-drop .nav-pill.nav-link.nav-drop-toggle span{
  font-size: 16px !important;
  font-weight: 500 !important;
      color: var(--ink) !important;
      text-transform: capitalize !important;
}
.nav-drop .nav-pill.nav-link.nav-drop-toggle:hover span{
      color: var(--red) !important;
}
.bar-inner{
  display: none;
}


/* ----- wide training dropdown (BRCGS + FSMA groups) ----- */

.nav-drop-panel-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 6px 26px;
}

.nav-drop-group {
  display: flex;
  flex-direction: column;
}

.nav-drop-head {
  padding: 9px 14px 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--b-600);
}

.nav-drop-head:hover {
  color: var(--b-700);
}

.nav-drop-head-sep {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}


/* ==========================================================================
   Cookie consent banner
   Injected by assets/js/cookie-consent.js. Uses the same tokens, radii and
   pill buttons as the rest of the site.
   ========================================================================== */

.ck-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  padding: 16px;
  transform: translateY(120%);
  transition: transform 320ms cubic-bezier(.2, .7, .2, 1);
}

.ck-banner.is-open {
  transform: translateY(0);
}

.ck-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.ck-banner-inner-prefs {
  align-items: flex-start;
}

.ck-banner-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ck-banner-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.ck-banner-text {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.ck-banner-link {
  color: var(--b-600);
  font-weight: 600;
  text-decoration: underline;
}

.ck-banner-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ck-banner-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 220ms, box-shadow 220ms, background 220ms, color 220ms;
}

.ck-banner-btn-primary {
  background: var(--b-600);
  color: var(--white);
  box-shadow: 0 12px 26px -14px rgba(53, 148, 76, .55);
}

.ck-banner-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -14px rgba(53, 148, 76, .7);
}

.ck-banner-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.ck-banner-btn-ghost:hover {
  border-color: var(--b-600);
  color: var(--b-600);
}

.ck-banner-btn-text {
  background: transparent;
  color: var(--muted);
  padding: 12px 10px;
  text-decoration: underline;
}

.ck-banner-btn-text:hover {
  color: var(--b-600);
}

/* ----- preferences ----- */

.ck-banner-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin-top: 14px;
}

.ck-banner-cat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.ck-banner-cat input {
  flex: none;
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--b-600);
  cursor: pointer;
}

.ck-banner-cat input:disabled {
  cursor: default;
  opacity: .6;
}

.ck-banner-cat-text {
  display: block;
  min-width: 0;
}

.ck-banner-cat-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.ck-banner-always {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--b-600);
}

.ck-banner-cat-desc {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .ck-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }

  .ck-banner-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .ck-banner-btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .ck-banner {
    transition: none;
  }
}


/* ----- form validation states (assets/js/forms.js) ----- */

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-100);
}

.field-error {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--b-700);
}

.form-status.is-err {
  color: var(--red);
}
