/* ═══════════════════════════════════════════════════════════════
   end_to_end_technical_solutions.CSS
   Page-specific styles — mirrors ai-innovation.css structure
═══════════════════════════════════════════════════════════════ */

/* ── Section wrappers ── */
.tssec         { padding: 88px 0; }
.tssec--white  { background: #ffffff; }
.tssec--grey   { background: var(--bg); }
.tssec--brand  { background: var(--brand); }

/* ── Hero ── */
.ts-page-hero {
  position: relative;
  min-height: min(70vw, 85vh);
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
   min-height: unset;
   aspect-ratio: 16 / 9; 
}
.approach-band {
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid var(--gold);
  padding: 28px 0;
}
.approach-band-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}
.ts-hero-img {
  position: absolute;
  inset: 0;
  background-image: url('/public/images/end_to_end/end_end_page_hero.webp');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.ts-page-hero.loaded .ts-hero-img {
  transform: scale(1);
}

.ts-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 18, 26, 0.88) 0%,
    rgba(10, 30, 44, 0.65) 55%,
    rgba(10, 30, 44, 0.35) 100%
  );
}

.ts-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 64px);
}

.ts-hero-pillar-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.ts-hero-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.ts-hero-lead {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Domain pills in hero */
.ts-hero-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-domain span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  padding: 5px 14px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Shared section typography (mirrors ai-innovation.css) ── */
.sec-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.sec-heading {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 0;
}

.sec-rule {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 20px;
}

.sec-lead {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: 56px;
}

.sec-head .sec-heading {
  margin-top: 8px;
  margin-bottom: 16px;
}

.intro-copy {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

/* ── Platform domain grid ── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.domain-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(15, 45, 60, 0.1);
}

.domain-card::before {
  content: '';
  display: block;
  height: 5px;
}

.domain-sea::before  { background: #0f6e8a; }
.domain-land::before { background: #3a6b3a; }
.domain-air::before  { background: #5a4a8a; }

.domain-card-inner {
  padding: 28px 28px 32px;
}

.domain-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.domain-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1.3;
}

.domain-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.domain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.domain-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0 4px 15px;
  position: relative;
  line-height: 1.5;
}

.domain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Service cards (shared from ai-innovation.css pattern) ── */
.svc2-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.svc2-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.svc2-card:hover {
  border-color: rgba(15, 45, 60, 0.2);
  box-shadow: 0 8px 32px rgba(15, 45, 60, 0.09);
  transform: translateY(-3px);
}

.svc2-card:hover::before { transform: scaleX(1); }

.svc2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.svc2-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(15, 45, 60, 0.25);
  letter-spacing: 0.06em;
}

.svc2-icon {
  width: 40px;
  height: 40px;
  background: rgba(15, 45, 60, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.svc2-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
  margin-bottom: 10px;
}

.svc2-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
  flex: 1;
}

.svc2-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.svc2-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0 4px 15px;
  position: relative;
  line-height: 1.5;
}

.svc2-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Applications grid ── */
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.app-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(15, 45, 60, 0.07);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0 6px 15px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.app-list li:last-child { border-bottom: none; }

.app-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Integration (shared pattern) ── */
.intg-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intg-left {
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intg-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.intg-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 28px;
}

.intg-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
}
.intg-link:hover { color: var(--gold-light); }

.intg-cards { display: flex; flex-direction: column; }

.intg-card {
  padding: 36px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s;
}

.intg-card:last-child { border-bottom: none; }
.intg-card:hover { background: rgba(255, 255, 255, 0.03); }

.intg-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.intg-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.intg-card-body {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  margin-bottom: 14px;
}

.intg-card-outcome {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.intg-card-outcome span {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-right: 4px;
}

/* ── Page CTA ── */
.page-cta {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 56px 52px;
}

.page-cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #ffffff;
  margin-bottom: 12px;
  margin-top: 8px;
}

.page-cta-body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin: 0;
}
/* ── Process track ── */
.process-track {
  max-width: 820px;
  margin: 0 auto;
}

.process-node {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
}

.process-node.last { padding-bottom: 0; }

.pn-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 56px;
}

.pn-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.pn-connector {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 0;
  min-height: 40px;
}

.pn-body {
  padding-top: 14px;
  padding-bottom: 8px;
}

.pn-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
  line-height: 1.25;
}

.pn-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.pn-deliverable {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(15, 45, 60, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 7px 14px;
  line-height: 1.5;
}

.pn-deliverable span {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.col-lg-6 .process-track {
  max-width: 100%;
  margin: 0;
}

.process-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.process-col {
  padding: 40px;
}

.process-col:first-child {
  border-right: 1px solid var(--border);
}

.process-col .process-track {
  max-width: 100%;
  margin: 0;
}
.process-col-heading {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}

.lifecycle-track { display: flex; flex-direction: column; }

.lifecycle-node {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
}
.lifecycle-node.last { padding-bottom: 0; }

.lc-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  padding-top: 4px;
}

.lc-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.lc-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
  min-height: 28px;
}

.lc-phase {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 4px;
}

.lc-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .process-node { gap: 20px; }
  .pn-num { width: 44px; height: 44px; font-size: 0.9rem; }
  .pn-aside { width: 44px; }
    .process-two-col { grid-template-columns: 1fr; }
  .process-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .process-col { padding: 28px; }
}
/* ── Responsive ── */
@media (max-width: 991px) {
  .domain-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .intg-wrap { grid-template-columns: 1fr; }
  .intg-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
  }
  .intg-card { padding: 28px 32px; }
  .page-cta { padding: 40px 32px; }
}

@media (max-width: 767px) {
  .tssec { padding: 64px 0; }
  .ts-hero-domains { gap: 6px; }
  .page-cta { padding: 32px 24px; }
  .intg-left { padding: 32px 24px; }
  .intg-card { padding: 24px; }
}