/* ==========================================================================
   Neometrix pillar-page stylesheet.
   Used by every /pillar-*.php page (hydraulic, aerospace, defence, railway,
   nuclear, buyer's guide). Drives the hero + body + products + CTA layout.
   ========================================================================== */

.pillar-hero {
   color: #fff;
   padding: clamp(60px, 10vw, 140px) 24px clamp(40px, 6vw, 80px);
   text-align: center;
   background-size: cover;
   background-position: center;
}
.pillar-hero h1 {
   font-family: 'Montserrat', sans-serif;
   font-size: clamp(28px, 4vw, 54px);
   font-weight: 700;
   line-height: 1.15;
   margin: 0 auto 18px;
   max-width: 1100px;
   letter-spacing: -0.01em;
}
.pillar-hero .pillar-eyebrow {
   text-transform: uppercase;
   letter-spacing: 0.18em;
   font-size: 13px;
   color: #1A7AE6;
   margin-bottom: 16px;
   font-weight: 600;
}
.pillar-hero p.pillar-lede {
   font-family: 'Lato', sans-serif;
   font-size: clamp(16px, 1.4vw, 20px);
   line-height: 1.6;
   max-width: 860px;
   margin: 0 auto 24px;
   color: #E2E8F0;
}
.pillar-hero .pillar-meta {
   display: inline-flex;
   gap: 24px;
   flex-wrap: wrap;
   justify-content: center;
   font-size: 13px;
   color: #94A3B8;
   margin-top: 16px;
}
.pillar-hero .pillar-meta span::before { content: "•"; color: #0855A6; margin-right: 8px; }
.pillar-hero .pillar-meta span:first-child::before { content: ""; margin: 0; }

.pillar-body {
   max-width: 920px;
   margin: 0 auto;
   padding: clamp(40px, 6vw, 80px) 24px;
   font-family: 'Lato', sans-serif;
   font-size: 17px;
   line-height: 1.75;
   color: #2c2c2c;
}
.pillar-body h2 {
   font-family: 'Montserrat', sans-serif;
   font-size: clamp(24px, 2.5vw, 36px);
   font-weight: 600;
   color: #0A1628;
   margin: 56px 0 16px;
   line-height: 1.25;
   letter-spacing: -0.01em;
}
.pillar-body h3 {
   font-family: 'Montserrat', sans-serif;
   font-size: clamp(20px, 1.8vw, 26px);
   font-weight: 600;
   color: #0A1628;
   margin: 32px 0 10px;
}
.pillar-body p { margin: 0 0 16px; }
.pillar-body ul, .pillar-body ol { margin: 0 0 20px; padding-left: 24px; }
.pillar-body li { margin-bottom: 8px; }
.pillar-body strong { color: #0A1628; }
.pillar-body a {
   color: #0855A6;
   font-weight: 600;
   text-decoration: none;
   border-bottom: 1px solid rgba(8,85,166,0.3);
   transition: border-color 0.2s;
}
.pillar-body a:hover { border-bottom-color: #0855A6; }

.pillar-toc {
   background: #F8FAFC;
   border: 1px solid #E2E8F0;
   border-radius: 10px;
   padding: 24px 28px;
   margin: 36px 0;
}
.pillar-toc h4 {
   font-family: 'Montserrat', sans-serif;
   font-size: 14px;
   font-weight: 700;
   color: #64748B;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   margin: 0 0 14px;
}
.pillar-toc ol { margin: 0; padding-left: 20px; font-size: 16px; }
.pillar-toc li { margin-bottom: 6px; }
.pillar-toc a { font-weight: 500; }

.pillar-table {
   width: 100%;
   border-collapse: collapse;
   margin: 24px 0;
   font-size: 15px;
}
.pillar-table th, .pillar-table td {
   border: 1px solid #E2E8F0;
   padding: 12px 16px;
   text-align: left;
   vertical-align: top;
}
.pillar-table th {
   background: #0A1628;
   color: #fff;
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
   font-size: 14px;
   letter-spacing: 0.02em;
}
.pillar-table tr:nth-child(even) td { background: #F8FAFC; }

.pillar-callout {
   background: linear-gradient(135deg, #0A1628 0%, #0F2240 100%);
   color: #fff;
   padding: 32px;
   border-radius: 12px;
   margin: 36px 0;
}
.pillar-callout h4 {
   color: #1A7AE6;
   font-size: 14px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.12em;
   margin: 0 0 12px;
   font-family: 'Montserrat', sans-serif;
}
.pillar-callout p { margin: 0 0 8px; color: #E2E8F0; }
.pillar-callout strong { color: #fff; }

.pillar-checklist {
   background: #F8FAFC;
   border-left: 4px solid #1A7AE6;
   padding: 24px 28px;
   margin: 36px 0;
   border-radius: 6px;
}
.pillar-checklist h4 {
   margin: 0 0 14px;
   font-family: 'Montserrat', sans-serif;
   color: #0A1628;
   font-size: 18px;
}
.pillar-checklist ul { list-style: none; padding: 0; margin: 0; }
.pillar-checklist li { padding: 8px 0 8px 32px; position: relative; }
.pillar-checklist li::before {
   content: "✓";
   position: absolute;
   left: 8px;
   color: #0855A6;
   font-weight: 700;
}

.pillar-products {
   background: #F8FAFC;
   padding: 48px 24px;
}
.pillar-products-inner { max-width: 1200px; margin: 0 auto; }
.pillar-products h2 {
   text-align: center;
   font-family: 'Montserrat', sans-serif;
   font-size: clamp(24px, 2.6vw, 38px);
   font-weight: 600;
   color: #0A1628;
   margin: 0 0 36px;
}
.pillar-products-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   gap: 20px;
}
.pillar-product-card {
   background: #fff;
   border: 1px solid #E2E8F0;
   border-radius: 10px;
   padding: 24px;
   transition: transform 0.2s, box-shadow 0.2s;
   display: block;
   text-decoration: none !important;
   border-bottom: 1px solid #E2E8F0 !important;
}
.pillar-product-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 28px rgba(10,22,40,0.12);
   border-color: #0855A6 !important;
}
.pillar-product-card h4 {
   font-family: 'Montserrat', sans-serif;
   font-weight: 600;
   color: #0A1628;
   margin: 0 0 8px;
   font-size: 17px;
   line-height: 1.3;
}
.pillar-product-card p { margin: 0; font-size: 14px; color: #64748B; line-height: 1.5; }
.pillar-product-card .spec {
   display: inline-block;
   margin-top: 12px;
   font-size: 12px;
   color: #0855A6;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
}

.pillar-cta {
   background: #0A1628;
   color: #fff;
   padding: 64px 24px;
   text-align: center;
}
.pillar-cta h2 {
   color: #fff;
   font-family: 'Montserrat', sans-serif;
   font-size: clamp(26px, 3vw, 42px);
   font-weight: 600;
   margin: 0 0 16px;
}
.pillar-cta p {
   max-width: 640px;
   margin: 0 auto 28px;
   font-size: 17px;
   color: #E2E8F0;
}
.pillar-cta-btn {
   display: inline-block;
   padding: 16px 38px;
   background: linear-gradient(135deg, #1A7AE6, #0855A6);
   color: #fff !important;
   font-weight: 600;
   border-radius: 8px;
   text-decoration: none !important;
   border: 0 !important;
   transition: transform 0.2s, box-shadow 0.2s;
   font-family: 'Montserrat', sans-serif;
   letter-spacing: 0.02em;
}
.pillar-cta-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 16px 32px rgba(26,122,230,0.4);
}
