/* ==========================================================================
   Hebei Youyuan Pipeline Manufacturing Co., Ltd. — English corporate site
   /ruizhi/css/youyuan.css
   ========================================================================== */

@font-face {
  font-family: 'Poppins';
  src: url('/ruizhi/fonts/poppins-regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/ruizhi/fonts/poppins-bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #0A1826;
  --navy: #0E2A47;
  --navy-2: #143A5E;
  --steel: #1B4B77;
  --accent: #F2612C;
  --accent-dark: #D9501D;
  --muted: #5F6E7E;
  --line: #E2E8F0;
  --soft: #F5F7FA;
  --soft-2: #EDF1F6;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(10, 24, 38, .10);
  --shadow-sm: 0 8px 20px rgba(10, 24, 38, .07);
  --container: 1240px;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: #26333F; background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--ink); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.6px; }
h2 { font-size: clamp(25px, 2.4vw, 36px); letter-spacing: -.3px; }
h3 { font-size: 20px; }
p { color: #45535F; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(242, 97, 44, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 97, 44, .34); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; white-space: nowrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-left svg { width: 14px; height: 14px; fill: var(--accent); flex: none; }
.topbar-left a { color: rgba(255,255,255,.85); }
.topbar-left a:hover { color: #fff; }
.topbar-right { font-size: 12px; letter-spacing: .4px; color: rgba(255,255,255,.55); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(10,24,38,.09); }
.site-header .container { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 19px; letter-spacing: 1.4px; color: var(--ink); font-weight: 700; }
.brand-text small { font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 11px;
  font-size: 14px; font-weight: 500; color: #26333F; border-radius: 8px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav > ul > li > a:hover { color: var(--accent); background: var(--soft); }
.main-nav svg { width: 13px; height: 13px; fill: currentColor; opacity: .6; }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a { display: block; padding: 10px 12px; font-size: 13.5px; color: #3A4855; border-radius: 7px; }
.sub-menu li a:hover { background: var(--soft); color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-phone span { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.header-phone strong { font-size: 16px; color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer::before { content: ''; position: absolute; inset: 0; background: rgba(10,24,38,.55); opacity: 0; transition: opacity .25s; }
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open::before { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; width: min(88vw, 380px); height: 100%;
  background: #fff; padding: 22px 24px 30px; overflow-y: auto;
  transform: translateX(102%); transition: transform .28s ease;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-close { border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); }
.drawer-nav { display: grid; gap: 4px; padding: 18px 0; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 11px 4px; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--soft-2); }
.drawer-nav a.sub { padding-left: 16px; font-size: 13.5px; color: var(--muted); }
.drawer-nav .count { font-size: 11px; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.drawer-cta { display: grid; gap: 10px; margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease; transform: scale(1.04);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,20,34,.93) 0%, rgba(8,20,34,.82) 42%, rgba(8,20,34,.35) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 90px 0 80px; }
.hero-content { max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 { color: #fff; margin: 24px 0 20px; font-size: clamp(34px, 4.6vw, 58px); }
.hero h1 em { font-style: normal; color: #FFB08C; }
.hero p { color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.72); }
.hero-meta svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }
.hero-controls { position: absolute; bottom: 34px; right: 34px; z-index: 3; display: flex; gap: 9px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; padding: 0; }
.hero-dot.active { background: var(--accent); border-color: var(--accent); }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 700; line-height: 1.1; color: #fff; }
.stat-num small { font-size: 13px; font-weight: 500; letter-spacing: .6px; color: rgba(255,255,255,.62); margin-left: 6px; }
.stat-label { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.tight { padding: 62px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 16px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-body { order: 1; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { margin-bottom: 16px; }
.badge-years {
  position: absolute; left: 22px; bottom: 22px; background: var(--accent); color: #fff;
  border-radius: 12px; padding: 16px 20px; box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.badge-years strong { display: block; font-size: 30px; line-height: 1; font-weight: 700; }
.badge-years span { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; opacity: .9; }

.check-list { display: grid; gap: 11px; margin: 18px 0 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: #3E4D5B; }
.check-list .ck {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(242,97,44,.12);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; margin-top: 3px;
}

/* ---------- product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: pcard; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: pcard; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .24s, box-shadow .24s, border-color .24s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #CFDBE7; }
.card .thumb { position: relative; overflow: hidden; background: var(--soft-2); }
.card .thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  min-width: 38px; height: 30px; padding: 0 10px; border-radius: 8px;
  background: rgba(14,42,71,.88); color: #fff; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; letter-spacing: .6px;
  counter-increment: pcard;
}
.card .thumb .tag::after { content: counter(pcard, decimal-leading-zero); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .body h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.35; }
.card .std { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.card .body p { font-size: 13.8px; line-height: 1.65; color: var(--muted); flex: 1; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--navy); }
.card .more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .2s; }
.card:hover .more { color: var(--accent); }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); margin-top: 10px; }
.step { padding: 30px 26px 6px 0; border-right: 1px solid rgba(255,255,255,.12); }
.step:last-child { border-right: 0; }
.sn { font-size: 11.5px; letter-spacing: 2px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.step p { font-size: 13.8px; line-height: 1.66; color: rgba(255,255,255,.66); }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy); }
.app img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .55s ease, opacity .3s; }
.app::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,34,.05) 30%, rgba(8,20,34,.86) 100%); }
.app:hover img { transform: scale(1.06); }
.app-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 24px 26px; z-index: 2; color: #fff; }
.app-body span { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: #FFB08C; }
.app-body h3 { color: #fff; font-size: 18px; margin: 8px 0 8px; }
.app-body p { color: rgba(255,255,255,.74); font-size: 13.5px; line-height: 1.6; }

/* ---------- certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.seal {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  border: 2px solid var(--accent); color: var(--accent); font-size: 10.5px; font-weight: 700;
  letter-spacing: .6px; line-height: 1.15; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.cert strong { display: block; font-size: 14.5px; color: var(--ink); }
.cert span { font-size: 12.5px; color: var(--muted); }

/* ---------- cta ---------- */
.cta-band { background: linear-gradient(115deg, #0B2340 0%, #14395C 58%, #1B4B77 100%); padding: 62px 0; color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px;
  border: 2px solid rgba(255,255,255,.08); border-radius: 50%;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); max-width: 640px; }
.cta-inner p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 600px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page banner ---------- */
.page-banner { position: relative; min-height: 330px; display: flex; align-items: center; background: var(--navy); overflow: hidden; }
.page-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,34,.92) 0%, rgba(8,20,34,.72) 60%, rgba(8,20,34,.45) 100%); }
.page-banner .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-banner h1 { color: #fff; margin: 12px 0 14px; }
.page-banner p { color: rgba(255,255,255,.76); max-width: 660px; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .6px; color: rgba(255,255,255,.62); }
.crumb a { color: rgba(255,255,255,.82); }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: .45; }

/* ---------- layouts ---------- */
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.rich-text { font-size: 16px; color: #40505F; }
.rich-text h2 { font-size: 26px; margin: 34px 0 14px; }
.rich-text h3 { font-size: 19px; margin: 26px 0 10px; }
.rich-text p { margin-bottom: 15px; }
.rich-text ul { margin: 0 0 18px; padding-left: 0; display: grid; gap: 9px; }
.rich-text ul li { display: flex; gap: 10px; font-size: 15px; }
.rich-text ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 10px; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 14px; }
.rich-text table th, .rich-text table td { border: 1px solid var(--line); padding: 11px 14px; vertical-align: top; }
.rich-text table th { background: var(--soft); text-align: left; color: var(--ink); font-weight: 600; width: 33%; }
.rich-text img { border-radius: 10px; margin: 12px 0; }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; transition: transform .24s, box-shadow .24s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature .num { position: absolute; top: 22px; right: 24px; font-size: 12px; letter-spacing: 1.4px; color: var(--line); font-weight: 700; }
.feature .ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(242,97,44,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ico svg { width: 20px; height: 20px; fill: var(--accent); }
.feature h3 { font-size: 19px; margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- sidebar ---------- */
.sidebar-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; margin-bottom: 22px; }
.sidebar-block h4 { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sidebar-nav { list-style: none; }
.sidebar-nav li { border-bottom: 1px solid var(--line); }
.sidebar-nav li:last-child { border-bottom: 0; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; font-size: 14px; color: var(--ink); transition: color .2s; }
.sidebar-nav a:hover { color: var(--accent); }
.sidebar-nav svg { width: 14px; height: 14px; fill: currentColor; opacity: .5; flex: none; }
.sidebar-contact { background: var(--navy); border-color: var(--navy); color: #fff; }
.sidebar-contact h4 { color: rgba(255,255,255,.6); }
.sidebar-contact p { color: rgba(255,255,255,.72); font-size: 13.5px; }
.sidebar-contact strong { display: block; margin-top: 10px; font-size: 17px; color: #fff; }
.sidebar-contact .btn { margin-top: 16px; }

/* ---------- shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.shop-layout.product-detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.sidebar { position: sticky; top: 104px; }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.shop-head h2 { font-size: 24px; }
.shop-head span { font-size: 12.5px; letter-spacing: 1px; color: var(--muted); }
.info-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-box { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 24px 26px; }
.info-box h4 { font-size: 16px; margin-bottom: 8px; }
.info-box p { font-size: 14px; color: var(--muted); }

/* ---------- product detail ---------- */
.detail-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-info h1 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.std-line { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.detail-info .lead { font-size: 16.5px; color: #3C4A57; }
.detail-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.kv { display: grid; }
.kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); flex: none; }
.kv strong { font-size: 14px; color: var(--ink); font-weight: 600; text-align: right; }
.qc-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14.5px; background: #fff; border-radius: 12px; overflow: hidden; }
.qc-table th, .qc-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.qc-table th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }
.qc-table td:first-child { font-weight: 600; color: var(--ink); width: 30%; }
.qc-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.contact-card .ci { width: 38px; height: 38px; border-radius: 9px; background: rgba(242,97,44,.1); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .ci svg { width: 18px; height: 18px; fill: var(--accent); }
.contact-card span { display: block; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-card strong { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--accent); }
.contact-form { background: var(--navy); border-radius: 16px; padding: 38px 34px; color: #fff; position: sticky; top: 104px; }
.contact-form h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.contact-form .form-sub { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.65; margin-bottom: 22px; }
.enquiry-form .field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; letter-spacing: .8px; color: var(--ink); margin-bottom: 7px; }
.contact-form .field label { color: rgba(255,255,255,.78); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.contact-form .field input, .contact-form .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.contact-form .field input::placeholder, .contact-form .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,97,44,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 11.5px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.contact-form .form-note { color: rgba(255,255,255,.44); }

/* ---------- footer ---------- */
.site-footer { background: #091B2C; color: rgba(255,255,255,.68); padding: 66px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 46px; padding-bottom: 50px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.75; margin-top: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--accent); background: rgba(242,97,44,.12); }
.footer-social svg { width: 17px; height: 17px; fill: rgba(255,255,255,.7); }
.footer-col h5 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-family: 'Poppins', sans-serif; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.66); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.footer-contact svg { width: 15px; height: 15px; fill: var(--accent); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.62); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================ responsive ============================ */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .topbar-right span:last-child { display: none; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .step { border-right: 0; padding-right: 16px; }
}

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-body { order: 2; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .shop-layout { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { position: static; }
  .detail-top { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { position: static; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .hero { min-height: 540px; }
}

@media (max-width: 760px) {
  .section { padding: 62px 0; }
  .hero-inner { padding: 64px 0 70px; }
  .hero-controls { bottom: 20px; right: 22px; }
  .hero-meta { gap: 14px; }
  .card-grid, .product-grid, .app-grid, .feature-grid, .certs, .info-strip, .contact-cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .topbar-right { display: none; }
  .topbar-left { flex-wrap: wrap; gap: 6px 16px; }
  .topbar-left span:nth-child(1) { display: none; }
  .topbar .container { justify-content: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .page-banner { min-height: 260px; }
  .page-banner .container { padding-top: 46px; padding-bottom: 46px; }
  .shop-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kv > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .kv strong { text-align: left; }
  .qc-table th, .qc-table td { padding: 11px 12px; font-size: 13px; }
  .rich-text table th { width: 40%; }
}
