:root {
  --ink: #1a1a1a;
  --paper: #f6f7f9;
  --line: #d8dde6;
  --slate: #333333;
  --blue: #1e4d97;
  --blue-deep: #163f7f;
  --brand: #8ab931;
  --brand-light: #9ec944;
  --brand-deep: #6b9124;
  --accent: #f39c12;
  --silver: #c0c0c0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfcff 0%, #f2f5fa 100%);
  color: #333333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.45;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #2f3440;
  background: var(--ink);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.kfi-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.kfi-text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--silver);
}

.kfi-divider {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--silver);
}

.kfi-lines {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.kfi-execution {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--brand);
  font-size: 1.85rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.kfi-tagline {
  color: var(--silver);
  font-size: 0.95rem;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-btn {
  display: none;
  border: 1px solid #3d4657;
  background: #141926;
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.nav-close-btn {
  display: none;
}

.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #8ab931 0%, #9ec944 100%);
  color: #fff;
}

.hero-inner {
  text-align: center;
  padding: 5rem 0 4.5rem;
}

.hero h1 {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  letter-spacing: 0.3px;
  color: #fff;
}

.hero p {
  margin: 0.8rem auto 1.7rem;
  width: min(730px, 92%);
  color: #e8eefb;
  font-size: 1.12rem;
}

.hero-wave {
  display: none;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  text-decoration: none;
  background: #f39c12;
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.8rem 1.4rem;
  box-shadow: 0 14px 26px #00000025;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px #00000034;
}

.section {
  padding: 4.2rem 0;
}

.section-light {
  background: #f3f5f8;
}

.section h2 {
  margin: 0;
  text-align: center;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.section-intro {
  text-align: center;
  margin: 0.45rem auto 2rem;
  color: var(--slate);
}

.service-grid,
.industry-grid,
.cases-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d4d9e4;
  border-top: 3px solid #8ab931;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 22px #22385f12;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 1.1rem auto 0.8rem;
}

.service-icon img {
  display: block;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 18px #6f97292a);
}

.service-card h3 {
  margin: 0 1rem 0.85rem;
  min-height: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #8ab931;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-card ul {
  display: grid;
  grid-auto-rows: minmax(44px, auto);
  margin-top: auto;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.service-card li {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #e4e8f0;
}

.service-card li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.62rem 0.9rem;
  font-size: 0.94rem;
  color: #333333;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.service-card:nth-child(-n + 2) ul::after {
  content: "";
  display: block;
  border-top: 1px solid #e4e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
}

.section-visuals {
  background: #fff;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  background: #fff;
  box-shadow: 0 14px 28px #1c335510;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #eef3f7;
}

.visual-card--insight img {
  object-fit: contain;
  padding: 0.75rem;
}

.visual-card figcaption {
  padding: 0.9rem 1rem 1rem;
  color: #333333;
  font-size: 0.95rem;
}

.service-card li a:hover,
.service-card li a:focus-visible {
  background: #e8f5e0;
  color: #8ab931;
  padding-left: 1.1rem;
}

.detail-hero {
  background: linear-gradient(135deg, #8ab931 0%, #9ec944 100%);
  color: #fff;
}

.detail-hero .hero-inner {
  padding: 4.3rem 0 3.8rem;
  text-align: left;
}

.detail-hero h1 {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
}

.detail-hero p {
  margin: 0.8rem 0 0;
  color: #e3ebfb;
  max-width: 820px;
  font-size: 1.12rem;
}

.crumb {
  margin-bottom: 0.8rem;
}

.crumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.crumb a:hover,
.crumb a:focus-visible {
  text-decoration: underline;
}

.detail-main {
  background: #f5f7fb;
  padding: 3rem 0 3.5rem;
}

.detail-shell {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
}

.detail-panel {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  box-shadow: 0 12px 24px #1f355c12;
  padding: 1.3rem 1.3rem;
}

.detail-panel h2 {
  margin: 0 0 0.6rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.9rem;
}

.detail-panel h3 {
  margin: 1rem 0 0.45rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.35rem;
}

.detail-panel p {
  margin: 0 0 0.6rem;
  color: #333333;
}

.detail-media {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #dce4f0;
  background: #f8fbff;
  box-shadow: 0 10px 22px #1f355c10;
}

.detail-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #eef3f8;
}

.detail-media--contain img {
  object-fit: contain;
  padding: 0.75rem;
}

.detail-media figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  color: #333333;
  font-size: 0.92rem;
}

.page-stack {
  display: grid;
  gap: 1.2rem;
}

.page-grid-2,
.page-grid-3,
.feature-grid,
.link-grid {
  display: grid;
  gap: 1rem;
}

.page-grid-2,
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-grid-3,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.link-card,
.contact-card {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  box-shadow: 0 12px 24px #1f355c10;
  padding: 1.1rem;
}

.feature-card h3,
.link-card h3,
.contact-card h3 {
  margin: 0 0 0.45rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.35rem;
}

.feature-card p,
.link-card p,
.contact-card p {
  margin: 0;
  color: #333333;
}

.link-card {
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid #8ab931;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px #1f355c14;
  border-color: #cbd8e8;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #1e4d97;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  color: #333333;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #d6deea;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: #333333;
  background: #fbfcfe;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  border: 1px solid #dce4f0;
  border-radius: 10px;
  background: #f9fbfe;
}

.contact-item strong {
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.12rem;
}

.contact-item span,
.contact-item a {
  color: #333333;
  text-decoration: none;
}

.service-summary {
  margin-top: 0.55rem;
  color: #333333;
  text-align: center;
  font-size: 0.92rem;
  padding: 0 0.9rem 0.9rem;
}

.industry-stack {
  display: grid;
  gap: 1rem;
}

.industry-panel {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  box-shadow: 0 12px 24px #1f355c10;
  padding: 1.3rem;
}

.industry-panel h2,
.industry-panel h3 {
  text-align: left;
  margin: 0 0 0.45rem;
}

.industry-panel .section-intro {
  text-align: left;
  margin: 0 0 1rem;
}

.industry-panel p {
  color: #333333;
}

.industry-panel .detail-list {
  margin-top: 0.4rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #333333;
}

.detail-list li {
  margin: 0.45rem 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-block;
  border: 1px solid #c8d48f;
  background: #f1f9e8;
  color: #5a7d28;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.side-links {
  display: grid;
  gap: 0.45rem;
}

.side-links a {
  display: block;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-left: 3px solid #8ab931;
  border-radius: 8px;
  color: #8ab931;
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
}

.side-links a:hover,
.side-links a:focus-visible {
  background: #e8f5e0;
}

.detail-cta {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn.btn-secondary {
  background: #edf2ff;
  color: #8ab931;
  box-shadow: none;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
  box-shadow: none;
}

.section-about {
  background: linear-gradient(145deg, #f6f8fb 0%, #edf2f8 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.about-grid h2 {
  text-align: left;
}

.about-grid p {
  color: #333333;
  margin-top: 0.7rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.about-stats div {
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: 10px;
  padding: 0.9rem;
  box-shadow: 0 8px 20px #20375614;
}

.about-stats strong {
  display: block;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.45rem;
}

.about-stats span {
  color: #333333;
  font-size: 0.9rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  width: min(980px, 100%);
  margin: 0 auto;
}

.section-industries {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.section-industries .section-intro {
  margin-bottom: 2.2rem;
}

.industry-card,
.case-card {
  background: #fff;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 20px #1b346212;
}

.industry-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  text-align: center;
  justify-content: center;
}

.industry-card h3,
.case-card h3 {
  margin: 0 0 0.45rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.industry-card h3 {
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.28rem;
}

.industry-card p,
.case-card p {
  margin: 0;
  color: #333333;
}

.industry-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  line-height: 1.55;
}

.section-cases {
  background: #eef2f8;
}

.cases-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Clickable cards */
a.industry-card,
a.case-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
a.industry-card:hover,
a.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px #1b346228;
}
a.case-card {
  flex-direction: column;
}
a.case-card::after {
  content: "Read case study \02192";
  display: block;
  margin-top: auto;
  padding-top: 0.65rem;
  color: #8ab931;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.02em;
}

/* Case Study detail page */
.cs-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.cs-tag {
  background: #eef2f8;
  color: #8ab931;
  border: 1px solid #c5d0e8;
  border-radius: 4px;
  padding: 0.15rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cs-body h2 {
  margin: 1.4rem 0 0.5rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
}
.cs-body h2:first-child {
  margin-top: 0;
}
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.8rem;
}
.stat-box {
  background: linear-gradient(135deg, #8ab931 0%, #9ec944 100%);
  border-radius: 10px;
  padding: 0.9rem 0.7rem;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1;
}
.stat-box span {
  font-size: 0.76rem;
  color: #fff;
  display: block;
  margin-top: 0.3rem;
  line-height: 1.3;
}

/* Case Studies landing page sector groups */
.cs-sector-group {
  margin-bottom: 2.8rem;
}
.cs-sector-group h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-bottom: 2px solid #8ab931;
  padding-bottom: 0.4rem;
}
.cs-all-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.section-testimonials {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.testimonial-carousel {
  --cards-per-view: 3;
  --carousel-gap: 1rem;
  position: relative;
  padding: 0 3.4rem 2.4rem;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - (var(--carousel-gap) * (var(--cards-per-view) - 1))) / var(--cards-per-view));
  position: relative;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  padding: 1.2rem 1.1rem 1rem;
  box-shadow: 0 12px 24px #1b346210;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  color: #d9e6bf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.testimonial-quote {
  margin: 0 0 1rem;
  color: #333333;
  font-size: 0.97rem;
  line-height: 1.6;
  flex: 1;
}

.testimonial-author {
  margin: 0;
  color: #8ab931;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
}

.testimonial-role {
  margin: 0.2rem 0 0;
  color: #333333;
  font-size: 0.9rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #8ab931;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 20px #8ab93129;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  background: #6b9124;
  transform: translateY(-50%) scale(1.05);
}

.testimonial-nav--prev {
  left: 0;
}

.testimonial-nav--next {
  right: 0;
}

.testimonial-nav[disabled] {
  opacity: 0.45;
  cursor: default;
}

.testimonial-nav[disabled]:hover,
.testimonial-nav[disabled]:focus-visible {
  background: #8ab931;
  transform: translateY(-50%);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.testimonial-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 999px;
  background: #c6d3e7;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  background: #91abd1;
  transform: scale(1.1);
}

.testimonial-dot.is-active {
  background: #8ab931;
}

.cta {
  background: linear-gradient(135deg, #8ab931 0%, #9ec944 100%);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin: 0.8rem auto 1rem;
  width: min(780px, 100%);
  color: #fff;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  color: #fff;
}

.contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-row span::before {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #8ab931;
  color: #fff;
  font-size: 0.82rem;
  box-shadow: inset 0 0 0 1px #ffffff1f;
}

.contact-row span:nth-child(1)::before {
  content: "\1F4CD";
}

.contact-row span:nth-child(2)::before {
  content: "\2709";
}

.contact-row span:nth-child(3)::before {
  content: "\260E";
}

.footer {
  background: #0e1118;
  color: #d3dae8;
  text-align: center;
  padding: 1.2rem 0 1.4rem;
  font-size: 0.89rem;
}

.footer p {
  margin: 0.26rem 0;
}

.hero h1,
.section h2,
.detail-hero h1,
.detail-panel h2,
.detail-panel h3,
.feature-card h3,
.link-card h3,
.contact-card h3,
.contact-item strong,
.about-stats strong,
.industry-card h3,
.case-card h3,
a.case-card::after,
.cs-tag,
.cs-body h2,
.stat-box strong,
.cs-sector-group h3,
.testimonial-author {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .cs-all-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .topbar {
    z-index: 40;
  }

  body.nav-open {
    overflow: hidden;
  }

  .service-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .page-grid-2,
  .page-grid-3,
  .feature-grid,
  .link-grid,
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .detail-panel,
  .industry-panel,
  .feature-card,
  .link-card,
  .contact-card {
    padding: 1rem;
  }

  .industry-panel h2 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .industry-panel h2 img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 0.35rem !important;
  }

  .cs-all-grid {
    grid-template-columns: 1fr;
  }

  .stat-boxes {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    --cards-per-view: 1;
    padding: 0 0 2.4rem;
  }

  .testimonial-nav {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .testimonial-nav:hover,
  .testimonial-nav:focus-visible,
  .testimonial-nav[disabled]:hover,
  .testimonial-nav[disabled]:focus-visible {
    transform: none;
  }

  .testimonial-nav--prev {
    left: calc(50% - 3.2rem);
  }

  .testimonial-nav--next {
    right: calc(50% - 3.2rem);
  }

  .testimonial-dots {
    margin-top: 1.6rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    max-width: 50vw;
    height: 100dvh;
    background: #11141c;
    border-left: 1px solid #2f3440;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 0.9rem 1rem;
    display: flex;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    z-index: 50;
  }

  .nav-close-btn {
    display: inline-flex;
    align-self: flex-end;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.4rem;
    border: 1px solid #3d4657;
    border-radius: 8px;
    background: #161b29;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0000006b;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 30;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 0.8rem 0.2rem;
  }

  .nav a + a {
    border-top: 1px solid #2f3440;
  }

  .menu-btn {
    display: inline-block;
  }

  .kfi-lines {
    gap: 0;
  }

  .kfi-execution {
    font-size: 1.1rem;
  }

  .kfi-tagline {
    font-size: 0.75rem;
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .logo {
    gap: 9px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kfi-text,
  .kfi-divider {
    font-size: 2.5rem;
  }

  .kfi-lines {
    display: flex;
    gap: 1px;
  }
}

@media (max-width: 430px) {
  .kfi-text,
  .kfi-divider {
    font-size: 2rem;
  }

  .kfi-execution {
    font-size: 0.95rem;
  }

  .kfi-tagline {
    font-size: 0.7rem;
    white-space: normal;
  }

  .logo {
    gap: 7px;
  }

  .kfi-mark {
    gap: 6px;
  }
}

@media (min-width: 881px) and (max-width: 1120px) {
  .testimonial-carousel {
    --cards-per-view: 2;
  }
}

