/* ── Case Study Archive — v2 ──────────────────────────────── */
.p-cs-archive {
  background: var(--surface);
  color: var(--ink);
  overflow-x: hidden;
}

.csa-page { }

.csa-container {
  width: min(114rem, calc(100% - 4rem));
  margin: 0 auto;
}

/* ── Shared section spacing ───────────────────────────────── */
.csa-section {
  padding: clamp(4.8rem, 7vw, 9.2rem) 0;
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.csa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}
.csa-eyebrow::before {
  display: none;
}
.csa-eyebrow--dark {
  color: var(--brand-blue);
}
.csa-eyebrow--dark::before {
  background: var(--brand-yellow);
}


/* UTM Bebas @font-face declared globally in ThemeHook */

/* ── Hero v4: 2 Case Study Cards (casestudy-hero-v4-preview.html) ────── */
/* Google Fonts import removed: unified to Google Sans */

.csx,
body.midas-typography .csx {
  --b: #3c3bdf;
  --b2: #2120c7;
  --b3: #1a199b;
  --y: #ffb214;
  --ink: #141429;
  --mute: #5b5b80;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 96px;
  font-family: var(--font-body);
  background: linear-gradient(160deg, var(--b) 0%, var(--b2) 60%, var(--b3) 100%);
}

.csx--image {
  background-color: var(--csx-bg-color, var(--b3));
  background-image: linear-gradient(var(--csx-overlay), var(--csx-overlay)), var(--csx-bg-image);
  background-position: center;
  background-size: cover;
}

.csx--no-visual .csx__grid {
  grid-template-columns: minmax(0, 760px);
}

.csx--no-visual .csx__copy {
  max-width: 760px;
}

.csx--text-dark {
  color: #141429;
}

.csx--text-dark .csx__lede {
  color: rgba(20, 20, 41, .72);
}

.csx--text-dark .csx__link {
  color: #141429;
  border-color: rgba(20, 20, 41, .35);
}

.csx--text-custom .csx__copy {
  color: var(--csx-text-color);
}

.csx--text-custom .csx__lede {
  color: var(--csx-text-color);
}

@media (max-width: 767px) {
  .csx--image {
    background-image: linear-gradient(var(--csx-overlay), var(--csx-overlay)), var(--csx-bg-image-mobile, var(--csx-bg-image));
  }
}

.csx * {
  box-sizing: border-box;
}

.csx__wm {
  position: absolute;
  right: -2%;
  bottom: 70px;
  font-family: var(--font-body);
  font-size: clamp(140px, 20vw, 300px);
  line-height: .8;
  letter-spacing: .02em;
  color: transparent;
  font-weight: 900;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.csx__grid {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.csx__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--y);
}

.csx__badge::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--y);
}

.csx h1,
body.midas-typography .csx h1 {
  margin: 18px 0 0 !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 50px !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.csx h1 em,
body.midas-typography .csx h1 em {
  display: block;
  text-wrap: balance;
  font-style: normal !important;
  font-weight: 500 !important;
  color: var(--y) !important;
  -webkit-text-fill-color: var(--y) !important;
}

.csx__lede {
  margin: 20px 0 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 28px;
  color: rgba(255, 255, 255, .8);
}

.csx__nums,
body.midas-typography .csx__nums {
  display: grid !important;
  grid-template-columns: repeat(4, auto) !important;
  justify-content: start !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  max-width: none !important;
}

.csx__nums li {
  padding: 0 20px !important;
  white-space: nowrap !important;
  border-left: 1px solid rgba(255, 255, 255, .2) !important;
  min-width: 0 !important;
  max-width: none !important;
}

.csx__nums li:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.csx__nums b,
body.midas-typography .csx__nums b {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.csx__nums span {
  display: block !important;
  margin-top: 6px !important;
  max-width: 130px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, .7) !important;
  white-space: normal !important;
}

.csx__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.csx__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 12px;
  background: var(--y);
  color: #2a1b00;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 12px 26px -12px rgba(255, 178, 20, .6);
  transition: transform .2s;
}

.csx__btn:hover {
  transform: translateY(-2px);
  color: #2a1b00;
}

.csx__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 3px;
}

.csx__link:hover {
  color: var(--y);
  border-color: var(--y);
}

/* ================= CỘT PHẢI: 2 card (1 card lớn = Nha khoa, 1 card nhỏ = Giáo dục), cùng template mockup hero Backlink ================= */
.csx__deck {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.csx__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 20px;
  color: var(--ink);
  box-shadow: 0 26px 50px -24px rgba(5, 5, 40, .6);
}

.csx__card > * {
  position: relative;
}

.csx__card--lg {
  padding: 20px 24px 22px;
  background: linear-gradient(165deg, #fff 0%, #fff1bc 145%);
}

.csx__card--lg::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--b);
  opacity: .08;
  filter: blur(46px);
  top: -70px;
  right: -70px;
  pointer-events: none;
}

.csx__card--sm {
  padding: 16px 22px 18px;
  background: #fff1bc;
  gap: 12px;
}

.csx__mbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.csx__mbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.csx__mbar span {
  margin-left: 8px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid #e4e3f2;
  color: var(--mute);
  font-size: 11px;
}

.csx__hr {
  height: 1px;
  background: #e4e3f2;
}

.csx__card--sm .csx__hr {
  background: rgba(122, 82, 0, .18);
}

.csx__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.csx__logo {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--b);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
}

.csx__logo--y {
  background: var(--y);
  color: #2a1b00;
}

.csx__ind {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--b);
}

.csx__card--sm .csx__ind {
  color: #8a5d00;
}

.csx__client,
body.midas-typography .csx__client {
  margin: 3px 0 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  color: var(--b) !important;
  white-space: nowrap !important;
  text-transform: none !important;
}

.csx__card--sm .csx__client,
body.midas-typography .csx__card--sm .csx__client {
  font-size: 17px !important;
  color: var(--ink) !important;
}

.csx__tbadge {
  margin-left: auto;
  flex: none;
  padding: 5px 11px;
  border-radius: 8px;
  background: #fff1bc;
  color: var(--b3);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

.csx__card--sm .csx__tbadge {
  background: #fff;
  color: #7a5200;
}

/* card lớn: biểu đồ Trước/Sau + 2 chip */
.csx__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.csx__grp-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.csx__grp-hd b {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.csx__grp-hd em {
  flex: none;
  font-style: normal;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--b);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.csx__bars {
  height: 104px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
  padding: 0 12px;
}

.csx__bc {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.csx__bc span {
  display: block;
  width: 100%;
  max-width: 40px;
  border-radius: 8px 8px 3px 3px;
  background: #c9c8f3;
  transform-origin: bottom;
  animation: csxRise 1.1s cubic-bezier(.2, .8, .2, 1) both .3s;
}

.csx__bc--after span {
  background: linear-gradient(180deg, #6766e6, var(--b));
}

.csx__bc b {
  order: -1;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.csx__bc i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--mute);
}

@keyframes csxRise {
  from {
    transform: scaleY(0);
  }
}

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

.csx__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #e4e3f2;
}

.csx__chip-ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff1bc;
  color: var(--b3);
}

.csx__chip b {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--b);
}

.csx__chip span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--mute);
}

/* card nhỏ: 3 số liệu */
.csx__stats3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.csx__stats3 > div {
  padding: 0 14px;
  border-left: 1px solid rgba(122, 82, 0, .2);
  min-width: 0;
}

.csx__stats3 > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.csx__stats3 b {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 25px;
  line-height: 1;
  color: var(--b);
}

.csx__stats3 span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #6b5320;
}

.csx__note {
  margin-top: -4px;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: .03em;
  color: #8b6a1a;
}

@media (prefers-reduced-motion: reduce) {
  .csx__bc span {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .csx__grid {
    grid-template-columns: 1fr;
  }
  .csx__deck {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .csx,
  body.midas-typography .csx {
    padding: 28px 0 44px !important;
  }
  .csx__wm {
    display: none;
  }
  .csx__grid {
    gap: 0;
  }
  .csx h1,
  body.midas-typography .csx h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    margin-top: 14px !important;
  }
  .csx__lede {
    margin-top: 14px;
    font-size: 15px;
    line-height: 25px;
  }
  .csx__nums,
  body.midas-typography .csx__nums {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 0 !important;
    margin-top: 22px !important;
  }
  .csx__nums li {
    white-space: normal !important;
    padding: 0 0 0 16px !important;
  }
  .csx__nums li:nth-child(odd) {
    padding-left: 0 !important;
    border-left: 0 !important;
  }
  .csx__nums b,
  body.midas-typography .csx__nums b {
    font-size: 32px !important;
  }
  .csx__nums span {
    font-size: 12px !important;
    max-width: none !important;
  }
  .csx__cta {
    margin-top: 24px;
    gap: 16px;
    justify-content: center;
  }
  .csx__btn {
    width: 100%;
    justify-content: center;
  }
  .csx__link {
    font-size: 13px;
  }
  /* mobile ẩn cột hình: bên dưới đã có danh sách case */
  .csx__deck {
    display: none !important;
  }
}

/* ── Listing: section head ───────────────────────────────── */
.csa-listing__head {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 4.4rem;
}

.csa-listing__title {
  margin: 0;
  font-family: var(--font-heading, 'Google Sans', 'Google Sans Fallback', sans-serif);
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--brand-blue);
}

/* ── Filters ─────────────────────────────────────────────── */
.csa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.csa-filter {
  position: relative;
}

.csa-filter select {
  appearance: none;
  padding: 1.1rem 4rem 1.1rem 2rem;
  border: 1.5px solid #d5d7e8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px -2px rgba(20, 20, 41, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.csa-filter::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.8rem;
  width: .7rem;
  height: .7rem;
  border-right: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
  transition: transform .2s ease;
}

.csa-filter select:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 16px -2px rgba(60, 59, 223, 0.12);
}

.csa-filter select:focus-visible {
  border-color: var(--brand-blue);
  outline: 0;
  box-shadow: 0 0 0 3.5px rgba(60, 59, 223, 0.15);
}

/* ── Card Grid ───────────────────────────────────────────── */
.csa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.8rem;
}
.csa-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3.2rem auto 0;
  padding: 1.2rem 2.4rem;
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.csa-load-more:hover,
.csa-load-more:focus-visible {
  background: var(--brand-blue);
  color: #fff;
}

.csa-load-more[hidden] {
  display: none;
}

.csa-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--motion-hover) var(--motion-ease),
              box-shadow var(--motion-hover) var(--motion-ease);
}

@media (hover: hover) and (pointer: fine) {
  .csa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1.2rem 2.8rem color-mix(in srgb, var(--ink) 10%, transparent);
  }
}

/* Thumbnail */
.csa-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  background: var(--surface-alt, #F2F2FA);
}

.csa-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .csa-card:hover .csa-card__img {
    transform: scale(1.04);
  }
}

.csa-card__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  opacity: .35;
}

.csa-card__img-placeholder-glyph {
  font-size: 2.8rem;
  line-height: 1;
}

.csa-card__logo {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  display: grid;
  place-items: center;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(20, 20, 41, 0.08);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  padding: .6rem;
}

.csa-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tags */
.csa-card__tags {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.csa-tag {
  padding: .4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.csa-tag--type {
  background: var(--brand-blue);
  color: var(--text-on-blue);
}

.csa-tag--field {
  background: var(--brand-blue-soft, #e9e8ff);
  color: var(--brand-blue);
}

/* Body */
.csa-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 2.4rem 2.6rem;
  gap: 0;
}

.csa-card__title-link {
  text-decoration: none;
  color: inherit;
}

.csa-card__title {
  margin: 0;
  font-family: var(--font-body, 'Google Sans', 'Google Sans Fallback', sans-serif);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--brand-blue);
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
}

.csa-card__highlights {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.csa-card__highlights li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--muted);
}

.csa-highlight-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .2rem;
  object-fit: contain;
}

.csa-highlight-icon--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.csa-arrow-icon {
  display: inline-block;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}

.csa-arrow-icon--fallback {
  width: auto;
  height: auto;
  color: currentColor;
  font-size: 1.8rem;
  line-height: 1;
}

.csa-card__more {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--brand-blue);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap var(--motion-fast) ease;
}

@media (hover: hover) and (pointer: fine) {
  .csa-card__more:hover {
    gap: 1.2rem;
  }
}

/* ── CTA + Form ─────────────────────────────────────────── */
.csa-cta {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #2120C7 65%, #1A199B 100%);
  color: #fff;
}

.csa-cta__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5.6rem;
  align-items: flex-start;
}

.csa-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.csa-cta__title {
  margin: 1.8rem 0 0;
  font-family: var(--font-heading, 'Google Sans', 'Google Sans Fallback', sans-serif);
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: #fff;
  max-width: none;
  text-transform: none;
  text-wrap: balance;
}

.csa-cta__desc {
  margin: 1.6rem 0 0;
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .8);
  max-width: none;
}

.csa-cta__stats {
  display: flex;
  gap: 2.8rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.csa-cstat b {
  display: block;
  font-family: var(--font-body, 'Google Sans', 'Google Sans Fallback', sans-serif);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-yellow);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.csa-cstat span {
  display: block;
  margin-top: .4rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .72);
}

/* Form */
.csa-cta__form-wrap {
  max-width: 44rem;
}

.csa-form-alert {
  padding: 1.2rem 1.6rem;
  border-radius: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  text-align: center;
}

.csa-form-alert--success {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}

.csa-form-alert--error {
  background: rgba(255, 60, 60, .15);
  color: #ffcfcf;
  border: 1px solid rgba(255, 100, 100, .3);
}

.csa-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 2.8rem;
  border-radius: 2rem;
}

.csa-form__trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.csa-form__field {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.csa-form__field label {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

.csa-form__field input,
.csa-form__field textarea {
  font-family: var(--font-body);
  font-size: 1.45rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  outline: none;
  width: 100%;
  resize: none;
  transition: border-color .2s ease;
}

.csa-form__field input::placeholder,
.csa-form__field textarea::placeholder {
  color: rgba(255, 255, 255, .45);
}

.csa-form__field input:focus,
.csa-form__field textarea:focus {
  border-color: var(--brand-yellow);
}

.csa-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.5rem 2.8rem;
  border: 0;
  border-radius: 1.2rem;
  background: var(--brand-yellow);
  color: #2A1B00;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(255, 178, 20, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}

.csa-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(255, 178, 20, .55);
}

.csa-form__note {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 72rem) {
  .csa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
  }
  .csa-cta__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .csa-cta__form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 48rem) {
  .csa-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .csa-hero__stats {
    gap: 2rem;
  }
  .csa-cta__grid {
    gap: 3.2rem;
  }
  .csa-cta__title {
    max-width: none;
  }
  .csa-filters {
    flex-direction: column;
  }
  .csa-filter select {
    width: 100%;
  }
  .csa-form {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .csa-card,
  .csa-card__more,
  .csa-card__img,
  .csa-btn-submit {
    transition: none;
  }
  .csa-card:hover,
  .csa-btn-submit:hover,
  .csa-card__more:hover {
    transform: none !important;
  }
  .csa-card:hover .csa-card__img {
    transform: none !important;
  }
}
.csa-page .csa-filter select:focus-visible,.csa-page a:focus-visible,.csa-page button:focus-visible,.csa-page input:focus-visible,.csa-page textarea:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:3px}.csa-form__field input,.csa-form__field textarea{font-size:1.6rem;min-height:4.8rem}.csa-form__field textarea{min-height:8rem}
