﻿/*
 * Matchwell Engineering — Introduction & Value Pillars Styling
 * intro-pillars.css | astra-matchwell child theme
 */

/* ─────────────────────────────────────────────────────────────────
   SECTION CONTAINER & ELEMENTOR OVERRIDES
───────────────────────────────────────────────────────────────── */
.elementor-element-7435a89.elementor-section,
section.elementor-element-7435a89 {
  background: #F8FAFC !important;
  padding: 88px 0 !important;
  position: relative !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

/* Hide old unaligned Elementor columns */
.elementor-element-7435a89 .elementor-container:not(.mw-intro-active),
.elementor-element-7435a89 .elementor-element-b6bc3d9,
.elementor-element-7435a89 .elementor-element-c494c60 {
  display: none !important;
}

.mw-intro-redesign {
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
}

.mw-intro__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mw-intro__container {
    padding: 0 20px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   2-COLUMN LAYOUT
───────────────────────────────────────────────────────────────── */
.mw-intro__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .mw-intro__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Left Column: Intro ── */
.mw-intro__kicker {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1E3A8A;
  background: rgba(30, 58, 138, 0.08);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.mw-intro__title {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 700 !important;
  color: #0D1F3C !important;
  line-height: 1.25 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.015em !important;
}

.mw-intro__text {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  margin: 0 0 12px !important;
  font-weight: 500 !important;
}

.mw-intro__text-sub {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748B !important;
  margin: 0 0 28px !important;
}

/* Stats Matrix */
.mw-intro__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  padding: 18px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

@media (max-width: 580px) {
  .mw-intro__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.mw-intro__stat-item {
  text-align: center;
}

.mw-intro__stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1E3A8A;
  line-height: 1.2;
}

.mw-intro__stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.3;
  margin-top: 2px;
  display: block;
}

/* Left Action CTA */
.mw-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E3A8A;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 180ms ease;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.mw-intro__btn:hover {
  background: #0D1F3C;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 31, 60, 0.3);
}

/* ── Right Column: Why Matchwell Card ── */
.mw-intro__why-card {
  background: #0D1F3C;
  border-radius: 16px;
  padding: 38px 34px;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(13, 31, 60, 0.15);
  position: relative;
  overflow: hidden;
}

.mw-intro__why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1E3A8A, #3B82F6);
}

.mw-intro__why-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mw-intro__why-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

.mw-intro__why-subtitle {
  font-size: 13px !important;
  color: #94A3B8 !important;
  margin: 0 !important;
}

/* Pillars List */
.mw-intro__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mw-intro__pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  transition: background 180ms ease, border-color 180ms ease;
}

.mw-intro__pillar:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.4);
}

.mw-intro__pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mw-intro__pillar-icon svg {
  width: 22px;
  height: 22px;
}

.mw-intro__pillar-body {
  flex: 1;
}

.mw-intro__pillar-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}

.mw-intro__pillar-desc {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: #CBD5E1 !important;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mw-intro__btn,
  .mw-intro__pillar {
    transition: none !important;
    transform: none !important;
  }
}