/* RATHOD ENGINEERING WORKS | Professional industrial UI
   Brand colours sampled from the original Rathod corporate logo.
   All layout/typography is new: no WordPress/Quarty theme CSS. */
:root {
  --blue:#3159a0; --blue-dark:#213f77; --orange:#f07235; --orange-soft:#fff2e9;
  --ink:#202b3c; --body:#536173; --muted:#738096; --line:#dde4ed;
  --surface:#f5f7fa; --white:#fff; --navy:#192e4f;
  --font-head:'Manrope',system-ui,-apple-system,sans-serif;
  --font-body:'DM Sans',system-ui,-apple-system,sans-serif;
  --radius:10px; --shadow:0 20px 55px rgba(28,53,91,.075); --container:1216px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;color:var(--ink);font:400 15.5px/1.75 var(--font-body);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.5;cursor:not-allowed}
::selection{background:#dce7f9;color:var(--blue-dark)}
:focus-visible{outline:3px solid #f29561;outline-offset:3px}
.container{width:min(var(--container),calc(100% - 88px));margin-inline:auto}
.skip-link{position:fixed;z-index:999;left:20px;top:-100px;padding:10px 18px;background:#fff;color:#163a76;box-shadow:var(--shadow)}
.skip-link:focus{top:12px}
h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:var(--font-head);line-height:1.28;letter-spacing:-.035em}
h1{font-size:clamp(34px,3.4vw,48px);font-weight:800}h2{font-size:clamp(28px,2.45vw,35px);font-weight:800}h3{font-size:20px;font-weight:750}
p{color:var(--body);margin-bottom:18px}
.eyebrow{display:block;font-family:var(--font-head);font-weight:800;font-size:10px;letter-spacing:.15em;line-height:1.55;text-transform:uppercase;color:var(--blue);margin-bottom:16px}
.eyebrow.light{color:#c2d3f0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:1px solid transparent;padding:14px 20px;border-radius:5px;font-family:var(--font-head);font-weight:800;font-size:12px;line-height:1.4;letter-spacing:.012em;transition:background .25s,color .25s,border-color .25s,transform .25s;white-space:nowrap}
.btn span,.text-action span{font-size:17px;line-height:1;font-weight:500;transition:transform .25s}
.btn:hover span,.text-action:hover span{transform:translate(3px,-3px)}
.btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.btn-primary:hover{background:var(--blue-dark);border-color:var(--blue-dark);transform:translateY(-2px)}
.btn-outline{background:#fff;color:var(--blue);border-color:#b7c8e0}
.btn-outline:hover{border-color:var(--blue);background:#eef4fe;transform:translateY(-2px)}
.btn-white{background:#fff;color:var(--blue);border-color:#fff}
.btn-white:hover{background:#ebf1fa}
.text-action{display:inline-flex;align-items:center;gap:12px;color:var(--blue);font:800 12px/1.5 var(--font-head);letter-spacing:.016em;padding-block:6px;border-bottom:1px solid #bdcce3;transition:gap .25s,color .25s}
.text-action:hover{color:var(--orange);gap:17px}
/* Utility / navigation */
.utility{background:#eaf0f8;border-bottom:1px solid #dae4f1;color:#587098;font-size:11.5px;font-weight:700}
.utility-row{height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.utility-row a:hover{color:var(--blue)}.utility-sep{margin:0 15px;color:#bac8d9}
.site-header{background:#fff;border-bottom:1px solid #e8edf4;position:sticky;top:0;z-index:60;transition:box-shadow .25s}
.site-header.scrolled{box-shadow:0 10px 25px rgba(16,42,76,.055)}
.header-row{height:85px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.logo{display:block;flex-shrink:0;line-height:0}.logo img{width:227px;height:auto;object-fit:contain}
.nav-desktop{display:flex;gap:29px;align-items:center;margin-left:auto}
.nav-desktop a{font:700 12.5px/1.4 var(--font-head);color:#47556c;position:relative;padding:31px 0;white-space:nowrap;transition:color .2s}
.nav-desktop a::after{position:absolute;content:'';left:0;right:100%;bottom:23px;height:2px;background:var(--orange);transition:right .22s}
.nav-desktop a:hover,.nav-desktop a.active{color:var(--blue)}
.nav-desktop a:hover::after,.nav-desktop a.active::after{right:0}
.nav-quote{padding:13px 16px;font-size:11px;gap:13px}
.header-actions{display:flex;align-items:center;gap:14px}
.menu-button{width:44px;height:44px;border:1px solid #d7e1ef;border-radius:5px;background:#fff;display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.menu-button span{height:2px;width:18px;background:var(--blue-dark);display:block;transition:transform .2s,opacity .2s}
.menu-button[aria-expanded=true] span:first-child{transform:translateY(7px) rotate(45deg)}
.menu-button[aria-expanded=true] span:nth-child(2){opacity:0}
.menu-button[aria-expanded=true] span:last-child{transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none}
/* Shared section framework */
.section{padding:92px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:32px}
.section-heading>div{max-width:630px}.section-heading h2{margin-bottom:11px}.section-heading p{font-size:14.5px;line-height:1.8;max-width:610px;margin-bottom:0}
.section-heading .text-action{flex-shrink:0;margin-bottom:8px}
.section-heading .eyebrow{margin-bottom:11px}
.page-lead{background:linear-gradient(130deg,#f4f7fc,#fff);border-bottom:1px solid var(--line);padding:28px 0 58px}
.breadcrumbs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#8290a5;font-size:12px;font-weight:600;margin-bottom:47px}
.breadcrumbs a:hover{color:var(--blue)}.breadcrumbs [aria-current=page]{color:var(--blue)}
.page-lead-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.55fr);gap:38px;align-items:end}
.page-lead h1{margin:0;max-width:680px;color:#203655;font-size:clamp(30px,3vw,42px)}
.page-lead .eyebrow{margin-bottom:10px}.page-lead-grid>p{margin:0;padding-bottom:3px;font-size:15px;line-height:1.8}
/* Product cards shared across all routes */
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.product-card{border:1px solid #e4e9f0;background:#fff;border-radius:8px;min-width:0;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s}
.product-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(26,53,97,.10);border-color:#bfcfe4}
.product-card-link{display:block;height:100%}
.product-image{height:220px;background:#f3f5f8;position:relative;overflow:hidden}
.product-image>img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.product-card:hover .product-image>img{transform:scale(1.055)}
.product-arrow{display:grid;place-items:center;position:absolute;right:14px;bottom:14px;width:35px;height:35px;border-radius:5px;background:#fff;color:var(--blue);box-shadow:0 5px 15px #182f5a24;transition:background .25s,color .25s}
.product-card:hover .product-arrow{background:var(--orange);color:white}
.product-copy{padding:22px 24px 23px}.product-kicker{font:800 10px/1.3 var(--font-head);text-transform:uppercase;letter-spacing:.11em;color:var(--orange)}
.product-copy h3{font-size:19px;color:#213858;line-height:1.4;margin:10px 0 5px}
.product-copy p{color:#738095;font-size:13px;margin-bottom:19px;line-height:1.6}
.product-more{font:800 11px/1.4 var(--font-head);color:var(--blue);display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8edf2;padding-top:17px}
.product-more span{font-size:16px;transition:transform .2s}.product-card:hover .product-more span{transform:translateX(4px)}
/* Sitewide lead-out and footer */
.bottom-cta{background:linear-gradient(116deg,#28539c 0%,#1e416e 100%);color:white;position:relative;overflow:hidden}
.bottom-cta::after{content:'';position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:-130px;top:-130px;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.02);pointer-events:none}
.bottom-cta-inner{position:relative;z-index:1;min-height:242px;display:flex;align-items:center;justify-content:space-between;gap:36px;padding-block:45px}
.bottom-cta .eyebrow{margin-bottom:12px}.bottom-cta h2{font-size:30px;line-height:1.35;margin:0 0 9px;color:#fff}
.bottom-cta p{max-width:660px;color:#d5e0f1;font-size:13.5px;line-height:1.75;margin:0}
.bottom-cta .btn{flex-shrink:0}
.site-footer{background:#f7f9fb;border-top:1px solid #e2e8f1}
.footer-grid{padding:65px 0 58px;display:grid;grid-template-columns:1.4fr .8fr .9fr 1.15fr;gap:46px}
.footer-brand img{width:238px;height:auto;margin-bottom:22px}
.footer-brand p{font-size:13px;max-width:270px;line-height:1.8;margin-bottom:18px}
.footer-tags{display:flex;flex-wrap:wrap;gap:7px}.footer-tags span{font-size:10px;padding:5px 9px;color:#5b7198;background:#e8eef8;border-radius:3px;font-weight:700}
.footer-col{display:flex;flex-direction:column;align-items:start;gap:12px}.footer-col h3{font-size:12px;letter-spacing:.025em;margin:0 0 13px;color:#1f3656}
.footer-col>a,.footer-col>p{font-size:12px;color:#68778b;margin:0;line-height:1.75}
.footer-col>a:hover{color:var(--blue)}.footer-contact>p{max-width:275px;margin-top:6px}
.footer-map{font-weight:800!important;color:var(--blue)!important}
.footer-bottom{border-top:1px solid #dfe7f0;padding:22px 0 26px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#8491a2;font-size:11px}
.footer-bottom a{color:var(--blue);font-weight:800}
/* Accessible base styles. Optional engineering motion lives in assets/css/effects.css. */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:0.001ms!important;animation-duration:0.001ms!important}}
@media(max-width:1170px){.container{width:min(100% - 60px,var(--container))}.logo img{width:210px}.nav-desktop{gap:18px}.header-row{gap:18px}.nav-desktop a{font-size:11.5px}.nav-quote{font-size:10.5px}}
@media(max-width:1020px){.nav-desktop{display:none}.menu-button{display:flex}.mobile-menu{display:flex;position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 18px 25px #1f3c6b18;padding:18px max(30px,calc((100% - 760px)/2)) 25px;flex-direction:column;gap:0;transform-origin:top;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s;border-top:1px solid #edf1f6}.mobile-menu.is-open{opacity:1;visibility:visible;transform:none}.mobile-menu>a:not(.btn){display:block;padding:12px 4px;border-bottom:1px solid #edf1f6;font-size:14px;font-weight:700}.mobile-menu>a.active{color:var(--blue)}.mobile-menu .btn{margin-top:20px;align-self:start}}
@media(max-width:850px){.section{padding:70px 0}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:start}.footer-grid{grid-template-columns:1.2fr 1fr;gap:40px}.page-lead-grid{grid-template-columns:1fr;gap:12px}.page-lead-grid>p{max-width:620px}.breadcrumbs{margin-bottom:31px}}
@media(max-width:600px){.container{width:calc(100% - 36px)}.utility-row{height:31px}.utility-row>span:first-child{font-size:10px}.utility-row>span:last-child{display:none}.header-row{height:73px}.logo img{width:200px}.nav-quote{display:none}.section{padding:55px 0}.section-heading{flex-direction:column;gap:12px;margin-bottom:25px}.section-heading h2{font-size:26px}.section-heading p{font-size:13.5px}.product-grid{grid-template-columns:1fr;gap:18px}.product-image{height:240px}.product-copy{padding:18px 20px}.page-lead{padding:19px 0 38px}.page-lead h1{font-size:31px}.page-lead-grid>p{font-size:13.5px}.breadcrumbs{margin-bottom:25px}.bottom-cta-inner{min-height:0;align-items:flex-start;flex-direction:column;gap:23px;padding-block:41px}.bottom-cta h2{font-size:25px}.bottom-cta p{font-size:13px}.footer-grid{padding:48px 0;grid-template-columns:1fr 1fr;gap:35px 20px}.footer-brand,.footer-contact{grid-column:1/-1}.footer-col h3{margin-bottom:4px}.footer-bottom{font-size:10px}.mobile-menu{padding:16px 18px 24px}}

/* Independent product quote action and professional footer credit */
.product-quote-link{display:inline-flex;padding:10px 23px 15px;font-size:12px;font-weight:800;color:#315eaa;text-decoration:underline;text-underline-offset:4px}
.product-quote-link:hover{color:#f47426}
.footer-bottom .credit-link{font-size:11px;font-weight:700;color:var(--blue);text-decoration:none}
.footer-bottom .credit-link:hover{text-decoration:underline;color:var(--orange)}
.particle-text-fallback{white-space:nowrap;font-size:clamp(12px,2.1vw,28px)}


/* RATHOD PRODUCTS | compact two-column mega menu, inspired by the user-supplied reference.
   All eleven products remain in order, with no internal scroller or view-all item. */
.header-row{position:relative}
.nav-desktop .nav-products{position:static;display:flex;align-items:center;gap:5px;align-self:stretch}
.nav-desktop .nav-products>a{align-self:center}
.products-dropdown-toggle,.mobile-products-toggle{border:0;background:transparent;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.products-dropdown-toggle{width:22px;height:40px;padding:0}
.products-chevron{display:block;height:7px;width:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.products-dropdown-toggle[aria-expanded="true"] .products-chevron,.mobile-products-toggle[aria-expanded="true"] .products-chevron{transform:translateY(2px) rotate(225deg)}
/* A 720px panel rather than the previous 1100px-wide mega menu. */
.nav-desktop .products-dropdown{
  display:none;position:absolute;z-index:100;top:calc(100% - 1px);left:50%;transform:translateX(-50%);
  width:min(720px,calc(100vw - 44px));max-width:none;max-height:none;overflow:visible;
  grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,minmax(35px,auto));
  grid-auto-flow:column;column-gap:29px;row-gap:0;
  background:#fff;border:1px solid #dfe5ed;border-top:2px solid var(--orange);
  border-radius:0 0 6px 6px;box-shadow:0 16px 38px rgba(31,54,86,.14);
  padding:16px 23px 18px;
}
.nav-desktop .nav-products:hover .products-dropdown,.nav-desktop .nav-products.is-open .products-dropdown,.nav-desktop .nav-products:focus-within .products-dropdown{display:grid}
.nav-desktop .products-dropdown a{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  font:700 12.5px/1.35 var(--font-head);color:#304562;
  background:transparent;border:0;border-bottom:1px solid #e8edf3;border-radius:0;
  min-height:35px;padding:8px 3px;white-space:normal;
  transition:color .18s,background .18s;
}
.nav-desktop .products-dropdown a::after{
  content:'↗';display:block;position:static;flex:none;
  width:auto;height:auto;transform:none;background:transparent;opacity:.66;
  font:700 14px/1 var(--font-head);color:var(--blue);
}
.nav-desktop .products-dropdown a:nth-child(6),.nav-desktop .products-dropdown a:last-child{border-bottom-color:transparent}
.nav-desktop .products-dropdown a:hover,.nav-desktop .products-dropdown a:focus-visible,
.nav-desktop .products-dropdown a[aria-current="page"],.nav-desktop .products-dropdown a.is-current{
  color:var(--blue);background:#f4f7fc;
}
.mobile-products-group{display:none}
@media(min-width:1021px) and (max-width:1220px){
  .nav-desktop .products-dropdown{width:min(690px,calc(100vw - 40px));padding:14px 20px;column-gap:22px}
}
@media(max-width:1020px){
  /* Only the overall mobile navigation may scroll if the physical screen is short. */
  .mobile-menu{max-height:calc(100dvh - 104px);overflow-y:auto;overscroll-behavior:contain}
  .mobile-products-group{display:block;border-bottom:1px solid #edf1f6}
  .mobile-products-heading{display:flex;align-items:stretch;justify-content:space-between}
  .mobile-products-heading>a{flex:1;display:flex;align-items:center;padding:12px 4px;color:#47556c;font-size:14px;font-weight:700}
  .mobile-products-heading>a.active{color:var(--blue)}
  .mobile-products-toggle{width:48px;min-height:48px;border-left:1px solid #edf1f6}
  .mobile-products-list{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px;padding:10px 11px;
    background:#fff;border-left:2px solid var(--orange);overflow:visible;max-height:none}
  .mobile-products-group.is-open .mobile-products-list{display:grid}
  .mobile-products-list a{display:flex;align-items:center;min-height:40px;padding:8px 4px;
    color:#3d506b;font-weight:700;font-size:11.5px;line-height:1.4;background:#fff;border:0;border-bottom:1px solid #e7edf5;border-radius:0}
  .mobile-products-list a:hover,.mobile-products-list a:focus-visible,.mobile-products-list a.is-current{background:#f3f7fd;color:var(--blue)}
}
@media(max-width:600px){.mobile-menu{max-height:calc(100dvh - 95px)}}
@media(max-width:350px){.mobile-products-list{gap:0 6px;padding:7px}.mobile-products-list a{font-size:11px;padding:7px 3px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.products-chevron,.nav-desktop .products-dropdown a{transition:none}}


/* RATHOD PRODUCTS — compact, right-aligned menu inside the user's marked box.
   Desktop: approximately 460px wide, 6 rows by 2 columns, no scroll.
   The product-order and submenu links stay unchanged. */
@media (min-width:1021px) {
  .nav-desktop .products-dropdown {
    left:auto;
    right:20%;
    transform:none;
    width:460px;
    max-width:calc(100vw - 44px);
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(6,32px);
    grid-auto-flow:column;
    column-gap:15px;
    padding:11px 16px 13px;
    row-gap:0;
    max-height:none;
    overflow:visible;
  }
  .nav-desktop .products-dropdown a {
    min-height:32px;
    padding:5px 2px;
    gap:6px;
    font-size:11.5px;
    line-height:1.28;
    white-space:nowrap;
    letter-spacing:-0.08px;
  }
  .nav-desktop .products-dropdown a::after {font-size:12px;}
}
@media (min-width:1021px) and (max-width:1220px) {
  .nav-desktop .products-dropdown {
    right:13%;
    width:450px;
    column-gap:11px;
    padding:11px 14px 13px;
  }
}
@media (min-width:1021px) and (max-width:1080px) {
  .nav-desktop .products-dropdown {right:8%;}
}
