/* ============================================================
   De Li Precision — Shared Stylesheet
   Design: Clean industrial (ju-shi.com inspired), navy+gold brand
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #12223d;
  --navy-mid:  #1a2e4a;
  --navy-deep: #0a1628;
  --gold:      #f0b429;
  --gold-dark: #c8971f;
  --white:     #ffffff;
  --bg-gray:   #f5f7fa;
  --line:      #e2e8f0;
  --text:      #1e2937;
  --muted:     #6b7280;
  --r:         6px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, '微軟正黑體', sans-serif; color: var(--text); line-height: 1.65; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.max { max-width: 1200px; margin: 0 auto; }

/* ── NAVIGATION ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: 38px; object-fit: contain; border-radius: 4px; }
.nav-brand .b-en { font-size: .98rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.nav-brand .b-zh { font-size: .62rem; color: rgba(255,255,255,.42); letter-spacing: .07em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: rgba(255,255,255,.72); font-size: .84rem; font-weight: 500; padding: 6px 11px; border-radius: 4px; transition: all .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.active { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.65); padding: 5px 13px; border-radius: 20px;
  font-size: .76rem; cursor: pointer; font-family: inherit; letter-spacing: .04em; transition: all .2s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy); padding: 7px 16px;
  border-radius: 4px; font-weight: 700; font-size: .83rem; white-space: nowrap; transition: background .2s;
}
.nav-cta:hover { background: var(--gold-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; display: block; }

/* Mobile menu */
.mob-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep); z-index: 199;
  flex-direction: column; padding: 16px 5% 40px; gap: 2px; overflow-y: auto;
}
.mob-menu.open { display: flex; }
.mob-menu a { color: rgba(255,255,255,.8); font-size: .98rem; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.mob-menu a.active { color: var(--gold); }
.mob-menu .lang-btn { margin-top: 14px; }
.mob-menu .nav-cta { margin-top: 8px; text-align: center; padding: 12px; border-radius: 5px; font-size: .95rem; display: block; }

/* ── HERO ── */
.hero { position: relative; height: 88vh; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,.92) 0%, rgba(18,34,61,.65) 50%, rgba(18,34,61,.18) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(240,180,41,.14); border: 1px solid rgba(240,180,41,.3); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.13; max-width: 700px; margin-bottom: 14px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.62); font-size: clamp(.88rem, 1.6vw, 1.05rem); margin-bottom: 20px; }
.hero-desc { color: rgba(255,255,255,.78); font-size: .94rem; max-width: 520px; line-height: 1.8; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-gold { background: var(--gold); color: var(--navy); padding: 12px 28px; border-radius: 5px; font-weight: 700; font-size: .89rem; display: inline-block; transition: all .2s; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; padding: 11px 24px; border-radius: 5px; font-weight: 600; font-size: .89rem; display: inline-block; transition: all .2s; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; padding: 11px 24px; border-radius: 5px; font-weight: 700; font-size: .87rem; display: inline-block; transition: background .2s; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline { border: 1.5px solid var(--line); color: var(--text); padding: 10px 22px; border-radius: 5px; font-weight: 600; font-size: .87rem; display: inline-block; transition: all .2s; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ── STATS BAR ── */
.statsbar { background: var(--navy-mid); }
.statsbar-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.sitem { text-align: center; padding: 22px 10px; border-right: 1px solid rgba(255,255,255,.09); }
.sitem:last-child { border-right: none; }
.sval { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.slabel { font-size: .72rem; color: rgba(255,255,255,.62); margin-top: 5px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); padding: 48px 5%; border-bottom: 3px solid var(--gold); }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.ph-crumb { font-size: .73rem; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.ph-crumb a { color: rgba(255,255,255,.45); }
.ph-crumb a:hover { color: var(--gold); }
.ph-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(240,180,41,.1); padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 6px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 580px; }

/* ── SECTION BASE ── */
section { padding: 70px 5%; }
section.gray { background: var(--bg-gray); }
section.navy { background: var(--navy); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); background: rgba(240,180,41,.1); padding: 4px 11px; border-radius: 3px; margin-bottom: 9px; }
.sec-title { font-size: clamp(1.35rem, 2.8vw, 1.95rem); font-weight: 800; color: var(--navy); }
.sec-title.light { color: #fff; }
.sec-zh { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.sec-zh.light { color: rgba(255,255,255,.45); }
.sec-desc { margin-top: 12px; color: var(--muted); max-width: 540px; margin-left: auto; margin-right: auto; font-size: .9rem; }

/* ── ABOUT GRID ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--r); overflow: hidden; position: relative; }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-badge { position: absolute; bottom: 18px; left: 18px; background: rgba(10,22,40,.92); color: #fff; padding: 12px 18px; border-radius: var(--r); border-left: 3px solid var(--gold); }
.about-badge strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.about-badge span { font-size: .72rem; color: rgba(255,255,255,.6); }
.about-text h2 { font-size: 1.55rem; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.about-text h2 small { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); margin-bottom: 14px; }
.about-text p { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.pill { background: var(--bg-gray); color: var(--navy); font-size: .78rem; font-weight: 600; padding: 5px 13px; border-radius: 20px; border: 1px solid var(--line); }
.pill.gold { background: rgba(240,180,41,.08); border-color: rgba(240,180,41,.28); color: #8a6300; }

/* ── PROCESS FLOW ── */
.flow { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; gap: 0; }
.fstep { flex: 1; min-width: 120px; max-width: 168px; text-align: center; padding: 0 8px; position: relative; }
.fstep:not(:last-child)::after { content: '›'; position: absolute; right: -6px; top: 24px; font-size: 1.7rem; color: var(--gold); font-weight: 300; }
.fnum { width: 52px; height: 52px; border-radius: 50%; background: rgba(240,180,41,.1); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 1.2rem; }
.fstep h4 { color: #fff; font-size: .84rem; font-weight: 700; margin-bottom: 4px; }
.fstep p { color: rgba(255,255,255,.45); font-size: .72rem; line-height: 1.5; }

/* ── CAPABILITY CARDS ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card { background: var(--white); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); border-top: 3px solid transparent; transition: all .22s; }
.cap-card:hover { border-top-color: var(--gold); box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.cap-ico { font-size: 2rem; margin-bottom: 12px; }
.cap-card h3 { font-size: .96rem; font-weight: 700; color: var(--navy); }
.cap-card h3 small { display: block; font-size: .73rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.cap-card p { font-size: .83rem; color: var(--muted); margin-top: 9px; line-height: 1.7; }
.cap-specs { margin-top: 12px; padding: 10px 12px; background: var(--bg-gray); border-radius: 4px; font-size: .77rem; display: flex; flex-direction: column; gap: 4px; }
.cap-specs span { color: var(--navy); font-weight: 600; }
.cap-specs small { color: var(--muted); }

/* ── INDUSTRY CARDS ── */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: all .22s; }
.ind-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.ind-img { height: 165px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.ind-img.c1 { background: linear-gradient(135deg, #163352, #0c1e35); }
.ind-img.c2 { background: linear-gradient(135deg, #1b3050, #0f1e30); }
.ind-img.c3 { background: linear-gradient(135deg, #17303d, #0c1e28); }
.ind-img.c4 { background: linear-gradient(135deg, #1e3145, #111e2d); }
.ind-img.c5 { background: linear-gradient(135deg, #182c38, #0e1c26); }
.ind-img.c6 { background: linear-gradient(135deg, #1b3050, #0f1e35); }
.ind-body { padding: 16px 18px; }
.ind-tag { font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ind-body h3 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.ind-body p { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.itag { font-size: .7rem; background: var(--bg-gray); padding: 2px 8px; border-radius: 3px; color: var(--navy); font-weight: 500; }

/* ── EQUIPMENT ── */
.eq-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; align-items: start; }
.eq-machines { display: flex; flex-direction: column; gap: 14px; }
.eq-card { background: var(--white); border-radius: var(--r); padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.eq-brand { font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.eq-card h4 { font-size: .94rem; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.eq-row { display: flex; gap: 7px; flex-wrap: wrap; }
.eq-spec { font-size: .75rem; background: var(--bg-gray); padding: 3px 9px; border-radius: 4px; color: var(--text); }
.eq-spec strong { color: var(--navy); font-weight: 700; }
.eq-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eq-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.eq-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.eq-photo:hover img { transform: scale(1.04); }
.eq-photo.tall { grid-row: span 2; aspect-ratio: unset; }
.eq-photo.tall img { height: 100%; }
.sw-bar { margin-top: 16px; background: var(--navy); border-radius: var(--r); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.sw-bar span { color: rgba(255,255,255,.55); font-size: .78rem; }
.sw-bar strong { color: var(--gold); font-size: .86rem; }

/* ── MATERIALS ── */
.mat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.mat-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.mat-box h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.mat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mtag { background: var(--bg-gray); border: 1px solid var(--line); font-size: .75rem; font-weight: 600; color: var(--navy); padding: 4px 9px; border-radius: 4px; }
.finish-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.finish-box h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.ftags { display: flex; flex-wrap: wrap; gap: 7px; }
.ftag { background: rgba(240,180,41,.08); border: 1px solid rgba(240,180,41,.25); color: #7a5800; font-size: .76rem; padding: 4px 11px; border-radius: 20px; }

/* ── CASES / GALLERY ── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: all .22s; background: var(--white); }
.case-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.case-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; position: relative; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-img .ph { font-size: 3rem; opacity: .2; }
.case-body { padding: 14px 16px; }
.case-tag { font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.case-body h3 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.case-body p { font-size: .79rem; color: var(--muted); line-height: 1.6; }
.case-specs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.cs { font-size: .7rem; background: var(--bg-gray); padding: 2px 7px; border-radius: 3px; color: var(--navy); font-weight: 500; }

/* ── WHY CARDS ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--white); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); transition: all .2s; }
.why-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.why-ico { font-size: 1.85rem; margin-bottom: 10px; }
.why-card h4 { font-size: .93rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.why-card h4 small { display: block; font-size: .71rem; font-weight: 400; color: var(--muted); }
.why-card p { font-size: .82rem; color: var(--muted); margin-top: 7px; line-height: 1.65; }

/* ── FACTORY GRID ── */
.fgrid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; max-width: 1200px; margin: 0 auto; }
.fgrid-main { grid-row: span 2; border-radius: var(--r); overflow: hidden; }
.fgrid-main img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.fgrid-sm { border-radius: var(--r); overflow: hidden; }
.fgrid-sm img { width: 100%; height: 180px; object-fit: cover; transition: opacity .2s; }
.fgrid-sm:hover img { opacity: .85; }
.fstats { max-width: 1200px; margin: 18px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fstat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 18px; text-align: center; }
.fstat-v { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.fstat-l { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--navy); padding: 60px 5%; text-align: center; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.58); font-size: .9rem; margin-bottom: 26px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-banner .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; max-width: 1080px; margin: 0 auto; }
.cinfo h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.cinfo h2 small { display: block; font-size: .84rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.cinfo > p { color: rgba(255,255,255,.58); font-size: .87rem; line-height: 1.75; margin-bottom: 24px; }
.cdetails { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cd { display: flex; align-items: flex-start; gap: 10px; }
.cd-ic { width: 33px; height: 33px; flex-shrink: 0; background: rgba(240,180,41,.13); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .88rem; }
.cd-txt strong { display: block; color: #fff; font-size: .83rem; font-weight: 600; }
.cd-txt span { color: rgba(255,255,255,.45); font-size: .79rem; }
.cbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 5px; font-size: .83rem; font-weight: 700; transition: all .2s; }
.cbtn-gold { background: var(--gold); color: var(--navy); }
.cbtn-gold:hover { background: var(--gold-dark); }
.cbtn-out { border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.cbtn-out:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.cform { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; padding: 28px; }
.cform h3 { color: #fff; font-size: .96rem; font-weight: 700; margin-bottom: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.fg { margin-bottom: 10px; }
.fg label { display: block; font-size: .74rem; color: rgba(255,255,255,.48); margin-bottom: 4px; }
.fg input, .fg select, .fg textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; padding: 9px 12px; color: #fff; font-size: .85rem; font-family: inherit; transition: border .2s; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.24); }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--gold); }
.fg select option { background: var(--navy); }
.fg textarea { min-height: 88px; resize: vertical; }
.fsub { width: 100%; background: var(--gold); color: var(--navy); border: none; padding: 11px; border-radius: 5px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s; font-family: inherit; }
.fsub:hover { background: var(--gold-dark); }
.fnote { font-size: .69rem; color: rgba(255,255,255,.28); text-align: center; margin-top: 7px; }

/* ── FOOTER ── */
footer { background: var(--navy-deep); padding: 28px 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid rgba(255,255,255,.05); }
.fl { display: flex; align-items: center; gap: 9px; }
.fl img { height: 26px; }
.fl span { color: rgba(255,255,255,.38); font-size: .74rem; }
.flinks { display: flex; gap: 16px; flex-wrap: wrap; }
.flinks a { color: rgba(255,255,255,.35); font-size: .74rem; transition: color .2s; }
.flinks a:hover { color: var(--gold); }
.fr { color: rgba(255,255,255,.24); font-size: .7rem; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid, .eq-grid { grid-template-columns: 1fr; }
  .about-img img { height: 280px; }
  .eq-photos { grid-template-columns: repeat(3, 1fr); }
  .eq-photo.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .eq-photo.tall img { height: 100%; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cap-grid, .ind-grid, .why-grid, .cases-grid { grid-template-columns: 1fr 1fr; }
  .statsbar-inner { grid-template-columns: repeat(3, 1fr); }
  .sitem:nth-child(3) { border-right: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid-main { grid-column: span 2; grid-row: span 1; }
  .fgrid-main img { min-height: 260px; }
  .fstats { grid-template-columns: repeat(2, 1fr); }
  .mat-grid { grid-template-columns: 1fr; }
  .fstep:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .cap-grid, .ind-grid, .why-grid, .cases-grid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .fgrid-main { grid-column: span 1; }
  .statsbar-inner { grid-template-columns: repeat(2, 1fr); }
  .sitem:nth-child(2) { border-right: none; }
  .sitem:nth-child(4) { border-right: none; }
  .hero-btns { flex-direction: column; }
}
