
/* AMG v10.79. Careful refinements: dark contexts stay dark, product images stay true. */
:root{
 --ref-ink:#23272f;--ref-muted:#62646a;--ref-platinum:#f8f5ef;--ref-wine:#842a3c;
 --ref-wine-2:#a13b50;--ref-cream:#f4efe7;--ref-line:rgba(40,44,52,.12);
 --ref-shadow:0 14px 38px rgba(24,28,35,.065),0 2px 8px rgba(24,28,35,.025);
 --ref-radius:22px;
}
html{scroll-behavior:smooth}
body{color:var(--ref-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* Keep the established industrial brand; no blue tint across the page. */
.site-bg{background-color:#f6f2eb!important}
.header{border-bottom:1px solid rgba(36,40,47,.09);background:rgba(249,247,243,.96);box-shadow:0 6px 22px rgba(22,25,30,.035);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav-simple,.nav-group-main,.header-phone{font-weight:650}
.nav-group-toggle,.menu-btn{border-radius:12px;transition:background .2s ease,box-shadow .2s ease}
.mega-menu{border-radius:18px;box-shadow:0 22px 54px rgba(25,27,33,.13);border:1px solid rgba(35,39,46,.11)}
/* Editorial rhythm: preserve authored hierarchies while improving readability. */
.section-head h2,.section h2,.page-hero h1{letter-spacing:-.034em;text-wrap:balance}
.section-head>p:not(.eyebrow),.premium-copy>p:not(.eyebrow),.product-seo-section p{line-height:1.64}
.section-head.compact{max-width:1040px}
.section .eyebrow,.page-hero .eyebrow{letter-spacing:.12em;font-size:11px;font-weight:830}
.page-hero .eyebrow{color:inherit}
/* Buttons and input fields; high contrast on both dark and light sections. */
.btn,a.btn,.amg-about-button{border-radius:12px;min-height:44px;font-weight:760;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
.btn.primary,a.btn.primary{background:linear-gradient(130deg,#7e2538,#a33950);color:white;box-shadow:0 9px 19px rgba(124,35,50,.15)}
.btn.primary:hover,a.btn.primary:hover,.amg-about-button:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(124,35,50,.2)}
.btn.secondary,a.btn.secondary{border:1px solid rgba(41,44,50,.17)}
/* Guarantee inverted label on dark surfaces, not transparent grey chip. */
.dark-band .btn.secondary,.landing-dashboard-shell .btn.secondary,.cta-panel .btn.secondary{
 background:rgba(255,255,255,.11)!important;color:#fff!important;border:1px solid rgba(255,255,255,.33)!important;box-shadow:none!important;
}
.dark-band .btn.secondary:hover,.landing-dashboard-shell .btn.secondary:hover,.cta-panel .btn.secondary:hover{background:rgba(255,255,255,.19)!important}
input,textarea,select{border-radius:12px;min-height:44px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(132,42,60,.38);outline-offset:1px}
/* First-class treatment for LIGHT cards only. Never style arbitrary class names. */
.trust-item,.product-card,.service-card,.about-direction-card,.about-quality-card,
.rzd-complect-grid article,.light-complect-grid article,.geo-complect-grid article,
.product-direction-grid a,.product-direction-grid article,.product-workflow-grid article,
.product-kit-grid article,.product-intro-panel,.about-positioning-panel,
.nationwide-supply-grid article,.rail-overview-grid article,.rail-doc-card,.rail-category-card,
.amg-about-metric-card,.amg-about-story-card,.amg-about-values-wrap,.amg-about-clients{
 border:1px solid rgba(37,41,48,.10);box-shadow:var(--ref-shadow);border-radius:var(--ref-radius);
}
.trust-item,.rzd-complect-grid article,.light-complect-grid article,.geo-complect-grid article,
.product-workflow-grid article,.product-kit-grid article,.nationwide-supply-grid article{
 background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(251,248,242,.75));
}
.trust-item:hover,.product-card:hover,.service-card:hover,.rail-category-card:hover,.rail-doc-card:hover,
.about-direction-card:hover{box-shadow:0 18px 46px rgba(24,28,35,.09);transform:translateY(-2px)}
.trust-item,.product-card,.service-card,.rail-category-card,.rail-doc-card{transition:box-shadow .2s ease,transform .2s ease}
.trust-item h3,.product-card h3,.service-card h3,.rzd-complect-grid h3,.light-complect-grid h3,
.geo-complect-grid h3,.rail-product-body h3{letter-spacing:-.026em;line-height:1.15;color:#242831}
.trust-item p,.product-card p,.service-card p,.rzd-complect-grid p,.light-complect-grid p,.geo-complect-grid p{line-height:1.65;color:#54575d}
/* Consistent small counters, with graphite and warm metallic reflections rather than pastel blue. */
.trust-item>span,.rzd-complect-grid article>span,.light-complect-grid article>span,.geo-complect-grid article>span,
.product-workflow-grid article>span,.nationwide-supply-grid article>span{
 display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;
 background:linear-gradient(145deg,#383e47,#22272f);color:#f2d6a0;
 border:1px solid rgba(220,192,139,.28);border-radius:14px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 12px rgba(24,28,35,.12);
 font-variant-numeric:tabular-nums;font-weight:850;
}
/* Critical: dark dashboard contrast and hierarchy restored. */
.product-landing-dashboard .landing-dashboard-shell{
 position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#272a31 0%,#181b21 100%)!important;
 border:1px solid rgba(227,208,171,.22)!important;box-shadow:0 22px 60px rgba(18,19,23,.11)!important;
 border-radius:28px!important;
}
.product-landing-dashboard .landing-dashboard-shell::before,.product-landing-dashboard .landing-dashboard-shell::after{
 opacity:.42;pointer-events:none;z-index:0;
}
.product-landing-dashboard .landing-dashboard-main,.product-landing-dashboard .landing-dashboard-cards{position:relative;z-index:2}
.product-landing-dashboard .landing-dashboard-main .eyebrow{
 color:#e9c68a!important;background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;font-size:11px!important;font-weight:830!important;
}
.product-landing-dashboard .landing-dashboard-main h2{color:#fff!important;line-height:1.04!important;letter-spacing:-.05em!important;font-size:clamp(29px,3.7vw,51px)!important;text-wrap:pretty}
.product-landing-dashboard .landing-dashboard-main p:not(.eyebrow){color:#dadce0!important;line-height:1.66!important;font-size:clamp(15px,1.35vw,17px)!important}
.product-landing-dashboard .landing-dashboard-cards{gap:12px!important}
.product-landing-dashboard .landing-dashboard-cards article{
 background:linear-gradient(145deg,rgba(58,62,71,.96),rgba(43,47,56,.96))!important;
 border:1px solid rgba(255,255,255,.13)!important;border-radius:18px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
 padding:19px 22px!important;min-height:0!important;transform:none!important;
}
.product-landing-dashboard .landing-dashboard-cards span{
 background:linear-gradient(145deg,rgba(226,194,141,.20),rgba(226,194,141,.07))!important;
 color:#f3d79b!important;border:1px solid rgba(226,194,141,.26);border-radius:12px!important;
 width:36px;height:36px;margin-bottom:12px!important;
}
.product-landing-dashboard .landing-dashboard-cards strong{color:#fff!important;font-size:20px!important;line-height:1.16!important}
.product-landing-dashboard .landing-dashboard-cards p{color:#e1e3e7!important;font-size:15px!important;line-height:1.55!important;margin:0!important}
/* Other high-contrast sections remain dark throughout. */
.dark-band,.cta-panel{color:#f8f8fa}
.dark-band h2,.dark-band h3,.cta-panel h2,.cta-panel h3,
.rm-hero h1,.amg-about-mission-card p{color:#fff}
.dark-band p,.cta-panel p{color:rgba(255,255,255,.83)}
.amg-about-mission-card{background:#282c33!important;color:#fff!important}
.amg-about-mission-card>span{color:#e0c38f!important}
.amg-about-mission-card p{color:#fff!important}
/* Bespoke project cards and detail tables: no blow-ups. */
.rail-category-card img,.lc-family-visual img,.rm-category-card img,
.rail-product-media img,.lc-product-visual img,.lc-folding-visual img,
.rm-product-media img,.rm-card-photo img{display:block;max-width:100%;object-fit:contain;object-position:center}
.rail-category-card img{height:238px!important;width:100%;padding:16px;background:#f4f2ee}
.rail-product-media{min-height:300px;align-items:center;justify-content:center;background:#f4f2ee!important}
.rail-product-media img{height:288px!important;width:100%;padding:18px;object-fit:contain!important}
.rail-product-body h3{font-size:clamp(24px,2.3vw,32px)}
.rail-category-card,.rail-product-card{overflow:hidden}
.rail-accordion,.lc-product details,.vsgt-catalog details{border:1px solid rgba(35,41,49,.12)!important;background:#fff!important}
.rail-table-wrap,.lc-tech-table-wrap,.lc-table-scroll,.vsgt-table-wrap,
.rm-table-scroll,.bridge-table-wrap,.barrier-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.rail-table,.rm-table,.lc-tech-table{min-width:560px}
table{font-variant-numeric:tabular-nums}
/* Photographs retain natural material colours; no global filters, no fake glass overlays. */
.real-photo-card,.real-photo-card img,.amg-about-photo-frame img,.amg-about-story-photo img{filter:none!important}
.real-photo-card{isolation:isolate;overflow:hidden}
.real-photo-card .real-photo-caption{z-index:4}
.amg-about-client-logo img{filter:none!important;opacity:1!important}
/* Clean photo display for small products without cropping their shape. */
.lc-product-visual,.lc-folding-visual,.rail-product-media{overflow:hidden}
.lc-product-visual img,.lc-folding-visual img{mix-blend-mode:normal!important;filter:none!important}
/* prevent an accidental horizontal scrollbar caused by long technical labels */
.rail-product-card,.rail-category-card,.rail-product-body,.rail-table-wrap,
.rm-product-card,.vsgt-reservoir-card{min-width:0}
img{image-rendering:auto}
@media(max-width:1100px){
 .product-landing-dashboard .landing-dashboard-shell{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
}
@media(max-width:820px){
 .header{backdrop-filter:blur(10px)}
 .product-landing-dashboard .landing-dashboard-shell{grid-template-columns:1fr!important;gap:18px!important;padding:19px!important}
 .product-landing-dashboard .landing-dashboard-main{padding:14px 11px!important}
 .product-landing-dashboard .landing-dashboard-main h2{font-size:clamp(29px,7vw,42px)!important}
 .product-landing-dashboard .landing-dashboard-cards{grid-template-columns:1fr!important}
 .product-landing-dashboard .landing-dashboard-cards article{padding:17px 19px!important}
 .rail-category-card img{height:205px!important}
 .rail-product-media img{height:235px!important}
}
@media(max-width:520px){
 .section-head h2,.section h2{letter-spacing:-.028em}
 .product-landing-dashboard .landing-dashboard-shell{padding:14px!important;border-radius:20px!important}
 .product-landing-dashboard .landing-dashboard-main{padding:16px 8px 8px!important}
 .product-landing-dashboard .landing-dashboard-main h2{font-size:clamp(29px,8.3vw,38px)!important;line-height:1.09!important}
 .product-landing-dashboard .landing-dashboard-main p:not(.eyebrow){font-size:15px!important}
 .product-landing-dashboard .landing-dashboard-cards article{border-radius:15px!important}
 .product-landing-dashboard .landing-dashboard-cards strong{font-size:18px!important}
 .rail-category-card img{height:176px!important}
 .rail-product-media{min-height:222px}
 .rail-product-media img{height:205px!important;padding:12px}
 .amg-about-client-logo img{max-width:235px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* v10.79 type rhythm after visual QA */
.product-premium-intro{align-items:center!important;gap:clamp(20px,3.3vw,44px)!important}
.product-premium-intro .premium-copy{border-radius:24px!important;padding:clamp(23px,2.8vw,34px)!important}
.product-premium-intro .premium-copy h2{font-size:clamp(27px,2.55vw,41px)!important;line-height:1.17!important;letter-spacing:-.036em!important;overflow-wrap:break-word;text-wrap:pretty}
.product-premium-intro .premium-copy>p:not(.eyebrow){font-size:clamp(15px,1.23vw,17px)!important;line-height:1.67!important}
.product-premium-intro .premium-tags{align-content:center;gap:10px}
.product-premium-intro .premium-tags span{min-height:38px;padding:9px 14px;font-size:13px;font-weight:760;line-height:1.28}
@media(max-width:820px){.product-premium-intro{grid-template-columns:1fr!important;gap:14px!important}.product-premium-intro .premium-copy h2{font-size:clamp(27px,5vw,36px)!important}}
@media(max-width:520px){.product-premium-intro .premium-copy h2{font-size:clamp(27px,7.3vw,32px)!important}.product-premium-intro .premium-tags span{min-height:36px;padding:8px 12px;font-size:12px}}
