﻿:root {
  --red-500: #ff5757;
  --red-700: #cc4646;
  --dark-900: #1a1a1a;
  --white: #ffffff;
  --gray-50: #f5f5f5;
  --gray-200: #e6e6e6;
  --gray-600: #666666;
  --blue: #2563eb;
  --teal: #0ea5a4;
  --violet: #7c3aed;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-900);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 64px));
}

.nav-grid {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 34px;
  width: auto;
  max-width: 260px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--dark-900);
}

.section {
  padding: 96px 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-dark {
  background: var(--dark-900);
  color: var(--white);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.col-8 {
  grid-column: span 8;
}

.col-6 {
  grid-column: span 6;
}

.col-4 {
  grid-column: span 4;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--gray-600);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  text-align: left;
  line-height: 1.2;
  max-width: 32ch;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 20ch;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
}

p,
li,
figcaption {
  max-width: 90ch;
}

.lead {
  max-width: 78ch;
  color: var(--gray-600);
}

.cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--red-700);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #b73e3e;
}

.btn-secondary {
  border-color: var(--gray-200);
  color: var(--dark-900);
}

.hero {
  padding-top: 104px;
}

.hero-aside {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--gray-200);
}

.chevron {
  position: absolute;
  border-right: 2px solid var(--gray-200);
  border-bottom: 2px solid var(--gray-200);
  transform: skew(-18deg);
}

.chevron-1 {
  inset: 24px 24px auto auto;
  width: 150px;
  height: 150px;
}

.chevron-2 {
  inset: 84px 84px auto auto;
  width: 130px;
  height: 130px;
}

.chevron-3 {
  inset: 136px 136px auto auto;
  width: 110px;
  height: 110px;
  border-right-color: var(--red-500);
  border-bottom-color: var(--red-500);
}

.problem-list {
  margin: 24px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 12px;
}

.card-grid {
  margin-top: 40px;
}

.service-card {
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 32px;
}

.icon {
  width: 40px;
  height: 40px;
  color: var(--dark-900);
  margin-bottom: 16px;
}

.section-intro {
  color: var(--gray-600);
}

.case-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 28px;
}

.case-block:first-child {
  grid-column: span 2;
}

.metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}

.metric-list li span {
  color: var(--gray-600);
}

figcaption {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.process-row {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  border: 1px solid var(--gray-200);
  padding: 24px;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 40px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: rotate(45deg);
}

.process-step:last-child::after {
  display: none;
}

.step-no {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--red-500);
}

.why-grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.why-item {
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.why-item h3 {
  margin-bottom: 8px;
}

.why-item p {
  margin: 0;
}

.why-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-900);
}

.why-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.section-dark .btn-primary {
  margin-top: 16px;
}

.insights-shell {
  border-top: 1px solid var(--gray-200);
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 24px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--gray-600);
}

@media (max-width: 1024px) {
  .col-8,
  .col-6,
  .col-4 {
    grid-column: span 12;
  }

  .hero-aside {
    min-height: 220px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-block:first-child {
    grid-column: span 1;
  }

  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100%, calc(100% - 32px));
  }

  .section {
    padding: 72px 0;
  }

  .nav-grid {
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-list {
    gap: 16px;
    flex-wrap: wrap;
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .footer-grid {
    flex-direction: column;
  }
}



.nav-list a.is-active {
  color: var(--dark-900);
}

.page-hero {
  padding-top: 112px;
}

.case-cards-grid,
.knowledge-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-tile,
.knowledge-card,
.detail-item {
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 24px;
}

.tile-meta {
  margin: 0 0 8px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.tile-kpis {
  margin: 16px 0 20px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.detail-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.video-wrap {
  margin-top: 16px;
  border: 1px solid var(--gray-200);
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .case-cards-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .case-cards-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
}

.nav-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--red-700);
  color: var(--white);
  border: 1px solid var(--red-700);
}

.nav-contact a:hover,
.nav-contact a:focus-visible {
  background: #b73e3e;
  border-color: #b73e3e;
  color: var(--white);
}

.video-lite {
  position: relative;
  overflow: hidden;
  background: var(--dark-900);
}

.video-lite-btn {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  cursor: pointer;
  color: var(--white);
}

.video-lite-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.video-lite-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 46px;
  background: rgba(26, 26, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
}

.video-lite-play::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--white);
}

.video-lite-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(26, 26, 26, 0.78);
  color: var(--white);
  font-size: 0.85rem;
  padding: 4px 8px;
}

.video-lite iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .nav-contact a {
    min-height: 34px;
    padding: 0 12px;
  }
}
