/* KS How We Work — Elementor widget */

.ks-el-root.ks-el-we-work {
  --ks-ww-primary: #00321f;
  --ks-ww-harbor: #0083a9;
  --ks-ww-growth: #111111;
  --ks-ww-accent: #e8871e;
  --ks-ww-muted: rgba(26, 26, 26, 0.42);
  --ks-ww-stroke: rgba(26, 26, 26, 0.14);
  --ks-ww-ink: #1a1a1a;
  --ks-ww-shell-radius: 1.25rem;
  --ks-ww-white: #ffffff;
  --ks-ww-cream: #fffbf3;
  --ks-ww-isabelline: #f3f0eb;
  --ks-ww-lime: #ffffff;
  --ks-ww-white-80: rgba(255, 255, 255, 0.8);
  --ks-ww-white-17: rgba(255, 255, 255, 0.17);
  --ks-ww-white-09: rgba(255, 255, 255, 0.09);
  --ks-ww-side: clamp(1rem, 4.5vw, 4.5rem);
  --ks-ww-max-w: 81rem;
  --ks-ww-shell-radius: 1.5rem;
  --ks-ww-tab-duration: 0.25s;
  --ks-ww-panel-duration: 0.45s;
  --ks-ww-panel-ease: power2.out;
  --ks-ww-intro-y: 32px;
  --ks-ww-intro-duration: 0.8s;
  --ks-ww-intro-stagger: 0.12s;
  --ks-ww-intro-ease: power2.out;
  --ks-ww-cta-hover-y: -2px;
  --ks-ww-cta-shadow: 0 10px 28px rgba(232, 135, 30, 0.32);
  --ks-ww-ob-text: #fffaf3;
  --ks-ww-ob-icon-bg: #fffaf3;
  --ks-ww-ob-icon-color: #c96e12;
  --ks-ww-ob-border: rgba(255, 210, 150, 0.45);
  --ks-ww-ob-grad-1: #b85a0a;
  --ks-ww-ob-grad-2: #e8871e;
  --ks-ww-ob-grad-3: #f5a842;
  --ks-ww-ob-grad-4: #ffc56b;
  --ks-ww-font-primary: "Fraunces", Georgia, "Times New Roman", serif;
  --ks-ww-font-secondary: "Sinar Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ks-ww-serif: var(--ks-ww-font-primary);
  --ks-ww-sans: var(--ks-ww-font-secondary);

  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--ks-ww-sans);
  background: var(--ks-ww-cream);
  color: var(--ks-ww-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  isolation: isolate;
}

.ks-el-root.ks-el-we-work *,
.ks-el-root.ks-el-we-work *::before,
.ks-el-root.ks-el-we-work *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ks-el-root.ks-el-we-work h2,
.ks-el-root.ks-el-we-work h3,
.ks-el-root.ks-el-we-work h4,
.ks-el-root.ks-el-we-work p {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.ks-el-root.ks-el-we-work img {
  border: none;
  box-shadow: none;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: block;
}

.ks-el-root.ks-el-we-work a {
  text-decoration: none;
  color: inherit;
}

.ks-el-root.ks-el-we-work [role="tab"] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

.ks-el-root.ks-el-we-work .wwork {
  width: 100%;
  padding: 1.25rem var(--ks-ww-side);
}

.ks-el-root.ks-el-we-work .wwork__shell {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-radius: 0;
  background: transparent;
}

.ks-el-root.ks-el-we-work .wwork__container {
  width: 100%;
  max-width: var(--ks-ww-max-w);
  margin: 0 auto;
}

.ks-el-root.ks-el-we-work .wwork__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.ks-el-root.ks-el-we-work .wwork__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ks-ww-stroke);
  border-radius: 999px;
  background: var(--ks-ww-white);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ks-ww-ink);
}

.ks-el-root.ks-el-we-work .wwork__eyebrow img {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.ks-el-root.ks-el-we-work .wwork__title {
  font-family: var(--ks-ww-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ks-ww-ink);
}

.ks-el-root.ks-el-we-work .wwork__body {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.ks-el-root.ks-el-we-work .wwork__tabs {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.ks-el-root.ks-el-we-work .wwork__tab-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(100%, 17.5rem);
  flex: 0 0 min(100%, 17.5rem);
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.35rem;
}

.ks-el-root.ks-el-we-work .wwork__tab-list::before {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: transparent;
  border-left: 1px dashed var(--ks-ww-ink);
  opacity: 0.55;
}

.ks-el-root.ks-el-we-work .wwork__tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  margin-left: -1.35rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ks-ww-muted);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.ks-el-root.ks-el-we-work .wwork__tab.is-active {
  background: var(--ks-ww-white);
  border-color: var(--ks-ww-ink);
  color: var(--ks-ww-ink);
  opacity: 1;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.ks-el-root.ks-el-we-work .wwork__tab-marker {
  position: relative;
  z-index: 1;
  flex: 0 0 0.95rem;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.2rem;
  border: 1.5px solid var(--ks-ww-ink);
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s ease;
}

.ks-el-root.ks-el-we-work .wwork__tab.is-active .wwork__tab-marker {
  background: var(--ks-ww-ink);
}

.ks-el-root.ks-el-we-work .wwork__tab-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.ks-el-root.ks-el-we-work .wwork__tab-step {
  font-family: var(--ks-ww-sans);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.ks-el-root.ks-el-we-work .wwork__tab-label {
  font-family: var(--ks-ww-serif);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.35;
  font-weight: 600;
  text-align: left;
  color: inherit;
}

.ks-el-root.ks-el-we-work .wwork__panels {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.ks-el-root.ks-el-we-work .wwork__panel {
  display: none;
}

.ks-el-root.ks-el-we-work .wwork__panel.is-active {
  display: block;
}

.ks-el-root.ks-el-we-work .wwork__panel-shell {
  background: var(--ks-ww-white);
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 1.25rem;
  padding: clamp(0.85rem, 1.5vw, 1.1rem);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.ks-el-root.ks-el-we-work .wwork__panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
  align-items: stretch;
}

.ks-el-root.ks-el-we-work .wwork__visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: clamp(16rem, 28vw, 24rem);
}

.ks-el-root.ks-el-we-work .wwork__visual--single .wwork__visual-img--one {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: clamp(16rem, 28vw, 24rem);
  border-radius: 1rem;
  object-fit: cover;
}

.ks-el-root.ks-el-we-work .wwork__visual--single .wwork__visual-img--two,
.ks-el-root.ks-el-we-work .wwork__visual--single .wwork__visual-img--three {
  display: none;
}

.ks-el-root.ks-el-we-work .wwork__visual-img {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.ks-el-root.ks-el-we-work .wwork__visual-img--one {
  position: relative;
  z-index: 3;
}

.ks-el-root.ks-el-we-work .wwork__visual-img--two {
  position: absolute;
  right: 0;
  z-index: 2;
  max-height: 90%;
  width: auto;
  max-width: 92%;
  opacity: 0.9;
  margin-right: -1.06rem;
}

.ks-el-root.ks-el-we-work .wwork__visual-img--three {
  position: absolute;
  right: 0;
  z-index: 1;
  max-height: 80%;
  width: auto;
  max-width: 85%;
  opacity: 0.8;
  margin-right: -2.06rem;
}

.ks-el-root.ks-el-we-work .wwork__visual--layout-b .wwork__visual-img--one {
  position: absolute;
  right: 0;
  z-index: 2;
  max-height: 90%;
  width: auto;
  max-width: 92%;
  opacity: 0.9;
  margin-right: -1.06rem;
}

.ks-el-root.ks-el-we-work .wwork__visual--layout-b .wwork__visual-img--two {
  position: relative;
  z-index: 3;
  max-height: none;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  margin-right: 0;
}

.ks-el-root.ks-el-we-work .wwork__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: 1rem;
  background: var(--ks-ww-harbor);
  color: var(--ks-ww-white);
  min-height: 100%;
}

.ks-el-root.ks-el-we-work .wwork__card-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.ks-el-root.ks-el-we-work .wwork__card-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ks-el-root.ks-el-we-work .wwork__card-title {
  font-family: var(--ks-ww-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
  color: var(--ks-ww-white);
}

.ks-el-root.ks-el-we-work .wwork__card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ks-ww-white-80);
}

.ks-el-root.ks-el-we-work .wwork__list-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ks-el-root.ks-el-we-work .wwork__list-heading {
  font-family: var(--ks-ww-sans);
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ks-ww-white);
}

.ks-el-root.ks-el-we-work .wwork__list {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ks-ww-white-17);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ks-el-root.ks-el-we-work .wwork__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0;
}

.ks-el-root.ks-el-we-work .wwork__list-item:first-child {
  padding-top: 0;
}

.ks-el-root.ks-el-we-work .wwork__list-item:last-child {
  padding-bottom: 0;
}

.ks-el-root.ks-el-we-work .wwork__list-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--ks-ww-accent);
  color: var(--ks-ww-white);
}

.ks-el-root.ks-el-we-work .wwork__list-check img {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ks-el-root.ks-el-we-work .wwork__list-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.ks-el-root.ks-el-we-work .wwork__list-item span:last-child {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ks-ww-white);
}

.ks-el-root.ks-el-we-work .wwork__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.ks-el-root.ks-el-we-work .wwork__cta,
.ks-el-root.ks-el-we-work .wwork__cta:hover,
.ks-el-root.ks-el-we-work .wwork__cta:focus,
.ks-el-root.ks-el-we-work .wwork__cta:focus-visible,
.ks-el-root.ks-el-we-work .wwork__cta:active,
.elementor-widget-ks_how_we_work .wwork__cta,
.elementor-widget-ks_how_we_work .wwork__cta:hover,
.elementor-widget-ks_how_we_work .wwork__cta:focus,
.elementor-widget-ks_how_we_work .wwork__cta:focus-visible,
.elementor-widget-ks_how_we_work .wwork__cta:active {
  all: unset;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  min-height: 40px;
  padding: 0.55rem 0.55rem 0.55rem 1.35rem;
  border: 1px solid var(--ks-ww-ob-border) !important;
  border-radius: 999px;
  background: linear-gradient(
    115deg,
    var(--ks-ww-ob-grad-1) 0%,
    var(--ks-ww-ob-grad-2) 38%,
    var(--ks-ww-ob-grad-3) 68%,
    var(--ks-ww-ob-grad-4) 100%
  ) !important;
  background-color: var(--ks-ww-ob-grad-2) !important;
  background-size: 180% 180% !important;
  background-position: 0% 50% !important;
  background-image: linear-gradient(
    115deg,
    var(--ks-ww-ob-grad-1) 0%,
    var(--ks-ww-ob-grad-2) 38%,
    var(--ks-ww-ob-grad-3) 68%,
    var(--ks-ww-ob-grad-4) 100%
  ) !important;
  box-shadow:
    var(--ks-ww-cta-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(160, 70, 8, 0.22);
  color: var(--ks-ww-ob-text) !important;
  font-family: var(--ks-ww-sans);
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(120, 50, 0, 0.18);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-position 0.45s ease;
}

.ks-el-root.ks-el-we-work .wwork__cta::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  mix-blend-mode: screen;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 300% 300%;
  background-position: -150% 0;
  animation: ks-ww-cta-shine 4s ease-in-out infinite;
}

.ks-el-root.ks-el-we-work .wwork__cta::after,
.ks-el-root.ks-el-we-work .wwork__cta:hover::after,
.ks-el-root.ks-el-we-work .wwork__cta:focus::after,
.ks-el-root.ks-el-we-work .wwork__cta:focus-visible::after,
.ks-el-root.ks-el-we-work .wwork__cta:active::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  pointer-events: none !important;
}

.ks-el-root.ks-el-we-work.is-no-cta-shimmer .wwork__cta::before {
  display: none !important;
}

.ks-el-root.ks-el-we-work:not(.is-no-cta-hover) .wwork__cta:hover,
.ks-el-root.ks-el-we-work:not(.is-no-cta-hover) .wwork__cta:focus-visible {
  transform: translateY(var(--ks-ww-cta-hover-y));
  background-position: 100% 50% !important;
  box-shadow:
    0 14px 34px rgba(232, 135, 30, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: var(--ks-ww-ob-text) !important;
  outline: none;
}

.ks-el-root.ks-el-we-work:not(.is-no-cta-hover) .wwork__cta:active {
  transform: scale(0.985);
}

.ks-el-root.ks-el-we-work .wwork__cta-label {
  position: relative;
  z-index: 1;
  font-family: var(--ks-ww-sans);
  font-weight: 600;
  color: inherit;
}

.ks-el-root.ks-el-we-work .wwork__cta-arrow,
.elementor-widget-ks_how_we_work .wwork__cta-arrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--ks-ww-ob-icon-bg) !important;
  background-color: var(--ks-ww-ob-icon-bg) !important;
  color: var(--ks-ww-ob-icon-color);
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.22s ease;
}

.ks-el-root.ks-el-we-work .wwork__cta-arrow img {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
}

.ks-el-root.ks-el-we-work .wwork__cta-arrow svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: var(--ks-ww-ob-icon-color);
  color: var(--ks-ww-ob-icon-color);
}

.ks-el-root.ks-el-we-work:not(.is-no-cta-hover) .wwork__cta:hover .wwork__cta-arrow,
.ks-el-root.ks-el-we-work:not(.is-no-cta-hover) .wwork__cta:focus-visible .wwork__cta-arrow {
  transform: translateX(2px);
}

@keyframes ks-ww-cta-shine {
  0%   { background-position: -150% 0; }
  50%  { background-position: 150% 0; }
  100% { background-position: 150% 0; }
}

.elementor-editor-active .ks-el-root.ks-el-we-work.is-animate-intro .wwork__intro > * {
  opacity: 1 !important;
  transform: none !important;
}

.elementor-editor-active .ks-el-root.ks-el-we-work .wwork__panel {
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .ks-el-root.ks-el-we-work .wwork__tabs {
    flex-direction: column;
  }

  .ks-el-root.ks-el-we-work .wwork__tab-list {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    gap: 0.5rem;
  }

  .ks-el-root.ks-el-we-work .wwork__tab-list::before {
    display: none;
  }

  .ks-el-root.ks-el-we-work .wwork__tab {
    flex: 1 1 calc(50% - 0.5rem);
    margin-left: 0;
    min-width: min(100%, 14rem);
  }

  .ks-el-root.ks-el-we-work .wwork__panel-grid {
    grid-template-columns: 1fr;
  }

  .ks-el-root.ks-el-we-work .wwork__visual {
    min-height: clamp(14rem, 40vw, 20rem);
  }

  .ks-el-root.ks-el-we-work .wwork__visual--single .wwork__visual-img--one {
    min-height: clamp(14rem, 40vw, 20rem);
  }
}

@media (max-width: 767px) {
  .ks-el-root.ks-el-we-work .wwork {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ks-el-root.ks-el-we-work .wwork__tab {
    flex: 1 1 100%;
  }

  .ks-el-root.ks-el-we-work .wwork__panel-shell {
    padding: 0.75rem;
  }

  .ks-el-root.ks-el-we-work .wwork__card {
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-el-root.ks-el-we-work .wwork__cta,
  .ks-el-root.ks-el-we-work .wwork__cta::before,
  .ks-el-root.ks-el-we-work .wwork__cta-arrow {
    transition: none;
    animation: none;
  }
}
