/*
Theme Name: CyberFrog (Matt)
Author: Matthew Shabaily
Version: 7.0
*/

/* ============ Root ============ */

:root {
  --header-height: 147px;
  --menu-width: 488px;
  --menu-gradient-top: #54596a;
  --menu-gradient-bottom: #212c56;

  /* Brand */
  --primary: #e41613;
  --primary-dark: #c11210;
  --navy: #212c56;
  --navy-light: #54596a;
  --ink: #1a1a1a;
  --muted: #5a5f6e;
  --line: #e4e6ec;
  --font: "Martel Sans", sans-serif;
}

/* ============ Globals ============ */

html {
  overflow-x: hidden;
}

body {
  position: relative;
  overflow: hidden;
}

/* ============ Containers ============ */

.flex-row {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.grid {
  display: grid;
}

/* ============ Wrapper ============ */

.wrapper {
  width: 85%;
}

*:has(> .wrapper) {
  align-items: center;
}

/* ============ Scrollbar ============ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============ Effects ============ */

.pan-effect {
  cursor: pointer;
  transition: transform 0.2s;
}

.dim-effect {
  cursor: pointer;
  transition: opacity 0.2s;
}

.dim-effect:hover {
  opacity: 0.6;
}

.pan-effect:hover {
  transform: translate(1px);
}

.body-dim {
  background: black;
  opacity: 0.4;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 6;
}

/* ============ Text ============ */

h1 {
}

h2 {
}

h3 {
}

p {
  line-height: normal;
}

.text {
  gap: 25px;
}

.text ul {
  list-style: disc;
}

/* ============ CTAs ============ */

.cta {
}

/* ============ 404 ============ */

.error-404 {
  align-items: center;
  height: 500px;
}

.error-404 .text {
  width: 85%;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 50px;
  height: 100%;
}

.error-404 .text h1 {
  color: var(--primary);
  font-size: 100px;
}

/* ============ Header ============ */

header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: var(--header-height);
  padding: 0 3.906% 0 10.104%; /* 75px / 194px on a 1920 design */
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  display: block;
  width: 129px;
  height: 108px;
  object-fit: contain;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 54px;
}

.burger span {
  width: 54px;
  height: 7px;
  border-radius: 1px;
  background: #fff;
}

/* ============ Burger Menu ============ */

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 7;
  width: var(--menu-width);
  max-width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--menu-gradient-top) 0%,
    var(--menu-gradient-bottom) 100%
  );
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.burger-menu.open {
  transform: translateX(0);
}

.burger-close {
  position: relative;
  width: 43px;
  height: 43px;
  margin: 53px 81px 0 auto;
}

.burger-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 7px;
  border-radius: 1px;
  background: #fff;
}

.burger-close span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.burger-close span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.burger-menu-list {
  margin-top: 25px;
  padding-left: 51px;
}

.burger-menu-list a {
  display: block;
  padding: 11px 0;
  font-family: "Martel Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

.burger-menu-list a:hover {
  opacity: 0.6;
  transition: opacity 0.2s;
}

body.menu-open {
  overflow: hidden;
}

/* ============ Base Typography ============ */

body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  background: #fff;
}

.wrapper {
  width: 79.2%;
  max-width: 1520px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: 60px;
  text-transform: uppercase;
}
h2 {
  font-size: 43px;
  text-transform: uppercase;
}
h3 {
  font-size: 22px;
}

.rte p {
  margin-bottom: 14px;
  line-height: normal;
}
.rte p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--primary);
}

.eyebrow.light {
  color: #fff;
}
.eyebrow.light::before {
  background: #fff;
}

.section-head {
  gap: 18px;
  align-items: center;
  text-align: center;
}
.section-head .rte {
  max-width: 620px;
  color: var(--muted);
}

/* ============ CTAs ============ */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 4px 26px;
  line-height: normal;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}

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

.cta.primary:hover {
  background: var(--primary-dark);
}

.cta.outline,
.cta.ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.cta.outline:hover,
.cta.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta.cta--light {
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
  color: var(--navy);
}

.cta.cta--light:hover {
  background: #f1f2f5;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 729px;
  justify-content: center;
  padding: var(--header-height) 0 90px;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-position: 50% 34%;
  object-fit: cover;
}

.hero .wrapper {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 620px;
  gap: 0;
  align-items: flex-start;
  transform: translateY(-29px);
}

.hero-text h1 {
  color: #fff;
  line-height: 1.5;
  margin-bottom: 26px;
}
.hero-text h1 em {
  color: var(--primary);
  font-style: normal;
}
.hero-copy {
  font-size: 18px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 38px;
}
.hero-ctas {
  gap: 16px;
  flex-wrap: wrap;
}
.hero-ctas .cta {
  white-space: nowrap;
}
.hero-ctas .cta:first-child {
  width: auto;
  min-width: 176px;
}
.hero-ctas .cta--light {
  width: auto;
  min-width: 115px;
}

/* ============ Feature Bar ============ */

.features {
  position: relative;
  z-index: 2;
  margin-top: -75px;
}

.features-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  width: 1220px;
  max-width: 100%;
  min-height: 150px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(20, 28, 56, 0.14);
  padding: 25px 0;
}

.feature,
.feature:nth-child(n) {
  position: relative;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  gap: clamp(16px, 2vw, 36px);
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(18px, 2vw, 36px);
  text-align: left;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 63px;
  transform: translateY(-50%);
  background: #e5e5e5;
}
.feature-icon {
  width: clamp(68px, 5.21vw, 100px);
  height: clamp(68px, 5.21vw, 100px);
  flex: none;
  object-fit: contain;
}
.feature span {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(17px, 1.042vw, 20px);
  line-height: 1.15;
  overflow-wrap: break-word;
}

/* ============ What is CSD ============ */

.whatis {
  padding: 80px 0;
}
.whatis .wrapper {
  gap: 73px;
  align-items: center;
}

.whatis-media {
  flex: 0 0 504px;
}
.whatis-media img {
  width: 100%;
  display: block;
  border-radius: 10px;
  aspect-ratio: 504 / 597;
  object-fit: cover;
}

.whatis-text {
  flex: 1;
  gap: 22px;
  align-items: flex-start;
  transform: translateY(-24px);
}
.whatis-text h2 {
  max-width: none;
  margin-bottom: -15px;
  font-size: 30px;
  white-space: nowrap;
  color: black;
}
.whatis-text .rte {
  width: 905px;
  margin-left: 22px;
}
.whatis-text .rte {
  color: black;
}

.checklist {
  gap: 16px;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 14px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.checklist img {
  width: 26px;
  height: 26px;
  flex: none;
}
.checklist span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

/* ============ Services ============ */

.services {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 60%);
  padding: 130px 0 83px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  align-items: stretch;
  gap: clamp(24px, 2.5vw, 48px);
}

.service-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 16, 40, 0.25);
}

.service-img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 465 / 328;
  overflow: hidden;
}
.service-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 171px;
  gap: 14px;
  align-items: center;
  text-align: center;
  padding: clamp(22px, 2vw, 28px);
}
.service-body h3,
.service-body p {
  max-width: 100%;
  overflow-wrap: break-word;
}
.service-body h3 {
  font-size: clamp(18px, 1.042vw, 20px);
  color: black;
}
.service-body p {
  color: black;
  font-size: clamp(16px, 0.885vw, 17px);
}

.service-more {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.85;
  letter-spacing: 0.05em;
  overflow-wrap: break-word;
  text-transform: uppercase;
  transition: background 0.2s;
}

.service-more:hover {
  background: var(--primary-dark);
}

/* ============ Feature Bands (angled duotone) ============ */

.band {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  color: #fff;
  /* angled parallelogram: right edge sits higher than left */
  clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 44px), 0 100%);
  margin-top: -44px;
}

/* The overlap belongs only to the stacked bands on the home page. */
.home .band:first-of-type {
  margin-top: -22px;
}

/* Match the Figma zig-zag: the middle band leans opposite to its neighbours. */
.home .band--right {
  clip-path: polygon(0 0, 100% 44px, 100% 100%, 0 calc(100% - 44px));
  margin-top: -88px;
}

/* Opposing 44px slopes need twice the overlap to meet without a seam. */
.home .band--right + .band {
  margin-top: -88px;
}

.band-bg {
  position: absolute;
  inset: -6px 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.page-template-about-us .band-bg {
  background-position: 50% 10%;
}

.band-tint {
  position: absolute;
  inset: -6px 0;
  z-index: 1;
}

/* Red duotone, accented on the left (card side) */
.band--red .band-tint {
  background: linear-gradient(
    90deg,
    rgba(228, 22, 19, 0.82) 0%,
    rgba(228, 22, 19, 0.45) 34%,
    rgba(228, 22, 19, 0) 62%
  );
}

.band--navy .band-tint {
  background: linear-gradient(
    90deg,
    rgba(33, 44, 86, 0.8) 0%,
    rgba(33, 44, 86, 0.4) 34%,
    rgba(33, 44, 86, 0) 62%
  );
}

/* When the card is on the right, mirror the tint */
.band--right .band-tint {
  transform: scaleX(-1);
}

.band .wrapper {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-bottom: 25px;
  margin-top: -25px;
}
.band--right .band-content {
  margin-left: auto;
}

.band-content {
  gap: 18px;
  align-items: flex-start;
  width: 35%;
  min-width: 480px;
}

.band-content h2 {
  color: #fff;
}

.band-card {
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 34px 38px;
  box-shadow: 0 24px 55px rgba(10, 16, 40, 0.25);
}
.band-card .rte {
  color: var(--muted);
  font-size: 17px;
}

/* ============ Trusted By ============ */

/* Temporarily hidden site-wide; logo data remains editable in WordPress. */
.logos {
  display: none !important;
  padding: 100px 0;
}
.logos .wrapper {
  gap: 50px;
  align-items: center;
}

.logo-grid {
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 60px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  min-width: 120px;
}
.logo-item img {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
}
.logo-item.placeholder {
  width: 272px;
  min-width: 272px;
  height: 71px;
  background: #d9d9d9;
  color: #000;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
}

/* Home: exact desktop composition from the design file. */
.home .logos {
  background: #efefef;
  padding: 80px 0 37px;
}
.home .logos .wrapper {
  gap: 54px;
  align-items: flex-start;
}
.home .logos .section-head {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}
.home .logos .section-head h2 {
  font-size: 30px;
}
.home .logo-grid {
  width: calc(100% + 8px);
  margin-right: -8px;
  gap: 43px 40px;
}

/* ============ Footer ============ */

.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  border-top: 10px solid var(--primary);
  border-bottom: 30px solid #fff;
  color: #fff;
  padding: 37px 0;
}

.site-footer .wrapper {
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand img {
  display: block;
  width: 269px;
  height: auto;
  object-fit: contain;
}

.footer-links {
  gap: 90px;
}
.footer-col {
  gap: 14px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}

.footer-contact {
  gap: 16px;
  align-items: flex-start;
}
.footer-contact-item {
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}
.footer-contact-item img {
  width: 20px;
  height: 20px;
}

.footer-social {
  display: none;
  gap: 18px;
  margin-top: 6px;
}
.footer-social a,
.footer-social span {
  display: inline-flex;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 1;
}
.footer-social img {
  width: 22px;
  height: 22px;
}

/* ============ Inner Page Hero ============ */

.page-hero {
  position: relative;
  min-height: 503px;
  justify-content: center;
  padding: var(--header-height) 0 60px;
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.page-hero .wrapper {
  position: relative;
  z-index: 1;
}
.page-hero-text {
  max-width: 756px;
  gap: 0;
  align-items: flex-start;
  transform: translateY(-16px);
}
.page-hero-text h1 {
  color: #fff;
  margin-bottom: 47px;
}
.page-hero .hero-copy {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 43px;
}

/* ============ Eyebrow (centered variant) ============ */

.eyebrow.center {
  justify-content: center;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: white;
}

/* ============ How It Works: Intro ============ */

.hiw-intro {
  padding: 90px 0 40px;
}
.hiw-intro .section-head {
  margin: 0 auto;
}
.hiw-intro .rte {
  max-width: 720px;
}

/* ============ How It Works: Steps ============ */

.hiw-steps {
  padding: 40px 0 90px;
  gap: 0;
}

.hiw-step {
  position: relative;
}
.hiw-step .wrapper {
  position: relative;
}

.hiw-step-inner {
  min-height: 460px;
  align-items: center;
}

.hiw-step-text {
  position: relative;
  width: 46%;
  gap: 16px;
  align-items: flex-start;
  padding: 40px 0;
  z-index: 2;
}

.hiw-num {
  position: absolute;
  top: -34px;
  z-index: -1;
  font-size: 165px;
  line-height: 0.8;
  font-weight: 800;
  color: rgba(33, 44, 86, 0.07);
  letter-spacing: -0.03em;
}

.hiw-step-text h3 {
  font-size: 30px;
  text-transform: uppercase;
}
.hiw-step-text .rte {
  color: var(--muted);
  font-size: 17px;
}

.hiw-step-media {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Image on the right, text on the left */
.hiw-step--img-right .hiw-step-media {
  right: 0;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hiw-step--img-right .hiw-num {
  left: -150px;
}

/* Image on the left, text on the right */
.hiw-step--img-left .hiw-step-media {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.hiw-step--img-left .hiw-step-text {
  margin-left: auto;
}
.hiw-step--img-left .hiw-num {
  right: -150px;
}

/* ============ Make a Booking Banner ============ */

.booking-banner {
  position: relative;
  box-sizing: border-box;
  height: 257px;
  padding: 0;
  overflow: hidden;
}
.booking-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.booking-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 37.981%,
    rgba(255, 255, 255, 0.41) 100%
  );
}
.booking-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-banner .wrapper {
  position: relative;
  z-index: 1;
}
.booking-inner {
  height: 257px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.booking-text {
  align-items: center;
  gap: 30px;
}
.booking-icon img {
  width: 125px;
  height: 125px;
  display: block;
}
.booking-copy {
  gap: 8px;
  align-items: flex-start;
}
.booking-copy .eyebrow {
  font-size: 17px;
}
.booking-copy h2 {
  font-size: 32px;
  color: var(--navy);
}
.booking-banner .cta {
  width: 263px;
  height: 50px;
  min-height: 50px;
  white-space: nowrap;
}

/* ============ What Is Corporate Self Defence ============ */

.what-is-intro {
  padding: 54px 0;
}
.what-is-intro .wrapper,
.what-is-training .wrapper {
  align-items: center;
  justify-content: space-between;
  gap: 116px;
}
.what-is-intro .wrapper {
  width: 1324px;
}
.what-is-intro-image {
  flex: 0 0 546px;
}
.what-is-intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.what-is-intro-copy,
.what-is-training-copy {
  align-items: flex-start;
  gap: 16px;
}
.what-is-intro-copy {
  flex: 0 1 630px;
  max-width: 630px;
  min-width: 0;
}
.what-is-intro-copy h2,
.what-is-training-copy h2 {
  font-size: 30px;
  color: black;
}
.what-is-intro-copy h2 {
  white-space: normal;
}
.what-is-intro-copy .rte,
.what-is-training-copy .rte {
  color: var(--ink);
  font-size: 18px;
}
.what-is-intro-copy .rte {
  width: 582px;
  max-width: calc(100% - 48px);
  margin-left: 48px;
}

.organisation-benefits {
  box-sizing: border-box;
  min-height: 398px;
  background: #efefef;
  padding: 57px 0;
}
.organisation-benefits .wrapper {
  align-items: center;
  gap: 54px;
}
.eyebrow--navy {
  color: var(--navy);
}
.eyebrow--navy::before,
.eyebrow--navy::after {
  background: var(--navy) !important;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  gap: 56px;
}
.benefit {
  align-items: center;
  gap: 19px;
  text-align: center;
}
.benefit img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.benefit span {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.what-is-training {
  box-sizing: border-box;
  height: 688px;
  padding: 0;
}
.what-is-training .wrapper {
  width: 100%;
  max-width: none;
  gap: 0;
}
.what-is-training-image {
  flex: 0 0 52.1%;
  align-self: stretch;
}
.what-is-training-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 688px;
  object-fit: cover;
}
.what-is-training-copy {
  width: 582px;
  margin: 0 0 0 84px;
  padding: 93px 0 0;
}
.training-points {
  gap: 28px;
  margin-top: 8px;
}
.training-points li {
  display: flex;
  align-items: center;
  gap: 21px;
  font-weight: 700;
}
.training-points img {
  width: 40px;
  height: 40px;
  flex: none;
}

/* Keep the desktop training panel within its fixed-height section. */
@media screen and (min-width: 961px) {
  .what-is-training .wrapper {
    height: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }
  .what-is-training-image {
    min-width: 0;
    height: 100%;
  }
  .what-is-training-image img {
    height: 100%;
    min-height: 0;
  }
  .what-is-training-copy {
    flex: 0 1 630px;
    width: 630px;
    min-width: 0;
  }
  .what-is-training-copy .rte,
  .training-points,
  .training-points li,
  .training-points li span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Native design inset for the wide desktop training copy. */
@media screen and (min-width: 1440px) {
  .what-is-training-copy .rte,
  .what-is-training-copy .training-points {
    width: 582px;
    max-width: calc(100% - 48px);
    margin-left: 48px;
  }
}

/* ============ About: plain step eyebrow ============ */

.hiw-step-text > .eyebrow {
  margin-bottom: 6px;
}

/* ============ Who We Work With ============ */

.workwith {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
  padding: 70px 0;
  color: #fff;
}
.workwith .wrapper {
  gap: 40px;
  align-items: center;
}

.workwith-grid {
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.workwith-item {
  flex: 1;
  min-width: 120px;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.workwith-item img {
  height: 62px;
  width: auto;
  object-fit: contain;
}
.workwith-item span {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ============ Meet Our Team ============ */

.team {
  padding: 100px 0;
}
.team .wrapper {
  gap: 46px;
  align-items: stretch;
}

.team-head {
  align-items: flex-start;
  text-align: left;
}
.team-head .rte {
  color: black;
  max-width: unset;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.team-img {
  aspect-ratio: 359 / 240;
}
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  flex: 1;
  gap: 4px;
  align-items: center;
  text-align: center;
  padding: 22px 20px 24px;
}
.team-body h3 {
  font-size: 19px;
  text-transform: uppercase;
}
.team-role {
  color: var(--muted);
  font-size: 15px;
}

.team-more {
  display: block;
  width: 100%;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  text-align: center;
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.team-more:hover {
  background: var(--primary-dark);
}
.team-more:focus-visible,
.team-profile-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.team-profile {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #54596a 0%, #212c56 100%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}
.team-card.is-profile-open .team-profile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.team-profile-scroll {
  position: absolute;
  inset: 48px 18px 24px 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 20px 12px 39px;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.92);
}
.team-profile-scroll.rte,
.team-profile-scroll.rte p {
  color: #fff;
}
.team-profile-scroll.rte p {
  margin: 0 0 24px;
}
.team-profile-scroll.rte p:last-child {
  margin-bottom: 0;
}
.team-profile-scroll::-webkit-scrollbar {
  width: 4px;
}
.team-profile-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}
.team-profile-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--primary);
}

.team-profile-close {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.team-profile-close span {
  position: absolute;
  top: 14px;
  left: 8px;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.team-profile-close span:first-child {
  transform: rotate(45deg);
}
.team-profile-close span:last-child {
  transform: rotate(-45deg);
}

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

/* ============ What People Say ============ */

.reviews {
  padding: 0 0 100px;
}
.reviews .wrapper {
  gap: 46px;
  align-items: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: 100%;
}

.review-card {
  gap: 20px;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 14px 34px rgba(20, 28, 56, 0.06);
}
.review-card .stars {
  gap: 6px;
  margin-bottom: 5px;
}
.review-card .stars img {
  width: 35px;
  height: 35px;
}
.review-card p {
  color: black;
  font-size: 16px;
  line-height: 1.7;
}
.review-card strong {
  color: black;
  margin-top: 20px;
  font-weight: 600;
}

/* ============ About Us: desktop layout from the supplied design ============ */

.about-us .page-hero {
  min-height: 503px;
}
.about-us .page-hero-bg img {
  object-position: 50% 13%;
}
.about-us .band {
  height: 653px;
  min-height: 653px;
  margin-top: 0;
  padding: 90px 0;
  clip-path: none;
}
.about-us .band-bg,
.about-us .band-tint {
  inset: 0;
}
.about-us .band .wrapper {
  width: 552px;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 15%;
  margin-right: 0;
}
.about-us .band-content {
  width: 552px;
  min-width: 552px;
  gap: 0;
}
.about-us .band-content > .eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 14px;
}
.about-us .band-content > h2 {
  margin-bottom: 30px;
  font-size: 30px;
  line-height: 35px;
}
.about-us .band-card {
  min-height: 325px;
  padding: 31px 48px;
  border-radius: 0 !important;
}

.about-us .band-card * {
  color: black;
}

.about-us .hiw-steps--plain {
  padding: 0;
}
.about-us .hiw-steps--plain .hiw-step,
.about-us .hiw-steps--plain .hiw-step-inner {
  min-height: 871px;
}
.about-us .hiw-steps--plain .hiw-step .wrapper {
  width: 100%;
  max-width: none;
}
.about-us .hiw-steps--plain .hiw-step-inner {
  width: 85.2%;
  max-width: 1605px;
  margin: 0 auto;
}
.about-us .hiw-steps--plain .hiw-step-media {
  width: 50.26%;
  clip-path: none;
}
.about-us .hiw-steps--plain .hiw-step-text {
  align-self: flex-start;
  width: 632px;
  padding: 62px 0 0;
  gap: 0;
}
.about-us .hiw-steps--plain .hiw-step-text > .eyebrow {
  margin: 0 0 20px 0px;
  font-size: 12px;
  line-height: 14px;
}
.about-us .hiw-steps--plain .hiw-step-text h3 {
  margin-bottom: 30px;
  font-size: 30px;
  line-height: 35px;
  font-weight: 800;
  color: black;
}
.about-us .hiw-steps--plain .hiw-step-text .rte {
  width: 582px;
  margin-left: 48px;
  font-size: 18px;
  color: var(--ink);
}
.about-us .workwith {
  min-height: 361px;
  padding: 45px 0;
}
.about-us .workwith .wrapper {
  gap: 57px;
}
.about-us .workwith .eyebrow {
  font-size: 12px;
  line-height: 14px;
}
.about-us .workwith-grid {
  position: relative;
  display: block;
  height: 177px;
}
.about-us .workwith-item {
  position: absolute;
  width: 160px;
  min-width: 0;
}
.about-us .workwith-item:nth-child(1) {
  left: 6px;
}
.about-us .workwith-item:nth-child(2) {
  left: 284px;
}
.about-us .workwith-item:nth-child(3) {
  left: 527px;
}
.about-us .workwith-item:nth-child(4) {
  left: 792px;
}
.about-us .workwith-item:nth-child(5) {
  left: 1103px;
}
.about-us .workwith-item:nth-child(6) {
  left: 1391px;
}
.about-us .workwith-item img {
  width: 123px;
  height: 123px;
}
.about-us .workwith-item span {
  font-size: 24px;
}
.about-us .team {
  padding: 74px 0 54px;
}
.about-us .team .wrapper {
  gap: 46px;
}
.about-us .team-grid {
  width: calc(100% + 8px);
  margin-right: -8px;
  grid-template-columns: repeat(4, 359px);
  gap: 28px;
}
.about-us .team-card {
  border: 0;
  height: 378px;
}
.about-us .team-img {
  flex: 0 0 240px;
}
.about-us .team-img img {
  display: block;
}
.about-us .team-body {
  min-height: 96px;
  padding: 18px 22px 12px;
  align-items: flex-start;
  text-align: left;
}
.about-us .team-body h3 {
  font-size: 26px;
  color: black;
  margin-top: 15px;
}
.about-us .team-role {
  display: none;
}
.about-us .team-more {
  box-sizing: border-box;
  height: 42px;
  padding: 10px;
}
.about-us .team-head {
  gap: 8px;
}
.about-us .team-head .eyebrow {
  font-size: 12px;
  line-height: 14px;
}
.about-us .team-head h2 {
  font-size: 30px;
  line-height: 35px;
  color: black;
}
.about-us .team-head .rte {
  margin-top: 26px;
}
.about-us .team-grid {
  margin-top: 49px;
}
.about-us .reviews {
  padding: 30px 0 70px;
}
.about-us .reviews .wrapper {
  width: 1706px;
  max-width: 89%;
  gap: 50px;
}
.about-us .reviews h2 {
  font-size: 30px;
  line-height: 35px;
  color: black;
}
.about-us .review-grid {
  grid-template-columns: repeat(3, 520px);
  gap: 73px;
}
.about-us .review-card {
  padding: 33px 36px;
}
.about-us .logos {
  background: #efefef;
  padding: 59px 0;
}
.about-us .logos .wrapper {
  gap: 63px;
}
.about-us .logos .section-head {
  gap: 8px;
}
.about-us .logos .eyebrow {
  font-size: 12px;
  line-height: 14px;
}

.about-us .logos .eyebrow::after {
  background: #c11210;
}
.about-us .logos .section-head h2 {
  font-size: 30px;
}
.about-us .logo-grid {
  width: calc(100% + 8px);
  margin-right: -8px;
  gap: 43px 40px;
}

/* ============ What We Do: clean rectangular service rows ============ */

.what-we-do .page-hero {
  min-height: 503px;
}
.wwd-intro {
  box-sizing: border-box;
  min-height: 309px;
  padding: 60px 0 42px;
  justify-content: flex-start;
}
.wwd-intro .wrapper {
  width: 79.167%;
  max-width: 1520px;
}
.wwd-intro .section-head {
  width: 100%;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.wwd-intro .eyebrow::after {
  background: var(--primary);
}
.wwd-intro h2 {
  color: #000;
  font-size: 30px;
  line-height: 1.22;
}
.wwd-intro .rte {
  width: min(969px, 100%);
  color: #000;
  font-size: 18px;
  line-height: 1.8;
}

.wwd-service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 583px;
}
.wwd-service-image,
.wwd-service-copy {
  min-width: 0;
  height: 583px;
}
.wwd-service-image {
  overflow: hidden;
}
.wwd-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wwd-service-copy {
  box-sizing: border-box;
  justify-content: center;
  align-items: flex-start;
  padding: 64px clamp(54px, 8.594vw, 165px);
  background: #fff;
}
.wwd-service--image-left .wwd-service-copy {
  background: #efefef;
}
.wwd-service-copy h3 {
  margin: 0 0 30px;
  color: #000;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}
.wwd-service-copy .rte {
  width: min(582px, 100%);
  margin-left: 48px;
  color: #191919;
  font-size: 18px;
  line-height: 1.8;
}
.wwd-service-copy .rte > * + * {
  margin-top: 16px;
}

@media screen and (max-width: 1200px) {
  .wwd-service-copy {
    padding-right: 7.5vw;
    padding-left: 7.5vw;
  }
  .wwd-service-copy .rte {
    margin-left: 0;
  }
}

@media screen and (max-width: 960px) {
  .wwd-intro {
    height: auto;
    min-height: 0;
    padding: 54px 0;
  }
  .wwd-intro .wrapper {
    width: 85%;
  }
  .wwd-service {
    display: flex;
    min-height: 0;
    height: auto;
    flex-direction: column;
  }
  .wwd-service-image {
    order: 1;
    min-height: 0;
    height: clamp(320px, 55vw, 520px);
  }
  .wwd-service-copy {
    order: 2;
    min-height: 0;
    height: auto;
    padding: 48px 7.5vw 54px;
  }
  .wwd-service-copy h3 {
    font-size: 26px;
  }
  .wwd-service-copy .rte {
    font-size: 16px;
    line-height: 1.7;
  }
  .wwd-service--image-right .wwd-service-copy {
    background: #fff;
  }
}

@media screen and (max-width: 700px) {
  .wwd-intro h2 {
    font-size: 25px;
  }
  .wwd-intro .rte {
    font-size: 16px;
    line-height: 1.72;
  }
  .wwd-service-image {
    height: 300px;
  }
  .wwd-service-copy {
    padding: 42px 7.5vw 48px;
  }
  .wwd-service-copy h3 {
    margin-bottom: 22px;
    font-size: 24px;
  }
}

/* ============ How It Works: four compact process panels ============ */

.how-it-works .page-hero {
  min-height: 503px;
}
.how-it-works .hiw-intro {
  box-sizing: border-box;
  height: 269px;
  padding: 54px 0 0;
}
.how-it-works .hiw-intro .section-head {
  gap: 8px;
}
.how-it-works .hiw-intro h2 {
  font-size: 30px;
  color: black;
}
.how-it-works .hiw-intro .rte {
  max-width: 969px;
  font-size: 18px;
  color: black;
}
.how-it-works .hiw-steps {
  padding: 0;
}
.how-it-works .hiw-steps {
  padding-bottom: 30px;
}
.how-it-works .hiw-step {
  height: 354px;
  min-height: 354px;
  background: #efefef;
}
.how-it-works .hiw-step .wrapper {
  width: 100%;
  max-width: none;
  height: 100%;
}
.how-it-works .hiw-step-inner {
  box-sizing: border-box;
  min-height: 354px;
  width: 79.2%;
  max-width: 1520px;
  margin: 0 auto;
}
.how-it-works .hiw-step-text {
  width: 38.3%;
  padding: 0;
  gap: 18px;
}
.how-it-works .hiw-step-text .rte {
  width: 582px;
  margin-left: 48px;
  font-size: 18px;
  color: var(--ink);
}
.how-it-works .hiw-step-text h3 {
  font-size: 30px;
}
.how-it-works .hiw-num {
  top: -4px;
  font-size: 160px;
  color: rgba(84, 89, 106, 0.07);
}
.how-it-works .hiw-step-media {
  top: 30px;
  bottom: auto;
  height: 354px;
  width: 66.25%;
}
.how-it-works .hiw-step--img-right .hiw-step-media {
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.how-it-works .hiw-step--img-left .hiw-step-media {
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.how-it-works .hiw-step--img-left .hiw-step-text {
  margin-left: auto;
  align-items: flex-end;
  text-align: right;
}
.how-it-works .hiw-step--img-left .hiw-step-text .rte {
  margin-left: 0;
  margin-right: 42px;
  text-align: left;
}

/* Desktop: reproduce the overlapping 45-degree process panels from Figma. */
@media screen and (min-width: 961px) {
  .how-it-works .hiw-step {
    height: 354px;
    min-height: 354px;
    background: transparent;
  }
  .how-it-works .hiw-step::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 354px;
    background: #efefef;
  }
  .how-it-works .hiw-step-layout {
    position: relative;
    display: block;
    height: 354px;
    overflow: visible;
  }
  .how-it-works .hiw-step .wrapper.hiw-step-layout {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .how-it-works .hiw-step-inner {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: none;
    height: 354px;
    min-height: 354px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .how-it-works .hiw-step-text {
    position: absolute;
    top: 108px;
    left: max(10.4167vw, calc((100vw - 1520px) / 2));
    width: 630px;
    min-width: 630px;
    padding: 0;
    gap: 30px;
  }
  .how-it-works .hiw-step-text .rte,
  .how-it-works .hiw-step-text .rte p {
    width: 582px;
    max-width: none;
    overflow-wrap: normal;
  }
  .how-it-works .hiw-step-text h3 {
    line-height: 35px;
    color: black;
  }
  .how-it-works .hiw-num {
    top: -108px;
    z-index: 0;
    font-size: 160.5px;
    line-height: normal;
  }
  .how-it-works .hiw-step--img-right .hiw-num {
    left: -166px;
  }
  .how-it-works .hiw-step--img-left .hiw-num {
    right: -172px;
  }
  .how-it-works .hiw-step-media {
    position: absolute;
    top: 30px;
    bottom: auto;
    z-index: 1;
    width: 66.25%;
    max-width: none;
    height: 354px;
    min-width: 0;
  }
  .how-it-works .hiw-step--img-right .hiw-step-media {
    right: auto;
    left: 34.0625%;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 37.84% 100%);
  }
  .how-it-works .hiw-step--img-left .hiw-step-media {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 90% 0, 62.16% 100%, 0 100%);
  }
  .how-it-works .hiw-step--img-left .hiw-step-text {
    right: max(10.4167vw, calc((100vw - 1520px) / 2));
    left: auto;
    width: 630px;
    margin-left: 0;
  }
  .how-it-works .hiw-step--img-left .hiw-step-inner {
    margin: 0;
    padding: 0;
  }
}

/* ============ Contact ============ */

.contact {
  padding: 90px 0;
}
.contact .wrapper {
  align-items: flex-start;
  gap: 100px;
}

.contact-form {
  flex: 1.15;
  min-width: 0;
  gap: 14px;
  align-items: flex-start;
}
.contact-form > .rte {
  color: var(--muted);
  margin-bottom: 14px;
}
.contact-form-inner {
  width: 100%;
}

.contact-info {
  flex: 1;
  min-width: 0;
  gap: 18px;
  align-items: flex-start;
}
.contact-info > h2 {
  margin-bottom: 14px;
}

.info-block {
  width: 100%;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.info-block:last-child {
  border-bottom: 0;
}
.info-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.info-block p,
.info-block .rte {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}
.info-block a {
  color: inherit;
}
.info-block a:hover {
  color: var(--primary);
}

/* ============ Gravity Forms (match design) ============ */

/* Re-map Gravity Forms' theme variables to the brand palette */
.contact-form-inner .gform_wrapper,
.contact-form-inner .gform-theme,
.contact-form-inner .gform-theme--foundation {
  --gf-color-primary: #e41613;
  --gf-color-primary-rgb: 228, 22, 19;
  --gf-color-primary-contrast: #ffffff;
  --gf-color-primary-darker: #c11210;
  --gf-color-primary-lighter: #e41613;
  --gf-ctrl-btn-bg-color-primary: #e41613;
  --gf-ctrl-btn-bg-color-hover-primary: #c11210;
}

.contact-form-inner .gform_wrapper form {
  margin: 0;
}

.contact-form-inner .gform_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* GF grid spans: half fields sit side by side, span-12 fields go full width */
.contact-form-inner .gfield {
  grid-column: span 1;
  margin: 0;
}
.contact-form-inner .gfield.gfield--width-full,
.contact-form-inner .gfield[class*="gfield--width-twelve"] {
  grid-column: 1 / -1;
}

.contact-form-inner .gfield_label {
  display: none;
}

.contact-form-inner input[type="text"],
.contact-form-inner input[type="email"],
.contact-form-inner input[type="tel"],
.contact-form-inner select,
.contact-form-inner textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form-inner select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a5f6e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.contact-form-inner textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-inner input::placeholder,
.contact-form-inner textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.contact-form-inner input:focus,
.contact-form-inner select:focus,
.contact-form-inner textarea:focus {
  outline: 0;
  border-color: var(--primary);
}

.contact-form-inner .gform_footer {
  margin: 22px 0 0;
  padding: 0;
}

.contact-form-inner .gform_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border: 0;
  border-radius: 6px;
  background: var(--primary) !important;
  color: #fff !important;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form-inner .gform_button:hover {
  background: var(--primary-dark);
}

.contact-form-inner .gfield_required {
  color: var(--primary);
}
.contact-form-inner .validation_message,
.contact-form-inner .gfield_validation_message {
  color: var(--primary);
  font-size: 14px;
  margin-top: 6px;
}
.contact-form-inner .gform_validation_errors {
  display: none;
}
.contact-form-inner .gfield_error input,
.contact-form-inner .gfield_error select,
.contact-form-inner .gfield_error textarea {
  border-color: var(--primary);
}

.gform_confirmation_message {
  padding: 26px 30px;
  background: #f4f6fb;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  color: var(--navy);
  font-size: 17px;
}

/* ============ Make a Booking: Figma layout ============ */

.page-template-make-a-booking .contact {
  box-sizing: border-box;
  min-height: 786px;
  padding: 70px 0;
}
.page-template-make-a-booking .contact .wrapper {
  display: grid;
  grid-template-columns: minmax(0, 707fr) minmax(0, 726fr);
  gap: clamp(50px, 4.531vw, 87px);
  align-items: start;
}
.page-template-make-a-booking .contact-form,
.page-template-make-a-booking .contact-info {
  width: 100%;
  gap: 0;
  align-items: flex-start;
}
.page-template-make-a-booking .contact .eyebrow {
  gap: 12px;
  margin: 0 0 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 17px;
  letter-spacing: 0;
}
.page-template-make-a-booking .contact .eyebrow::before {
  width: 32px;
  height: 2px;
}
.page-template-make-a-booking .contact h2 {
  margin: 0;
  color: #000;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.page-template-make-a-booking .contact-form > h2 {
  margin-bottom: 18px;
}
.page-template-make-a-booking .contact-form > .rte {
  width: 100%;
  margin: 0 0 36px;
  color: #000;
  font-size: 18px;
  line-height: 1.55;
}
.page-template-make-a-booking .contact-form > .rte p {
  line-height: inherit;
}
.page-template-make-a-booking .contact-form-inner {
  width: min(549px, 100%);
}
.page-template-make-a-booking .contact-form-inner .gform_wrapper,
.page-template-make-a-booking .contact-form-inner .gform_wrapper form,
.page-template-make-a-booking .contact-form-inner .gform-body {
  width: 100%;
  margin: 0;
}
.page-template-make-a-booking .contact-form-inner .gform_fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 43px !important;
}
.page-template-make-a-booking .contact-form-inner .gfield {
  grid-column: span 1;
  margin: 0 !important;
}
.page-template-make-a-booking .contact-form-inner .gfield.gfield--width-full,
.page-template-make-a-booking
  .contact-form-inner
  .gfield[class*="gfield--width-twelve"] {
  grid-column: 1 / -1;
}
.page-template-make-a-booking .contact-form-inner input[type="text"],
.page-template-make-a-booking .contact-form-inner input[type="email"],
.page-template-make-a-booking .contact-form-inner input[type="tel"],
.page-template-make-a-booking .contact-form-inner select,
.page-template-make-a-booking .contact-form-inner textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: none !important;
  padding: 0 16px !important;
  border: 1px solid #d2d2d2 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  background-color: #fff !important;
  color: #000 !important;
  font-family: var(--font) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: normal !important;
}
.page-template-make-a-booking .contact-form-inner textarea {
  height: 242px !important;
  min-height: 242px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.page-template-make-a-booking .contact-form-inner input::placeholder,
.page-template-make-a-booking .contact-form-inner textarea::placeholder {
  color: #898989 !important;
  opacity: 1;
}
.page-template-make-a-booking .contact-form-inner select {
  color: #898989 !important;
  background-position: right 16px center !important;
}
.page-template-make-a-booking .contact-form-inner .gform_footer {
  height: 50px;
  margin: 33px 0 0 !important;
  padding: 0 !important;
}
.page-template-make-a-booking .contact-form-inner .gform_button {
  box-sizing: border-box !important;
  width: 166px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: normal !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.page-template-make-a-booking .contact-info > h2 {
  margin: 0 0 57px;
}
.page-template-make-a-booking .contact-info .info-block {
  box-sizing: border-box;
  width: 100%;
  gap: 0;
  margin: 0 0 30px;
  padding: 0 0 29px;
  border-bottom: 1px solid #d2d2d2;
}
.page-template-make-a-booking .contact-info .info-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.page-template-make-a-booking .contact-info .info-label {
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 17px;
  letter-spacing: 0;
}
.page-template-make-a-booking .contact-info .info-block p,
.page-template-make-a-booking .contact-info .info-block .rte {
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 1.6;
}
.page-template-make-a-booking .contact-info .info-block .rte p {
  margin: 0;
  line-height: inherit;
}

@media screen and (max-width: 1100px) {
  .page-template-make-a-booking .contact {
    min-height: 0;
    padding: 60px 0 72px;
  }
  .page-template-make-a-booking .contact .wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
    width: 85%;
  }
  .page-template-make-a-booking .contact-form,
  .page-template-make-a-booking .contact-info {
    max-width: 726px;
  }
  .page-template-make-a-booking .contact h2 {
    white-space: normal;
  }
}

@media screen and (max-width: 640px) {
  .page-template-make-a-booking .contact {
    padding: 48px 0 60px;
  }
  .page-template-make-a-booking .contact .wrapper {
    gap: 54px;
  }
  .page-template-make-a-booking .contact h2 {
    font-size: 25px;
  }
  .page-template-make-a-booking .contact-form > .rte,
  .page-template-make-a-booking .contact-info .info-block p,
  .page-template-make-a-booking .contact-info .info-block .rte {
    font-size: 16px;
  }
  .page-template-make-a-booking .contact-form-inner .gform_fields {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .page-template-make-a-booking .contact-form-inner .gfield {
    grid-column: 1 / -1;
  }
  .page-template-make-a-booking .contact-form-inner textarea {
    height: 200px !important;
    min-height: 200px !important;
  }
  .page-template-make-a-booking .contact-form-inner .gform_footer {
    margin-top: 24px !important;
  }
  .page-template-make-a-booking .contact-info > h2 {
    margin-bottom: 42px;
  }
}

/* Contact Us: share the Make a Booking typography without changing layout. */
.page-template-contact-us .contact .eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 17px;
  letter-spacing: 0;
}
.page-template-contact-us .contact h2 {
  color: #000;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}
.page-template-contact-us .contact-form > .rte {
  color: #000;
  font-size: 18px;
  line-height: 1.55;
}
.page-template-contact-us .contact-form > .rte p {
  line-height: inherit;
}
.page-template-contact-us .contact-info .info-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 17px;
  letter-spacing: 0;
}
.page-template-contact-us .contact-info .info-block p,
.page-template-contact-us .contact-info .info-block .rte {
  color: #000;
  font-size: 18px;
  line-height: 1.6;
}
.page-template-contact-us .contact-form-inner input[type="text"],
.page-template-contact-us .contact-form-inner input[type="email"],
.page-template-contact-us .contact-form-inner input[type="tel"],
.page-template-contact-us .contact-form-inner select,
.page-template-contact-us .contact-form-inner textarea {
  color: #000;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
}
.page-template-contact-us .contact-form-inner input::placeholder,
.page-template-contact-us .contact-form-inner textarea::placeholder,
.page-template-contact-us .contact-form-inner select {
  color: #898989;
  opacity: 1;
}
.page-template-contact-us .contact-form-inner .gform_button {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

@media screen and (max-width: 640px) {
  .page-template-contact-us .contact h2 {
    font-size: 25px;
  }
  .page-template-contact-us .contact-form > .rte,
  .page-template-contact-us .contact-info .info-block p,
  .page-template-contact-us .contact-info .info-block .rte {
    font-size: 16px;
  }
}

/* ============ Articles: listing ============ */

.articles-listing {
  display: flex;
  align-items: center;
  padding: 36px 0 113px;
}
.articles-listing .wrapper {
  width: 79.167%;
  max-width: 1520px;
  gap: 36px;
  align-items: stretch;
}

.article-filters {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(10px, 1.45vw, 28px);
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: auto;
  height: 50px;
  padding: 0 clamp(10px, 1.2vw, 24px);
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.filter-pill:hover {
  background: rgba(33, 44, 86, 0.06);
}
.filter-pill.is-active {
  background: var(--primary);
  border: 3px solid var(--primary);
  color: #fff;
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 62px;
  width: 100%;
}

@media screen and (min-width: 961px) and (max-width: 1320px) {
  .articles-listing .wrapper {
    width: 85%;
  }
}

@media screen and (min-width: 961px) and (max-width: 1100px) {
  .articles-listing .wrapper {
    width: 94%;
  }
}

@media screen and (max-width: 960px) {
  .articles-listing .wrapper {
    width: 85%;
    max-width: none;
  }
  .article-filters {
    width: 100%;
    align-self: stretch;
    flex-wrap: wrap;
    gap: 12px;
  }
  .filter-pill {
    width: auto;
    height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }
}

/* ============ Article card ============ */

.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.article-img {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  height: 100%;
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-img img {
  transform: scale(1.04);
}

.article-card .article-body {
  flex: 1;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 26px 26px;
}
.article-cat {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.article-card h3 {
  font-size: 21px;
  line-height: 1.3;
}
.article-card h3 a {
  color: var(--navy);
}
.article-card h3 a:hover {
  color: var(--primary);
}
.article-excerpt {
  color: var(--muted);
  font-size: 16px;
}
.article-date {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.article-more {
  display: block;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.article-more:hover {
  background: var(--primary-dark);
}

.articles-empty {
  color: var(--muted);
  font-size: 18px;
}

/* ============ Single articles and case studies ============ */

.single-detail-page {
  background: #fff;
}

.single-detail-hero {
  position: relative;
  min-height: 503px;
  justify-content: center;
  color: #fff;
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 28, 67, 0.92) 0%,
      rgba(25, 35, 75, 0.66) 34%,
      rgba(25, 35, 75, 0) 70%
    ),
    var(--detail-hero);
  background-position: center;
  background-size: cover;
}
.single-detail-hero .wrapper {
  position: relative;
  z-index: 1;
  width: 79.167%;
  max-width: 1520px;
  padding-top: var(--header-height);
}
.single-detail-hero h1 {
  max-width: 1050px;
  color: #fff;
  font-size: clamp(42px, 3.125vw, 60px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.single-detail-intro {
  padding: 54px 0 77px;
}
.single-detail-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 546px) minmax(0, 582px);
  justify-content: space-between;
  align-items: center;
  width: 67.35%;
  max-width: 1293px;
  gap: clamp(50px, 8vw, 165px);
}
.single-detail-lead-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
}
.single-detail-lead-image img,
.single-detail-band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-detail-copy h2,
.single-detail-main-copy h2,
.single-detail-related-head h2 {
  margin: 8px 0 24px;
  color: #151515;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.single-detail-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.single-detail-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  background: currentColor;
}
.single-detail-rte {
  color: #191919;
  font-size: 18px;
  line-height: 1.8;
}
.single-detail-rte > * + * {
  margin-top: 16px;
}
.single-detail-rte ul,
.single-detail-rte ol {
  margin-left: 22px;
}
.single-detail-rte ul {
  list-style: disc;
}
.single-detail-rte ol {
  list-style: decimal;
}

.single-detail-bands .single-detail-kicker {
  margin-bottom: 8px;
}

.single-detail-bands .wwd-service {
  align-items: stretch;
}
.single-detail-bands .wwd-service-image,
.single-detail-bands .wwd-service-copy {
  height: auto;
  min-height: 583px;
}

@media screen and (max-width: 960px) {
  .single-detail-bands .wwd-service {
    min-height: 0;
  }
  .single-detail-bands .wwd-service-copy {
    height: auto;
    min-height: 0;
  }
  .single-detail-bands .wwd-service-image {
    height: clamp(300px, 55vw, 520px);
    min-height: 0;
  }
}

.single-detail-main-copy {
  padding-bottom: 48px;
}
.single-detail-main-copy .wrapper {
  width: 70%;
  max-width: 1344px;
  min-height: 319px;
}
.single-detail-main-copy .single-detail-rte--wide {
  margin: 0 0 0 49px;
}

.single-detail-band {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 354px;
  overflow: hidden;
  background: #ededee;
}
.single-detail-band-copy,
.single-detail-band-image {
  position: relative;
  min-width: 0;
  height: 354px;
}
.single-detail-band-copy {
  z-index: 2;
  display: flex;
  align-items: center;
  background: #ededee;
}
.single-detail-band-copy-inner {
  width: min(570px, 65%);
}
.single-detail-band--first .single-detail-band-copy {
  width: calc(100% + 205px);
  padding-left: max(10.4vw, calc((100vw - 1520px) / 2));
  padding-right: 230px;
  clip-path: polygon(0 0, 74% 0, 100% 100%, 0 100%);
}
.single-detail-band--first .single-detail-band-image {
  z-index: 1;
}
.single-detail-band--first .single-detail-band-image img {
  width: calc(100% + 205px);
  max-width: none;
  margin-left: -205px;
}
.single-detail-band--second .single-detail-band-image {
  z-index: 1;
}
.single-detail-band--second .single-detail-band-image img {
  width: calc(100% + 205px);
  max-width: none;
}
.single-detail-band--second .single-detail-band-copy {
  z-index: 2;
  width: calc(100% + 205px);
  margin-left: -205px;
  padding-left: 255px;
  padding-right: max(10.4vw, calc((100vw - 1520px) / 2));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}
.single-detail-band--second .single-detail-band-copy-inner {
  margin-left: auto;
}

.single-detail-related {
  padding: 55px 0 135px;
}
.single-detail-related > .wrapper {
  width: 79.167%;
  max-width: 1520px;
  gap: 41px;
}
.single-detail-related-head {
  width: 100%;
}
.single-detail-related-head h2 {
  margin-bottom: 0;
}
.single-detail-related .article-card {
  border: 0;
  border-radius: 19px;
  box-shadow: 0 4px 24px rgba(25, 35, 75, 0.08);
}
.single-detail-related .article-img {
  aspect-ratio: 1.45;
}

@media screen and (max-width: 1100px) {
  .single-detail-intro-grid,
  .single-detail-main-copy .wrapper,
  .single-detail-related > .wrapper,
  .single-detail-hero .wrapper {
    width: 85%;
  }
  .single-detail-intro-grid {
    grid-template-columns: minmax(0, 46%) minmax(0, 49%);
    gap: 5%;
  }
  .single-detail-band--first .single-detail-band-copy {
    padding-left: 7.5vw;
  }
  .single-detail-band--second .single-detail-band-copy {
    padding-right: 7.5vw;
  }
}

@media screen and (max-width: 960px) {
  .single-detail-hero {
    min-height: 430px;
  }
  .single-detail-hero h1 {
    font-size: clamp(36px, 7vw, 50px);
    line-height: 1;
  }
  .single-detail-intro {
    padding: 54px 0 64px;
  }
  .single-detail-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .single-detail-lead-image {
    width: min(100%, 546px);
  }
  .single-detail-copy {
    max-width: 680px;
  }
  .single-detail-main-copy .wrapper {
    min-height: 0;
  }
  .single-detail-main-copy .single-detail-rte--wide {
    margin-left: 0;
  }
  .single-detail-band {
    grid-template-columns: 1fr;
  }
  .single-detail-band-copy,
  .single-detail-band-image {
    width: 100% !important;
    height: auto;
    min-height: 320px;
    margin-left: 0 !important;
    clip-path: none !important;
  }
  .single-detail-band-image {
    height: 360px;
  }
  .single-detail-band-copy {
    padding: 50px 7.5vw !important;
  }
  .single-detail-band-copy-inner {
    width: 100%;
  }
  .single-detail-band--first .single-detail-band-image {
    order: -1;
  }
  .single-detail-band-image img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  .single-detail-related {
    padding-bottom: 90px;
  }
}

@media screen and (max-width: 640px) {
  .single-detail-hero {
    min-height: 380px;
    background-position: 58% center;
  }
  .single-detail-hero .wrapper {
    padding-top: 100px;
  }
  .single-detail-hero h1 {
    font-size: 34px;
  }
  .single-detail-intro {
    padding: 42px 0 54px;
  }
  .single-detail-copy h2,
  .single-detail-main-copy h2,
  .single-detail-related-head h2 {
    font-size: 25px;
  }
  .single-detail-rte {
    font-size: 16px;
    line-height: 1.72;
  }
  .single-detail-main-copy {
    padding-bottom: 54px;
  }
  .single-detail-band-image {
    height: 260px;
    min-height: 260px;
  }
  .single-detail-band-copy {
    min-height: 0;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .single-detail-related {
    padding: 48px 0 72px;
  }
  .single-detail-related > .wrapper {
    gap: 32px;
  }
}

/* About Us: use one fluid half-image/half-copy layout for both feature rows. */
.about-split .wwd-service {
  min-height: 583px;
  align-items: stretch;
}
.about-split .wwd-service-image,
.about-split .wwd-service-copy {
  height: auto;
  min-height: 583px;
}
.about-split .wwd-service-copy {
  gap: 0;
}
.about-split .wwd-service-copy > .eyebrow {
  margin-bottom: 8px;
}
.about-split .wwd-service-copy > h3 {
  margin-bottom: 30px;
}
.about-split .wwd-service-copy .rte {
  margin-left: 0;
}

@media screen and (max-width: 960px) {
  .about-split .wwd-service,
  .about-split .wwd-service-copy {
    min-height: 0;
  }
  .about-split .wwd-service-image {
    min-height: 0;
    height: clamp(300px, 55vw, 520px);
  }
}

/* Site-wide content alignment: body copy begins directly beneath its heading. */
.whatis-text .rte,
.what-is-intro-copy .rte,
.what-is-training-copy .rte,
.what-is-training-copy .training-points,
.about-us .hiw-steps--plain .hiw-step-text .rte,
.wwd-service-copy .rte,
.hiw-step-text .rte,
.single-detail-main-copy .single-detail-rte--wide {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.how-it-works .hiw-step--img-left .hiw-step-text .rte {
  margin-right: 0;
}

/* Legal pages */
.page-template-legal .legal-hero {
  min-height: 410px;
}
.legal-content {
  padding: 72px 0 96px;
}
.legal-content .wrapper {
  width: min(85%, 920px);
}
.legal-content .rte {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}
.legal-content .rte h2 {
  margin: 48px 0 16px;
  color: #000;
  font-size: 28px;
  line-height: 1.25;
}
.legal-content .rte h3 {
  margin: 30px 0 12px;
  color: #000;
  font-size: 21px;
  line-height: 1.3;
}
.legal-content .rte p,
.legal-content .rte ul {
  margin: 0 0 18px;
}
.legal-content .rte ul {
  padding-left: 24px;
}
.legal-content .rte a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media screen and (max-width: 600px) {
  .page-template-legal .legal-hero {
    min-height: 300px;
  }
  .legal-content {
    padding: 52px 0 68px;
  }
  .legal-content .rte {
    font-size: 16px;
  }
  .legal-content .rte h2 {
    margin-top: 38px;
    font-size: 24px;
  }
}

/* Homepage testimonials reuse the About page review content. */
.home-reviews {
  padding: 70px 0;
  background: #fff;
}
.home-reviews .wrapper {
  width: 89%;
  max-width: 1706px;
  gap: 50px;
}
.home-reviews h2 {
  color: #000;
  font-size: 30px;
  line-height: 1.2;
}
.home-reviews .review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.8vw, 73px);
}
.home-reviews .review-card {
  min-width: 0;
  height: 100%;
  padding: 33px 36px;
}
.home-reviews .review-card strong {
  margin-top: auto;
  padding-top: 20px;
}

@media screen and (min-width: 701px) and (max-width: 1100px) {
  .home-reviews .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .home-reviews .review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 28px) / 2);
  }
}

@media screen and (max-width: 700px) {
  .home-reviews {
    padding: 56px 0;
  }
  .home-reviews .wrapper {
    width: 85%;
    gap: 36px;
  }
  .home-reviews .review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-reviews .review-card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}


/* ============ FAQs ============ */

.faq-page .wwd-intro {
  padding-bottom: 54px;
}

.faq-visual .wrapper {
  width: 79.167%;
  max-width: 1520px;
}
.faq-visual img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 500px);
  border-radius: 10px;
  object-fit: cover;
}
.faq-visual--top {
  padding: 0 0 72px;
}
.faq-visual--bottom {
  padding: 72px 0;
}

.faq-accordion-section {
  padding: 0 0 20px;
}
.faq-accordion-section > .wrapper {
  width: min(1260px, 79.167%);
  max-width: 1260px;
}
.faq-groups {
  display: grid;
  gap: 22px;
}
.faq-group {
  overflow: hidden;
  border: 1px solid #d8d9de;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 28, 56, 0.08);
}
.faq-group-title,
.faq-question {
  margin: 0;
}
.faq-toggle {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-width: 0;
  border: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.faq-group-toggle {
  min-height: 82px;
  padding: 22px 28px;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.faq-group-toggle:hover,
.faq-group-toggle:focus-visible,
.faq-group.is-open > .faq-group-title .faq-group-toggle {
  background: var(--primary);
}
.faq-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.faq-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-toggle-icon::before {
  width: 20px;
  height: 2px;
}
.faq-toggle-icon::after {
  width: 2px;
  height: 20px;
}
.faq-toggle[aria-expanded="true"] .faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-group-panel {
  padding: 0;
  background: #fff;
}
.faq-item {
  border-bottom: 1px solid #d8d9de;
  background: #fff;
}
.faq-item:first-child {
  border-radius: 8px 8px 0 0;
}
.faq-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}
.faq-question-toggle {
  min-height: 66px;
  padding: 17px 22px;
  background: transparent;
  color: #151515;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}
.faq-question-toggle:hover,
.faq-question-toggle:focus-visible,
.faq-item.is-open .faq-question-toggle {
  color: var(--primary);
}
.faq-question-toggle:focus-visible {
  outline-color: var(--primary);
}
.faq-question-toggle .faq-toggle-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.faq-question-toggle .faq-toggle-icon::before {
  width: 16px;
}
.faq-question-toggle .faq-toggle-icon::after {
  height: 16px;
}
.faq-answer {
  padding: 0 64px 24px 22px;
  color: #191919;
  font-size: 17px;
  line-height: 1.75;
}
.faq-answer p {
  line-height: inherit;
}

@media screen and (max-width: 960px) {
  .faq-visual .wrapper,
  .faq-accordion-section > .wrapper {
    width: 85%;
  }
  .faq-visual--top,
  .faq-visual--bottom {
    padding-bottom: 54px;
  }
  .faq-visual--bottom {
    padding-top: 54px;
  }
  .faq-group-toggle {
    min-height: 74px;
    padding: 20px 22px;
    font-size: 19px;
  }
  .faq-group-panel {
    padding: 0;
  }
  .faq-question-toggle {
    padding: 16px 18px;
    font-size: 17px;
  }
  .faq-answer {
    padding: 0 54px 22px 18px;
  }
}

@media screen and (max-width: 600px) {
  .faq-page .wwd-intro {
    padding-bottom: 46px;
  }
  .faq-visual img {
    height: 260px;
  }
  .faq-visual--top,
  .faq-visual--bottom {
    padding-bottom: 42px;
  }
  .faq-visual--bottom {
    padding-top: 42px;
  }
  .faq-groups {
    gap: 16px;
  }
  .faq-group-toggle {
    min-height: 68px;
    gap: 16px;
    padding: 17px 18px;
    font-size: 17px;
  }
  .faq-group-panel {
    padding: 0;
  }
  .faq-question-toggle {
    gap: 14px;
    padding: 15px 14px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 42px 20px 14px;
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-toggle-icon::before,
  .faq-toggle-icon::after {
    transition: none;
  }
}
