.custom-solutions-page {
  --cs-navy: #0f172a;
  --cs-navy-mid: #16243b;
  --cs-orange: #eb6e2d;
  --cs-orange-dark: #d45b1c;
  --cs-orange-soft: rgba(235, 110, 45, .12);
  --cs-ink: #0f172a;
  --cs-muted: #475569;
  --cs-surface: #f8fafc;
  --cs-border: #e2e8f0;
  color: var(--cs-ink);
}

.cs-container {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
}

.cs-section {
  padding: 76px 0;
  background: #fff;
}

.cs-section-alt {
  background: var(--cs-surface);
}

.cs-eyebrow {
  margin: 0 0 8px;
  color: var(--cs-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cs-section-head {
  max-width: 700px;
  margin-bottom: 38px;
}

.cs-section-head h2 {
  margin: 0;
  color: var(--cs-ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.cs-lead {
  margin: 12px 0 0;
  color: var(--cs-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.cs-btn-primary {
  color: #fff;
  background: var(--cs-orange);
}

.cs-btn-primary:hover:not(:disabled) {
  background: var(--cs-orange-dark);
  transform: translateY(-1px);
}

.cs-btn-primary:disabled {
  opacity: .7;
  cursor: wait;
}

.cs-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
  background: rgba(15, 23, 42, .35);
}

.cs-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Hero */
.cs-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  color: #fff;
  background: var(--cs-navy);
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 20, 38, .92) 0%, rgba(15, 23, 42, .82) 55%, rgba(15, 23, 42, .68) 100%);
}

.cs-hero-content {
  position: relative;
  z-index: 1;
}

.cs-hero-content h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.18;
}

.cs-highlight {
  color: var(--cs-orange);
}

.cs-hero-lead {
  max-width: 820px;
  margin: 20px 0 0;
  color: #dbe6f3;
  font-size: 16px;
  line-height: 1.65;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Grids & Cards */
.cs-grid {
  display: grid;
  gap: 22px;
}

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

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

.cs-card {
  padding: 26px 24px;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
}

.cs-card-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--cs-orange);
}

.cs-card-icon svg {
  width: 24px;
  height: 24px;
}

.cs-card h3 {
  margin: 0 0 10px;
  color: var(--cs-ink);
  font-size: 18px;
  line-height: 1.3;
}

.cs-card p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Production Floor Photo Cards */
.cs-photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}

.cs-photo-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.cs-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.cs-photo-card:hover .cs-photo-media img {
  transform: scale(1.03);
}

.cs-photo-body {
  padding: 20px 22px 24px;
}

.cs-photo-body h3 {
  margin: 0 0 8px;
  color: var(--cs-ink);
  font-size: 17px;
  line-height: 1.35;
}

.cs-photo-body p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Manufacturing Capability */
.cs-cap-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}

.cs-cap-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.cs-cap-photo {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .1);
}

.cs-cap-photo:nth-child(2) {
  margin-top: 28px;
}

.cs-cap-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Crop built-in white letterbox bars on Capability 1 photo without altering source asset */
.cs-cap-photo-cropped img {
  transform: scale(1.38);
  transform-origin: center;
}

.cs-cap-copy .cs-section-head {
  margin-bottom: 18px;
}

.cs-cap-text {
  margin: 0 0 22px;
  color: var(--cs-muted);
  font-size: 15px;
  line-height: 1.65;
}

.cs-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-checklist li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  font-size: 15px;
  font-weight: 400;
}

.cs-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--cs-orange);
  font-weight: 700;
  content: "✓";
}

/* 5 Steps Process */
.cs-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-step-card {
  padding: 22px 18px;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  background: #fff;
}

.cs-step-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cs-step-num {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--cs-orange);
  font-size: 13px;
  font-weight: 700;
}

.cs-step-card h3 {
  margin: 0;
  color: var(--cs-ink);
  font-size: 16px;
  line-height: 1.3;
}

.cs-step-card p {
  margin: 0;
  padding-left: 34px;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Applications */
.cs-applications .cs-grid-4 {
  grid-auto-rows: 1fr;
}

.cs-app-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  background: #fff;
}

.cs-app-card h3 {
  margin: 0 0 8px;
  color: var(--cs-ink);
  font-size: 17px;
  line-height: 1.3;
}

.cs-app-card p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cs-app-cta {
  border-color: var(--cs-navy);
  color: #fff;
  background: var(--cs-navy);
}

.cs-app-cta h3 {
  color: #fff;
}

.cs-app-cta p {
  color: #cbd5e1;
}

.cs-app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--cs-orange);
  font-size: 14px;
  font-weight: 700;
}

.cs-app-link:hover {
  text-decoration: underline;
}

/* FAQ Accordion */
.cs-faq-list {
  display: grid;
  gap: 12px;
}

.cs-faq-item {
  border: 1px solid var(--cs-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease;
}

.cs-faq-item.is-open {
  border-color: #cbd5e1;
}

.cs-faq-item h3 {
  margin: 0;
}

.cs-faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 0;
  border-radius: 8px;
  color: var(--cs-ink);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.cs-faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--cs-orange);
}

.cs-faq-icon::before,
.cs-faq-icon::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease;
}

.cs-faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.cs-faq-item.is-open .cs-faq-icon::after {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
}

.cs-faq-panel {
  padding: 0 20px 18px 46px;
}

.cs-faq-panel[hidden] {
  display: none;
}

.cs-faq-panel p {
  margin: 0;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Quote Form Section */
.cs-quote {
  padding: 80px 0;
  color: #fff;
  background: linear-gradient(180deg, #162742 0%, #112036 100%);
}

.cs-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 48px;
}

.cs-quote-head {
  padding-top: 8px;
}

.cs-quote-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.25;
}

.cs-quote-lead {
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.65;
}

.cs-quote-email {
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

.cs-quote-email a {
  color: var(--cs-orange);
  text-decoration: underline;
}

.cs-quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}

.cs-quote-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cs-field-label {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.cs-required {
  color: var(--cs-orange);
}

.cs-quote-form input,
.cs-quote-form select,
.cs-quote-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  color: var(--cs-ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.cs-quote-form input,
.cs-quote-form select {
  height: 44px;
  padding: 0 12px;
}

.cs-quote-form textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.cs-quote-form input:focus,
.cs-quote-form select:focus,
.cs-quote-form textarea:focus {
  border-color: var(--cs-orange);
  box-shadow: 0 0 0 3px rgba(235, 110, 45, .25);
}

.cs-quote-form input::placeholder,
.cs-quote-form textarea::placeholder {
  color: #94a3b8;
}

.cs-submit-btn {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

.cs-form-feedback {
  margin: -4px 0 0;
  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
}

.cs-form-feedback:empty {
  display: none;
}

.cs-form-feedback.is-success {
  color: #86efac;
}

.cs-form-feedback.is-error {
  color: #fca5a5;
}

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

  .cs-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cs-cap-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .cs-section {
    padding: 56px 0;
  }

  .cs-hero {
    padding: 68px 0 64px;
  }

  .cs-grid-3,
  .cs-quote-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .cs-container {
    width: calc(100% - 32px);
  }

  .cs-hero-br {
    display: none;
  }

  .cs-hero-actions {
    flex-direction: column;
  }

  .cs-hero-actions .cs-btn {
    width: 100%;
  }

  .cs-grid-4,
  .cs-steps {
    grid-template-columns: 1fr;
  }

  .cs-cap-photos {
    grid-template-columns: 1fr;
  }

  .cs-cap-photo:nth-child(2) {
    margin-top: 0;
  }

  .cs-quote-form {
    padding: 20px 16px;
  }
}
