/* =============================================================================
   Frameflow Creatives — Frameflow Creatives-inspired UX polish (adapted, not copied)
   Brand palette: #13072D · #432692 · #AB05E4 · #232323
   Loaded last on all live pages.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Form feedback
   ------------------------------------------------------------------------ */
.ff-form-feedback,
.frameflow-form-status {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 12px;
}

.ff-form-feedback.text-success,
.frameflow-form-status[data-state="success"] {
  color: #1a7f4b;
}

.ff-form-feedback.text-danger,
.frameflow-form-status[data-state="error"] {
  color: #c0392b;
}

/* ---------------------------------------------------------------------------
   Focus visibility (keyboard + a11y)
   ------------------------------------------------------------------------ */
.frameflow-light .form-contact input:focus-visible,
.frameflow-light .form-contact textarea:focus-visible,
.frameflow-light .ff-contact-form input:focus-visible,
.frameflow-light .ff-contact-form textarea:focus-visible,
.frameflow-light .ff-contact-form select:focus-visible,
.frameflow-light .hero-contact-form input:focus-visible,
.frameflow-light .hero-contact-form textarea:focus-visible {
  outline: 2px solid var(--brand, #432692);
  outline-offset: 2px;
}

.offcanvas-menu .mb-menu-link:focus-visible,
.offcanvas-menu .sub-nav-link:focus-visible,
.offcanvas-menu .close-mb-menu:focus-visible,
.open-mb-menu:focus-visible {
  outline: 2px solid var(--brand, #432692);
  outline-offset: 2px;
}

.offcanvas-menu:not(.show) {
  pointer-events: none;
}

.offcanvas-menu.show {
  pointer-events: auto;
}

/* ---------------------------------------------------------------------------
   Homepage — trust band (below hero)
   ------------------------------------------------------------------------ */
.ff-trust-band {
  margin-top: -12px;
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
}

.ff-trust-band__inner {
  background: linear-gradient(90deg, #160a33 0%, #2a1366 50%, #1e0f45 100%);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 12px 36px -16px rgba(19, 7, 45, 0.35);
}

.ff-trust-band__label {
  color: #fff;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.02em;
  max-width: 22em;
}

.ff-trust-band__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.ff-trust-band__list li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin: 0 !important;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .ff-trust-band {
    margin-top: 0;
  }

  .ff-trust-band__inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .ff-trust-band__list {
    gap: 8px !important;
  }
}

/* ---------------------------------------------------------------------------
   Homepage — motto band
   ------------------------------------------------------------------------ */
.ff-home-motto {
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 20px;
  background:
    radial-gradient(ellipse 72% 85% at 12% 0%, rgba(188, 40, 245, 0.24) 0%, transparent 58%),
    radial-gradient(ellipse 62% 72% at 88% 100%, rgba(117, 85, 245, 0.22) 0%, transparent 55%),
    linear-gradient(155deg, #432692 0%, #5a3fc4 42%, #7555f5 76%, #3d2e8a 100%);
}

.ff-home-motto__eyebrow {
  color: #c46cf2;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.ff-home-motto__title {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 18em;
  margin-inline: auto;
}

.ff-home-motto__desc {
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   Mobile sticky CTA bar
   ------------------------------------------------------------------------ */
.ff-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px max(16px, env(safe-area-inset-left, 0px))
    calc(12px + env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-right, 0px));
  background: rgba(22, 10, 51, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(19, 7, 45, 0.25);
}

.ff-mobile-cta .tf-btn {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .ff-mobile-cta {
    display: block;
  }

  body:has(.ff-mobile-cta) #wrapper,
  body.ff-has-mobile-cta #wrapper {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.ff-mobile-cta) #goTop,
  body.ff-has-mobile-cta #goTop {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------------------------------------------------------------------------
   Inner pages — breadcrumbs & page titles
   ------------------------------------------------------------------------ */
.frameflow-light.ff-cl-page .page-title .breadkcum {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.frameflow-light.ff-cl-page .page-title .breadkcum a {
  transition: color 0.2s ease;
}

.frameflow-light.ff-cl-page .page-title .breadkcum a:hover {
  color: var(--brand, #432692);
}

.frameflow-light.ff-cl-page .page-title .title {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

/* ---------------------------------------------------------------------------
   Blog sidebar
   ------------------------------------------------------------------------ */
.frameflow-light .tf-sidebar .item-tags {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.frameflow-light .tf-sidebar .item-tags:not(.active):hover {
  background: var(--brand, #432692);
  border-color: var(--brand, #432692);
  color: #fff;
}

.frameflow-light .tf-sidebar .item-tags[href="#"] {
  pointer-events: none;
  opacity: 0.55;
}

.frameflow-light .tf-sidebar .wg-cta {
  border-radius: 20px;
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Contact forms — mobile spacing
   ------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .frameflow-light .form-contact fieldset,
  .frameflow-light .ff-contact-form fieldset {
    margin-bottom: 16px;
  }

  .frameflow-light .section-contact .heading-section {
    margin-bottom: 40px;
  }
}

/* ---------------------------------------------------------------------------
   Homepage card hover polish
   ------------------------------------------------------------------------ */
.frameflow-light.home-page .ff-ref-project-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease;
}

.frameflow-light.home-page .ff-ref-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -18px rgba(67, 38, 146, 0.22);
}

.frameflow-light.home-page .ff-process__step {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease;
}

.frameflow-light.home-page .ff-process__step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -16px rgba(67, 38, 146, 0.16);
}

.frameflow-light.home-page .ff-trust-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease;
}

.frameflow-light.home-page .ff-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -16px rgba(67, 38, 146, 0.14);
}

/* ---------------------------------------------------------------------------
   Sticky pill header — homepage (complements styles.css)
   ------------------------------------------------------------------------ */
.frameflow-light.home-page .tf-header--cl.is-scrolled .header-inner {
  border-color: rgba(67, 38, 146, 0.14);
}

/* ---------------------------------------------------------------------------
   Newsletter / footer tap targets
   ------------------------------------------------------------------------ */
.frameflow-light .footer-content.newsletter-footer .tf-btn {
  min-height: 48px;
}

@media (prefers-reduced-motion: reduce) {
  .frameflow-light.home-page .ff-ref-project-card,
  .frameflow-light.home-page .ff-process__step,
  .frameflow-light.home-page .ff-trust-card {
    transition: none;
  }

  .frameflow-light.home-page .ff-ref-project-card:hover,
  .frameflow-light.home-page .ff-process__step:hover,
  .frameflow-light.home-page .ff-trust-card:hover {
    transform: none;
  }

  .ff-showreel__wave {
    animation: none;
  }
}

/* =============================================================================
   Frameflow Creatives elements — adapted for Frameflow
   ========================================================================== */

/* Hero service pills */
.ff-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.ff-hero-points li {
  border: 1px solid rgba(67, 38, 146, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading, #13072d);
  background: rgba(255, 255, 255, 0.72);
}

/* Hero stat metrics */
.ff-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(67, 38, 146, 0.1);
}

.ff-hero-metric__num {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand, #432692);
  line-height: 1;
}

.ff-hero-metric__label {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-body, #232323);
  line-height: 1.4;
  max-width: 11em;
}

/* Service cards grid (Frameflow Creatives style-3 adapted) */
.ff-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  counter-reset: ffService;
}

/* Services section — contain floating preview + spacing before CTA */
.frameflow-light.home-page .section-services > .container > .row {
  position: relative;
  isolation: isolate;
}

.frameflow-light.home-page .section-services .col-left {
  margin-bottom: 0 !important;
}

.frameflow-light.home-page .section-services .heading-sub,
.frameflow-light.home-page .section-services .ff-services-heading,
.frameflow-light.home-page .section-services .top > .text,
.frameflow-light.home-page .section-services .ff-services-intro__desc,
.frameflow-light.home-page .section-services .ff-services-preview,
.frameflow-light.home-page .section-services .ff-services-accordion__item,
.frameflow-light.home-page .section-services .ff-services-banner {
  visibility: visible;
}

.frameflow-light.home-page .section-services .heading-title.ff-services-heading {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 0;
  color: var(--heading, #13072d);
  -webkit-text-fill-color: currentColor;
  background: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.frameflow-light.home-page .section-services .heading-section.mb-32 {
  margin-bottom: 20px;
}

.frameflow-light.home-page .ff-services-intro__desc {
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
  max-width: 40rem;
  text-align: center;
  opacity: 1;
}

.frameflow-light.home-page .ff-services-preview {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(67, 38, 146, 0.1);
  box-shadow: 0 16px 48px -20px rgba(19, 7, 45, 0.22);
  background: #13072d;
}

.frameflow-light.home-page .ff-services-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 1;
  will-change: opacity, transform;
}

.frameflow-light.home-page .ff-services-preview:hover img {
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

/* Flatter accordion cards on homepage services */
.frameflow-light.home-page .ff-services-accordion .accordion-faq_item {
  background: #fff;
  border: 1px solid rgba(67, 38, 146, 0.1);
  border-radius: 22px;
  box-shadow: 0 4px 18px -8px rgba(19, 7, 45, 0.1);
  margin-bottom: 14px;
  overflow: hidden;
  opacity: 1;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item:has(.collapse.show) {
  border-color: rgba(117, 85, 245, 0.28);
  box-shadow: 0 12px 36px -14px rgba(67, 38, 146, 0.22);
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item:last-child {
  margin-bottom: 0;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .accordion-action {
  padding: 22px 28px;
  border-radius: 22px;
  transition: border-radius 0.25s ease;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .accordion-action:not(.collapsed) {
  border-radius: 22px 22px 0 0;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .collapse {
  transition: height 0.35s ease;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .accordion-content {
  padding: 4px 28px 26px;
  background: linear-gradient(180deg, rgba(117, 85, 245, 0.08) 0%, #fff 55%);
  border-top: 1px solid rgba(117, 85, 245, 0.12);
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .accordion-content .text {
  color: var(--text-body, #232323) !important;
  font-size: 15px;
  line-height: 1.65;
  padding-top: 0;
  padding-bottom: 16px;
}

.frameflow-light.home-page .ff-services-accordion .accordion-faq_item .accordion-action.collapsed .accordion-title {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
}

.frameflow-light.home-page .section-services .services-image {
  display: none;
}

.frameflow-light.home-page .section-services .ff-services-banner {
  margin-top: clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .frameflow-light.home-page .ff-services-preview {
    margin-top: 8px;
  }

  .frameflow-light.home-page .ff-services-accordion {
    margin-top: 8px;
  }
}

/* Header CTA — softer shadow on homepage */
.frameflow-light.home-page .tf-header--cl .header-inner .tf-btn {
  box-shadow: 0 -2px 0 rgba(36, 20, 82, 0.85) inset, 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 4px 14px -6px rgba(67, 38, 146, 0.22);
}

.ff-service-card {
  counter-increment: ffService;
  border: 1px solid rgba(67, 38, 146, 0.1);
  border-radius: 22px;
  padding: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ff-service-card::before {
  content: "0" counter(ffService);
  display: block;
  padding: 12px 16px 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-accent, #ab05e4);
}

.ff-service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 16px;
}

.ff-service-card__name {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading, #13072d);
  text-decoration: none;
  line-height: 1.25;
}

.ff-service-card__name:hover {
  color: var(--brand, #432692);
}

.ff-service-card__icon {
  font-size: 28px;
  color: var(--brand-accent, #ab05e4);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.ff-service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f5f4f8;
  border: 1px solid rgba(67, 38, 146, 0.08);
  border-radius: 16px;
  padding: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.ff-service-card__desc {
  flex: 1;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body, #232323);
}

.ff-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading, #13072d);
  text-decoration: none;
}

.ff-service-card__link .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ff-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -20px rgba(67, 38, 146, 0.28);
  background: linear-gradient(180deg, #432692 0%, #3a1f9e 100%);
}

.ff-service-card:hover::before {
  color: rgba(255, 255, 255, 0.7);
}

.ff-service-card:hover .ff-service-card__name,
.ff-service-card:hover .ff-service-card__link {
  color: #fff;
}

.ff-service-card:hover .ff-service-card__icon {
  color: #fff;
}

.ff-service-card:hover .ff-service-card__body {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.ff-service-card:hover .ff-service-card__desc {
  color: rgba(255, 255, 255, 0.82);
}

.ff-service-card:hover .ff-service-card__link .icon {
  background: #fff;
  color: var(--brand, #432692);
}

/* Services bottom banner */
.ff-services-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid rgba(67, 38, 146, 0.1);
  border-radius: 22px;
  background: linear-gradient(127deg, #f5f4f8 0%, #eeecf3 55%, #faf8ff 100%);
}

.ff-services-banner__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading, #13072d);
  margin-bottom: 6px;
}

.ff-services-banner__text {
  margin: 0;
  font-size: 15px;
  color: var(--text-body, #232323);
  max-width: 36em;
}

/* Growth sprint block */
.ff-growth-sprint__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(67, 38, 146, 0.1);
  border-radius: 28px;
  background: linear-gradient(127deg, #f5f4f8 0%, #eeecf3 50%, #faf8ff 100%);
  box-shadow: 0 20px 60px -24px rgba(19, 7, 45, 0.18);
}

.ff-growth-sprint__eyebrow {
  color: var(--brand, #432692);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ff-growth-sprint__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--heading, #13072d);
  margin-bottom: 16px;
}

.ff-growth-sprint__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body, #232323);
  margin-bottom: 28px;
  max-width: 32em;
}

.ff-growth-pills {
  display: grid;
  gap: 14px;
}

.ff-growth-pill {
  border-radius: 18px;
  border: 1px solid rgba(67, 38, 146, 0.1);
  background: #fff;
  padding: 20px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ff-growth-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -14px rgba(67, 38, 146, 0.18);
}

.ff-growth-pill__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand, #432692);
  margin-bottom: 6px;
}

.ff-growth-pill__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body, #232323);
}

/* Dual services marquee */
.ff-services-marquee {
  overflow: hidden;
}

.ff-services-marquee__row {
  padding: 14px 0;
}

.ff-services-marquee__row--light {
  background: #f5f4f8;
}

.ff-services-marquee__row--dark {
  background: linear-gradient(90deg, #160a33 0%, #2a1366 100%);
}

.ff-services-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ff-services-marquee__row--light .ff-services-marquee__item {
  color: var(--heading, #13072d);
}

.ff-services-marquee__row--dark .ff-services-marquee__item {
  color: rgba(255, 255, 255, 0.92);
}

.ff-services-marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent, #ab05e4);
  flex-shrink: 0;
}

.ff-services-marquee__row--dark .ff-services-marquee__dot {
  background: #c46cf2;
}

/* Showreel video block */
.ff-showreel {
  padding: 0 0 clamp(48px, 6vw, 72px);
}

.ff-showreel__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: linear-gradient(155deg, #1e1550 0%, #432692 50%, #302570 100%);
  border: 1px solid rgba(117, 85, 245, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 72px -28px rgba(30, 21, 80, 0.45);
}

.ff-showreel__video,
.ff-showreel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ff-showreel__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.ff-showreel__poster {
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ff-showreel__media:not(.is-video-ready) .ff-showreel__poster {
  opacity: 1;
}

.ff-showreel__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-decoration: none;
}

.ff-showreel__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ff-showreel__media:hover .ff-showreel__video iframe {
  transform: translate(-50%, -50%) scale(1.03);
  transition: transform 0.6s ease;
}

.ff-showreel__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 21, 80, 0.12) 0%, rgba(30, 21, 80, 0.42) 55%, rgba(18, 10, 48, 0.72) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.35s ease;
}

.ff-showreel__link:hover .ff-showreel__overlay {
  background:
    linear-gradient(180deg, rgba(30, 21, 80, 0.2) 0%, rgba(30, 21, 80, 0.5) 55%, rgba(18, 10, 48, 0.82) 100%);
}

.ff-showreel__play {
  position: relative;
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(18px, 2vw, 26px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.ff-showreel__link:hover .ff-showreel__play {
  background: #fff;
  color: var(--brand, #432692);
  transform: scale(1.06);
}

.ff-showreel__wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: ff-showreel-ripple 2s infinite;
  pointer-events: none;
}

.ff-showreel__wave:nth-child(2) {
  animation-delay: 0.6s;
}

.ff-showreel__label {
  color: #fff;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ff-showreel__hint {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .ff-showreel__media:hover .ff-showreel__video iframe {
    transform: translate(-50%, -50%);
  }
}

@keyframes ff-showreel-ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* Portfolio video play overlay */
.ff-ref-project-card__thumb--video {
  position: relative;
}

.ff-ref-project-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 7, 45, 0.22);
  transition: background 0.3s ease;
  pointer-events: none;
}

.ff-ref-project-card__play i {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand, #432692);
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(19, 7, 45, 0.2);
  transition: transform 0.3s ease;
}

.ff-ref-project-card--video:hover .ff-ref-project-card__play {
  background: rgba(19, 7, 45, 0.35);
}

.ff-ref-project-card--video:hover .ff-ref-project-card__play i {
  transform: scale(1.08);
}

/* CTA buttons with icon (Frameflow Creatives pattern) */
.ff-btn-has-icon {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-right: 6px !important;
}

.ff-btn-has-icon .ff-btn-has-icon__text {
  padding: 0 14px 0 0;
}

.ff-btn-has-icon .ff-btn-has-icon__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  transition: background 0.2s ease;
}

.tf-btn-2.ff-btn-has-icon .ff-btn-has-icon__icon {
  background: rgba(67, 38, 146, 0.08);
}

.ff-btn-has-icon:hover .ff-btn-has-icon__icon {
  background: rgba(255, 255, 255, 0.32);
}

.tf-btn-2.ff-btn-has-icon:hover .ff-btn-has-icon__icon {
  background: rgba(67, 38, 146, 0.14);
}

@media (max-width: 1199px) {
  .ff-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ff-growth-sprint__inner {
    grid-template-columns: 1fr;
  }

  .ff-showreel__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575px) {
  .ff-services-grid {
    grid-template-columns: 1fr;
  }

  .ff-services-banner {
    padding: 22px 20px;
  }

  .ff-services-banner .tf-btn {
    width: 100%;
    justify-content: center;
  }

  .ff-hero-metrics {
    gap: 20px;
  }
}

/* ---------------------------------------------------------------------------
   Stats band — enhanced with icons & cards
   ------------------------------------------------------------------------ */
.frameflow-light.home-page .ff-stats-dark--enhanced {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0;
  background:
    radial-gradient(ellipse 55% 80% at 0% 50%, rgba(171, 5, 228, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 70% at 100% 30%, rgba(117, 85, 245, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #3d2e8a 0%, #3a1f9e 48%, #2a1366 100%);
}

.frameflow-light.home-page .ff-stats-dark--enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .container {
  position: relative;
  z-index: 1;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__head {
  text-align: center;
  max-width: 36em;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c46cf2;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__intro {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__grid {
  gap: 20px;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__item {
  position: relative;
  padding: clamp(24px, 3vw, 32px) 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(196, 108, 242, 0.35);
  box-shadow: 0 16px 40px -16px rgba(19, 7, 45, 0.45);
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 16px;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(171, 5, 228, 0.45) 0%, rgba(67, 38, 146, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px -8px rgba(171, 5, 228, 0.45);
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__num {
  font-size: clamp(36px, 4.5vw, 52px);
  margin-bottom: 4px;
  color: #fff;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__num .number {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 767px) {
  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__item {
    padding: 20px 16px;
  }

  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__hint {
    display: none;
  }
}

@media (max-width: 479px) {
  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__head {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frameflow-light.home-page .ff-stats-dark--enhanced .ff-stats-dark__item:hover {
    transform: none;
  }
}

/* ── Process & value strip icons (homepage) ── */
.frameflow-light.home-page .ff-process__icon {
  display: inline-flex !important;
}

.frameflow-light.home-page .ff-value-strip__icon {
  display: flex !important;
}

.frameflow-light.home-page .ff-process .ff-ref-eyebrow {
  margin-bottom: 12px;
}

.frameflow-light.home-page .ff-process__title.title-animation {
  text-align: center;
  margin-bottom: 48px;
}

/* ── Why choose us ── */
.frameflow-light.home-page .ff-why-us {
  background: linear-gradient(180deg, #faf9fc 0%, #fff 100%);
}

.frameflow-light.home-page .ff-why-us .ff-ref-section-head {
  margin-bottom: 48px;
}

.frameflow-light.home-page .ff-why-us__intro {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

.frameflow-light.home-page .ff-why-us__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px -24px rgba(19, 7, 45, 0.35);
  border: 1px solid rgba(67, 38, 146, 0.1);
}

.frameflow-light.home-page .ff-why-us__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 7, 45, 0.35) 100%);
  pointer-events: none;
}

.frameflow-light.home-page .ff-why-us__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 480;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.frameflow-light.home-page .ff-why-us__accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.frameflow-light.home-page .ff-why-us__item {
  border-radius: 18px;
  border: 1px solid rgba(67, 38, 146, 0.1);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.frameflow-light.home-page .ff-why-us__item:has(.collapse.show) {
  border-color: rgba(171, 5, 228, 0.35);
  box-shadow: 0 12px 32px -16px rgba(67, 38, 146, 0.25);
}

.frameflow-light.home-page .ff-why-us__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.frameflow-light.home-page .ff-why-us__trigger-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #AB05E4 0%, #432692 100%);
}

.frameflow-light.home-page .ff-why-us__trigger-text {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}

.frameflow-light.home-page .ff-why-us__trigger-arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: #432692;
  transition: transform 0.25s ease;
}

.frameflow-light.home-page .ff-why-us__trigger:not(.collapsed) .ff-why-us__trigger-arrow {
  transform: rotate(180deg);
}

.frameflow-light.home-page .ff-why-us__body {
  margin: 0;
  padding: 0 20px 18px 78px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 991px) {
  .frameflow-light.home-page .ff-why-us__body {
    padding-left: 20px;
  }
}

/* ── Team showcase carousel ── */
.frameflow-light.home-page .ff-team-showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.frameflow-light.home-page .ff-team-showcase__desc {
  margin: 12px 0 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--secondary);
}

.frameflow-light.home-page .ff-team-showcase__card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(67, 38, 146, 0.1);
  box-shadow: 0 12px 32px -16px rgba(19, 7, 45, 0.15);
}

.frameflow-light.home-page .ff-team-showcase__photo {
  position: relative;
  overflow: hidden;
}

.frameflow-light.home-page .ff-team-showcase__photo img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.frameflow-light.home-page .ff-team-showcase__card:hover .ff-team-showcase__photo img {
  transform: scale(1.05);
}

.frameflow-light.home-page .ff-team-showcase__info {
  padding: 20px 22px 22px;
}

.frameflow-light.home-page .ff-team-showcase__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
}

.frameflow-light.home-page .ff-team-showcase__role {
  margin: 0;
  font-size: 14px;
  color: #432692;
  font-weight: 500;
}

.frameflow-light.home-page .ff-team-swiper .tf-sw-pagination {
  position: relative;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .frameflow-light.home-page .ff-team-showcase__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .frameflow-light.home-page .ff-team-showcase__photo img {
    height: 240px;
  }
}

/* ── Newsletter band ── */
.frameflow-light.home-page .ff-newsletter-band {
  padding: 56px 0;
  background: linear-gradient(135deg, #13072D 0%, #432692 55%, #2a1568 100%);
}

.frameflow-light.home-page .ff-newsletter-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.frameflow-light.home-page .ff-newsletter-band__copy {
  flex: 1;
  min-width: 0;
}

.frameflow-light.home-page .ff-newsletter-band__copy .ff-ref-eyebrow {
  color: rgba(196, 108, 242, 0.95);
  margin-bottom: 10px;
}

.frameflow-light.home-page .ff-newsletter-band__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.frameflow-light.home-page .ff-newsletter-band__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
}

.frameflow-light.home-page .ff-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  width: min(100%, 420px);
}

.frameflow-light.home-page .ff-newsletter-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
}

.frameflow-light.home-page .ff-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.frameflow-light.home-page .ff-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(171, 5, 228, 0.6);
  box-shadow: 0 0 0 3px rgba(171, 5, 228, 0.2);
}

.frameflow-light.home-page .ff-newsletter-form .tf-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.frameflow-light.home-page .ff-newsletter-form .ff-form-feedback {
  flex: 1 0 100%;
  color: rgba(255, 255, 255, 0.9);
}

.frameflow-light.home-page .ff-newsletter-form .ff-form-feedback.text-success {
  color: #86efac !important;
}

.frameflow-light.home-page .ff-newsletter-form .ff-form-feedback.text-danger {
  color: #fca5a5 !important;
}

@media (max-width: 991px) {
  .frameflow-light.home-page .ff-newsletter-band__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
  }

  .frameflow-light.home-page .ff-newsletter-form {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frameflow-light.home-page .ff-team-showcase__card:hover .ff-team-showcase__photo img {
    transform: none;
  }
}

/* ── Working process block (Frameflow Creatives-style) ── */
.frameflow-light.home-page .ff-working-process-block {
  position: relative;
}

.frameflow-light.home-page .ff-wp-marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-wp-marquee {
    height: auto;
    margin-bottom: 0;
    margin-left: 0;
  }
}

.frameflow-light.home-page .ff-wp-marquee__band {
  overflow: hidden;
  width: 100%;
}

.frameflow-light.home-page .ff-wp-marquee__band--lime,
.frameflow-light.home-page .ff-wp-marquee__band--accent {
  background: linear-gradient(90deg, #ede8ff 0%, #e4d9ff 50%, #ede8ff 100%);
}

.frameflow-light.home-page .ff-wp-marquee__band--purple {
  background: linear-gradient(90deg, #7555F5 0%, #9b7bff 40%, #9b3fd4 70%, #BC28F5 100%);
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-wp-marquee__band--lime,
  .frameflow-light.home-page .ff-wp-marquee__band--accent {
    transform: none;
    margin-top: 12px;
  }

  .frameflow-light.home-page .ff-wp-marquee__band--purple {
    transform: none;
    margin-top: 0;
  }
}

.frameflow-light.home-page .ff-wp-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  margin-right: 70px;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.frameflow-light.home-page .ff-wp-marquee__band--lime .ff-wp-marquee__item,
.frameflow-light.home-page .ff-wp-marquee__band--accent .ff-wp-marquee__item {
  color: #13072d;
}

.frameflow-light.home-page .ff-wp-marquee__band--lime .ff-wp-marquee__item i,
.frameflow-light.home-page .ff-wp-marquee__band--accent .ff-wp-marquee__item i {
  font-size: 14px;
  color: #432692;
  opacity: 0.65;
}

.frameflow-light.home-page .ff-wp-marquee__band--purple .ff-wp-marquee__item {
  color: #fff;
}

.frameflow-light.home-page .ff-wp-marquee__band--purple .ff-wp-marquee__item i {
  font-size: 14px;
  opacity: 0.85;
}

/* Dark process section */
.frameflow-light.home-page .ff-working-process {
  background: linear-gradient(180deg, #211247 0%, #432691 100%);
  padding: 60px 0 80px;
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-working-process {
    padding: 184px 0 100px;
  }
}

@media (min-width: 1440px) {
  .frameflow-light.home-page .ff-working-process {
    padding-top: 275px;
  }
}

.frameflow-light.home-page .ff-working-process__eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.frameflow-light.home-page .ff-working-process__eyebrow span {
  color: #c46cf2;
}

.frameflow-light.home-page .ff-working-process__title {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

.frameflow-light.home-page .ff-working-process__head {
  margin-bottom: 48px;
}

.frameflow-light.home-page .ff-working-process__gallery {
  margin-bottom: 56px;
}

.frameflow-light.home-page .ff-wp-pill {
  overflow: hidden;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 28px !important;
}

.frameflow-light.home-page .ff-wp-pill img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.frameflow-light.home-page .ff-wp-pill--1,
.frameflow-light.home-page .ff-wp-pill--2,
.frameflow-light.home-page .ff-wp-pill--3 {
  border-radius: 28px !important;
  overflow: hidden;
}

.frameflow-light.home-page .ff-working-process__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.frameflow-light.home-page .ff-working-process__left {
  max-width: 502px;
}

.frameflow-light.home-page .ff-working-process__lead {
  margin: 0 0 60px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-working-process__lead {
    margin-bottom: 100px;
  }
}

@media (min-width: 1440px) {
  .frameflow-light.home-page .ff-working-process__lead {
    margin-bottom: 141px;
  }
}

.frameflow-light.home-page .ff-working-process__stat {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.frameflow-light.home-page .ff-working-process__stat-num {
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #AB05E4;
}

.frameflow-light.home-page .ff-working-process__stat-num .number {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.frameflow-light.home-page .ff-working-process__stat-plus {
  color: #fff;
}

.frameflow-light.home-page .ff-working-process__stat-label {
  margin: 0;
  padding-bottom: 12px;
  flex: 1 1 auto;
  min-width: 11em;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-working-process__stat-label {
    padding-bottom: 40px;
  }
}

.frameflow-light.home-page .ff-working-process__steps {
  max-width: 645px;
  flex: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.frameflow-light.home-page .ff-working-process__step {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 32px);
  padding: 0 0 30px clamp(16px, 2.5vw, 28px);
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-working-process__step {
    gap: clamp(24px, 3vw, 40px);
    padding-left: clamp(20px, 3vw, 36px);
  }

  .frameflow-light.home-page .ff-working-process__step:first-child {
    padding-top: 10px;
  }
}

.frameflow-light.home-page .ff-working-process__step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.frameflow-light.home-page .ff-working-process__step-num {
  flex-shrink: 0;
  min-width: 0.72em;
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.frameflow-light.home-page .ff-working-process__step-title {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.frameflow-light.home-page .ff-working-process__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1199px) {
  .frameflow-light.home-page .ff-working-process__lead br,
  .frameflow-light.home-page .ff-working-process__title br {
    display: none;
  }
}

@media (max-width: 767px) {
  .frameflow-light.home-page .ff-working-process__bottom {
    flex-direction: column;
  }

  .frameflow-light.home-page .ff-working-process__left,
  .frameflow-light.home-page .ff-working-process__steps {
    max-width: 100%;
  }

  .frameflow-light.home-page .ff-working-process__steps {
    border-left: none;
    padding-top: 8px;
  }

  .frameflow-light.home-page .ff-working-process__step {
    padding-left: 0;
  }

  .frameflow-light.home-page .ff-wp-marquee {
    margin-bottom: -40px;
  }
}

/* ── Client testimonials carousel (Frameflow Creatives-style) ── */
.frameflow-light.home-page .ff-tes-carousel {
  background: #fff;
}

.frameflow-light.home-page .ff-tes-carousel .heading-section.mb-64 {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.frameflow-light.home-page .ff-tes-carousel__eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.frameflow-light.home-page .ff-tes-carousel__eyebrow span {
  color: var(--heading);
}

.frameflow-light.home-page .ff-tes-carousel__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--heading, #13072d);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item {
  height: 100%;
  padding: 20px 20px 27px;
  border-radius: 20px;
  border: 1px solid rgba(67, 38, 146, 0.1);
  background: #f5f4f8;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .top {
  background: #fff;
  padding: 28px 16px 56px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(67, 38, 146, 0.06);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .top .line {
  width: 100%;
  height: 1px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 7, 45, 0.12) 0%, rgba(19, 7, 45, 0) 100%);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 24px;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .rating-label {
  padding-right: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .rating .icon {
  font-size: 18px;
  color: #f59e0b;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .text {
  margin: 0;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-body, #232323);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .user-tes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: -30px;
  text-align: center;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .user-tes .img-avt {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px -8px rgba(19, 7, 45, 0.25);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .user-tes .img-avt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .user-tes .name {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.frameflow-light.home-page .ff-tes-carousel .tes-item .user-tes .position {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--secondary);
}

.frameflow-light.home-page .ff-tes-swiper__dots.sw-dot-pagination,
.frameflow-light.home-page .ff-tes-swiper .tf-sw-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px !important;
}

.frameflow-light.home-page .ff-tes-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(117, 85, 245, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}

.frameflow-light.home-page .ff-tes-swiper .swiper-pagination-bullet-active {
  background: #7555f5;
  transform: scale(1.15);
}

@media (max-width: 1199px) {
  .frameflow-light.home-page .ff-tes-carousel__title br {
    display: none;
  }
}

@media (max-width: 767px) {
  .frameflow-light.home-page .ff-tes-carousel .tes-item .top {
    padding-bottom: 48px;
  }

  .frameflow-light.home-page .ff-tes-carousel .tes-item .text {
    font-size: 14px;
  }
}
