/*
 * Sample request templates (templates/sample-request.php, templates/sample-request-business-cards.php).
 * Everything is scoped to .sa-page; Gravity Forms rules use #saf to beat GF's inline theme styles.
 * Colors follow the theme: accent #2397a6, orange #ec641c, text #002e3c, grey #f4f4f4.
 */

.sa-page {
  --sa-accent: #2397a6;
  --sa-accent-dark: #1c8492;
  --sa-orange: #ec641c;
  --sa-orange-dark: #d85c14;
  --sa-text: #002e3c;
  --sa-body: #3d474f;
  --sa-muted: #5c6470;
  --sa-soft: #7b858c;
  --sa-line: #e3e8ea;
  --sa-line-soft: #eceef0;
  --sa-grey: #f4f4f4;
  --sa-tint: #e6f3f5;
  --sa-error: #c2410c;
  color: var(--sa-text);
}

/* Headings use the global theme styles (h1-h3 weight 400, section titles h2.title). Only spacing here. */
.sa-page h2 {
  margin-bottom: 1rem;
}

.sa-page b,
.sa-page strong {
  font-weight: 500;
}

/* Sections */

.sa-sec {
  padding: 56px 0;
}

.sa-sec--hero {
  padding-top: 8px;
}

.sa-sec--grey {
  background: var(--sa-grey);
}

.sa-eb {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sa-accent);
  margin-bottom: 10px;
}

/* Buttons */

.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--sa-accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.sa-btn:hover,
.sa-btn:focus {
  background: var(--sa-accent-dark);
  color: #fff;
}

.sa-btn--orange {
  background: var(--sa-orange);
}

.sa-btn--orange:hover,
.sa-btn--orange:focus {
  background: var(--sa-orange-dark);
}

.sa-btn:disabled {
  background: var(--sa-line) !important;
  color: #8a949a;
  cursor: not-allowed;
}

.sa-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Image placeholders */

.sa-ph {
  position: absolute;
  inset: 0;
  display: block;
  background: #e9ecee;
}

.sa-img img,
.sa-oi img,
.sa-howi img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero */

.sa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  grid-template-areas: "t f";
  gap: 56px;
  align-items: start;
}

.sa-ht {
  grid-area: t;
}

.sa-bc .rank-math-breadcrumb {
  padding: 1rem 0 0.75rem;
}

.sa-ht h1 {
  font-size: 46px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.sa-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sa-body);
  max-width: 540px;
}

.sa-lead > :last-child {
  margin-bottom: 0;
}

.sa-ck {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 28px;
  margin: 24px 0;
  padding: 0;
}

.sa-ck li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
}

.sa-ck svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--sa-tint);
  color: var(--sa-accent);
  flex-shrink: 0;
}

.sa-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--sa-muted);
}

.sa-rate b {
  font-size: 16px;
  color: var(--sa-text);
}

.sa-stars {
  display: flex;
  gap: 2px;
  color: var(--sa-orange);
}

.sa-stars svg {
  width: 17px;
  height: 17px;
}

.sa-img {
  position: relative;
  margin-top: 32px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #e9ecee;
}

/* Form box */

.sa-f {
  grid-area: f;
  position: sticky;
  top: 150px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 46, 60, 0.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 120px;
}

.sa-f h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

.sa-fh {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sa-pr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sa-pr span {
  height: 5px;
  border-radius: 5px;
  background: var(--sa-line-soft);
  transition: background 0.2s;
}

.sa-pr span:first-child,
.sa-f[data-step="2"] .sa-pr span:last-child {
  background: var(--sa-accent);
}

.sa-fh small {
  font-size: 13px;
  font-weight: 500;
  color: var(--sa-muted);
  letter-spacing: 0.02em;
}

/* Step visibility. Without JS (.js missing) only the form is shown. */

.sa-step2,
.sa-f[data-step="2"] .sa-step1 {
  display: none;
}

.sa-f[data-step="2"] .sa-step2 {
  display: inline;
}

.sa-f:not(.js) .sa-fh,
.sa-f:not(.js) .sa-s1,
.sa-f:not(.js) .sa-sum,
.sa-f.js[data-step="1"] .sa-s2,
.sa-f.js[data-step="2"] .sa-s1 {
  display: none;
}

/* Step 1: sample options */

.sa-os {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sa-o {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1.5px solid var(--sa-line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.sa-o:hover {
  border-color: #b8dde2;
}

.sa-o input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sa-oi {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3f4f5;
}

.sa-ot {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
}

.sa-tag {
  align-self: flex-start;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sa-tint);
  color: var(--sa-accent);
}

.sa-tag.rf {
  background: var(--sa-text);
  color: #fff;
}

.sa-ot b {
  font-size: 14.5px;
  line-height: 1.3;
}

.sa-ot small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--sa-soft);
}

.sa-oc {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d5dde0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s;
}

.sa-oc svg {
  width: 14px;
  height: 14px;
}

.sa-o.on {
  border-color: var(--sa-accent);
  box-shadow: 0 0 0 3px rgba(35, 151, 166, 0.14);
}

.sa-o.on .sa-oc {
  background: var(--sa-accent);
  border-color: var(--sa-accent);
  color: #fff;
}

.sa-o.dis {
  opacity: 0.45;
  cursor: not-allowed;
}

.sa-o input:focus-visible ~ .sa-oc {
  outline: 2px solid var(--sa-accent);
  outline-offset: 2px;
}

/* Only one choice: full-width card, image left, text right. */

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

.sa-os--1 .sa-o {
  flex-direction: row;
  align-items: center;
}

.sa-os--1 .sa-oi {
  flex: 0 0 46%;
  align-self: stretch;
  aspect-ratio: 4 / 3;
}

.sa-os--1 .sa-ot {
  padding: 16px 48px 16px 18px;
}

.sa-os--1 .sa-ot b {
  font-size: 17px;
}

.sa-os--1 .sa-ot small {
  display: block;
  font-size: 13.5px;
}

.sa-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.sa-cnt {
  font-size: 14px;
  color: var(--sa-muted);
}

/* Step 2: summary */

.sa-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f5fafb;
  border: 1px solid #e1eef0;
}

.sa-sum small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sa-muted);
  margin-bottom: 8px;
}

.sa-sel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sa-sel span {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d3e6e9;
  color: var(--sa-text);
}

.sa-bk {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--sa-accent);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-accent);
  transition: background 0.15s, color 0.15s;
}

.sa-bk:hover {
  background: var(--sa-accent);
  color: #fff;
}

.sa-bk svg {
  width: 15px;
  height: 15px;
}

.sa-pv {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--sa-soft);
  text-align: center;
  line-height: 1.5;
}

/* Gravity Forms (form 8 NL / 10 DE). #saf beats GF's inline #gform_wrapper_x theme variables. */

#saf .gform_wrapper.gform-theme[data-form-theme][data-form-index] {
  --gf-color-primary: #2397a6;
  --gf-color-primary-rgb: 35, 151, 166;
  --gf-color-primary-darker: #1c8492;
  --gf-color-primary-lighter: #5cc8d6;
  --gf-color-in-ctrl-primary: #2397a6;
  --gf-color-in-ctrl-primary-rgb: 35, 151, 166;
  --gf-color-danger: #c2410c;
  --gf-ctrl-border-color: #e3e8ea;
  --gf-ctrl-label-color-primary: #002e3c;
  --gf-ctrl-label-color-secondary: #5c6470;
  --gf-radius: 12px;
  --gf-form-gap-y: 16px;
  --gf-form-gap-x: 12px;
  font-family: inherit;
}

/*
 * GF 3 renders the wrapper with an inline display:none and only shows it once all its scripts
 * have initialised, which is slow on this page. Forms 8/10 have no conditional logic, so show it
 * straight away (same fix as the newsletter forms in footer.php).
 */
#saf .gform_wrapper {
  display: block !important;
}

#saf .gform_wrapper,
#saf .gform_wrapper input,
#saf .gform_wrapper select,
#saf .gform_wrapper textarea,
#saf .gform_wrapper button {
  font-family: inherit;
  letter-spacing: normal;
}

#saf .gform_required_legend {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--sa-soft);
}

#saf .gform_fields {
  row-gap: 16px;
}

#saf .gfield .gfield_label,
#saf .gfield legend.gfield_label {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text);
  line-height: 1.4;
}

#saf .gfield .gfield_required {
  color: var(--sa-error);
}

#saf .gfield .gform-field-label--type-sub {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--sa-muted);
}

#saf .gfield input[type="text"],
#saf .gfield input[type="email"],
#saf .gfield input[type="tel"],
#saf .gfield input[type="url"],
#saf .gfield input[type="number"],
#saf .gfield select,
#saf .gfield textarea {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1.5px solid var(--sa-line);
  border-radius: 12px;
  background-color: #fafbfb;
  box-shadow: none;
  font-size: 15px;
  color: var(--sa-text);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

#saf .gfield textarea {
  height: auto;
  min-height: 130px;
  padding: 13px 14px;
}

#saf .gfield select {
  padding-right: 40px;
}

#saf .gfield input:hover,
#saf .gfield select:hover,
#saf .gfield textarea:hover {
  border-color: #cbd5d9;
}

#saf .gfield input:focus,
#saf .gfield select:focus,
#saf .gfield textarea:focus {
  outline: 0;
  border-color: var(--sa-accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(35, 151, 166, 0.12);
}

#saf .gfield ::placeholder {
  color: #9aa3a9;
}

/* Name and address fields: two columns, single column on mobile */

#saf .ginput_complex.gform-grid-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

#saf .ginput_complex.gform-grid-row > span,
#saf .ginput_complex.gform-grid-row > .gform-grid-col {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: none;
}

#saf .ginput_container_address .address_line_1,
#saf .ginput_container_address .address_line_2,
#saf .ginput_container_address .address_country {
  grid-column: 1 / -1;
}

/* Hidden helper fields (sample list "Type", GCLID) */

#saf .gfield.sa-samples,
#saf .gfield.gfield_visibility_hidden {
  display: none !important;
}

/* Errors */

#saf .gform_validation_errors {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #f3c8b3;
  border-radius: 12px;
  background: #fff7f3;
  box-shadow: none;
}

#saf .gform_validation_errors .gform_submission_error {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-error);
}

#saf .gform_validation_errors .gform_submission_error .gform-icon {
  display: none;
}

#saf .gfield_error input,
#saf .gfield_error select,
#saf .gfield_error textarea {
  border-color: var(--sa-error);
  background-color: #fff7f3;
}

#saf .gfield_error .gfield_label {
  color: var(--sa-text);
}

#saf .gfield_validation_message,
#saf .validation_message {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--sa-error);
}

/* Submit */

#saf .gform_footer {
  margin: 20px 0 0;
  padding: 0;
}

#saf .gform_footer .gform_button,
#saf .gform_footer input[type="submit"] {
  width: 100%;
  height: 54px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--sa-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s;
}

#saf .gform_footer .gform_button:hover,
#saf .gform_footer .gform_button:focus {
  background: var(--sa-orange-dark);
}

#saf .gform_ajax_spinner {
  margin-left: 10px;
}

/* Success state (GF confirmation) */

.sa-ok {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 12px;
}

.sa-ok_icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e5f5ec;
  color: #1d8a4e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sa-ok_icon svg {
  width: 28px;
  height: 28px;
}

.sa-ok > b {
  font-size: 22px;
}

.sa-ok_msg,
.sa-ok_msg .gform_confirmation_message {
  max-width: 380px;
  color: var(--sa-muted);
  line-height: 1.55;
}

.sa-ok_msg p:last-child {
  margin-bottom: 6px;
}

/* Logos */

.sa-lg {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--sa-line-soft);
  display: flex;
  align-items: center;
  gap: 32px;
}

.sa-lg p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sa-muted);
  white-space: nowrap;
}

.sa-lg div {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
}

.sa-lg span {
  height: 110px;
  display: flex;
  align-items: center;
}

.sa-lg img {
  max-height: 106px;
  max-width: 260px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

/* Duplicate logo set, only used by the mobile carousel. */
.sa-lg .sa-lgc {
  display: none;
}

@keyframes sa-lg-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* How it works */

.sa-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.sa-howi {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #e9ecee;
}

.sa-steps {
  list-style: none;
  counter-reset: s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0 28px;
  padding: 0;
}

.sa-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e8ea;
}

.sa-steps li:last-child {
  border-bottom: 0;
}

.sa-steps li::before {
  content: counter(s);
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sa-accent);
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sa-steps b {
  font-size: 16px;
}

.sa-steps span {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sa-muted);
}

/* Dashboard block (business cards variant) */

.sd2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  background: #0f4a52;
  border-radius: 24px;
  overflow: hidden;
  /* clip-path + isolation: no dark seam along the white image panel when the fading images get their own layer. */
  clip-path: inset(0 round 24px);
  isolation: isolate;
  color: #fff;
}

.sd2-t {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 52px 48px;
}

.sd2 .sa-eb {
  color: #5cc8d6;
  margin: 0;
}

.sa-page .sd2 h2 {
  color: #fff;
  margin: 0;
}

.sd2-t > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #d3e6e9;
}

.sd2-tb {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.sd2-tb button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d3e6e9;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sd2-tb button:hover {
  color: #fff;
}

.sd2-tb button.on {
  background: #fff;
  color: #0f4a52;
}

.sd2-tb button:focus-visible {
  outline: 2px solid #5cc8d6;
  outline-offset: 2px;
}

.sd2-l {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 4px 0 8px;
  padding: 0;
}

.sd2-l.on {
  display: flex;
}

.sd2-l li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sd2-l i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #5cc8d6;
  color: #0f4a52;
}

.sd2-l i svg {
  width: 13px;
  height: 13px;
}

.sd2-l span {
  font-size: 14.5px;
  line-height: 1.5;
  color: #bfdde1;
}

.sd2-l b {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  color: #fff;
}

/* White panel: the dashboard images are product shots on a white background. */
.sd2-v {
  position: relative;
  /* Overlap the edges by 1px so the dark background can't show through sub-pixel gaps. */
  margin: -1px;
  min-height: 460px;
  background: #fff;
  overflow: hidden;
}

.sd2-i {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.sd2-i.on {
  opacity: 1;
}

.sd2-i img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The dashboard shot has wide white margins, zoom in a little. */
.sd2-i[data-p="d"] img {
  transform: scale(1.18);
  transform-origin: center 48%;
}

/* FAQ (Rank Math FAQ block from the page content) */

.sa-fq {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.sa-acc #rank-math-faq .rank-math-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sa-acc #rank-math-faq .rank-math-list-item {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--sa-line-soft);
  border-radius: 14px;
  box-shadow: none;
}

/*
 * The extra .rank-math-list-item / .collapse selectors beat the theme's global
 * "#rank-math-faq .rank-math-list-item .collapse:not(.show) { display: block }", which the
 * accordion triggers on open and which pushed the icon to the left.
 */
.sa-acc #rank-math-faq .rank-math-list-item .rank-math-question,
.sa-acc #rank-math-faq .rank-math-list-item .rank-math-question.collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--sa-text);
}

/* Open question in the accent color, like the global FAQ */
.sa-acc #rank-math-faq .rank-math-list-item .rank-math-question.collapse {
  color: var(--sa-accent);
}

.sa-acc #rank-math-faq .rank-math-question:hover {
  opacity: 1;
  color: var(--sa-accent);
}

/* Plus/minus chip instead of the theme's rotating cross */
.sa-acc #rank-math-faq .rank-math-question::after {
  position: static;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sa-tint);
  color: var(--sa-accent);
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transform: none;
}

.sa-acc #rank-math-faq .rank-math-question.collapse::after {
  content: "\2212";
}

.sa-acc #rank-math-faq .rank-math-answer > * {
  margin: 0;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--sa-body);
}

.sa-acc #rank-math-faq .rank-math-answer > :last-child {
  padding-bottom: 20px;
}

/* Contact aside */

.sa-hp2 {
  position: sticky;
  top: 150px;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-hp2 h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 6px 0 0;
}

.sa-hp2 > p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sa-muted);
}

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

.sa-ctp img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sa-tint);
}

.sa-ctp b {
  display: block;
  font-size: 16px;
}

.sa-ctp span {
  font-size: 13px;
  color: var(--sa-muted);
}

.sa-hpb {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sa-ml {
  font-weight: 500;
}

/* Closing CTA */

.sa-rz {
  padding: 96px 0;
  background: linear-gradient(100deg, #0d1721 0%, #0e2c33 50%, #0d3940 100%);
}

.sa-rzi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 8%;
}

.sa-rz .sa-eb {
  color: #2ba6b5;
}

.sa-page .sa-rz h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
}

.sa-rz p {
  margin: 0;
  font-size: 17px;
  color: #a9b6bd;
}

/* USP bar (template-parts/latest-selling-points.php) */

.sa-usp {
  padding: 48px 0 72px;
}

.sa-usp .row {
  padding: 28px 0;
  border-top: 1px solid var(--sa-line-soft);
  border-bottom: 1px solid var(--sa-line-soft);
  margin-left: 0;
  margin-right: 0;
}

.sa-usp .sp-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 14px;
  padding: 0;
  background: none;
  text-align: left;
}

.sa-usp .sp-item > .bi,
.sa-usp .sp-item > svg {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 11px;
  border-radius: 12px;
  background: var(--sa-tint);
  color: var(--sa-accent);
  font-size: 22px;
  line-height: 22px;
  text-align: center;
}

.sa-usp .sp-title {
  font-size: 15px;
  font-weight: 500;
  align-self: end;
}

.sa-usp .sp-descr {
  font-size: 14px;
  line-height: 1.45;
  color: var(--sa-muted);
  align-self: start;
}

/* Responsive */

@media (max-width: 1199.98px) {
  .sa-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 36px;
  }

  .sa-ck {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .sa-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "t" "f";
    gap: 24px;
  }

  .sa-f,
  .sa-hp2 {
    position: static;
  }

  .sa-f {
    margin-top: 0;
  }

  .sa-img {
    display: none;
  }

  .sa-how,
  .sa-fq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sd2 {
    grid-template-columns: 1fr;
  }

  .sd2-v {
    order: -1;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .sd2-t {
    padding: 32px 24px;
  }

  .sa-lg {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .sa-lg div {
    justify-content: flex-start;
  }

  .sa-rz {
    padding: 56px 0;
  }

  .sa-rzi {
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .sa-sec {
    padding: 40px 0;
  }

  .sa-sec--hero {
    padding-top: 12px;
  }

  .sa-page h1,
  .sa-page h2,
  .sa-page h3 {
    overflow-wrap: break-word;
    hyphens: auto;
  }

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

  .sa-bc {
    display: none;
  }

  .sa-rate {
    order: -1;
    margin-bottom: 12px;
    font-size: 13px;
  }

  .sa-rate b {
    font-size: 14px;
  }

  .sa-ht h1 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .sa-lead {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .sa-ck {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 20px 0 0;
    border: 1px solid var(--sa-line);
    border-radius: 16px;
    overflow: hidden;
    background: #f7fafa;
  }

  .sa-ck li {
    padding: 12px;
    font-size: 13px;
    line-height: 1.35;
    gap: 8px;
    border-bottom: 1px solid var(--sa-line);
  }

  .sa-ck li:nth-child(odd) {
    border-right: 1px solid var(--sa-line);
  }

  .sa-ck li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sa-ck svg {
    width: 20px;
    height: 20px;
  }

  .sa-f {
    padding: 18px;
    border-radius: 20px;
  }

  .sa-f h2 {
    font-size: 20px;
  }

  .sa-os {
    gap: 8px;
  }

  .sa-ot {
    padding: 8px 10px 10px;
  }

  .sa-ot b {
    font-size: 13.5px;
  }

  .sa-ot small {
    display: none;
  }

  .sa-ft .sa-btn {
    width: 100%;
  }

  .sd2-tb {
    width: 100%;
  }

  .sd2-tb button {
    flex: 1;
    padding: 0 10px;
    font-size: 13.5px;
  }

  .sd2 .sa-btn {
    width: 100%;
  }

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

  .sa-bk {
    justify-content: center;
  }

  #saf .ginput_complex.gform-grid-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Logos: endless carousel (two identical sets, moved by half the track). */
  .sa-lg {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  .sa-lg p {
    align-self: center;
  }

  .sa-lg div {
    flex: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    animation: sa-lg-scroll 28s linear infinite;
  }

  .sa-lg span,
  .sa-lg .sa-lgc {
    display: flex;
    flex: none;
    height: 96px;
    padding-right: 32px;
  }

  .sa-lg img {
    max-height: 92px;
    max-width: 200px;
  }

  .sa-os--1 .sa-oi {
    flex-basis: 42%;
  }

  .sa-os--1 .sa-ot {
    padding: 12px 40px 12px 14px;
  }

  .sa-os--1 .sa-ot b {
    font-size: 15.5px;
  }

  .sa-os--1 .sa-ot small {
    display: block;
    font-size: 12.5px;
  }

  .sa-page .sa-rz h2 {
    font-size: 30px;
  }

  .sa-rz .sa-btn {
    width: 100%;
  }

  .sa-usp {
    padding: 32px 0 48px;
  }

  .sa-usp .sp-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .sa-usp .sp-item > .bi,
  .sa-usp .sp-item > svg {
    grid-row: auto;
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 10px;
    font-size: 19px;
    line-height: 19px;
  }

  .sa-usp .sp-title {
    font-size: 14px;
  }

  .sa-usp .sp-descr {
    font-size: 13px;
  }
}

/* No auto-scrolling for people who prefer less motion: swipe through the logos instead. */
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .sa-lg {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sa-lg div {
    animation: none;
  }

  .sa-lg .sa-lgc {
    display: none;
  }
}
