/*
Theme Name: RUICHEN PNEUMATIC
Theme URI: https://www.cnruichen.com
Author: WorkBuddy
Author URI: https://www.codebuddy.cn
Description: Industrial B2B theme for RUICHEN PNEUMATIC.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ruichen-theme
*/
:root{
  --blue:#15386b; --blue-700:#1f5fbf; --blue-500:#378ADD;
  --accent:#ff7a18; --accent-700:#e25f00;
  --ink:#1b2430; --muted:#5b6675; --line:#e4e8ef; --soft:#f5f7fb; --soft2:#eef3fa;
  --white:#fff; --ok:#3B6D11; --warn:#854F0B;
  --radius:12px; --radius-sm:8px; --maxw:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);line-height:1.65;background:var(--white);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}
h1,h2,h3,h4{line-height:1.2;color:var(--blue)}
h1{font-size:clamp(30px,4.6vw,48px);font-weight:800;letter-spacing:-.5px}
h2{font-size:clamp(24px,3vw,32px);font-weight:800}
h3{font-size:19px;font-weight:700}
p{color:var(--muted)}

/* buttons */
.btn{display:inline-block;font-weight:700;font-size:15px;padding:13px 26px;border-radius:var(--radius-sm);cursor:pointer;border:1px solid transparent;transition:.18s}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-700)}
.btn-blue{background:var(--blue-700);color:#fff}
.btn-blue:hover{background:var(--blue)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-outline{background:#fff;color:var(--blue);border-color:var(--line)}
.btn-outline:hover{border-color:var(--blue-500);color:var(--blue-700)}

/* top bar */
.topbar{background:#0c2447;color:#cdd6e4;font-size:13px}
.topbar .container{display:flex;justify-content:space-between;align-items:center;height:38px;flex-wrap:wrap;gap:6px}
.topbar a{color:#cdd6e4}
.topbar a:hover{color:#fff}

/* header / nav */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--blue);font-size:21px;letter-spacing:.3px}
.logo .dot{width:13px;height:13px;border-radius:50%;background:var(--accent)}
.logo .sub{color:var(--accent)}
.nav-links{display:flex;gap:30px;font-weight:600;font-size:15px}
.nav-links a{position:relative;padding:6px 0}
.nav-links a:hover{color:var(--blue-700)}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--accent);transition:.2s}
.nav-links a:hover::after{width:100%}
.lang{font-size:13px;color:var(--muted);border:1px solid var(--line);padding:6px 13px;border-radius:20px;font-weight:600}
.nav-toggle{display:none;background:none;border:0;font-size:26px;color:var(--blue);cursor:pointer}

/* hero */
.hero{background:linear-gradient(120deg,#0c2447 0%,#15386b 55%,#1f5fbf 100%);color:#fff;padding:74px 0 84px}
.hero h1{color:#fff;max-width:780px}
.hero .lead{margin:18px 0 30px;font-size:19px;color:#d7e2f5;max-width:660px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-badges{display:flex;gap:30px;margin-top:42px;flex-wrap:wrap}
.badge{display:flex;flex-direction:column}
.badge b{font-size:27px;color:#fff;font-weight:800}
.badge span{font-size:13px;color:#aebfd9}

/* sections */
.section{padding:66px 0}
.section.alt{background:var(--soft)}
.section-head{margin-bottom:38px;max-width:720px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-sub{color:var(--muted);margin-top:10px;font-size:16px}

/* product grid */
.grid{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;transition:.2s}
.card:hover{box-shadow:0 10px 28px rgba(21,56,107,.12);transform:translateY(-3px);border-color:var(--blue-500)}
.card .ic{width:44px;height:44px;border-radius:10px;background:var(--soft2);display:flex;align-items:center;justify-content:center;color:var(--blue-700);font-weight:800;font-size:18px;margin-bottom:14px}
.card h3{margin-bottom:6px}
.card p{font-size:14px}

/* features / why */
.checklist{list-style:none;display:grid;gap:14px}
.checklist li{display:flex;gap:12px;align-items:flex-start}
.checklist .mk{flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:var(--blue-700);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;margin-top:2px}
.checklist b{color:var(--ink)}

/* cert strip */
.cert-strip{display:flex;gap:14px;flex-wrap:wrap}
.pill{border:1px solid var(--line);border-radius:30px;padding:9px 18px;font-weight:700;color:var(--blue)}

/* cta / quote */
.cta-section{background:linear-gradient(120deg,#15386b,#1f5fbf);color:#fff}
.cta-section .container{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;padding-top:60px;padding-bottom:60px}
.cta-section h2{color:#fff}
.cta-section p{color:#d7e2f5}
.quote-form{background:#fff;border-radius:14px;padding:26px;color:var(--ink)}
.quote-form h3{color:var(--blue);margin-bottom:16px}
.field{margin-bottom:12px}
.field label{display:block;font-size:13px;color:var(--muted);margin-bottom:5px;font-weight:600}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:14px;font-family:inherit;background:#fff;color:var(--ink)}
.field textarea{resize:vertical;min-height:72px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue-500);box-shadow:0 0 0 3px rgba(55,138,221,.18)}
.form-note{font-size:12.5px;color:var(--muted);margin-top:8px}
.form-success{display:none;background:#eaf3de;border:1px solid #97c459;color:var(--ok);padding:12px 14px;border-radius:8px;font-weight:600;margin-bottom:12px}

/* inner page hero */
.page-hero{background:var(--soft2);padding:48px 0}
.page-hero h1{font-size:clamp(26px,3.4vw,38px)}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:10px}
.breadcrumb a:hover{color:var(--blue-700)}

/* detail layout */
.detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.spec{width:100%;border-collapse:collapse;margin-top:14px}
.spec th,.spec td{border:1px solid var(--line);padding:10px 12px;text-align:left;font-size:14px}
.spec th{background:var(--soft);color:var(--blue);width:42%}

/* blog */
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.2s}
.post-card:hover{box-shadow:0 10px 28px rgba(21,56,107,.12);transform:translateY(-3px)}
.post-thumb{height:150px;background:linear-gradient(135deg,#1f5fbf,#15386b);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:15px;padding:0 20px;text-align:center}
.post-body{padding:18px 20px}
.post-meta{font-size:12.5px;color:var(--muted);margin-bottom:6px}
.post-card h3{font-size:17px;margin-bottom:8px}
.post-card p{font-size:14px}
.tag{display:inline-block;background:var(--soft2);color:var(--blue-700);font-size:12px;font-weight:600;padding:3px 10px;border-radius:20px;margin-top:10px}

/* testimonial / process */
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.step .n{width:34px;height:34px;border-radius:50%;background:var(--blue-700);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:12px}

/* footer */
.site-footer{background:#0c2447;color:#aebfd9;padding:48px 0 26px;font-size:14px}
.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:30px}
.footer-cols h5{color:#fff;margin-bottom:14px;font-size:15px}
.footer-cols a{color:#aebfd9;display:block;margin-bottom:8px}
.footer-cols a:hover{color:#fff}
.copy{border-top:1px solid #1c3a63;margin-top:30px;padding-top:18px;color:#7e8ca6;font-size:12.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* responsive */
@media(max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .cta-section .container{grid-template-columns:1fr}
  .detail{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .nav-links{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;gap:0;padding:8px 22px 16px}
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 0;border-bottom:1px solid var(--line)}
  .nav-toggle{display:block}
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .hero{padding:54px 0 60px}
  .hero-badges{gap:20px}
  .footer-cols{grid-template-columns:1fr}
}
