/* ==========================================================
   Our Work page (/work). Classes are prefixed wk- to avoid clashing with theme styles.
   ========================================================== */

.wk-serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.wk-section {
  padding: 100px 0;
}

.wk-section.pt-0 {
  padding-top: 0;
}

.wk-hero .sub-head,
.wk-sec-head .sub-head,
.wk-cta .sub-head {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a4a4a4;
}

.wk-hero .sub-head:after,
.wk-sec-head .sub-head:after,
.wk-cta .sub-head:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
}

.wk-center {
  display: table !important;
  margin: 0 auto;
}

.butn.wk-solid {
  background: #fff;
  color: #1d1d1d;
  border: 1px solid #fff;
}

.butn.wk-solid:hover {
  background: rgba(255, 0, 0, 0.5);
  border-color: transparent;
  color: #fff;
}

.wk-todo {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffd36b;
  color: #1d1d1d;
  font-size: 12px;
  line-height: 1.5;
}

.wk-todo code {
  color: #1d1d1d;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 4px;
  border-radius: 4px;
}

.wk-sec-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 50px;
}

.wk-sec-head h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1px;
}

/* ---------- Hero ---------- */
.wk-hero {
  padding: 200px 0 60px;
  text-align: center;
}

.wk-hero h1 {
  margin: 24px 0;
  font-size: 84px;
  line-height: 1.05;
  letter-spacing: -3px;
}

.wk-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
}

/* ---------- Stats ---------- */
.wk-stats {
  padding: 20px 0 40px;
}

.wk-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-stats-grid > div {
  padding: 36px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-stats-grid > div:last-child {
  border-right: 0;
}

.wk-stats-grid h3 {
  font-size: 56px;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}

.wk-stats-grid p {
  font-size: 14px;
}

/* ---------- Platform showcase ---------- */
.wk-platform-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 30px;
  align-items: start;
}

.wk-screens-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wk-screen-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all .3s;
}

.wk-screen-tab:hover {
  background: #212121;
}

.wk-screen-tab.active {
  background: #212121;
  border-color: rgba(255, 0, 0, 0.5);
}

.wk-screen-tab .material-symbols-outlined {
  font-size: 22px;
  margin-top: 2px;
  color: #a4a4a4;
}

.wk-screen-tab.active .material-symbols-outlined {
  color: #ff3b3b;
}

.wk-screen-tab .txt b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.wk-screen-tab .txt small {
  display: none;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #a4a4a4;
}

.wk-screen-tab.active .txt small {
  display: block;
}

.wk-browser {
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 0, 0, 0.12);
}

.wk-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #1c1c1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wk-browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a3a;
}

.wk-browser-bar i:first-child {
  background: #ff3b3b;
}

.wk-browser-bar .url {
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: 20px;
  background: #121212;
  font-size: 12px;
  color: #a4a4a4;
}

.wk-browser-body {
  position: relative;
}

.wk-screen {
  display: none;
}

.wk-screen.active {
  display: block;
  animation: wk-fade .4s ease;
}

@keyframes wk-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.wk-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.wk-screen .wk-todo {
  margin: 0;
  border-radius: 0;
}

/* mock screen shown until a real screenshot is saved */
.wk-mock {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 470px;
}

.wk-mock aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  background: #181818;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.wk-mock aside .brand {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #1d1d1d;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

.wk-mock aside .material-symbols-outlined {
  font-size: 20px;
  color: #5a5a5a;
}

.wk-mock aside .material-symbols-outlined.on {
  color: #ff3b3b;
}

.wk-mock .main {
  padding: 24px 28px;
}

.wk-mock .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.wk-mock .head b {
  font-size: 20px;
}

.wk-mock .head span {
  font-size: 12px;
  color: #a4a4a4;
}

.wk-mock .kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wk-mock .kpis div {
  padding: 14px;
  border-radius: 12px;
  background: #212121;
}

.wk-mock .kpis small {
  display: block;
  font-size: 11px;
  color: #a4a4a4;
}

.wk-mock .kpis b {
  font-size: 22px;
  letter-spacing: -.5px;
}

.wk-mock .chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 12px;
  background: #212121;
}

.wk-mock .chart i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: #3a3a3a;
}

.wk-mock .chart i:last-child {
  background: rgba(255, 0, 0, 0.5);
}

.wk-mock .rows div {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.wk-mock .rows span:nth-child(2) {
  color: #a4a4a4;
}

.wk-mock .rows em {
  font-style: normal;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(111, 220, 149, 0.12);
  color: #6fdc95;
}

/* ---------- Case studies ---------- */
.wk-case-list {
  display: grid;
  gap: 24px;
}

.wk-case {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: #212121;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wk-case:nth-child(even) {
  grid-template-columns: 5fr 7fr;
}

.wk-case:nth-child(even) .img {
  order: 2;
}

.wk-case .img {
  border-radius: 16px;
  overflow: hidden;
}

.wk-case .img img {
  display: block;
  width: 100%;
  transition: transform .6s;
}

.wk-case:hover .img img {
  transform: scale(1.03);
}

.wk-case h4 {
  font-size: 32px;
  letter-spacing: -1px;
}

.wk-case .tags {
  margin: 12px 0 24px;
}

.wk-case .tags span {
  display: inline-block;
  margin: 0 4px 6px 0;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.wk-case h6 {
  margin: 18px 0 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff3b3b;
}

.wk-case .result {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(111, 220, 149, 0.1);
  color: #6fdc95;
  font-weight: 600;
}

/* ---------- Project grid ---------- */
.wk-projects .item .img img {
  transition: transform .6s;
}

.wk-projects .item:hover .img img {
  transform: scale(1.04);
}

/* ---------- CTA ---------- */
.wk-cta h2 {
  margin: 20px auto 20px;
  font-size: 64px;
  letter-spacing: -2px;
}

.wk-cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 991px) {
  .wk-hero {
    padding: 150px 0 40px;
  }

  .wk-hero h1 {
    font-size: clamp(34px, 8.5vw, 52px);
    letter-spacing: -1.5px;
  }

  .wk-sec-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wk-sec-head h3 {
    font-size: 30px;
  }

  .wk-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-stats-grid > div:nth-child(2) {
    border-right: 0;
  }

  .wk-stats-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wk-platform-grid {
    grid-template-columns: 1fr;
  }

  .wk-screens-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .wk-screen-tab {
    width: auto;
    white-space: nowrap;
  }

  .wk-screen-tab .txt small,
  .wk-screen-tab.active .txt small {
    display: none;
  }

  .wk-case,
  .wk-case:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .wk-case:nth-child(even) .img {
    order: 0;
  }

  .wk-cta h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 575px) {
  .wk-section {
    padding: 70px 0;
  }

  .wk-stats-grid h3 {
    font-size: 40px;
  }

  .wk-mock {
    grid-template-columns: 1fr;
  }

  .wk-mock aside {
    display: none;
  }

  .wk-mock .kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-cta-btns {
    flex-direction: column;
  }
}

/* ---------- Badges, preview labels, why-us box, process ---------- */
.wk-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(255, 0, 0, 0.18);
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: #ff8a8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wk-case .butn {
  display: inline-flex;
}

.wk-browser-bar .wk-preview-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 20px;
  background: #ffd36b;
  color: #1d1d1d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

.wk-preview-note {
  margin-top: 12px;
  font-size: 12px;
  color: #6f6f6f;
}

.wk-why {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 0, 0, 0.18), #212121 55%);
  border: 1px solid rgba(255, 0, 0, 0.35);
}

.wk-why h4 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}

.wk-why .perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wk-why .perk {
  padding: 22px;
  border-radius: 16px;
  background: rgba(24, 24, 24, 0.7);
}

.wk-why .perk .material-symbols-outlined {
  font-size: 26px;
  color: #ff3b3b;
  margin-bottom: 14px;
}

.wk-why .perk h6 {
  font-size: 15px;
  margin-bottom: 6px;
}

.wk-why .perk p {
  font-size: 13px;
  line-height: 1.5;
}

.wk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-steps .step {
  padding: 34px 28px 10px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-steps .step:last-child {
  border-right: 0;
  margin-right: 0;
}

.wk-steps .n {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 44px;
  color: #ff3b3b;
}

.wk-steps h5 {
  margin: 10px 0 8px;
}

.wk-steps p {
  font-size: 14px;
  line-height: 1.6;
}

@media screen and (max-width: 991px) {
  .wk-why {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .wk-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-steps .step:nth-child(2) {
    border-right: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 575px) {
  .wk-why .perks,
  .wk-steps {
    grid-template-columns: 1fr;
  }

  .wk-steps .step {
    border-right: 0;
    margin-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wk-browser-bar .url {
    display: none;
  }
}

/* project cards and spotlight have no service tags, so drop the spacing those tags needed */
.wk-projects .item .cont h5 {
  margin-bottom: 0;
}

.wk-case h4 {
  margin-bottom: 8px;
}

/* Featured project sits directly under the stats strip */
.wk-featured {
  padding-top: 60px;
}

/* ---------- Live demo ---------- */
.wk-browser-bar a.url {
  color: #fff;
  transition: background .3s;
}

.wk-browser-bar a.url:hover {
  background: rgba(255, 0, 0, 0.5);
}

.wk-demo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #212121;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.wk-demo h5 {
  margin-bottom: 4px;
}

.wk-demo p {
  font-size: 14px;
}

.wk-demo .butn {
  margin-left: auto;
  flex-shrink: 0;
}

.butn.wk-demo-btn {
  background: #ff3b3b;
  border: 1px solid #ff3b3b;
  color: #fff;
}

.butn.wk-demo-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #1d1d1d;
}

@media screen and (max-width: 767px) {
  .wk-demo {
    flex-direction: column;
    align-items: flex-start;
  }

  .wk-demo .butn {
    margin-left: 0;
  }
}
