/* Secondary page compositions matched to the approved 2026-07-18 design boards. */
:root {
  --web4x-blue: #0b63f6;
  --web4x-navy: #071f4b;
  --web4x-ink: #071a3d;
  --web4x-copy: #586b8c;
  --web4x-line: #dbe6f5;
  --web4x-soft: #f5f8fd;
  --web4x-radius: 8px;
  --web4x-shadow: 0 10px 28px rgba(22, 62, 128, .08);
}

.web4-secondary-redesign main { background: #fff; }
.web4-secondary-redesign main > :is(section, .breadcrumbs) { margin: 0; }
.web4-secondary-redesign .container { max-width: 1180px; }
.web4-secondary-redesign .breadcrumbs {
  padding: 96px 0 16px !important;
  min-height: 0 !important;
  background: #fff !important;
  border-bottom: 0;
}
.web4-secondary-redesign .breadcrumbs .breadcrumb-nav { text-align: left; font-size: 13px; }
.web4-secondary-redesign .section,
.web4-secondary-redesign .feature-detail-section,
.web4-secondary-redesign .compare-section { padding: 42px 0 !important; }
.web4-secondary-redesign :is(.feature-mini-card,.feature-panel,.feature-comparison,.pricing-plan,.single-service,.contact-info-panel,.web4-contact-form,.solution-hero-panel,.compare-table-wrap) {
  border: 1px solid var(--web4x-line) !important;
  border-radius: var(--web4x-radius) !important;
  box-shadow: var(--web4x-shadow) !important;
}
.web4-secondary-redesign :is(h1,h2,h3,h4) { color: var(--web4x-ink); letter-spacing: 0; }
.web4-secondary-redesign :is(p,li,td) { color: var(--web4x-copy); }
.web4-secondary-redesign .section-title { margin-bottom: 28px; }
.web4-secondary-redesign .section-title h2 { font-size: 34px; line-height: 1.2; }
.web4-secondary-redesign .btn { min-height: 44px; border-radius: 5px !important; }

/* Secondary pages use the complete localized footer shared by the main site. */

/* Keep the established dark breadcrumb hero on secondary and tertiary pages. */
.web4-secondary-redesign .breadcrumbs {
  min-height: 380px;
  padding: 160px 0 120px !important;
  background: #010e27 !important;
  background-image: linear-gradient(110deg, #010e27 0%, #032354 52%, #010e27 100%) !important;
  border-bottom: 0 !important;
}
.web4-secondary-redesign .breadcrumbs .breadcrumbs-content .page-title {
  display: block !important;
  max-width: 880px;
  margin: 0 auto 16px;
  color: #fff !important;
  font-size: 28px;
  line-height: 1.25;
  text-align: center;
}
.web4-secondary-redesign .breadcrumbs .breadcrumb-nav {
  display: inline-block;
  margin-top: 0;
  padding: 13px 30px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: rgba(255,255,255,.1) !important;
  font-size: 15px;
}
.web4-secondary-redesign .breadcrumbs .breadcrumb-nav li,
.web4-secondary-redesign .breadcrumbs .breadcrumb-nav li a {
  color: #fff !important;
}
.web4-secondary-redesign .breadcrumbs .breadcrumb-nav li::after {
  color: rgba(255,255,255,.72) !important;
}

/* Prevent the solutions introduction from becoming a horizontal three-column row. */
.web4-template-solutions-index .solutions-heading {
  display: block !important;
  width: 100%;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}
.web4-template-solutions-index .solutions-heading > h3 {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
}
.web4-template-solutions-index .solutions-heading > h2,
.web4-template-solutions-index .solutions-heading > p {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
}

@media (max-width: 991px) {
  .web4-secondary-redesign .breadcrumbs {
    min-height: 330px;
    padding: 132px 0 88px !important;
  }
}

@media (max-width: 767px) {
  .web4-secondary-redesign .breadcrumbs {
    min-height: 290px;
    padding: 112px 0 64px !important;
  }
  .web4-secondary-redesign .breadcrumbs .breadcrumbs-content .page-title {
    font-size: 25px;
  }
}

/* All compact CTA strips. */
.web4-secondary-redesign .call-action { padding: 30px 0 !important; background: #f3f7fd !important; }
.web4-secondary-redesign .call-action .inner-content { padding: 0 26px !important; min-height: 84px; }
.web4-secondary-redesign .call-action .text h2 { font-size: 25px !important; line-height: 1.25; }
.web4-secondary-redesign .call-action .text p { margin-top: 5px !important; }

/* 1. Feature detail: approved two-column hero, metric rail, workflow, comparison. */
.web4-template-feature .feature-detail-section:first-of-type > .container {
  min-height: 0 !important;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: 46px;
  align-items: center;
}
.web4-template-feature .feature-detail-section:first-of-type .text-center { text-align: left !important; }
.web4-template-feature .feature-detail-section:first-of-type .feature-title { max-width: 520px; margin: 12px 0 16px; font-size: 44px; line-height: 1.12; }
.web4-template-feature .feature-detail-section:first-of-type .feature-lead { max-width: 530px; margin: 0; font-size: 17px; }
.web4-template-feature .feature-detail-section:first-of-type .feature-hero-card { margin: 0 !important; padding: 14px !important; background: #fff; }
.web4-template-feature .feature-detail-section:first-of-type .feature-hero-card .row { --bs-gutter-x: 0; }
.web4-template-feature .feature-detail-section:first-of-type .feature-hero-card .col-lg-6:first-child { display: none; }
.web4-template-feature .feature-detail-section:first-of-type .feature-hero-card .col-lg-6:last-child { width: 100%; }
.web4-template-feature .feature-detail-section:first-of-type .feature-visual { min-height: 310px !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.web4-template-feature .feature-detail-section:first-of-type .feature-visual img { width: 100%; height: 310px; object-fit: contain; }
.web4-template-feature .feature-detail-section.soft { padding: 0 0 30px !important; background: #fff !important; }
.web4-template-feature .feature-metric-grid { gap: 0 !important; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--web4x-line); border-radius: var(--web4x-radius); }
.web4-template-feature .feature-mini-card { min-height: 126px !important; padding: 22px !important; border: 0 !important; border-right: 1px solid var(--web4x-line) !important; border-radius: 0 !important; box-shadow: none !important; }
.web4-template-feature .feature-mini-card:last-child { border-right: 0 !important; }
.web4-template-feature .feature-mini-card h3 { font-size: 17px; margin: 8px 0 5px; }
.web4-template-feature .feature-mini-card p { font-size: 13px; line-height: 1.55; margin: 0; }
.web4-template-feature .web4-feature-workflow { background: #fff !important; }
.web4-template-feature .web4-feature-workflow .section-title { text-align: left; }
.web4-template-feature .web4-feature-workflow .section-title h3 { display: none; }
.web4-template-feature .web4-feature-workflow .section-title h2 { font-size: 25px; }
.web4-template-feature .web4-feature-workflow-grid { gap: 14px; }
.web4-template-feature .web4-feature-workflow .feature-step { min-height: 112px; padding: 18px 12px; box-shadow: none !important; }
.web4-template-feature .web4-feature-workflow .feature-step strong { width: 42px; height: 42px; }
.web4-template-feature .feature-detail-section.white:last-of-type { padding-top: 30px !important; }
.web4-template-feature .feature-split-alt { grid-template-columns: .95fr 1.35fr !important; gap: 18px !important; }
.web4-template-feature .feature-panel { padding: 28px !important; }
.web4-template-feature .feature-panel h2 { font-size: 28px; }
.web4-template-feature .feature-comparison { overflow: hidden; }
.web4-template-feature .feature-comparison-row { min-height: 58px; grid-template-columns: .7fr 1fr 1fr !important; }

/* 2. Pricing: six compact columns, matrix, payment rail, FAQ and CTA. */
.web4-template-pricing .pricing.section { padding-top: 34px !important; }
.web4-template-pricing .pricing .section-title h2 { font-size: 38px; }
.web4-template-pricing .pricing-grid,
.web4-template-pricing .pricing-row { gap: 0 !important; border: 1px solid var(--web4x-line); border-radius: var(--web4x-radius); overflow: hidden; box-shadow: var(--web4x-shadow); }
.web4-template-pricing .pricing-plan { min-height: 410px !important; padding: 24px 18px !important; border: 0 !important; border-right: 1px solid var(--web4x-line) !important; border-radius: 0 !important; box-shadow: none !important; }
.web4-template-pricing .pricing-plan:last-child { border-right: 0 !important; }
.web4-template-pricing .pricing-plan h3 { font-size: 20px !important; }
.web4-template-pricing .pricing-plan-price { font-size: 31px !important; }
.web4-template-pricing .pricing-plan .btn { width: 100%; }
.web4-template-pricing .pricing-feature-table { box-shadow: none !important; }
.web4-template-pricing .pricing-feature-table :is(th,td) { padding: 13px 11px !important; font-size: 13px; }
.web4-template-pricing .services.payment-methods { padding: 28px 0 !important; background: #fff !important; }
.web4-template-pricing .payment-methods .section-title { display: none; }
.web4-template-pricing .payment-methods .payment-panel { padding: 16px 20px !important; box-shadow: none !important; }
.web4-template-pricing .payment-methods .payment-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; }
.web4-template-pricing .payment-methods .payment-item { min-height: 74px; padding: 10px 6px; }

/* 3. Contact: centered intro, form left, contact stack right, access cards. */
.web4-template-contact .contact-us { padding-top: 28px !important; }
.web4-template-contact .contact-polished .section-title { margin-bottom: 34px; }
.web4-template-contact .contact-polished .section-title h2 { font-size: 38px; }
.web4-template-contact .contact-polished > .container > .row { align-items: stretch; }
.web4-template-contact .web4-contact-form { padding: 28px !important; }
.web4-template-contact .web4-contact-form h2 { font-size: 24px; }
.web4-template-contact .web4-contact-fields { gap: 13px !important; }
.web4-template-contact .web4-contact-field :is(input,select,textarea) { min-height: 42px !important; border-radius: 4px; }
.web4-template-contact .web4-contact-field textarea { min-height: 130px !important; }
.web4-template-contact .contact-info-panel { padding: 28px !important; }

/* 4. Solutions index: compact 3x3 catalog with visible category rail. */
.web4-template-solutions-index .services.section { padding-top: 30px !important; }
.web4-template-solutions-index .services .section-title h2 { font-size: 38px; }
.web4-template-solutions-index .solution-filter { margin-bottom: 26px !important; }
.web4-template-solutions-index .services .row { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
.web4-template-solutions-index .solution-list-card { min-height: 250px !important; padding: 26px !important; display: flex; flex-direction: column; }
.web4-template-solutions-index .solution-list-card h3 { font-size: 22px; }
.web4-template-solutions-index .solution-list-card p { font-size: 14px; line-height: 1.65; }
.web4-template-solutions-index .solution-platform-logos { margin-top: auto; }

/* 5. Solution detail: platform rail, five-step workflow, three decision cards. */
.web4-template-solution-detail .solution-hero-detail { padding: 34px 0 24px !important; }
.web4-template-solution-detail .solution-hero-panel { padding: 34px !important; }
.web4-template-solution-detail .solution-hero-panel h2 { font-size: 38px; }
.web4-template-solution-detail .solution-hero-panel .image { max-height: 260px; }
.web4-template-solution-detail .solution-feature-band { display: none !important; }
.web4-template-solution-detail .services .section-title h2 { font-size: 32px; }
.web4-template-solution-detail .solution-process .single-service { min-height: 185px !important; padding: 24px !important; }
.web4-template-solution-detail .solution-capability .single-service { min-height: 190px !important; padding: 24px !important; }
.web4-template-solution-detail .solution-related { display: none !important; }

/* 6. About: compact mission panel, values, capabilities and trust rail. */
.web4-template-about .about-hero { padding: 34px !important; }
.web4-template-about .about-hero h2 { font-size: 38px; }
.web4-template-about .belief-section .single-service,
.web4-template-about .services:not(.gray-bg) .single-service { min-height: 190px !important; padding: 24px !important; }
.web4-template-about .services.gray-bg { display: none !important; }

/* 7. Compare: table first, decision cards, compact FAQ/CTA. */
.web4-template-compare .compare-section:first-of-type { padding-top: 30px !important; background: #fff !important; }
.web4-template-compare .compare-section:first-of-type .section-title h2 { font-size: 38px; }
.web4-template-compare .compare-table-wrap { box-shadow: none !important; overflow-x: auto; }
.web4-template-compare .compare-table :is(th,td) { padding: 15px 14px !important; font-size: 14px; }
.web4-template-compare .compare-section.soft { background: var(--web4x-soft) !important; }
.web4-template-compare .compare-section .single-service { min-height: 170px !important; padding: 22px !important; }

/* Motion: transform/opacity only; always readable without JS. */
.web4-secondary-redesign [data-motion] { will-change: transform, opacity; }
.web4-secondary-redesign .web4-feature-workflow-grid::before { transform-origin: left center; animation: web4x-line 720ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes web4x-line { from { transform: scaleX(0); opacity: .2; } to { transform: scaleX(1); opacity: 1; } }

@media (max-width: 991px) {
  .web4-template-feature .feature-detail-section:first-of-type > .container { grid-template-columns: 1fr; gap: 28px; }
  .web4-template-feature .feature-detail-section:first-of-type .feature-title { font-size: 38px; }
  .web4-template-pricing .pricing-plan { min-width: 240px; }
  .web4-template-pricing .pricing-grid,.web4-template-pricing .pricing-row { overflow-x: auto; scroll-snap-type: x proximity; }
  .web4-template-pricing .pricing-plan { scroll-snap-align: start; }
}

@media (max-width: 767px) {
  .web4-secondary-redesign .breadcrumbs { padding: 78px 0 12px !important; }
  .web4-secondary-redesign .section,.web4-secondary-redesign .feature-detail-section,.web4-secondary-redesign .compare-section { padding: 34px 0 !important; }
  .web4-secondary-redesign .section-title h2 { font-size: 28px !important; }
  .web4-template-feature .feature-detail-section:first-of-type .feature-title { font-size: 34px; }
  .web4-template-feature .feature-detail-section:first-of-type .feature-visual,.web4-template-feature .feature-detail-section:first-of-type .feature-visual img { min-height: 230px !important; height: 230px; }
  .web4-template-feature .feature-metric-grid { grid-template-columns: 1fr; }
  .web4-template-feature .feature-mini-card { border-right: 0 !important; border-bottom: 1px solid var(--web4x-line) !important; }
  .web4-template-feature .feature-mini-card:last-child { border-bottom: 0 !important; }
  .web4-template-feature .feature-split-alt { grid-template-columns: 1fr !important; }
  .web4-template-pricing .payment-methods .payment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .web4-template-solutions-index .solution-list-card { min-height: 220px !important; }
  .web4-secondary-redesign .call-action .inner-content { padding: 0 !important; }
  .web4-secondary-redesign .footer .copyright-inner { min-height: 118px; flex-direction: column; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .web4-secondary-redesign *, .web4-secondary-redesign *::before, .web4-secondary-redesign *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 991px) {
  body.web4-secondary-redesign .breadcrumbs {
    min-height: 330px;
    padding: 132px 0 88px !important;
  }
}

@media (max-width: 767px) {
  body.web4-secondary-redesign .breadcrumbs {
    min-height: 290px;
    padding: 112px 0 64px !important;
  }
}

/* Keep page-level section headings readable across all localized layouts. */
.web4-secondary-redesign main .section-title {
  display: block !important;
  width: 100%;
  max-width: 920px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
.web4-secondary-redesign main .section-title > h3 {
  display: block;
  width: auto;
  margin: 0 auto 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--web4x-blue) !important;
  font-size: 13px;
  line-height: 1.45 !important;
  text-align: center;
}
.web4-secondary-redesign main .section-title > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 0 !important;
  text-align: center;
  overflow-wrap: anywhere;
}
.web4-secondary-redesign main .section-title > h2::before,
.web4-secondary-redesign main .section-title > h2::after {
  content: "";
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  background: linear-gradient(90deg, transparent, var(--web4x-blue));
}
.web4-secondary-redesign main .section-title > h2::after {
  background: linear-gradient(90deg, var(--web4x-blue), transparent);
}
.web4-secondary-redesign main .section-title > p {
  display: block;
  max-width: 820px;
  margin: 14px auto 0 !important;
  line-height: 1.75;
  text-align: center;
}

/* Workflow headings are internal labels and intentionally remain left aligned. */
.web4-template-feature main .web4-feature-workflow .section-title {
  max-width: none;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}
.web4-template-feature main .web4-feature-workflow .section-title > h3 { display: none; }
.web4-template-feature main .web4-feature-workflow .section-title > h2 {
  display: block;
  text-align: left;
}
.web4-template-feature main .web4-feature-workflow .section-title > h2::before,
.web4-template-feature main .web4-feature-workflow .section-title > h2::after { display: none; }

@media (max-width: 767px) {
  .web4-secondary-redesign main .section-title > h2 { gap: 10px; }
  .web4-secondary-redesign main .section-title > h2::before,
  .web4-secondary-redesign main .section-title > h2::after {
    width: 20px;
    flex-basis: 20px;
  }
}
