:root {
  --brand-ink: #383539;
  --brand-ink-rgb: 56, 53, 57;
  --brand-accent: #ff5500;
  --brand-accent-soft: rgba(255, 187, 86, 0.18);
  --brand-muted: #504e53;
  --surface: #ffffff;
  --surface-alt: rgba(255, 187, 86, 0.12);
  --border-soft: rgba(255, 187, 86, 0.35);
}

body {
  background-color: var(--surface);
  color: var(--brand-ink);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-title {
  position: relative;
  padding-bottom: 0.35rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 0.45rem;
  background: var(--brand-accent);
  border-radius: 999px;
}

.text-muted {
  color: var(--brand-muted) !important;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-soft);
}

.hero-row {
  align-items: stretch;
}

.hero-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.case-row {
  align-items: stretch;
}

.case-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.value-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  box-shadow: 0 10px 24px rgba(var(--brand-ink-rgb), 0.06);
}

.service-card {
  border-left: 4px solid var(--brand-accent);
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.lifecycle-step {
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  background: var(--surface);
  position: relative;
}

.step-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pill-card {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(var(--brand-ink-rgb), 0.05);
}

.industry-card {
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 22px rgba(var(--brand-ink-rgb), 0.05);
}

.case-card {
  background: var(--surface-alt);
  border-radius: 0.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 24px rgba(var(--brand-ink-rgb), 0.06);
}

.case-card-embedded {
  background: var(--brand-accent-soft);
  box-shadow: 0 8px 18px rgba(var(--brand-ink-rgb), 0.04);
}

.case-metric {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.case-metric:last-child {
  border-bottom: 0;
}

.metric-number {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.4;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 22px rgba(var(--brand-ink-rgb), 0.05);
}

.timeline-year {
  display: inline-block;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  box-shadow: 0 12px 26px rgba(var(--brand-ink-rgb), 0.06);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.image-placeholder {
  background: linear-gradient(135deg, rgba(255, 187, 86, 0.2), rgba(255, 187, 86, 0.08));
  border: 1px solid var(--border-soft);
  border-radius: 0.9rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 85, 0, 0.15), transparent 55%);
}

.image-hero {
  width: 100%;
  height: 220px;
}

.hero-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid var(--border-soft);
}

.image-card {
  width: 100%;
  height: 140px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.service-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}

.image-case {
  width: 100%;
  height: 180px;
}

.case-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid var(--border-soft);
}

.hero-link {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}

.hero-link:hover {
  text-decoration: none;
}

.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 200ms ease;
}

.hero-link:hover::after {
  width: 100%;
}

.hero-focus {
  background: var(--brand-accent-soft);
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 18px rgba(var(--brand-ink-rgb), 0.05);
}


.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  background: var(--brand-accent-soft);
  border-radius: 0.4rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 0.5rem;
  min-height: 90px;
}

.logo-card img {
  max-height: 60px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 991.98px) {
  .section {
    padding: 3rem 0;
  }

  .cta-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .card-text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .case-copy p,
  .case-copy li {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}
