/* ============================================================
   services.css â€” Services page styles
   ============================================================ */


/* Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:      #D30100;
  --red-dark: #A50000;
  --dark:     #0E0E0E;
  --marine:   #0A2540;
  --bone:     #F4F1EC;
  --amber:    #FEBD59;
  --steel:    #6E7479;
  --g4:       #6E7479;
  --g1:       #F4F1EC;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: clip;
}


/* Hero
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 55px 28px 64px;
  background: var(--marine);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 110% 50%, rgba(211, 1, 0, .22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at -10% 80%, rgba(211, 1, 0, .14) 0%, transparent 55%);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--amber);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color .15s;
}

.breadcrumb a:hover {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  background: rgba(254, 189, 89, .15);
  border: 1px solid rgba(254, 189, 89, .4);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 20px;
}

h1 span {
  color: var(--amber);
}

.hero-subtitle {
  font-size: 17px;
  color: #fff;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}


/* Hero Buttons
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 7px;
  transition: opacity .2s, transform .15s;
}

.btn-primary:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  transition: border-color .2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .7);
}


/* Hero Stats
   ------------------------------------------------------------ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 36px;
  width: fit-content;
}

.hero-stat {
  padding: 0 36px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  margin-right: 36px;
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
}

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: #fff;
  margin-top: 5px;
  font-weight: 400;
}


/* Sticky Service Tab Nav
   ------------------------------------------------------------ */
.pillars-nav {
  background: #fff;
  border-bottom: 1px solid rgba(10, 37, 64, .08);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.pillars-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.pn-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 28px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.pn-tab:hover {
  color: var(--dark);
}

.pn-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.pn-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  opacity: .6;
}


/* Shared Section Layout
   ------------------------------------------------------------ */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--red);
}

.lead {
  font-size: 15.5px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.lead strong {
  color: var(--dark);
  font-weight: 600;
}

.svc-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 10px;
}


/* 01 Supply Section
   ------------------------------------------------------------ */
.svc-supply {
  background: #fff;
  padding: 88px 24px;
}

.svc-supply-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.svc-header {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 56px;
}

.svc-header-text {
  flex: 1;
}

.svc-header-aside {
  flex: 0 0 360px;
  background: var(--bone);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.svc-header-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.how-to-order-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.how-to-order-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-to-order-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.how-to-order-num {
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.how-to-order-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.how-to-order-step-desc {
  font-size: 12.5px;
  color: var(--g4);
  line-height: 1.6;
}

.how-to-order-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 37, 64, .1);
}

.how-to-order-footer-note {
  font-size: 12px;
  color: var(--g4);
  margin-bottom: 8px;
}

.how-to-order-footer a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prod-card {
  background: var(--bone);
  border-radius: 12px;
  padding: 22px 20px;
  border: 1.5px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
}

.prod-card:hover {
  border-color: rgba(211, 1, 0, .2);
  box-shadow: 0 6px 24px rgba(211, 1, 0, .08);
  transform: translateY(-2px);
}

.prod-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.prod-card p {
  font-size: 12.5px;
  color: var(--g4);
  line-height: 1.6;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.brand-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #fff;
  border: 1.5px solid rgba(10, 37, 64, .1);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--marine);
  transition: border-color .15s;
}

.brand-tag:hover {
  border-color: rgba(211, 1, 0, .3);
}


/* 02 System Design Section
   ------------------------------------------------------------ */
.svc-design {
  background: var(--bone);
  padding: 88px 24px;
}

.svc-design-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.design-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proc-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}

.proc-step:last-child {
  padding-bottom: 0;
}

.proc-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: rgba(211, 1, 0, .18);
}

.proc-dot {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 14px rgba(211, 1, 0, .22);
}

.proc-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  padding-top: 8px;
}

.proc-body p {
  font-size: 13.5px;
  color: var(--g4);
  line-height: 1.65;
}

.systems-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sys-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  border: 1.5px solid rgba(10, 37, 64, .07);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s;
}

.sys-item:hover {
  border-color: rgba(211, 1, 0, .2);
  box-shadow: 0 4px 20px rgba(211, 1, 0, .07);
}

.sys-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.sys-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.sys-item p {
  font-size: 12.5px;
  color: var(--g4);
  line-height: 1.6;
}


/* 03 After-Sales Section
   ------------------------------------------------------------ */
.svc-aftersales {
  background: #fff;
  padding: 88px 24px;
}

.svc-aftersales-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.aftersales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.as-card {
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(10, 37, 64, .08);
  background: #fff;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.as-card:hover {
  box-shadow: 0 10px 36px rgba(211, 1, 0, .09);
  border-color: rgba(211, 1, 0, .2);
  transform: translateY(-3px);
}

.as-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.as-icon {
  width: 48px;
  height: 48px;
  background: rgba(211, 1, 0, .08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.as-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.as-card p {
  font-size: 13.5px;
  color: var(--g4);
  line-height: 1.7;
  margin-bottom: 16px;
}

.as-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.as-list li {
  font-size: 12.5px;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.as-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5.5px;
}

.aftersales-callout {
  margin-top: 40px;
  background: var(--bone);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border: 1.5px dashed rgba(211, 1, 0, .18);
}

.aftersales-callout-text {
  flex: 1;
  min-width: 240px;
}

.aftersales-callout-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.aftersales-callout-desc {
  font-size: 13.5px;
  color: var(--g4);
  line-height: 1.65;
}


/* Why SMPC Section
   ------------------------------------------------------------ */
.why-smpc {
  background: var(--bone);
  padding: 80px 24px;
  border-top: 1px solid rgba(10, 37, 64, .07);
}

.why-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  border: 1.5px solid rgba(10, 37, 64, .07);
  transition: box-shadow .2s, transform .2s;
}

.why-card:hover {
  box-shadow: 0 8px 28px rgba(211, 1, 0, .08);
  transform: translateY(-2px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(211, 1, 0, .2);
}

.why-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.why-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.why-card p {
  font-size: 12.5px;
  color: var(--g4);
  line-height: 1.65;
}


/* Industries Reference Band
   ------------------------------------------------------------ */
.ind-band {
  background: var(--marine);
  padding: 56px 24px;
}

.ind-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.ind-band-text {
  flex: 1;
  min-width: 280px;
}

.ind-band-text .section-label {
  color: var(--amber);
}

.ind-band-text .section-title {
  color: #fff;
}

.ind-band-text .section-title span {
  color: var(--amber);
}

.ind-band-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.ind-band-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
}

.ind-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 2;
  min-width: 280px;
}

.ind-chip {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 7px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.ind-chip:hover {
  background: rgba(211, 1, 0, .2);
  border-color: rgba(211, 1, 0, .4);
  color: #fff;
}


/* CTA Band
   ------------------------------------------------------------ */
.cta-section {
  background: #fff;
  padding: 96px 24px 0;
}

.cta-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 96px;
}

.cta-band {
  background: var(--red);
  border-radius: 16px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(255, 255, 255, .08) 0%, transparent 60%);
}

.cta-band::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}

.cta-band h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -.01em;
}

.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  position: relative;
  line-height: 1.6;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: #fff;
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  transition: opacity .2s, transform .15s;
}

.btn-action:hover {
  opacity: .9;
  transform: translateY(-1px);
}


/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .svc-header { flex-direction: column; gap: 40px; }
  .svc-header-aside { flex: none; width: 100%; }
  .design-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .aftersales-grid { grid-template-columns: 1fr; }
  .pillars-nav-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Keep a slim scrollbar visible so the row reads as scrollable. */
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 37, 64, .28) transparent;
  }
  .pillars-nav-inner::-webkit-scrollbar { height: 4px; }
  .pillars-nav-inner::-webkit-scrollbar-thumb { background: rgba(10, 37, 64, .25); border-radius: 4px; }
  .pn-tab { white-space: nowrap; padding: 16px 20px 14px; }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; padding: 36px 24px; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .hero-stat { padding: 0 20px 0 0; margin-right: 20px; }
  .hero-stat:nth-child(2n) { border-right: none; margin-right: 0; padding-right: 0; }
  .ind-band-inner { flex-direction: column; gap: 32px; }
}
