/* =========================================================
   FULL-BLEED BRAND HERO BANNER (NO PHOTO — SOLID MASTER COBALT)
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  background: var(--cobalt);
  color: #ffffff;
  padding: 96px 32px 0;
  overflow: hidden;
}

/* Subtle organic wave lines directly inspired by the Master Solutions emblem */
.hero-wave-motif {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 720px;
  height: auto;
  opacity: 0.11;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 84px;
}

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-aside {
  padding-bottom: 6px;
}

.hero-aside p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Architectural Bottom Spec Strip inside the Full Banner */
.hero-spec-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec-cell {
  padding: 26px 24px 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 24px;
}

.spec-cell:first-child {
  padding-left: 0;
}

.spec-cell:last-child {
  border-right: none;
}

.spec-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.spec-value {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}

/* =========================================================
   SECTION 01: ARCHITECTURAL HAIRLINE SERVICES TABLE
   (No floating rounded icon boxes!)
   ========================================================= */
.section-pad {
  padding: 112px 0;
}

.services-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.matrix-item {
  padding: 40px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  transition: background 0.25s ease;
}

.matrix-item:hover {
  background: var(--stone);
}

.matrix-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.matrix-num {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt);
  letter-spacing: 0.06em;
}

.matrix-arrow {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.matrix-item:hover .matrix-arrow {
  transform: translate(3px, -3px);
  color: var(--cobalt);
}

.matrix-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.matrix-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* =========================================================
   SECTION 02: ASYMMETRIC SPLIT — WHY MASTER SOLUTIONS
   (Left sticky narrative + Right clean horizontal specification rows)
   ========================================================= */
.standards-section {
  background: var(--stone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 112px 0;
}

.standards-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.standards-intro h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 18px;
}

.standards-intro p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.standards-list {
  border-top: 1px solid var(--line-dark);
}

.standard-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}

.standard-idx {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
}

.standard-row h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.standard-row p {
  font-size: 15.5px;
  color: var(--text);
}

/* =========================================================
   SECTION 03: SPLIT BEFORE & AFTER FIELD REPORT
   ========================================================= */
.transformation-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
  align-items: center;
}

.transformation-copy h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 18px;
}

.transformation-copy p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.scope-meta {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 13.5px;
}

.scope-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.scope-meta span {
  color: var(--muted);
}

.before-after-container {
  width: 100%;
  position: relative;
  height: 490px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  background: var(--stone);
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
}

.ba-after-wrapper .ba-after {
  width: 780px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 4;
}

.ba-badge-before {
  right: 16px;
}

.ba-badge-after {
  left: 16px;
  background: var(--cobalt);
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  cursor: ew-resize;
  z-index: 10;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   SECTION 04: UNBOXED ARCHITECTURAL PROCESS RAIL
   ========================================================= */
.process-section {
  border-top: 1px solid var(--line);
  padding: 104px 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.rail-step {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

.rail-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt);
  margin-bottom: 16px;
}

.rail-step h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.rail-step p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

/* =========================================================
   SECTION 05: FULL-WIDTH ARCHITECTURAL CTA BAND
   ========================================================= */
.cta-band {
  background: var(--cobalt);
  color: #ffffff;
  padding: 76px 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
}

.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 56px;
  }

  .hero-spec-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-cell:nth-child(2) {
    border-right: none;
  }

  .spec-cell:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .spec-cell:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .services-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-layout,
  .transformation-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .process-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .before-after-container {
    height: 390px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 20px 0;
  }

  .hero-spec-bar {
    grid-template-columns: 1fr;
  }

  .spec-cell {
    padding: 18px 0 !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .services-matrix,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .section-pad,
  .standards-section,
  .process-section {
    padding: 72px 0;
  }

  .before-after-container {
    height: 280px;
  }
}
