:root {
  --brand-red: #e3212f;
  --brand-yellow: #f2c400;
  --brand-ink: #161616;
  --brand-paper: #f7f7f5;
}

.brand-header-logo {
  display: block;
  width: auto;
  height: 3.75rem;
  max-width: 13rem;
  object-fit: contain;
  transition: transform 300ms ease;
}

.group:hover .brand-header-logo {
  transform: scale(1.03);
}

.brand-footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 13rem;
  object-fit: contain;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: #fff;
}

.brand-accent-glow {
  background: rgb(242 196 0 / 18%);
}

.brand-accent-dot,
.brand-goal-badge {
  background-color: var(--brand-yellow);
}

.brand-goal-ink {
  color: var(--brand-ink);
}

.brand-chart-bar {
  background-image: linear-gradient(to top, var(--brand-red), var(--brand-yellow));
}

.service-grid {
  align-items: stretch;
}

.service-tag {
  color: var(--brand-ink);
  background: rgb(247 247 245 / 92%);
  border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: 0 6px 18px rgb(22 22 22 / 10%);
  backdrop-filter: blur(8px);
}

.service-icon {
  color: #fff;
  background: var(--brand-red);
  border: 3px solid #fff;
}

.partner-logo-box {
  height: 6rem;
  border-color: rgb(22 22 22 / 8%);
}

.group:hover .partner-logo-box {
  border-color: rgb(227 33 47 / 35%);
}

.partner-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.partner-logo-image[alt="Logo Tray"] {
  padding: 0.25rem;
}

.contact-direct-link:hover,
.contact-direct-link:focus-visible {
  color: var(--brand-red);
}

.contact-direct-link:hover .contact-direct-icon,
.contact-direct-link:focus-visible .contact-direct-icon {
  background: rgb(227 33 47 / 10%);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.footer-map-wrap {
  min-width: 0;
}

.footer-map {
  display: block;
  width: 100%;
  height: 13rem;
  border: 0;
  border-radius: 1rem;
}

.platform-expertise-section {
  padding: 6rem 1.5rem;
  background: #fff;
}

.platform-section-heading {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.platform-section-eyebrow,
.client-carousel-eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-section-heading h2,
.client-carousel-header h2 {
  margin: 0.75rem 0 1rem;
  font-family: Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.platform-section-heading p,
.client-carousel-header p {
  color: rgb(22 22 22 / 62%);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.platform-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.platform-detail-card {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid rgb(22 22 22 / 8%);
  border-radius: 1.5rem;
  background: var(--brand-paper);
  box-shadow: 0 18px 45px -35px rgb(22 22 22 / 45%);
}

.platform-detail-card-featured {
  color: var(--brand-paper);
  border-color: rgb(227 33 47 / 45%);
  background: var(--brand-ink);
  box-shadow: 0 24px 60px -30px rgb(227 33 47 / 55%);
}

.platform-detail-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5rem;
  padding: 0.75rem;
  overflow: hidden;
  border: 1px solid rgb(22 22 22 / 8%);
  border-radius: 1rem;
}

.platform-detail-logo img {
  display: block;
  width: 100%;
  height: 3.5rem;
  object-fit: contain;
}

.platform-detail-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-red);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-detail-card-featured .platform-detail-kicker {
  color: var(--brand-yellow);
}

.platform-detail-content h3 {
  margin-bottom: 0.75rem;
  font-family: Inter, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.22;
}

.platform-detail-content > p {
  margin-bottom: 1.125rem;
  color: rgb(22 22 22 / 65%);
  line-height: 1.65;
}

.platform-detail-card-featured .platform-detail-content > p {
  color: rgb(247 247 245 / 72%);
}

.platform-detail-content .platform-international-note {
  margin: -0.25rem 0 1.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgb(242 196 0 / 28%);
  border-radius: 0.875rem;
  color: rgb(247 247 245 / 88%);
  background: rgb(242 196 0 / 8%);
  font-size: 0.875rem;
  line-height: 1.55;
}

.platform-detail-content ul {
  display: grid;
  gap: 0.625rem;
}

.platform-detail-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: rgb(22 22 22 / 78%);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.platform-detail-card-featured .platform-detail-content li {
  color: rgb(247 247 245 / 85%);
}

.platform-service-dot {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: var(--brand-red);
}

.platform-detail-card-featured .platform-service-dot {
  background: var(--brand-yellow);
}

.client-carousel-section {
  padding: 6rem 1.5rem;
  background: var(--brand-paper);
}

.client-carousel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.client-carousel-header > div:first-child {
  max-width: 42rem;
}

.client-carousel-controls {
  display: flex;
  gap: 0.75rem;
}

.client-carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(22 22 22 / 12%);
  border-radius: 999px;
  color: var(--brand-ink);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.client-carousel-controls button:hover,
.client-carousel-controls button:focus-visible {
  color: #fff;
  background: var(--brand-red);
  transform: translateY(-2px);
}

.client-carousel-track {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.client-carousel-track::-webkit-scrollbar {
  display: none;
}

.client-logo-card {
  display: flex;
  flex: 0 0 clamp(14rem, 24vw, 18rem);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 7.5rem;
  padding: 1.25rem;
  scroll-snap-align: start;
  border: 1px solid rgb(22 22 22 / 8%);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 16px 35px -30px rgb(22 22 22 / 50%);
}

.client-logo-image {
  display: block;
  width: 100%;
  height: 5rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-detail-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: 10rem minmax(0, 1fr);
    padding: 2rem;
  }

  .platform-detail-card-featured .platform-detail-logo {
    min-height: 7.5rem;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer-main-grid {
    grid-template-columns: 1.3fr 0.75fr 0.95fr 1.6fr;
  }
}

@media (max-width: 767px) {
  .brand-header-logo {
    height: 3.25rem;
    max-width: 10.5rem;
  }

  .platform-detail-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-detail-logo {
    max-width: 9rem;
  }

  .client-carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-logo-card {
    flex-basis: 82vw;
  }
}
