/* ==========================================================================
   Stepforadder — Front Page
   First-party design system (own class names, prefix: .sfa-) that reproduces
   the original homepage design. Only the JS libraries already loaded by the
   theme (Swiper, Odometer, WOW) are reused.
   ========================================================================== */

:root {
  --sfa-primary: #d8031d;
  --sfa-primary-dark: #b00217;
  --sfa-ink: #18181b;
  --sfa-body: #000000;
  --sfa-muted: #8a8a8a;
  --sfa-line: #ececec;
  --sfa-soft: #f7f7f8;
  --sfa-white: #ffffff;
  --sfa-radius: 14px;
  --sfa-radius-sm: 10px;
  --sfa-shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
  --sfa-container: 1320px;
  --sfa-gutter: 24px;
  --sfa-heading-font: "Ubuntu", "Nunito Sans", system-ui, sans-serif;
  --sfa-body-font: "Nunito Sans", system-ui, sans-serif;
  --sfa-script-font: "Bilbo Swash Caps", cursive;
}

/* --------------------------------------------------------------------------
   Base / layout primitives
   -------------------------------------------------------------------------- */
body {
  margin: 0;
}

/* Accessible visually-hidden (skip link) — the theme class we relied on is no
   longer loaded on the front page, so define it here. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sfa-home {
  font-family: var(--sfa-body-font);
  color: var(--sfa-body);
  line-height: 1.7;
  overflow-x: clip;
}

.sfa-home * {
  box-sizing: border-box;
}

.sfa-home h1,
.sfa-home h2,
.sfa-home h3,
.sfa-home h4,
.sfa-home h5 {
  font-family: var(--sfa-heading-font);
  color: var(--sfa-ink);
  line-height: 46px;
  margin: 0;
  font-weight: 700;
}

.sfa-home p {
  margin: 0 0 1rem;
}

.sfa-home a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.sfa-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sfa-container {
  width: 100%;
  max-width: var(--sfa-container);
  margin-inline: auto;
  padding-inline: 30px;
}

.sfa-section {
  padding-block: 60px;
  position: relative;
}

.sfa-section--tight {
  padding-block: 40px;
}

/* Section heading block ---------------------------------------------------- */
.sfa-heading {
  margin-bottom: 50px;
}

.sfa-heading--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.sfa-heading__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sfa-script-font);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--sfa-primary);
  margin-bottom: 8px;
}

.sfa-heading__sub::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.sfa-heading__title {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.01em;
}

/* Cursive red accent inside section titles */
.sfa-heading__title span {
  font-family: var(--sfa-script-font);
  font-weight: 400;
  color: var(--sfa-primary);
  font-size: 1.12em;
  line-height: 1;
}

.sfa-heading__text {
  margin: 16px auto 0;
  font-size: 17px;
}

/* Heading row variant (title left, button right) */
.sfa-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.sfa-heading--split .sfa-heading__title {
  max-width: 640px;
}

/* On-red variant (services) */
.sfa-on-red .sfa-heading__title,
.sfa-on-red h2,
.sfa-on-red h3 {
  color: #fff;
}

.sfa-on-red .sfa-heading__sub {
  color: #fff;
}

.sfa-on-red .sfa-heading__title span {
  color: #fff;
}

.sfa-on-red,
.sfa-on-red p {
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons ------------------------------------------------------------------
   Note the .sfa-home prefix: it must out-specify ".sfa-home a { color:inherit }"
   so the labels actually take the button colour. */
.sfa-home .sfa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sfa-heading-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}

.sfa-home .sfa-btn i {
  font-size: 1.05em;
}

.sfa-home .sfa-btn:hover {
  transform: translateY(-3px);
}

.sfa-home .sfa-btn--primary {
  background: var(--sfa-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(216, 3, 29, 0.25);
}

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

.sfa-home .sfa-btn--dark {
  background: var(--sfa-ink);
  color: #fff;
}

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

.sfa-home .sfa-btn--outline {
  background: transparent;
  border-color: var(--sfa-line);
  color: var(--sfa-ink);
}

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

.sfa-home .sfa-btn--white {
  background: #fff;
  color: var(--sfa-primary);
}

.sfa-home .sfa-btn--white:hover {
  background: var(--sfa-ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero — two columns: content left, media right
   -------------------------------------------------------------------------- */
.sfa-hero {
  padding-top: clamp(50px, 5vw, 80px);
  padding-bottom: clamp(40px, 4vw, 64px);
  background:
    radial-gradient(70% 80% at 85% 0%, rgba(216, 3, 29, 0.05), transparent 60%),
    var(--sfa-soft);
}

.sfa-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: flex-start;
}

.sfa-hero__title {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.14;
}

/* Hero uses Roboto (matches the original hero typography), not Ubuntu. */
.sfa-home .sfa-hero__title,
.sfa-home .sfa-stat__num {
  font-family: "Roboto", sans-serif;
}

.sfa-hero__title .sfa-ink {
  color: var(--sfa-ink);
}

.sfa-hero__title .sfa-red {
  color: var(--sfa-primary);
}

.sfa-hero__subtitle {
  font-size: 17px;
  font-weight: 500;
  color: var(--sfa-body);
  max-width: 540px;
  margin: 20px 0 28px;
}

.sfa-hero__cta {
  margin-bottom: 38px;
}

/* Trust logos */
.sfa-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  margin-bottom: 34px;
  padding-bottom: 32px;
  border-bottom: 1px solid #000;
  max-width: 90%;
}

.sfa-trust img {
  height: 100px;
  width: 100px;
  border: 1px solid #c7c7c7;
  border-radius: 10px;
  object-fit: contain;
}

/* Hero stats */
.sfa-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 54px);
}

.sfa-stat__num {
  display: block;
  font-family: var(--sfa-heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--sfa-primary);
  line-height: 1;
}

.sfa-stat__label {
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--sfa-ink);
  max-width: 150px;
}

/* Hero media */
.sfa-hero__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sfa-shadow);
}

.sfa-hero__media img,
.sfa-hero__media .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 683;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Results (red highlight cards on white)
   -------------------------------------------------------------------------- */
.sfa-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sfa-result-card {
  background: var(--sfa-primary);
  color: #fff;
  border-radius: var(--sfa-radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.sfa-result-card:hover {
  transform: translateY(-6px);
}

.sfa-result-card__big {
  font-family: var(--sfa-heading-font);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.sfa-result-card__label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Reference: the heading accent is bold-italic sans (not cursive). Scoped to
   this section so other sections keep their current accent. */
.sfa-results .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

/* --------------------------------------------------------------------------
   Capabilities (Trusted by 100+) — white, 2x2, borderless
   -------------------------------------------------------------------------- */
.sfa-capabilities {
  background: var(--sfa-white);
}

.sfa-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px clamp(40px, 8vw, 110px);
  max-width: 1000px;
  margin-inline: auto;
}

.sfa-cap {
  text-align: center;
  padding: 10px;
}

.sfa-cap__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(216, 3, 29, 0.35);
  color: var(--sfa-primary);
  font-size: 40px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.sfa-cap:hover .sfa-cap__icon {
  background: var(--sfa-primary);
  color: #fff;
  transform: translateY(-4px);
}

/* .sfa-home prefix out-specifies `.sfa-home h3 { color: var(--sfa-ink) }`. */
.sfa-home .sfa-cap__title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--sfa-primary);
}

.sfa-cap__text {
  font-size: 15px;
  margin: 0;
  margin-inline: auto;
  color: #000000;
}

/* Reference design: the "Trusted by 100+" heading accent is bold-italic sans
   (not the cursive script used elsewhere), and the intro highlights keywords
   in brand red. Scoped to this section so other section headings are untouched. */
.sfa-capabilities .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

.sfa-capabilities .sfa-heading__text .sfa-hl {
  color: var(--sfa-primary);
}

/* Title sits on one line (reference); intro keeps its narrower 3-line wrap. */
.sfa-capabilities .sfa-heading--center {
  max-width: 880px;
}

.sfa-capabilities .sfa-heading__text {
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   About (image collage left + content right)
   -------------------------------------------------------------------------- */
.sfa-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
}

.sfa-about__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.sfa-about__media img:not(.sfa-about__shape) {
  border-radius: var(--sfa-radius);
  box-shadow: var(--sfa-shadow);
  width: 100%;
  object-fit: cover;
}

.sfa-about__media .sfa-about__img--tall {
  aspect-ratio: 3 / 4;
}

.sfa-about__media .sfa-about__img--wide {
  aspect-ratio: 3 / 4;
  margin-top: 44px;
}

.sfa-about__shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.sfa-about__shape--1 {
  top: -24px;
  left: -24px;
  width: 90px;
  opacity: 0.9;
}

.sfa-about__shape--2 {
  bottom: -26px;
  right: -18px;
  width: 120px;
  opacity: 0.9;
}

.sfa-about__content .sfa-heading {
  margin-bottom: 18px;
}

/* Reference: heading accent is bold-italic sans (not cursive). Scoped here. */
.sfa-about .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

.sfa-about__lead {
  font-size: 16px;
  color: #000000;
  margin: 0 0 16px;
}

/* Reference: the emphasised line is regular red body text, not a cursive flourish. */
.sfa-about__quote {
  font-size: 16px;
  color: var(--sfa-primary);
  line-height: 1.6;
  margin: 0 0 16px;
}

.sfa-about__list {
  list-style: none;
  margin: 22px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sfa-about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--sfa-ink);
}

.sfa-about__list i {
  color: var(--sfa-primary);
}

/* --------------------------------------------------------------------------
   Services (red section, white cards, 3 columns, red line-icons)
   -------------------------------------------------------------------------- */
.sfa-services {
  background: var(--sfa-primary);
  background-image: linear-gradient(165deg, #e30a25 0%, #c10219 100%);
}

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

.sfa-service {
  background: #fff;
  border-radius: var(--sfa-radius);
  padding: 40px 32px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sfa-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.sfa-service__icon {
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.sfa-service__icon img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

/* The line-icon PNGs are solid black; recolour them to brand red exactly by
   using the icon as a mask and filling with the brand colour. */
.sfa-service__icon .sfa-service__ico {
  display: block;
  width: 64px;
  height: 64px;
  background-color: var(--sfa-primary);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.sfa-service__icon i {
  font-size: 46px;
  color: var(--sfa-primary);
}

/* Scoped under .sfa-services so they out-specify the .sfa-on-red text colours
   (otherwise the white card title/text inherit white-on-red and vanish). */
.sfa-services .sfa-service__title {
  font-size: 21px;
  margin-bottom: 14px;
  color: var(--sfa-ink);
}

.sfa-services .sfa-service__title a {
  color: inherit;
}

.sfa-services .sfa-service__title a:hover {
  color: var(--sfa-primary);
}

.sfa-services .sfa-service__text {
  font-size: 15px;
  margin: 0;
  color: #000000;
}

/* --------------------------------------------------------------------------
   Portfolio — image-only cards (titles are baked into the thumbnails)
   -------------------------------------------------------------------------- */
/* Reference: heading accent is bold-italic red sans (scoped to this section). */
.sfa-portfolio .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

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

.sfa-project {
  position: relative;
  border-radius: var(--sfa-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sfa-shadow);
}

.sfa-project__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  line-height: 0;
}

/* Image zoom on hover — matches the theme's standard: scale(1.1), 0.4s ease. */
.sfa-project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.sfa-project:hover .sfa-project__img img {
  transform: scale(1.1);
}

/* Hover reveal: brand-red gradient fades in and the project text slides up. */
.sfa-project__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(
    to top,
    rgba(216, 3, 29, 0.94),
    rgba(216, 3, 29, 0.3) 55%,
    rgba(216, 3, 29, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sfa-project:hover .sfa-project__overlay {
  opacity: 1;
}

.sfa-project__overlay > * {
  transform: translateY(16px);
  transition: transform 0.45s ease;
}

.sfa-project:hover .sfa-project__overlay > * {
  transform: translateY(0);
}

.sfa-home .sfa-project__cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.sfa-home .sfa-project__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   History (white, horizontal counters with red icon squares)
   -------------------------------------------------------------------------- */
.sfa-history {
  background: var(--sfa-white);
}

/* Reference: heading accent is bold-italic red sans (scoped). The italic span
   sits a touch high on the line; nudge it down (em-based, stays responsive). */
.sfa-history .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
  position: relative;
  top: 0.13em;
}

.sfa-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.sfa-counter {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.sfa-counter__icon {
  flex: none;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--sfa-primary);
  color: #fff;
  font-size: 30px;
}

.sfa-counter__num,
.sfa-counter__num-plus {
  font-family: var(--sfa-heading-font);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  color: var(--sfa-primary);
}

.sfa-counter__num-plus {
  display: inline-block;
}

.sfa-counter__label {
  margin-top: 6px;
  font-size: 16px;
  color: var(--sfa-body);
}

.sfa-history__foot {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.sfa-history__foot p {
  margin: 0 0 16px;
}

.sfa-history .sfa-hl {
  color: var(--sfa-primary);
  font-weight: 700;
}

.sfa-history__foot strong {
  color: var(--sfa-ink);
  font-weight: 700;
}

.sfa-history__foot .sfa-btn {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Testimonials — 3-up bordered cards
   -------------------------------------------------------------------------- */
.sfa-testimonials {
  background: var(--sfa-white);
}

.sfa-testi-card {
  background: #fff;
  border: 1px solid var(--sfa-line);
  border-radius: var(--sfa-radius);
  padding: 34px 30px;
  height: 100%;
}

.sfa-testi-card__quote {
  color: rgba(216, 3, 29, 0.16);
  margin-bottom: 16px;
}

.sfa-testi-card__text {
  font-size: 16px;
  color: var(--sfa-body);
  margin-bottom: 24px;
}

.sfa-testi-card__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  justify-content: space-between;
  border-top: 1px solid var(--sfa-line);
  padding-top: 20px;
}

.sfa-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sfa-testi-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.sfa-testi-author__name {
  font-size: 17px;
  margin: 0;
}

.sfa-testi-author__role {
  font-size: 13px;
  color: var(--sfa-muted);
}

.sfa-stars {
  color: #ffb400;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  flex: none;
}

/* Stars sit in a subtle elevated box to the right of the author (reference). */
.sfa-testi-card__foot .sfa-stars {
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 10px 16px;
}

/* Reference: testimonials heading is left-aligned with a bold-italic red accent
   on its own line (not the centered cursive used by default). Scoped here. */
.sfa-testimonials .sfa-heading--center {
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

.sfa-testimonials .sfa-heading__title span {
  display: block;
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

/* Full-bleed slider: cards span the full viewport width while the heading stays
   in the container (reference). .sfa-home has overflow-x:clip, so no h-scroll. */
.sfa-testimonials .swiper {
  width: calc(100vw - 2 * clamp(16px, 2vw, 48px));
  max-width: calc(100vw - 2 * clamp(16px, 2vw, 48px));
  margin-left: calc(50% - 50vw + clamp(16px, 2vw, 48px));
  box-sizing: border-box;
}

/* Pill-shaped pagination dots (reference). */
.sfa-testimonials .swiper-pagination-bullet {
  width: 26px;
  height: 7px;
  border-radius: 4px;
  background: #f3cdd2;
  opacity: 1;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.sfa-testimonials .swiper-pagination-bullet-active {
  width: 38px;
  background: var(--sfa-primary);
}

/* --------------------------------------------------------------------------
   Partners — logos inside a white panel on soft bg
   -------------------------------------------------------------------------- */
.sfa-partners {
  background: var(--sfa-soft);
}

/* Reference: heading accent is bold-italic red sans (scoped, matches other sections). */
.sfa-partners .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

.sfa-partners__panel {
  background: #fff;
  border-radius: var(--sfa-radius);
  box-shadow: var(--sfa-shadow);
  padding: 30px clamp(20px, 4vw, 50px);
}

.sfa-partners__track .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.sfa-partners__track img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}

.sfa-partners__track img:hover {
  filter: none;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.sfa-blog {
  background: var(--sfa-white);
}

/* Reference: heading accent is bold-italic red sans (scoped, matches other sections). */
.sfa-blog .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: italic;
  font-weight: 700;
  font-size: 1em;
}

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

.sfa-post {
  background: #fff;
  border: 1px solid var(--sfa-line);
  border-radius: var(--sfa-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.sfa-post__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sfa-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sfa-post:hover .sfa-post__img img {
  transform: scale(1.06);
}

.sfa-post__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sfa-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--sfa-muted);
  margin-bottom: 12px;
}

.sfa-post__meta i {
  color: var(--sfa-primary);
  margin-right: 6px;
}

.sfa-post__title {
  font-size: 20px;
  margin-bottom: 18px;
  line-height: 1.35;
}

.sfa-post__title a:hover {
  color: var(--sfa-primary);
}

.sfa-post__more {
  margin-top: auto;
  font-family: var(--sfa-heading-font);
  font-weight: 600;
  color: var(--sfa-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sfa-post__more i {
  transition: transform 0.25s ease;
}

.sfa-post__more:hover i {
  transform: translateX(4px);
}

/* Reference: "Read More" is a red filled button, not a text link. */
.sfa-blog .sfa-post__more {
  align-self: flex-start;
  background: var(--sfa-primary);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  transition: background-color 0.25s ease;
}

.sfa-blog .sfa-post__more:hover {
  background: var(--sfa-primary-dark);
  color: #fff;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.sfa-faq {
  background: var(--sfa-white);
}

/* Reference: the FAQ heading is entirely dark — no red/cursive accent. */
.sfa-faq .sfa-heading__title span {
  font-family: var(--sfa-heading-font);
  font-style: normal;
  font-weight: 700;
  font-size: 1em;
  color: var(--sfa-ink);
}

.sfa-faq__list {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

/* Reference: items are rows separated by a thin divider (not boxed cards). */
.sfa-faq-item {
  border-bottom: 1px solid var(--sfa-line);
}

.sfa-faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 22px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--sfa-heading-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--sfa-ink);
}

/* Thin chevron toggle (reference) — rotates on open, no circular background. */
.sfa-faq-item__icon {
  flex: none;
  color: var(--sfa-muted);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.sfa-faq-item.is-open .sfa-faq-item__icon {
  transform: rotate(180deg);
  color: var(--sfa-ink);
}

.sfa-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* Answer sits in a light-bordered rounded box (reference). */
.sfa-faq-item__a-inner {
  border: 1px solid var(--sfa-line);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 22px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Swiper navigation / pagination
   -------------------------------------------------------------------------- */
.sfa-home .swiper {
  padding-bottom: 4px;
}

.sfa-home .swiper-pagination {
  position: static;
  margin-top: 30px;
}

.sfa-home .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #cfcfcf;
  opacity: 1;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.sfa-home .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 6px;
  background: var(--sfa-primary);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .sfa-services-grid,
  .sfa-portfolio-grid,
  .sfa-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sfa-counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sfa-hero__grid {
    grid-template-columns: 1fr;
  }
  .sfa-hero__media {
    order: -1;
    margin-bottom: 30px;
  }
  .sfa-about__inner {
    grid-template-columns: 1fr;
  }
  .sfa-about__media {
    max-width: 520px;
  }
  .sfa-results__grid {
    grid-template-columns: 1fr;
  }
  .sfa-cap-grid {
    gap: 30px 40px;
  }
  .sfa-heading--split {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .sfa-cap-grid,
  .sfa-services-grid,
  .sfa-portfolio-grid,
  .sfa-blog-grid {
    grid-template-columns: 1fr;
  }

  .sfa-counter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sfa-counter {
    justify-content: flex-start;
  }

  /* Hero trust badges: keep all three on a single row on phones. */
  .sfa-trust {
    max-width: 100%;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .sfa-trust img {
    width: calc((100% - 24px) / 3);
    height: auto;
    aspect-ratio: 1;
  }

  /* Hero stats: 2-up grid with smaller labels so each fits on one line. */
  .sfa-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px 18px;
  }

  .sfa-stat__label {
    font-size: 12px;
    max-width: none;
  }
}

/* ==========================================================================
   Site chrome — front-page-only header & footer (first-party, no Elementor)
   ========================================================================== */

/* ----- Header ----------------------------------------------------------- */
.sfa-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

.sfa-site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.sfa-topbar {
  background: var(--sfa-primary);
  color: #fff;
  font-size: 14px;
}

.sfa-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}

.sfa-topbar__left,
.sfa-topbar__right {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.sfa-topbar a,
.sfa-topbar span {
  color: #fff;
}

.sfa-topbar i {
  margin-right: 6px;
  opacity: 0.9;
}

.sfa-topbar a:hover {
  opacity: 0.85;
}

.sfa-header-main__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  min-height: 84px;
}

/* Logo left; nav + CTA grouped on the right (matches the live header). */
.sfa-nav {
  margin-left: auto;
}

/* Drawer head (logo + close) only appears inside the mobile drawer. */
.sfa-nav__head {
  display: none;
}

.sfa-logo img {
  height: 46px;
  width: auto;
}

/* Primary nav */
.sfa-nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sfa-nav__menu li {
  position: relative;
}

.sfa-nav__menu a {
  font-family: var(--sfa-body-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--sfa-ink);
  padding: 10px 0;
  display: inline-block;
}

.sfa-nav__menu > li:hover > a,
.sfa-nav__menu .current-menu-item > a {
  color: var(--sfa-primary);
}

.sfa-nav__menu .menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif;
  font-weight: 300;
  font-size: 11px;
  margin-left: 7px;
}

.sfa-nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--sfa-shadow);
  padding: 12px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 10;
}

.sfa-nav__menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sfa-nav__menu .sub-menu li {
  width: 100%;
}

.sfa-nav__menu .sub-menu a {
  display: block;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 500;
}

.sfa-nav__menu .sub-menu a:hover {
  color: var(--sfa-primary);
}

.sfa-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sfa-home .sfa-header-cta {
  padding: 13px 26px;
  font-size: 15px;
  font-family: var(--sfa-body-font);
  border-radius: 10px;
}

/* Hamburger */
.sfa-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sfa-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.sfa-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--sfa-ink);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.sfa-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.sfa-menu-open .sfa-mobile-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .sfa-nav-toggle {
    display: flex;
  }
  /* Nav becomes a fixed drawer, so push the CTA + hamburger to the right. */
  .sfa-header-actions {
    margin-left: auto;
  }
  .sfa-topbar__inner {
    justify-content: center;
    gap: 6px 22px;
  }
  .sfa-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(330px, 86vw);
    background: #fff;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
    padding: 0 0 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .sfa-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--sfa-line);
    margin-bottom: 10px;
  }
  .sfa-nav__logo img {
    height: 42px;
    width: auto;
  }
  .sfa-nav-close {
    width: 40px;
    height: 40px;
    flex: none;
    border: 1px solid var(--sfa-line);
    border-radius: 8px;
    background: #fff;
    color: var(--sfa-ink);
    font-size: 20px;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .sfa-menu-open .sfa-nav {
    transform: translateX(0);
  }
  .sfa-menu-open .sfa-mobile-overlay {
    opacity: 1;
  }
  .sfa-nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .sfa-nav__menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px;
    border-bottom: 1px solid var(--sfa-line);
  }
}

/* ----- Footer ----------------------------------------------------------- */
.sfa-site-footer {
  background: var(--sfa-primary);
  background-image: linear-gradient(160deg, #e30a25 0%, #c00219 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.sfa-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 80px);
}

.sfa-footer__mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  font-family: var(--sfa-heading-font);
  font-weight: 700;
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.sfa-footer__about p {
  max-width: 320px;
  margin-bottom: 22px;
}

.sfa-footer__social {
  display: flex;
  gap: 12px;
}

.sfa-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.sfa-footer__social a:hover {
  background: #fff;
  color: var(--sfa-primary);
}

.sfa-site-footer .sfa-footer__title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 22px;
}

.sfa-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sfa-footer__col a,
.sfa-footer__contact span {
  color: rgba(255, 255, 255, 0.88);
}

.sfa-footer__col a:hover {
  color: #fff;
}

.sfa-footer__contact li {
  display: flex;
}

.sfa-footer__contact a,
.sfa-footer__addr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sfa-footer__contact i {
  margin-top: 4px;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sfa-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sfa-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
}

.sfa-footer__bottom p {
  margin: 0;
}

.sfa-footer__legal {
  display: flex;
  gap: 24px;
}

.sfa-footer__legal a {
  color: rgba(255, 255, 255, 0.88);
}

.sfa-footer__legal a:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .sfa-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .sfa-topbar {
    display: none;
  }
  /* Full CTA label is too wide next to the logo + hamburger on phones. */
  .sfa-home .sfa-header-cta {
    display: none;
  }
  .sfa-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Header mega-menu (Services) -------------------------------------- */
.sfa-nav__menu a .fa-angle-down {
  font-size: 20px;
  margin-left: 5px;
  transition: transform 0.25s ease;
  top: 3px;
  position: relative;
}

/* Override `.sfa-nav__menu li { position: relative }` so the mega panel's
   containing block is the full-width sticky header, not the narrow Services li. */
.sfa-nav__menu li.sfa-has-mega {
  position: static;
}

.sfa-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--sfa-line);
  padding: 38px 0 44px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 999;
}

.sfa-has-mega:hover .sfa-mega,
.sfa-has-mega:focus-within .sfa-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sfa-has-mega:hover > a .fa-angle-down {
  transform: rotate(180deg);
}

.sfa-mega__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding-inline: clamp(30px, 4vw, 70px);
}

.sfa-mega__intro h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

.sfa-mega__intro p {
  font-size: 15px;
  margin-bottom: 22px;
}

.sfa-mega__ratings {
  display: grid;
  gap: 16px;
}

.sfa-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sfa-rating__logo {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--sfa-line);
  border-radius: 8px;
  padding: 6px;
}

.sfa-rating__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.sfa-rating__text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--sfa-muted);
  line-height: 1.3;
}

.sfa-rating__text strong {
  color: var(--sfa-ink);
  font-size: 15px;
}

.sfa-mega__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 36px;
  align-items: start; /* each row's columns top-align => two clean rows */
}

.sfa-mega__group {
  margin-bottom: 0;
}

.sfa-mega__group .sfa-mega__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sfa-heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--sfa-ink);
  margin-bottom: 12px;
}

.sfa-mega__title i {
  color: var(--sfa-primary);
  font-size: 17px;
  width: 20px;
}

.sfa-mega__title:hover {
  color: var(--sfa-primary);
}

.sfa-mega__group ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  display: grid;
  gap: 2px;
}

.sfa-mega__group ul a {
  font-family: var(--sfa-heading-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #161616;
  padding: 0;
}

.sfa-mega__group ul a:hover {
  color: var(--sfa-primary);
}

@media (max-width: 991px) {
  .sfa-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    padding: 8px 22px 14px;
    display: none; /* collapsed; tap "Services" to expand */
  }
  .sfa-has-mega.is-open > .sfa-mega {
    display: block;
  }
  .sfa-mega__inner {
    display: block;
    padding: 0;
  }
  .sfa-mega__intro {
    display: none;
  }
  .sfa-mega__cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sfa-mega__group {
    margin-bottom: 14px;
  }
  .sfa-mega__group .sfa-mega__title {
    font-size: 15px;
    margin-bottom: 0;
  }
  .sfa-mega__group ul a {
    font-size: 14px;
  }
  /* Caret rotates only when the drawer dropdown is open (no hover on touch). */
  .sfa-has-mega:hover > a .fa-angle-down {
    transform: none;
  }
  .sfa-has-mega.is-open > a .fa-angle-down {
    transform: rotate(180deg);
  }
}
