/**
 * IT WEBHUT — Premium enterprise design system
 * Chapter-based rhythm · Stripe / Linear / Vercel aesthetic
 */

:root {
  --itwh-dark: #0f1012;
  --itwh-dark-card: #17181b;
  --itwh-light: #fafaf8;
  --itwh-light-secondary: #f4f4f2;
  --itwh-brand: #6d52f4;
  --itwh-brand-dark: #373894;
  --itwh-brand-light: #624ceb;
  --itwh-brand-rgb: 109, 82, 244;
  --itwh-brand-dark-rgb: 55, 56, 148;
  --itwh-brand-light-rgb: 98, 76, 235;
  --itwh-orange: var(--itwh-brand);
  --itwh-text: #111111;
  --itwh-text-muted: #5c5e66;
  --itwh-text-on-dark: #ececec;
  --itwh-text-on-dark-muted: rgba(236, 236, 236, 0.62);
  --itwh-border-dark: rgba(255, 255, 255, 0.08);
  --itwh-border-light: rgba(0, 0, 0, 0.08);
  --itwh-section-y: 112px;
  --itwh-section-y-md: 88px;
  --itwh-section-y-sm: 72px;
  --itwh-container: 1320px;
  --itwh-radius-lg: 20px;
  --itwh-radius-md: 14px;
  --itwh-shadow-light: 0 24px 64px rgba(17, 17, 17, 0.06);
}

/* Brand accent — primary theme token */
:root {
  --theme: var(--itwh-brand);
}

.itwh-chapter--dark {
  --itwh-accent: var(--itwh-brand-light);
  --itwh-accent-soft: rgba(var(--itwh-brand-light-rgb), 0.14);
  --itwh-accent-border: rgba(var(--itwh-brand-light-rgb), 0.28);
}

.itwh-chapter--light,
.itwh-chapter--grey {
  --itwh-accent: var(--itwh-brand);
  --itwh-accent-soft: rgba(var(--itwh-brand-rgb), 0.1);
  --itwh-accent-border: rgba(var(--itwh-brand-rgb), 0.22);
}

/* ============================================================
   CHAPTER SHELLS
   ============================================================ */

.itwh-chapter {
  position: relative;
}

.itwh-chapter--dark {
  background-color: var(--itwh-dark);
  color: var(--itwh-text-on-dark);
}

/* Textured dark blocks — hero shell, products, case studies */
.itwh-chapter--dark[data-chapter="1"],
.itwh-chapter--dark.portfolio-one,
.itwh-chapter--dark.projects {
  background-image: url("../images/hero-bg-1-1.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

/* Trusted Worldwide — plain black, no texture (inside chapter 1) */
.itwh-chapter--dark .customer-brand--slider {
  background-color: var(--itwh-dark) !important;
  background-image: none !important;
}

/* Plain black — contact + pre-footer (stacked above footer) */
.itwh-chapter--dark.contact,
.itwh-prefooter-cta.itwh-chapter--dark {
  background-image: none !important;
  background-color: var(--itwh-dark) !important;
}

/* Homepage hero shell — navbar + hero share one texture */
.itwh-chapter--dark[data-chapter="1"] {
  margin-top: calc(-1 * var(--itwh-nav-h, 84px));
  padding-top: var(--itwh-nav-h, 84px);
}

@media (max-width: 1199px) {
  .itwh-chapter--dark[data-chapter="1"] {
    margin-top: -72px;
    padding-top: 72px;
  }
}

main:has([data-chapter="1"]) {
  overflow: visible;
}

.itwh-chapter--light {
  background-color: var(--itwh-light);
  color: var(--itwh-text);
}

.itwh-chapter--grey {
  background-color: var(--itwh-light-secondary);
  color: var(--itwh-text);
}

.itwh-chapter .container {
  max-width: var(--itwh-container);
}

/* ============================================================
   CHAPTER 1 — HERO (Dark · Cinematic)
   ============================================================ */

.itwh-chapter--dark .hero-agency {
  background: transparent;
  padding-top: clamp(140px, 14vh, 200px);
  padding-bottom: clamp(64px, 8vh, 100px);
  min-height: auto;
}

.itwh-chapter--dark .hero-agency__title {
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: 100%;
}

.itwh-chapter--dark .hero-agency__title span {
  background: none;
}

.itwh-chapter--dark .hero-agency__title span::after {
  display: none;
}

.itwh-chapter--dark .hero-agency__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

/* Hero CTAs — original btn-main-primary layout, aligned heights */
#hero .hero-agency__buttons .btn-main-primary {
  display: inline-flex;
  align-items: center;
  gap: 0;
  vertical-align: middle;
}

#hero .hero-agency__buttons .btn-main-primary .text {
  font-family: var(--font_teko);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  height: 52px;
  padding: 0 34px;
  margin: 0;
  border: none;
  border-radius: 100px;
  background-color: var(--itwh-brand);
  color: #fff;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#hero .hero-agency__buttons .btn-main-primary .text::after {
  display: none;
}

#hero .hero-agency__buttons .btn-main-primary .icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  margin-left: -10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  color: #111;
  box-shadow: none;
  transform: rotate(-45deg);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

#hero .hero-agency__buttons .btn-main-primary:hover {
  transform: translateY(-3px);
}

#hero .hero-agency__buttons .btn-main-primary:hover .text {
  background-color: #fff;
  color: #111;
  box-shadow: none;
}

#hero .hero-agency__buttons .btn-main-primary:hover .icon {
  background-color: var(--itwh-brand);
  color: #111;
  transform: rotate(0deg);
  box-shadow: none;
}

@media (max-width: 575px) {
  #hero .hero-agency__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

.itwh-chapter--dark .itwh-hero-link {
  margin-top: 20px;
}

.itwh-chapter--dark .itwh-hero-link a {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--itwh-text-on-dark-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.itwh-chapter--dark .itwh-hero-link a:hover {
  color: var(--itwh-brand);
}

/* Showcase — quieter, border-only cards (no heavy glass) */
.itwh-chapter--dark .hero-agency__showcase-card {
  background: var(--itwh-dark-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 1px solid var(--itwh-border-dark);
}

.itwh-chapter--dark .hero-agency__showcase-card:hover {
  box-shadow: none;
  border-color: rgba(98, 76, 235, 0.35);
  transform: translateY(-4px) !important;
}

.itwh-chapter--dark .hero-agency__visual {
  min-height: 520px;
}

/* Project intent CTA */
.itwh-chapter--dark .itwh-intent-search--large {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--itwh-radius-lg);
  border: 1px solid var(--itwh-border-dark);
  background: var(--itwh-dark-card);
  box-shadow: none;
}

.itwh-chapter--dark .itwh-intent-search__eyebrow {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 236, 236, 0.5);
  margin: 0 0 10px;
}

.itwh-chapter--dark .itwh-intent-search__label {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--itwh-text-on-dark);
  margin-bottom: 18px;
}

.itwh-chapter--dark .itwh-intent-search__input {
  border-radius: var(--itwh-radius-md);
  border: 1px solid var(--itwh-border-dark);
  background: var(--itwh-dark);
  min-height: 56px;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  transition: border-color 0.25s ease;
}

.itwh-chapter--dark .itwh-intent-search__input:focus {
  outline: none;
  border-color: rgba(98, 76, 235, 0.45);
}

.itwh-chapter--dark .itwh-intent-search__chips-label {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 236, 236, 0.4);
  margin-top: 24px;
}

.itwh-chapter--dark .itwh-intent-chip {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--itwh-border-dark);
  background: transparent;
  color: var(--itwh-text-on-dark-muted);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.itwh-chapter--dark .itwh-intent-chip:hover {
  border-color: rgba(98, 76, 235, 0.4);
  background: rgba(98, 76, 235, 0.08);
  color: #fff;
}

/* ============================================================
   CHAPTER 1 — TRUSTED LOGOS (Dark)
   ============================================================ */

.itwh-chapter--dark .customer-brand--slider {
  padding-top: 0;
  padding-bottom: var(--itwh-section-y-sm);
  background-color: var(--itwh-dark) !important;
  background-image: none !important;
  border-top: 1px solid var(--itwh-border-dark);
}

.itwh-chapter--dark .customer-brand--slider .container {
  padding-top: var(--itwh-section-y-sm);
}

.itwh-chapter--dark .customer-brand--slider .itwh-sec-title {
  margin-bottom: 48px;
}

.itwh-chapter--dark .customer-brand--slider .sec-title__top__box {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--itwh-border-dark);
}

.itwh-chapter--dark .customer-brand--slider .sec-title__tagline {
  color: var(--itwh-text-on-dark-muted);
  text-transform: none;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.itwh-chapter--dark .customer-brand--slider .sec-title__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--itwh-text-on-dark);
  line-height: 1.3;
}

.itwh-trusted-sub {
  max-width: 640px;
  margin: 14px auto 0;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--itwh-text-on-dark-muted);
  text-align: center;
}

.itwh-chapter--dark .customer-brand__slider .customer-brand__card {
  min-height: 100px;
  padding: 28px 32px;
  border-radius: var(--itwh-radius-md);
  border: 1px solid var(--itwh-border-dark);
  background: transparent;
  box-shadow: none;
  transition: border-color 0.35s ease, background 0.35s ease;
}

.itwh-chapter--dark .customer-brand__slider .customer-brand__card:hover {
  border-color: rgba(98, 76, 235, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.itwh-chapter--dark .customer-brand__slider .customer-brand__card img {
  max-height: 40px;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.45;
}

.itwh-chapter--dark .customer-brand__slider .customer-brand__card:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 0.95;
}

/* ============================================================
   CHAPTER 2 — PROBLEM (Light) — Complete
   ============================================================ */

.itwh-chapter--light.about-one {
  background-color: var(--itwh-light);
  padding-top: var(--itwh-section-y);
  padding-bottom: var(--itwh-section-y);
  color: var(--itwh-text);
}

.itwh-chapter--light.about-one .sec-title__tagline {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--itwh-text-muted);
}

.itwh-chapter--light.about-one .sec-title__top__box {
  background: #fff;
  border-color: var(--itwh-border-light);
}

.itwh-chapter--light.about-one .sec-title__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--itwh-text);
  max-width: 20ch;
}

.itwh-chapter--light.about-one .about-one__text {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--itwh-text-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

.itwh-chapter--light.about-one .about-one__progress {
  border-radius: var(--itwh-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #6d52f4 0%, #373894 100%);
  box-shadow: var(--itwh-shadow-light);
  border: 1px solid rgba(98, 76, 235, 0.2);
  margin-bottom: 24px;
}

.itwh-chapter--light.about-one .about-one__progress__text-box {
  padding: 40px 0 48px 40px;
}

.itwh-chapter--light.about-one .about-one__progress__text {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.95);
}

.itwh-chapter--light.about-one .about-one__progress__box {
  padding-right: 12px;
}

.itwh-chapter--light.about-one .about-one__funfact {
  padding: 36px 40px;
  border-radius: var(--itwh-radius-lg);
  background: var(--itwh-text);
  border: 1px solid var(--itwh-border-light);
  box-shadow: var(--itwh-shadow-light);
  gap: 28px 48px;
}

.itwh-chapter--light.about-one .about-one__funfact__count {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.itwh-chapter--light.about-one .about-one__funfact__count .itwh-stat-count {
  color: var(--itwh-brand);
}

.itwh-chapter--light.about-one .about-one__funfact__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 340px;
}

.itwh-chapter--light.about-one .about-one__funfact__title::before {
  background-color: rgba(255, 255, 255, 0.12);
  left: -24px;
}

.itwh-chapter--light.about-one .about-one__info__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--itwh-brand);
  margin-bottom: 20px;
}

.itwh-chapter--light.about-one .about-one__list {
  border-bottom-color: var(--itwh-border-light);
  margin-bottom: 32px;
  padding-bottom: 24px;
}

.itwh-chapter--light.about-one .about-one__list li {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--itwh-text);
  margin-bottom: 14px;
}

.itwh-chapter--light.about-one .about-one__list__icon {
  width: 20px;
  height: 20px;
  font-size: 8px;
  background: var(--itwh-brand);
}

.itwh-chapter--light.about-one .about-one__cta-wrap {
  margin-top: 8px;
}

.itwh-chapter--light.about-one .about-one__cta-btn .text {
  background: var(--itwh-brand);
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 17px 34px 14px;
}

.itwh-chapter--light.about-one .about-one__image {
  border-radius: var(--itwh-radius-lg);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--itwh-border-light);
  box-shadow: var(--itwh-shadow-light);
}

.itwh-chapter--light.about-one .about-one__image img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.itwh-chapter--light.about-one .about-one__image:hover img {
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .itwh-chapter--light.about-one {
    padding-top: var(--itwh-section-y-md);
    padding-bottom: var(--itwh-section-y-md);
  }

  .itwh-chapter--dark .customer-brand--slider {
    padding-bottom: var(--itwh-section-y-md);
  }

  .itwh-chapter--dark .customer-brand--slider .container {
    padding-top: var(--itwh-section-y-md);
  }
}

@media (max-width: 575px) {
  .itwh-chapter--light.about-one {
    padding-top: var(--itwh-section-y-sm);
    padding-bottom: var(--itwh-section-y-sm);
  }

  .itwh-chapter--light.about-one .about-one__progress__text-box {
    padding: 28px 24px 16px;
  }

  .itwh-chapter--light.about-one .about-one__funfact {
    padding: 28px 24px;
  }
}

/* ============================================================
   LIGHT / GREY CHAPTERS — text & UI (was dark-themed)
   ============================================================ */

.itwh-chapter--light .section-top__subtitle,
.itwh-chapter--grey .section-top__subtitle {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--itwh-text-muted);
}

.itwh-chapter--light .section-top__subtitle::before,
.itwh-chapter--light .section-top__subtitle::after,
.itwh-chapter--grey .section-top__subtitle::before,
.itwh-chapter--grey .section-top__subtitle::after {
  background-color: var(--itwh-border-light);
}

.itwh-chapter--light .section-top__subtitle::after,
.itwh-chapter--grey .section-top__subtitle::after {
  background-color: var(--itwh-brand);
  max-width: 120px;
}

.itwh-chapter--light .section-top__title,
.itwh-chapter--grey .section-top__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--itwh-text);
}

/* — Chapter 3 · Services (grey) — */
.itwh-chapter--grey.solutions {
  background-color: var(--itwh-light-secondary);
  color: var(--itwh-text);
  padding-top: var(--itwh-section-y);
  padding-bottom: var(--itwh-section-y);
}

.itwh-chapter--grey.solutions .solutions__sidebar-nav {
  padding-left: 4px;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item {
  background: #fff;
  border: 1px solid var(--itwh-border-light);
  box-shadow: none;
  padding: 18px 22px 18px 26px;
  border-radius: var(--itwh-radius-md);
  overflow: visible;
  transition: border-color 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.35s ease;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--itwh-brand);
  transform: translateY(-50%);
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item .indicator-bar {
  display: none;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item .num {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.28);
  min-width: 24px;
  transition: color 0.3s ease;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item .title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--itwh-text-muted);
  transition: color 0.3s ease;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item:hover {
  border-color: rgba(98, 76, 235, 0.22);
  background: #fff;
  box-shadow: var(--itwh-shadow-light);
  transform: translateX(6px);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item:hover::before {
  height: 36%;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item:hover .num {
  color: var(--itwh-brand);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item:hover .title {
  color: var(--itwh-text);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item.active {
  border-color: rgba(98, 76, 235, 0.35);
  background: #fff;
  box-shadow: var(--itwh-shadow-light);
  transform: translateX(8px);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item.active::before {
  height: 72%;
}

.itwh-chapter--grey.solutions .solutions__sidebar-item.active .num {
  color: var(--itwh-brand);
}

.itwh-chapter--grey.solutions .solutions__sidebar-item.active .title {
  color: var(--itwh-text);
}

@media (max-width: 1199px) {
  .itwh-chapter--grey.solutions .solutions__sidebar-item:hover,
  .itwh-chapter--grey.solutions .solutions__sidebar-item.active {
    transform: translateY(-2px);
  }

  .itwh-chapter--grey.solutions .solutions__sidebar-item::before {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
  }

  .itwh-chapter--grey.solutions .solutions__sidebar-item:hover::before,
  .itwh-chapter--grey.solutions .solutions__sidebar-item.active::before {
    width: 60%;
    height: 3px;
  }
}

.itwh-chapter--grey.solutions .solutions__glass-card {
  background: #fff;
  border: 1px solid var(--itwh-border-light);
  box-shadow: var(--itwh-shadow-light);
  backdrop-filter: none;
}

.itwh-chapter--grey.solutions .solutions__index span {
  color: var(--itwh-text-muted);
}

.itwh-chapter--grey.solutions .solutions__item-title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--itwh-text);
}

.itwh-chapter--grey.solutions .solutions__item-text {
  font-family: var(--font_inter, "Inter", sans-serif);
  color: var(--itwh-text-muted);
}

.itwh-chapter--grey.solutions .solutions__tag {
  border-color: var(--itwh-border-light);
  background: var(--itwh-light);
  color: var(--itwh-text-muted);
}

.itwh-chapter--grey.solutions .solutions__actions-wrap {
  border-top-color: var(--itwh-border-light);
}

.itwh-chapter--grey.solutions .solutions__main-thumb {
  border: 1px solid var(--itwh-border-light);
  box-shadow: var(--itwh-shadow-light);
}

.itwh-chapter--grey.solutions .solutions__preview-label {
  color: var(--itwh-text-muted);
}

.itwh-chapter--grey.solutions .btn-main-secondary {
  align-items: center;
}

.itwh-chapter--grey.solutions .btn-main-secondary .text {
  border: 1px solid var(--itwh-border-light);
  background: #fff;
  color: var(--itwh-text);
  padding: 16px 32px;
  line-height: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.itwh-chapter--grey.solutions .btn-main-secondary .icon {
  width: 52px;
  height: 52px;
  color: #fff;
}

.itwh-chapter--grey.solutions .btn-main-secondary .icon i {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background-image: none;
}

.itwh-chapter--grey.solutions .btn-main-secondary:hover .text {
  background: var(--itwh-text);
  color: #fff;
}

.itwh-chapter--grey.solutions .btn-main-primary .text {
  background: var(--itwh-brand);
}

/* — Chapter 5 · Why Choose (light) — layout in itwh-misiom-sections.css — */
.itwh-chapter--light.why-choose {
  padding-top: 0;
  padding-bottom: 0;
}

/* — Chapter 7 · Process (light) — Misiom pin-scroll layout — */
.itwh-chapter--light.work-process {
  background-color: #f1f3f5;
  padding-top: 0;
  padding-bottom: 0;
}

.itwh-chapter--light.work-process .work-process__bg {
  opacity: 1;
}

.itwh-chapter--light.work-process .sec-title__title {
  font-family: var(--font_teko);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #18191c;
}

.itwh-chapter--light.work-process .work-process__text {
  color: #797b81;
}

.itwh-chapter--light.work-process .work-process__top {
  background: transparent;
  padding-top: 88px;
}

.itwh-chapter--light.work-process .sec-title__top__box {
  background: #fff;
  border-color: #e8e8ec;
}

.itwh-chapter--light.work-process .work-process__card__content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

@media (max-width: 991px) {
  .itwh-chapter--light.work-process .work-process__top {
    padding-top: 72px;
  }
}

/* ============================================================
   DARK CHAPTERS — Products · Case Studies · Contact
   ============================================================ */

.itwh-chapter--dark.portfolio-one,
.itwh-chapter--dark.projects,
.itwh-chapter--dark.contact {
  background-color: var(--itwh-dark) !important;
  color: var(--itwh-text-on-dark);
}

.itwh-chapter--dark.portfolio-one {
  padding-top: var(--itwh-section-y);
  padding-bottom: var(--itwh-section-y);
}

.itwh-chapter--dark.projects {
  padding-top: var(--itwh-section-y);
  padding-bottom: var(--itwh-section-y);
}

.itwh-chapter--dark.contact {
  padding-top: var(--itwh-section-y);
  padding-bottom: var(--itwh-section-y);
}

.itwh-chapter--dark .section-top__subtitle {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark .section-top__subtitle::before {
  background-color: var(--itwh-border-dark);
}

.itwh-chapter--dark .section-top__subtitle::after {
  background-color: var(--itwh-brand);
  max-width: 120px;
}

.itwh-chapter--dark .section-top__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--itwh-text-on-dark);
}

.itwh-chapter--dark.portfolio-one .sec-title__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--itwh-text-on-dark);
}

.itwh-chapter--dark.portfolio-one .sec-title__tagline {
  color: var(--itwh-text-on-dark-muted);
  text-transform: none;
  font-family: var(--font_inter, "Inter", sans-serif);
}

.itwh-chapter--dark.portfolio-one .portfolio-one__intro {
  font-family: var(--font_inter, "Inter", sans-serif);
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark.portfolio-one .sec-title__top__box {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--itwh-border-dark);
}

.itwh-chapter--dark.projects .projects__studio-tag .text {
  color: var(--itwh-text-on-dark-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.itwh-chapter--dark.projects .projects__studio-tag .line {
  background-color: var(--itwh-border-dark);
  opacity: 1;
}

.itwh-chapter--dark.projects .project-list__item {
  border-bottom-color: var(--itwh-border-dark);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item::before {
  background: radial-gradient(
    circle 320px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(109, 82, 244, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 35%,
    transparent 75%
  );
  transition: opacity 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item:hover {
  background-color: rgba(255, 255, 255, 0.035);
  border-bottom-color: rgba(109, 82, 244, 0.35);
}

.itwh-chapter--dark.projects .project-list__item:hover::before {
  opacity: 1;
}

.itwh-chapter--dark.projects .project-list__num {
  color: var(--itwh-text-on-dark-muted);
  transition: color 0.35s ease, transform 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item:hover .project-list__num {
  color: var(--itwh-brand);
  transform: translateX(6px);
}

.itwh-chapter--dark.projects .project-list__title {
  transition: color 0.35s ease, transform 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item:hover .project-list__title {
  color: #fff;
  transform: translateX(10px);
}

.itwh-chapter--dark.projects .project-list__sub {
  transition: color 0.35s ease, transform 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item:hover .project-list__sub {
  color: rgba(255, 255, 255, 0.88);
  transform: translateX(10px);
}

.itwh-chapter--dark.projects .project-list__tag {
  border-color: var(--itwh-border-dark);
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark.projects .project-list__year {
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark.projects .project-list__arrow {
  border-color: var(--itwh-border-dark);
  color: var(--itwh-text-on-dark);
  background: transparent;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.35s ease,
    border-color 0.35s ease, color 0.35s ease;
}

.itwh-chapter--dark.projects .project-list__item:hover .project-list__arrow {
  background-color: var(--itwh-brand);
  border-color: var(--itwh-brand);
  color: #fff;
  transform: translateX(6px) rotate(-45deg) scale(1.08);
}

.itwh-chapter--dark.contact .contact__desc {
  font-family: var(--font_inter, "Inter", sans-serif);
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark.contact .contact__form-card {
  background: var(--itwh-dark-card);
  border: 1px solid var(--itwh-border-dark);
  box-shadow: none;
  backdrop-filter: none;
}

.itwh-chapter--dark.contact .contact__card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--itwh-border-dark);
  box-shadow: none;
}

.itwh-chapter--dark.contact .contact__card-value,
.itwh-chapter--dark.contact .contact__card-label {
  color: var(--itwh-text-on-dark);
}

.itwh-chapter--dark.contact .contact__card-label {
  color: var(--itwh-text-on-dark-muted);
}

.itwh-chapter--dark.contact .contact__form-title {
  color: var(--itwh-text-on-dark);
}

.footer1 {
  position: relative;
  overflow: hidden;
  background-color: var(--itwh-dark) !important;
  border-top: 1px solid var(--itwh-border-dark);
}

.footer1::before,
.footer1::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.footer1::before {
  background-image: url("../images/hero-bg-1-1.png");
  z-index: 0;
}

.footer1::after {
  background-image: url("../images/footer-bg-shape-1-1.png");
  z-index: 0;
}

.footer1 > .container,
.footer1 > .footer1__bottom {
  position: relative;
  z-index: 1;
}

.footer1__desc,
.footer1__widget .title {
  color: var(--itwh-text-on-dark-muted);
}

.footer1__widget .title {
  color: var(--itwh-text-on-dark);
}

@media (max-width: 991px) {
  .itwh-chapter--grey.solutions,
  .itwh-chapter--dark.portfolio-one,
  .itwh-chapter--dark.projects,
  .itwh-chapter--dark.contact {
    padding-top: var(--itwh-section-y-md);
    padding-bottom: var(--itwh-section-y-md);
  }
}

/* ============================================================
   CHAPTER 4 — PRODUCTS · Featured grid
   ============================================================ */

.itwh-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1199px) {
  .itwh-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .itwh-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.itwh-product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--itwh-radius-lg);
  border: 1px solid var(--itwh-border-dark);
  background: var(--itwh-dark-card);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.itwh-product-card:hover {
  border-color: rgba(98, 76, 235, 0.35);
  transform: translateY(-4px);
}

.itwh-product-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0b;
}

.itwh-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.itwh-product-card:hover .itwh-product-card__media img {
  transform: scale(1.04);
}

.itwh-product-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.itwh-product-card__cat {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--itwh-brand);
}

.itwh-product-card__title {
  margin: 0;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.itwh-product-card__title a {
  color: var(--itwh-text-on-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.itwh-product-card__title a:hover {
  color: var(--itwh-brand);
}

.itwh-product-card__desc {
  margin: 0;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 14px;
  line-height: 1.65;
  color: var(--itwh-text-on-dark-muted);
  flex: 1;
}

.itwh-product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--itwh-brand);
  text-decoration: none;
  transition: gap 0.25s ease;
}

.itwh-product-card__cta i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.itwh-product-card__cta:hover {
  color: #fff;
}

.itwh-product-card__cta:hover i {
  transform: translateX(3px);
}

/* ============================================================
   CHAPTER 5 — WHY CHOOSE · complete (layout: itwh-misiom-sections.css)
   ============================================================ */

/* ============================================================
   CHAPTER 6 — CASE STUDIES · complete
   ============================================================ */

.itwh-chapter--dark.projects .project-list__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(236, 236, 236, 0.88);
}

.itwh-chapter--dark.projects .project-list__sub {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  line-height: 1.5;
}

.itwh-chapter--dark.projects .project-list__link {
  padding: 44px 0;
}

.itwh-chapter--dark.projects .project-list__item:first-child {
  border-top: 1px solid var(--itwh-border-dark);
}

.itwh-chapter--dark.projects .project-hover-reveal {
  border: 1px solid var(--itwh-border-dark);
  border-radius: var(--itwh-radius-md);
  overflow: hidden;
}

/* ============================================================
   CHAPTER 7 — PROCESS · complete
   ============================================================ */

.itwh-chapter--light.work-process .work-process__card__title {
  font-family: var(--font_inter, "Inter", sans-serif);
  text-transform: none;
  letter-spacing: -0.01em;
}

.itwh-chapter--light.work-process .work-process__card__text {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: 15px;
  line-height: 1.65;
}

.itwh-chapter--light.work-process .work-process__footer,
.itwh-chapter--light.work-process .work-process__footer-wrap .work-process__footer {
  text-align: center;
  padding: 24px 15px 0;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary {
  display: inline-flex;
  align-items: center;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary .text {
  background: var(--itwh-brand);
  color: #fff;
  height: 52px;
  padding: 0 34px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font_teko);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary .text::after {
  display: none;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary .icon {
  width: 52px;
  height: 52px;
  margin-left: -10px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  transform: rotate(-45deg);
  box-shadow: none;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary:hover .text {
  background: var(--itwh-text);
  color: #fff;
}

.itwh-chapter--light.work-process .work-process__footer .btn-main-primary:hover .icon {
  background: var(--itwh-brand);
  transform: rotate(0deg);
}

/* ============================================================
   CHAPTER 8 — CONTACT + FOOTER · complete
   ============================================================ */

.itwh-chapter--dark.contact .section-top__title {
  max-width: none;
}

.itwh-chapter--dark.contact .itwh-contact-heading {
  font-family: var(--font_inter, "Inter", sans-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-transform: none;
  max-width: 100%;
  width: 100%;
  margin-bottom: 0;
  word-spacing: normal;
  white-space: normal;
}

.itwh-chapter--dark.contact .contact__desc {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.65;
}

.itwh-chapter--dark.contact .contact__info-wrap {
  width: 100%;
  max-width: 100%;
}

.itwh-chapter--dark.contact .contact__input {
  min-height: 52px;
  padding: 18px 16px 10px;
  font-size: 16px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.itwh-chapter--dark.contact .contact__input--textarea {
  min-height: 120px;
  padding-top: 22px;
}

.itwh-chapter--dark.contact .contact__input-label {
  left: 16px;
  top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.06em;
}

.itwh-chapter--dark.contact .contact__input:focus ~ .contact__input-label,
.itwh-chapter--dark.contact .contact__input:not(:placeholder-shown) ~ .contact__input-label {
  left: 16px;
  transform: translateY(-28px);
  font-size: 10px;
  color: var(--itwh-brand);
}

.itwh-chapter--dark.contact .contact__input:focus {
  border-bottom-color: rgba(98, 76, 235, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 767px) {
  .itwh-chapter--dark.contact .contact__input {
    min-height: 48px;
    padding-top: 16px;
    font-size: 16px;
  }

  .itwh-chapter--dark.contact .contact__input-label {
    top: 16px;
    font-size: 11px;
  }

  .itwh-chapter--dark.contact .contact__input-group--textarea {
    margin-bottom: 22px !important;
  }

  .itwh-chapter--dark.contact .contact__fields-row {
    --bs-gutter-y: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .itwh-chapter--dark.contact .contact__input--textarea {
    min-height: 108px;
  }
}

.itwh-chapter--dark.contact .section-top__subtitle {
  margin-bottom: 10px;
}

.itwh-chapter--dark.contact .contact__cards {
  gap: 12px;
}

.itwh-chapter--dark.contact .contact__card {
  padding: 16px 20px;
}

.itwh-chapter--dark.contact .contact__info-wrap {
  gap: 0;
}

@media (min-width: 992px) {
  .itwh-chapter--dark.contact .contact__left-col {
    justify-content: center;
  }

  .itwh-chapter--dark.contact .contact__social-wrap {
    margin-top: 28px;
  }
}

.itwh-chapter--dark.contact .contact__input:focus {
  border-color: rgba(98, 76, 235, 0.45);
}

.itwh-chapter--dark.contact .contact__submit-wrap .btn-main-primary .text {
  background: var(--itwh-brand);
  padding: 18px 40px 15px;
  font-size: 15px;
}

.itwh-chapter--dark.contact .contact__status-badge {
  border-color: rgba(98, 76, 235, 0.25);
  background: rgba(98, 76, 235, 0.06);
}

.footer1 {
  padding-top: 100px !important;
}

.footer1__top {
  padding-bottom: 80px !important;
}

.footer1__widget ul li a {
  color: var(--itwh-text-on-dark-muted);
  transition: color 0.25s ease;
}

.footer1__widget ul li a:hover {
  color: var(--itwh-brand);
}

.footer1__contact-item a {
  color: var(--itwh-text-on-dark-muted);
}

.footer1__contact-item a:hover {
  color: var(--itwh-brand);
}

/* ============================================================
   CHAPTER 4 — PRODUCTS · Static 3-column grid
   ============================================================ */

.itwh-chapter--dark.portfolio-one.portfolio-one--static {
  padding-top: 96px;
  padding-bottom: 104px;
}

.itwh-chapter--dark.portfolio-one .portfolio-one__intro {
  margin: -8px auto 56px;
  max-width: 640px;
}

.itwh-products-static-wrap {
  overflow: visible;
  max-width: var(--itwh-container, 1320px);
  padding-left: 24px;
  padding-right: 24px;
}

.itwh-products-static .row {
  --bs-gutter-x: 28px;
  --bs-gutter-y: 36px;
}

@media (min-width: 1200px) {
  .itwh-products-static .row {
    --bs-gutter-x: 36px;
    --bs-gutter-y: 44px;
  }
}

.portfolio-one--static .portfolio-one__item {
  height: 100%;
}

.portfolio-one--static .portfolio-one__item__image {
  min-height: 460px;
  border-radius: 4px;
  overflow: hidden;
}

.portfolio-one--static .portfolio-one__item__image::after {
  opacity: 0.78;
}

.portfolio-one--static .portfolio-one__item__image img {
  min-height: 460px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 991px) {
  .itwh-chapter--dark.portfolio-one.portfolio-one--static {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .portfolio-one--static .portfolio-one__item__image,
  .portfolio-one--static .portfolio-one__item__image img {
    min-height: 380px;
  }
}

@media (max-width: 575px) {
  .portfolio-one--static .portfolio-one__item__image,
  .portfolio-one--static .portfolio-one__item__image img {
    min-height: 340px;
  }
}

/* ============================================================
   CONTACT — floating shape images + glow
   ============================================================ */

.contact__shape-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact__shape--1 {
  width: 168px;
  height: 210px;
}

.contact__shape--2 {
  width: 140px;
  height: 170px;
}

.contact__shape--3 {
  width: 120px;
  height: 150px;
}

.contact__shape--4 {
  width: 130px;
  height: 160px;
}

.contact__shape--1 .contact__shape-blur,
.contact__shape--2 .contact__shape-blur,
.contact__shape--3 .contact__shape-blur,
.contact__shape--4 .contact__shape-blur {
  background: radial-gradient(circle, rgba(109, 82, 244, 0.35), transparent 72%);
  border-radius: 16px;
}

.itwh-chapter--dark.contact .contact__shapes {
  z-index: 1;
}

.itwh-chapter--dark.contact .container.relative.z-3 {
  position: relative;
  z-index: 3;
}

/* ============================================================
   PRE-FOOTER NEWSLETTER CTA
   ============================================================ */

.itwh-prefooter-cta {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--itwh-border-dark);
}

.itwh-prefooter-cta .row {
  align-items: center;
}

.itwh-prefooter-cta .footer1__title.itwh-prefooter-cta__title {
  margin-bottom: 0;
}

.itwh-prefooter-cta .footer1__newsletter-label {
  margin-bottom: 12px;
}

.itwh-prefooter-cta .footer1__form {
  align-items: stretch;
}

.itwh-prefooter-cta .footer1__form .btn-main-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .itwh-prefooter-cta .footer1__form {
    flex-direction: column;
    align-items: stretch;
  }
}
