.value-row {
  background: var(--white);
  padding: 28px 0 10px;
}

.value-track {
  display: flex;
  gap: 18px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 18px;
}

.value-track::-webkit-scrollbar {
  display: none;
}

.value-card {
  flex: 0 0 180px;
  scroll-snap-align: center;
  text-align: center;
}

.value-art {
  height: 132px;
  border-radius: 28px 28px 36px 36px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.value-card span {
  font-size: 14px;
  font-weight: 600;
}

.value-nav {
  position: relative;
}

.value-nav .arrow {
  position: absolute;
  top: 54px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.value-nav .prev { left: 8px; }
.value-nav .next { right: 8px; }

.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.service-layout h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.service-slider {
  position: relative;
}

.service-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  background: transparent;
}

.service-slide.active {
  display: grid;
}

.service-slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 28px;
}

.service-slide h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
}

.dots button[aria-selected="true"] {
  background: var(--red);
  width: 22px;
  border-radius: 99px;
}

.cases {
  background: linear-gradient(258deg, #e5e5e5 3%, #ffffff 107%);
}

.case-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  min-height: 460px;
}

.case-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-tabs button {
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(199, 200, 202, 0.25);
  color: #444;
  font-weight: 700;
  font-size: 14px;
}

.case-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow);
}

.case-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.case-panel.active {
  display: grid;
}

.case-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--red);
}

.case-panel h3 {
  font-size: 32px;
  margin: 8px 0 12px;
}

.note {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #888;
}

.quotes {
  position: relative;
}

.quote-slide {
  display: none;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.quote-slide.active {
  display: grid;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3d2cf;
  color: var(--red-dark);
  font-size: 32px;
  font-weight: 700;
}

.quote-slide blockquote {
  font-size: 18px;
  color: #555;
  font-weight: 500;
}

.quote-slide h3 {
  margin-top: 16px;
  font-size: 20px;
}

.quote-slide h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.slider-controls {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.slider-controls button,
.arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #eee;
  font-size: 18px;
}

.metrics {
  background: var(--red-bar);
  color: var(--white);
  padding: 42px 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.metric-grid strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--white);
}

.metric-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.presence {
  background: #252525 url("../images/homepage/globe.webp") center / cover no-repeat;
  color: var(--white);
  position: relative;
}

.presence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.78);
}

.presence .wrap {
  position: relative;
  z-index: 1;
}

.presence h2,
.presence p {
  color: var(--white);
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.presence-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  min-height: 180px;
}

.presence-card h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 20px;
}

.presence-card p,
.presence-card a {
  color: #e7e7e7;
}

.news-grid,
.card-grid,
.logo-grid,
.benefit-grid,
.stack-grid {
  display: grid;
  gap: 22px;
}

.news-grid,
.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card h3,
.card h2 {
  font-size: 18px;
}

.meta {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #999;
}

.more {
  margin-top: auto;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}

.practices {
  background: #252525;
  padding: 48px 0;
}

.practices h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 22px;
}

.practice-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.practice-row div {
  background: #333;
  color: var(--white);
  min-height: 92px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 12px;
  color: #333;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-status {
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 600;
}

.form-status.ok { color: #1b7f3a; }
.form-status.err { color: var(--red-dark); }

.field-error {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 600;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.logo-grid {
  grid-template-columns: repeat(6, 1fr);
}

.tech-pill {
  background: var(--white);
  border-radius: 14px;
  min-height: 84px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #444;
  border: 1px solid #eee;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.split img,
.frame {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 360px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.feature-list article {
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid #eee;
}

.feature-list h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps article {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  min-height: 180px;
  box-shadow: var(--shadow);
}

.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 8px;
}

.faq details {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
}

.faq p {
  margin-top: 8px;
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  min-height: 180px;
  box-shadow: var(--shadow);
}

.benefit h3 {
  margin: 8px 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filters button {
  border-radius: 99px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
}

.filters button[aria-pressed="true"] {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid #eee;
  font-weight: 700;
}

.pager a[aria-current="page"],
.pager .current {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.prose {
  max-width: 760px;
}

.prose p,
.prose ul {
  margin: 12px 0;
}

.prose ul {
  padding-left: 18px;
  list-style: disc;
}

.prose h2 {
  margin-top: 28px;
  font-size: 28px;
}

.article-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  margin: 18px 0 8px;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.person {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow);
  width: 100%;
}

.person strong {
  display: block;
  color: var(--heading);
  margin-top: 10px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}

.dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  max-height: min(90vh, 760px);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.dialog h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
}

.empty {
  background: var(--white);
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.job {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.stack-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stack-grid li {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: #444;
  border: 1px solid #eee;
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.breadcrumb {
  font-size: 13px;
  margin-bottom: 10px;
  color: #888;
}

.breadcrumb a:hover {
  color: var(--red);
}
