:root {
  --color-primary: #A21E19;
  --color-primary-dark: #7A1612;
  --color-secondary: #1f2937;
  --color-secondary-light: #374151;
  --color-surface: #ffffff;
  --color-muted: #6b7280;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --gradient-brand: linear-gradient(165deg, #c03932 0%, var(--color-primary) 48%, var(--color-primary-dark) 100%);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-offset, 10.5rem);
}

body {
  font-family: var(--font-sans);
  background: var(--color-surface);
  color: var(--color-secondary);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.bg-primary {
  background-color: var(--color-primary);
}

.topbar-contact {
  background: var(--gradient-brand);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.border-primary {
  border-color: var(--color-primary);
}

.border-secondary {
  border-color: var(--color-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

.font-display {
  font-family: var(--font-display);
}

.logo {
  display: block;
  width: auto;
  height: 2.25rem;
}

.logo-nav {
  height: 3rem;
}

@media (min-width: 1024px) {
  .logo-nav {
    height: 3.35rem;
  }
}

.logo-sm {
  height: 1.875rem;
}

.logo-lg {
  height: 3.75rem;
}

.logo-hero {
  height: 4.5rem;
}

@media (min-width: 640px) {
  .logo-hero {
    height: 5.5rem;
  }
}

.hero-pattern {
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(162, 30, 25, 0.08), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(122, 22, 18, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
}

.site-nav {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.35rem;
  color: var(--color-secondary);
  transition: color 180ms ease;
}

.nav-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary);
}

.nav-link:hover svg,
.nav-link.is-active svg {
  opacity: 1;
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.category-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  color: var(--color-secondary-light);
  font-weight: 500;
  transition: color 180ms ease;
}

.category-link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0;
  height: 1.5px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.category-link:hover,
.category-link.is-active {
  color: var(--color-primary);
}

.category-link:hover::after,
.category-link.is-active::after {
  transform: scaleX(1);
}

.btn-nav {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  transition: color 160ms ease;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

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

.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 700ms ease both;
}

.animate-fade-up-delay {
  animation: fade-up 800ms ease 120ms both;
}

.animate-fade-up-delay-2 {
  animation: fade-up 900ms ease 220ms both;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .site-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.category-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--color-secondary);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.category-chevron:hover {
  color: var(--color-primary);
  border-color: rgba(162, 30, 25, 0.35);
  background: rgba(162, 30, 25, 0.04);
}

.category-nav-track {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav-track::-webkit-scrollbar {
  display: none;
}

.category-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .category-nav-inner {
    gap: 1.5rem;
    justify-content: center;
  }
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--color-secondary);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.carousel-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(162, 30, 25, 0.04);
}

.content-carousel {
  overflow: hidden;
}

.content-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.content-carousel-track::-webkit-scrollbar {
  display: none;
}

.content-carousel-slide {
  flex: 0 0 min(85%, 22rem);
  scroll-snap-align: start;
}

.card-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.card-link:hover {
  border-color: rgba(162, 30, 25, 0.25);
}

.filter-menu {
  position: relative;
}

.filter-menu > summary {
  list-style: none;
}

.filter-menu > summary::-webkit-details-marker {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(162, 30, 25, 0.5);
  background: #fff;
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.filter-btn:hover,
.filter-menu[open] > .filter-btn {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(162, 30, 25, 0.04);
}

.catalog-toolbar-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (min-width: 1024px) {
  .catalog-toolbar-bar {
    flex-direction: row;
    align-items: center;
  }
}

.catalog-search-input {
  width: 100%;
  height: 3rem;
  border: 1px solid rgba(162, 30, 25, 0.5);
  border-radius: 999px;
  padding: 0 2.75rem 0 1rem;
  font-size: 1rem;
  color: var(--color-secondary);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.catalog-date-input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid rgba(162, 30, 25, 0.35);
  border-radius: 0.75rem;
  padding: 0 0.9rem;
  font-size: 0.95rem;
  color: var(--color-secondary);
  background: #fff;
  box-sizing: border-box;
}

.catalog-date-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.filter-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 30;
  min-width: 16rem;
  max-width: 22rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.filter-menu-panel-date {
  min-width: 18rem;
  max-height: none;
  overflow: visible;
  padding: 0.9rem;
}

.filter-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.filter-menu-item:hover,
.filter-menu-item.is-active {
  background: rgba(162, 30, 25, 0.06);
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .content-carousel-slide {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (min-width: 1024px) {
  .content-carousel-slide {
    flex-basis: calc((100% - 2.5rem) / 3);
  }
}

.article-detail-image {
  aspect-ratio: 21 / 8;
  max-height: 16rem;
}

.training-detail-image {
  aspect-ratio: 16 / 8;
  max-height: 18rem;
}

.training-meta-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: #fff;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

a.training-meta-chip:hover {
  border-color: rgba(162, 30, 25, 0.35);
  color: var(--color-primary);
  background: rgba(162, 30, 25, 0.06);
}

.training-meta-chip--accent {
  border-color: rgba(162, 30, 25, 0.25);
  color: var(--color-primary);
  background: rgba(162, 30, 25, 0.05);
}

a.training-meta-chip--accent:hover {
  border-color: rgba(162, 30, 25, 0.45);
  background: rgba(162, 30, 25, 0.1);
}

.training-prose {
  color: #4b5563;
  line-height: 1.7;
}

.training-prose p {
  margin: 0 0 0.85rem;
}

.training-prose p:last-child {
  margin-bottom: 0;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.training-aside-col {
  align-self: stretch;
}

.training-aside {
  position: sticky;
  top: calc(var(--header-offset, 5.5rem) + 1rem);
  z-index: 10;
}

.training-aside .btn {
  justify-content: center;
}

.help-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.help-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.help-launcher-label {
  display: none;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.14);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .help-launcher-label {
    display: inline-flex;
  }
}

.help-widget.is-open .help-launcher-label {
  display: none;
}

.help-launcher-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 999px;
  background: linear-gradient(160deg, #c03932 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(162, 30, 25, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.help-launcher:hover .help-launcher-btn {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 32px rgba(162, 30, 25, 0.42);
}

.help-launcher-icon {
  width: 1.55rem;
  height: 1.55rem;
  position: absolute;
  transition: opacity 160ms ease, transform 160ms ease;
}

.help-launcher-icon--close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
}

.help-widget.is-open .help-launcher-icon--chat {
  opacity: 0;
  transform: rotate(45deg) scale(0.8);
}

.help-widget.is-open .help-launcher-icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.help-panel {
  width: min(22.5rem, calc(100vw - 2rem));
}

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

.help-panel-inner {
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.22);
  animation: help-panel-in 220ms ease both;
}

@keyframes help-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.help-header {
  position: relative;
  padding: 1.35rem 1.25rem 1.2rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 1.35rem 1.35rem 1.1rem 1.1rem;
}

.help-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-secondary);
  cursor: pointer;
}

.help-close svg {
  width: 0.95rem;
  height: 0.95rem;
}

.help-header-copy {
  text-align: center;
  padding: 0.35rem 1.5rem 0;
}

.help-header-copy[hidden] {
  display: none;
}

.help-header-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.help-header-sub {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.help-back {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

.help-back svg {
  width: 1rem;
  height: 1rem;
}

.help-body {
  padding: 1rem 0.95rem 0.35rem;
  max-height: min(26rem, 58vh);
  overflow-y: auto;
}

.help-view {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.help-view[hidden] {
  display: none;
}

.help-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #eceff3;
  background: #fff;
  box-shadow: 0 4px 14px rgba(31, 41, 55, 0.05);
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.help-option:hover {
  border-color: rgba(162, 30, 25, 0.28);
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.08);
  transform: translateY(-1px);
}

.help-option--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(162, 30, 25, 0.28);
}

.help-option--primary:hover {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(162, 30, 25, 0.34);
}

.help-option--primary .help-option-sub {
  color: rgba(255, 255, 255, 0.82);
}

.help-option-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: inherit;
}

.help-option-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.help-option-arrow {
  display: inline-flex;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.7;
}

.help-option-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

.help-all-link {
  display: block;
  margin-top: 0.15rem;
  padding: 0.45rem 0.25rem 0.15rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.help-all-link:hover {
  text-decoration: underline;
}

.help-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem 0.95rem;
  border-top: 1px solid #f1f3f5;
  color: #9ca3af;
  font-size: 0.72rem;
}

.help-footer-logo {
  height: 1.05rem;
  width: auto;
  opacity: 0.75;
}

body.talk-drawer-lock {
  overflow: hidden;
}

.talk-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.talk-drawer[hidden] {
  display: none;
}

.talk-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  transition: opacity 280ms ease;
}

.talk-drawer.is-open .talk-drawer-backdrop {
  opacity: 1;
}

.talk-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  outline: none;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -18px 0 48px rgba(17, 24, 39, 0.18);
}

.talk-drawer.is-open .talk-drawer-panel {
  transform: translateX(0);
}

.talk-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
}

.talk-drawer-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.talk-drawer-grid {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

@media (min-width: 900px) {
  .talk-drawer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.talk-drawer-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  overflow-y: auto;
}

.talk-drawer-form-inner {
  width: 100%;
  max-width: 32rem;
  margin: auto;
  padding: 3.5rem 1.75rem 2.5rem;
}

@media (min-width: 900px) {
  .talk-drawer-form-inner {
    padding: 3rem;
  }
}

.talk-drawer-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.talk-drawer-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.talk-drawer-lead {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.talk-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.talk-drawer-form-inner .talk-form {
  margin-top: 2rem;
}

.talk-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.talk-field span {
  font-size: 0.82rem;
  font-weight: 600;
}

.talk-field input,
.talk-field textarea {
  width: 100%;
  border-radius: 0.55rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  resize: vertical;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.talk-form--primary .talk-field span {
  color: rgba(255, 255, 255, 0.86);
}

.talk-form--primary .talk-field input,
.talk-form--primary .talk-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.talk-form--primary .talk-field input::placeholder,
.talk-form--primary .talk-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.talk-form--primary .talk-field input:focus,
.talk-form--primary .talk-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.talk-form--light .talk-field span {
  color: var(--color-secondary);
}

.talk-form--light .talk-field input,
.talk-form--light .talk-field textarea {
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--color-secondary);
}

.talk-form--light .talk-field input::placeholder,
.talk-form--light .talk-field textarea::placeholder {
  color: #9ca3af;
}

.talk-form--light .talk-field input:focus,
.talk-form--light .talk-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.talk-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.talk-gdpr input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.talk-form--primary .talk-gdpr {
  color: rgba(255, 255, 255, 0.88);
}

.talk-form--primary .talk-gdpr a {
  color: #fff;
  text-decoration: underline;
}

.talk-form--light .talk-gdpr {
  color: #4b5563;
}

.talk-form--light .talk-gdpr a {
  color: var(--color-primary);
  text-decoration: underline;
}

.talk-form-submit {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
}

.talk-form--primary .talk-form-submit {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.talk-form--primary .talk-form-submit:hover {
  background: #f8fafc;
  color: var(--color-primary-dark);
  border-color: #f8fafc;
}

.talk-form--light .talk-form-submit {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.talk-form--light .talk-form-submit:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.talk-form-note {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.talk-form--primary .talk-form-note {
  color: rgba(255, 255, 255, 0.88);
}

.talk-form--light .talk-form-note {
  color: #6b7280;
}

.talk-drawer-media {
  position: relative;
  display: none;
  min-height: 100%;
  background: #111827;
}

@media (min-width: 900px) {
  .talk-drawer-media {
    display: block;
  }
}

.talk-drawer-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-search {
  position: relative;
  z-index: 40;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: min(28rem, 70vh);
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.14);
}

.search-suggest[hidden] {
  display: none;
}

.search-suggest-group + .search-suggest-group {
  border-top: 1px solid #f1f3f5;
}

.search-suggest-label {
  padding: 0.7rem 0.95rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.search-suggest-item {
  display: block;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 140ms ease;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: rgba(162, 30, 25, 0.05);
}

.search-suggest-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.3;
}

.search-suggest-item:hover .search-suggest-title,
.search-suggest-item.is-active .search-suggest-title {
  color: var(--color-primary);
}

.search-suggest-excerpt {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #6b7280;
  line-height: 1.35;
}

.search-suggest-empty,
.search-suggest-footer {
  padding: 0.85rem 0.95rem;
  font-size: 0.84rem;
  color: #6b7280;
}

.search-suggest-footer {
  border-top: 1px solid #f1f3f5;
}

.search-suggest-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.search-suggest-footer a:hover {
  text-decoration: underline;
}

.btn.is-disabled,
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.js-tooltip {
  position: fixed;
  z-index: 120;
  max-width: 14rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.45rem;
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

.js-tooltip[hidden] {
  display: none;
}

body.enroll-drawer-lock {
  overflow: hidden;
}

.enroll-drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
}

.enroll-drawer[hidden] {
  display: none;
}

.enroll-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  transition: opacity 280ms ease;
}

.enroll-drawer.is-open .enroll-drawer-backdrop {
  opacity: 1;
}

.enroll-drawer-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  outline: none;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.enroll-drawer.is-open .enroll-drawer-panel {
  transform: translateX(0);
}

.enroll-drawer-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4rem 1rem;
  border-bottom: 1px solid #f1f3f5;
}

.enroll-drawer-heading {
  max-width: 52rem;
  text-align: center;
}

.enroll-drawer-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.enroll-drawer-title {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

.enroll-drawer-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
}

.enroll-drawer-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.enroll-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f3f5;
  list-style: none;
  margin: 0;
}

.enroll-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9ca3af;
}

.enroll-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.75rem;
}

.enroll-steps li.is-active,
.enroll-steps li.is-done {
  color: var(--color-secondary);
}

.enroll-steps li.is-active span,
.enroll-steps li.is-done span {
  background: var(--color-primary);
  color: #fff;
}

.enroll-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.enroll-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem 1.5rem 2rem;
}

.enroll-step {
  width: min(56rem, 100%);
  margin: 0 auto;
}

.enroll-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1.35rem;
  text-align: center;
}

.enroll-lead {
  margin: 0 auto 1.25rem;
  max-width: 40rem;
  color: #4b5563;
  line-height: 1.55;
  text-align: center;
}

.enroll-subtitle {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.enroll-entity-type {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 auto 1.35rem;
  max-width: 40rem;
}

.enroll-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.enroll-choice:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(162, 30, 25, 0.06);
  color: var(--color-primary);
}

.enroll-choice input {
  accent-color: var(--color-primary);
}

.enroll-banner {
  margin: 0 auto 1.25rem;
  max-width: 40rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
}

.enroll-banner a {
  color: var(--color-primary);
  font-weight: 700;
}

.enroll-fields,
.enroll-recipient,
.enroll-declarations {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.enroll-fields--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem 1.15rem;
}

.enroll-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem 1.15rem;
}

@media (min-width: 768px) {
  .enroll-fields--grid {
    grid-template-columns: 1fr 1fr;
  }

  .enroll-field--full {
    grid-column: 1 / -1;
  }

  .enroll-grid-3 {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.enroll-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.enroll-field > span,
.enroll-label-row {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.enroll-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.enroll-field input,
.enroll-field select,
.enroll-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.enroll-field input:focus,
.enroll-field select:focus,
.enroll-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.enroll-select {
  position: relative;
}

.enroll-select select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.enroll-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.8rem 2.35rem 0.8rem 0.95rem;
  font: inherit;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.enroll-select-trigger.is-placeholder {
  color: #9ca3af;
}

.enroll-select-trigger:hover:not(:disabled) {
  border-color: #b8bec7;
}

.enroll-select-trigger:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.enroll-select.is-open .enroll-select-trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(162, 30, 25, 0.12);
}

.enroll-select-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f9fafb;
}

.enroll-select-arrow {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0.7rem;
  height: 0.7rem;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
  transition: transform 160ms ease;
}

.enroll-select.is-open .enroll-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.enroll-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  max-height: 16.5rem;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.enroll-select-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
}

.enroll-select-option:hover,
.enroll-select-option.is-active {
  background: rgba(162, 30, 25, 0.08);
  color: var(--color-primary);
}

.enroll-select-option.is-selected {
  font-weight: 600;
  color: var(--color-primary);
}

.enroll-gus {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: not-allowed;
  padding: 0;
  text-decoration: underline;
}

.enroll-gus.is-disabled {
  opacity: 0.7;
}

.enroll-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #374151;
  cursor: pointer;
}

.enroll-check input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.enroll-check--block {
  padding: 0.85rem 1rem;
  border: 1px solid #eef0f3;
  border-radius: 0.75rem;
  background: #fafafa;
}

.enroll-fieldset {
  border: 0;
  padding: 0;
  margin: 0.35rem 0 0;
}

.enroll-fieldset legend {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  width: 100%;
}

.enroll-fieldset .enroll-entity-type {
  max-width: 18rem;
}

.enroll-survey--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem 1rem;
}

@media (min-width: 640px) {
  .enroll-survey--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.enroll-participants {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.enroll-participant {
  padding: 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fafafa;
}

.enroll-participant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.enroll-participant-head .enroll-subtitle {
  margin: 0;
}

.enroll-remove {
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.enroll-add-participant {
  width: min(20rem, 100%);
  margin: 0 auto;
  justify-content: center;
  display: flex;
}

.enroll-drawer-footer {
  border-top: 1px solid #f1f3f5;
  padding: 1rem 1.5rem 1.25rem;
  background: #fff;
}

.enroll-error {
  margin: 0 auto 0.75rem;
  max-width: 56rem;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.enroll-footer-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.enroll-success {
  text-align: center;
  padding: 3rem 0.5rem;
}

.enroll-success-badge {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(162, 30, 25, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enroll-success .enroll-step-title {
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .enroll-entity-type {
    grid-template-columns: 1fr;
  }

  .enroll-drawer-top {
    padding: 1.25rem 3.5rem 0.85rem 1.25rem;
  }

  .enroll-drawer-heading {
    text-align: left;
  }

  .enroll-step-title,
  .enroll-lead,
  .enroll-fieldset legend {
    text-align: left;
  }

  .enroll-footer-actions {
    justify-content: stretch;
  }

  .enroll-footer-actions .btn {
    flex: 1;
  }
}
