@import "tailwindcss";

:root {
  --blue: #0756c9;
  --blue-deep: #063786;
  --blue-night: #08254f;
  --blue-soft: #eaf2ff;
  --orange: #f59e0b;
  --ink: #10203b;
  --muted: #60708a;
  --paper: #f6f8fc;
  --line: #dce5f2;
  --white: #ffffff;
  --shadow: 0 24px 72px rgba(14, 43, 88, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(245, 158, 11, 0.75); outline-offset: 3px; }
.content-width { width: min(1420px, calc(100% - 11vw)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 110px; }

.topline { min-height: 34px; padding: 6px 5.5vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--blue-deep); color: #dce8ff; font-size: 12px; }
.topline > span { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #72a9ff; box-shadow: 0 0 0 5px rgba(114, 169, 255, 0.12); }
.top-contact { display: flex; align-items: center; gap: 12px; }
.top-contact a:hover { color: #fff; }

.header { height: 88px; padding: 0 5.5vw; position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 290px 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid rgba(220, 229, 242, 0.95); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); }
.brand { width: 265px; height: 72px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.main-nav { justify-self: center; height: 100%; display: flex; align-items: center; gap: clamp(18px, 2.1vw, 36px); }
.main-nav a { height: 100%; display: flex; align-items: center; position: relative; color: #40506a; font-size: 14px; font-weight: 650; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--blue); transition: 0.22s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { padding: 4px; display: flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 5px 18px rgba(11, 51, 111, 0.06); }
.language-switch button { min-width: 45px; min-height: 34px; padding: 6px 10px; border: 0; border-radius: 999px; background: transparent; color: #6a7890; font-size: 12px; cursor: pointer; }
.language-switch button.active { background: var(--blue); color: #fff; font-weight: 700; }
.nav-quote-button { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 4px; background: var(--orange); color: #1d2b41; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 24px rgba(245, 158, 11, 0.2); transition: 0.2s ease; }
.nav-quote-button span { font-size: 17px; transition: transform 0.2s ease; }
.nav-quote-button:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(245, 158, 11, 0.28); }
.nav-quote-button:hover span { transform: translateX(3px); }

.quick-rail { position: fixed; right: 18px; top: 50%; z-index: 45; transform: translateY(-50%); display: flex; flex-direction: column; gap: 7px; }
.quick-rail button { width: 46px; height: 44px; padding: 0; position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(7, 86, 201, 0.15); border-radius: 4px; background: rgba(255, 255, 255, 0.94); color: #6b7b92; cursor: pointer; box-shadow: 0 8px 26px rgba(12, 43, 87, 0.09); transition: 0.2s ease; }
.quick-rail button::before { content: ""; width: 3px; position: absolute; left: -1px; top: 10px; bottom: 10px; background: transparent; }
.quick-rail button:hover, .quick-rail button.active { color: #fff; border-color: var(--blue); background: var(--blue); transform: translateX(-4px); }
.quick-rail button.active::before { background: var(--orange); }
.rail-number { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.rail-label { width: max-content; max-width: 130px; padding: 8px 12px; position: absolute; right: 54px; border-radius: 3px; background: var(--blue-night); color: #fff; font-size: 12px; font-weight: 650; opacity: 0; pointer-events: none; transform: translateX(7px); transition: 0.18s ease; box-shadow: 0 8px 24px rgba(8, 37, 79, 0.22); }
.rail-label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: var(--blue-night); transform: translateY(-50%) rotate(45deg); }
.quick-rail button:hover .rail-label, .quick-rail button:focus-visible .rail-label { opacity: 1; transform: translateX(0); }

.hero { min-height: calc(100vh - 122px); padding: 60px 0 0; position: relative; overflow: hidden; background: linear-gradient(101deg, #fff 0%, #fff 48%, #f1f5fb 48%, #edf3fb 100%); }
.hero::before { content: ""; width: 560px; height: 560px; position: absolute; right: -150px; top: -250px; border: 1px solid rgba(7, 86, 201, 0.1); border-radius: 50%; box-shadow: 0 0 0 64px rgba(7, 86, 201, 0.025), 0 0 0 132px rgba(7, 86, 201, 0.017); }
.hero-content { display: grid; grid-template-columns: 47% 53%; gap: 44px; align-items: center; }
.hero-copy { padding: 24px 0 70px; position: relative; z-index: 2; }
.section-tag { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.13em; }
.section-tag i { width: 34px; height: 3px; display: block; background: var(--orange); }
.hero h1 { max-width: 680px; margin: 25px 0 21px; font-size: clamp(44px, 4.1vw, 66px); line-height: 1.12; letter-spacing: -0.055em; font-weight: 800; }
.lang-en .hero h1 { letter-spacing: -0.045em; }
.hero h1 span { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; height: 7px; position: absolute; left: 3px; right: 1px; bottom: -9px; border-radius: 5px; background: var(--orange); }
.hero-lead { max-width: 625px; margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-buttons, .contact-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { min-height: 52px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.button b { font-size: 17px; font-weight: 800; transition: transform 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover b { transform: translateX(3px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 13px 31px rgba(7, 86, 201, 0.25); }
.button-primary:hover { background: #064db2; box-shadow: 0 17px 37px rgba(7, 86, 201, 0.31); }
.button-secondary { border-color: #cbd7e7; background: #fff; color: #193354; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 11px 26px rgba(7, 86, 201, 0.1); }
.hero-proof { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 25px; color: #56667f; font-size: 13px; font-weight: 650; }
.hero-proof span { display: flex; align-items: center; gap: 8px; }
.hero-proof i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-style: normal; font-weight: 900; }
.hero-visual { height: 555px; position: relative; }
.image-outline { width: 88%; height: 465px; position: absolute; right: -16px; top: 0; border: 1px solid rgba(7, 86, 201, 0.24); }
.hero-image { width: 88%; height: 465px; position: absolute; right: 0; top: 18px; object-fit: cover; object-position: center; background: #edf2f8; box-shadow: var(--shadow); }
.drawing-card { width: 285px; padding: 23px 24px; position: absolute; left: 0; bottom: 8px; z-index: 2; border-top: 4px solid var(--orange); background: #fff; box-shadow: 0 18px 48px rgba(15, 42, 80, 0.18); }
.drawing-card small { display: block; margin-bottom: 10px; color: var(--blue); font-size: 12px; font-weight: 800; }
.drawing-card strong { font-size: 17px; line-height: 1.55; }
.ul-card { width: 232px; padding: 20px 22px; position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 15px; background: var(--blue); color: #fff; box-shadow: 0 18px 40px rgba(7, 60, 139, 0.28); }
.ul-card strong { font-size: 35px; letter-spacing: -0.05em; }
.ul-card span { color: #d8e7ff; font-size: 11px; line-height: 1.55; }
.metrics { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 48px rgba(21, 48, 88, 0.09); }
.metric { min-height: 118px; padding: 22px 28px; position: relative; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric > span { position: absolute; top: 17px; right: 18px; color: #b1bfd1; font-size: 10px; font-weight: 800; }
.metric strong { color: var(--blue); font-size: 28px; letter-spacing: -0.04em; }
.metric p { margin: 8px 0 0; color: #75849a; font-size: 12px; line-height: 1.45; }

.section-block { padding: 110px 0; }
.section-heading { margin-bottom: 43px; display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; }
.section-heading > div { max-width: 760px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(34px, 3.4vw, 49px); line-height: 1.22; letter-spacing: -0.04em; }
.section-lead { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.capabilities { background: var(--paper); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-card { min-height: 285px; padding: 31px; position: relative; overflow: hidden; border: 1px solid #e0e8f3; background: #fff; transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease; }
.capability-card::before { content: ""; width: 130px; height: 130px; position: absolute; right: -60px; top: -60px; border-radius: 50%; background: var(--blue-soft); transition: 0.25s ease; }
.capability-card:hover { transform: translateY(-7px); border-color: rgba(7, 86, 201, 0.28); box-shadow: 0 18px 42px rgba(14, 43, 88, 0.12); }
.capability-card:hover::before { transform: scale(1.25); }
.card-number { color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: 0.12em; }
.card-line { width: 34px; height: 2px; display: block; margin: 19px 0 45px; background: var(--blue); }
.capability-card h3 { margin: 0 0 13px; font-size: 20px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.card-arrow { position: absolute; right: 25px; bottom: 22px; color: #9cabc0; font-size: 18px; }

.products { position: relative; overflow: hidden; background: var(--blue-night); color: #fff; }
.products::before { content: ""; width: 620px; height: 620px; position: absolute; right: -220px; top: -260px; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 170px rgba(255,255,255,.012); }
.section-heading.light .section-tag { color: #a9c9ff; }
.section-heading.light .section-lead { color: #b7c6dc; }
.product-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 320px 292px; gap: 18px; }
.product-card { margin: 0; position: relative; overflow: hidden; background: #17345e; min-height: 292px; }
.product-1 { grid-row: 1 / 3; }
.product-4 { grid-column: 2 / 4; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 25, 56, 0.88), rgba(5, 25, 56, 0.14) 48%, rgba(5, 25, 56, 0.02) 68%); }
.product-card:hover img { transform: scale(1.035); }
.product-card figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; align-items: flex-start; gap: 14px; }
.product-card figcaption > span { width: 29px; height: 29px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.44); color: #fff; font-size: 10px; }
.product-card h3 { margin: 0 0 5px; font-size: 17px; }
.product-card p { margin: 0; color: #c8d5e7; font-size: 11px; }
.product-open { position: absolute; right: 18px; top: 18px; z-index: 2; min-width: 88px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(4, 20, 44, 0.48); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.product-card:hover .product-open, .product-card:focus-within .product-open { opacity: 1; transform: translateY(0); }
.product-open:hover { background: rgba(7, 86, 201, 0.8); border-color: rgba(255,255,255,.44); }
.product-gallery-shell { margin-top: 28px; padding: 30px; position: relative; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.045); backdrop-filter: blur(4px); }
.product-gallery-copy { max-width: 720px; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 15px 24px; }
.product-gallery-copy h3 { margin: 0; font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -0.03em; }
.product-gallery-copy p { max-width: 580px; margin: 0; color: #c0cfe4; font-size: 13px; line-height: 1.75; }
.product-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-card { margin: 0; display: grid; gap: 12px; }
.gallery-figure { min-width: 0; padding: 0; position: relative; border: 0; background: #10294f; color: inherit; text-align: left; cursor: pointer; overflow: hidden; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15); }
.gallery-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.42s ease; }
.gallery-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 16, 39, 0.62), rgba(3, 16, 39, 0.05) 44%, rgba(3, 16, 39, 0.02) 68%); opacity: 0.84; transition: opacity 0.2s ease; }
.gallery-view { position: absolute; left: 14px; bottom: 14px; z-index: 2; min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(7, 33, 71, 0.7); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.gallery-figure:hover img, .gallery-figure:focus-visible img { transform: scale(1.05); }
.gallery-figure:hover::after, .gallery-figure:focus-visible::after { opacity: 0.62; }
.gallery-card figcaption { display: grid; gap: 4px; }
.gallery-card strong { font-size: 14px; line-height: 1.45; }
.gallery-card span { color: #b8c8df; font-size: 11px; line-height: 1.6; }
.product-lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 32px; background: rgba(3, 13, 28, 0.82); }
.product-lightbox[hidden] { display: none; }
.product-lightbox-dialog { max-width: min(1120px, calc(100vw - 96px)); max-height: calc(100vh - 120px); display: grid; gap: 14px; }
.product-lightbox-image { max-width: 100%; max-height: calc(100vh - 180px); background: #fff; box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3); object-fit: contain; }
.product-lightbox-caption { margin: 0; color: #eff5ff; font-size: 14px; text-align: center; }
.product-lightbox-close { position: absolute; right: 24px; top: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.product-lightbox-close:hover { background: rgba(255,255,255,.24); }

.process { background: #fff; }
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); }
.process-step { padding-right: 24px; }
.step-top { height: 44px; display: flex; align-items: center; }
.step-top span { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 10px 24px rgba(7, 86, 201, 0.22); }
.step-top i { height: 1px; flex: 1; background: linear-gradient(to right, rgba(7,86,201,.45), rgba(7,86,201,.08)); }
.process-step h3 { margin: 28px 0 11px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.process-cta { margin-top: 55px; padding: 25px 29px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-left: 4px solid var(--orange); background: var(--paper); }
.process-cta > div { display: flex; flex-direction: column; gap: 6px; }
.process-cta strong { font-size: 19px; }
.process-cta span { color: var(--muted); font-size: 13px; }

.quality { background: var(--paper); }
.quality-layout { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 90px; align-items: center; }
.quality-copy .section-heading { display: block; margin-bottom: 27px; }
.quality-copy .section-lead { margin-top: 25px; }
.scope-note { padding: 17px 18px; display: flex; gap: 13px; align-items: flex-start; border: 1px solid #f1d59a; background: #fffaf0; }
.scope-note > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 850; }
.scope-note p { margin: 1px 0 0; color: #675937; font-size: 12px; line-height: 1.7; }
.quality-list { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 55px rgba(14, 43, 88, 0.08); }
.quality-list article { padding: 27px 29px; display: flex; align-items: flex-start; gap: 22px; border-bottom: 1px solid var(--line); }
.quality-list article:last-child { border-bottom: 0; }
.quality-list article > span { color: var(--orange); font-size: 11px; font-weight: 850; }
.quality-list h3 { margin: 0 0 9px; font-size: 18px; }
.quality-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.about { background: #fff; }
.about-layout { display: grid; grid-template-columns: 1fr 0.92fr; gap: 95px; align-items: center; }
.about-images { min-height: 560px; position: relative; }
.about-main { width: 82%; height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.about-small { width: 47%; height: 225px; position: absolute; right: 0; bottom: 0; object-fit: cover; border: 10px solid #fff; box-shadow: 0 16px 40px rgba(14, 43, 88, 0.15); }
.about-stamp { width: 142px; height: 142px; position: absolute; left: 35px; bottom: 7px; display: grid; place-items: center; align-content: center; background: var(--blue); color: #fff; font-size: 32px; font-weight: 850; box-shadow: 0 16px 40px rgba(7, 86, 201, 0.27); }
.about-stamp small { display: block; margin-top: 6px; color: #d5e5ff; font-size: 10px; letter-spacing: 0.1em; }
.about-copy .section-heading { display: block; margin-bottom: 35px; }
.about-copy .section-lead { max-width: none; margin-top: 25px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.about-facts span { min-height: 54px; padding: 0 15px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); color: #31425c; font-size: 13px; font-weight: 650; }
.about-facts b { color: var(--orange); font-size: 10px; }

.contact { padding: 25px 0 90px; background: #fff; }
.contact-panel { min-height: 535px; padding: 70px 7%; display: grid; grid-template-columns: 1fr 345px; gap: 90px; align-items: center; position: relative; overflow: hidden; background: var(--blue-deep); color: #fff; box-shadow: 0 28px 80px rgba(6, 55, 134, 0.19); }
.contact-panel::before { content: ""; width: 540px; height: 540px; position: absolute; right: -170px; top: -210px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.contact-copy { position: relative; z-index: 2; }
.section-tag-light { color: #bcd6ff; }
.contact-copy h2 { max-width: 750px; margin: 17px 0 18px; font-size: clamp(35px, 3.7vw, 53px); line-height: 1.22; letter-spacing: -0.045em; }
.contact-copy > p:not(.section-tag) { max-width: 690px; margin: 0 0 28px; color: #c9d9f2; font-size: 15px; line-height: 1.8; }
.button-white { background: #fff; color: var(--blue-deep); box-shadow: 0 14px 33px rgba(0,0,0,.15); }
.button-white b { font-size: 13px; }
.button-outline-light { border-color: rgba(255,255,255,.42); color: #fff; background: transparent; }
.button-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.contact-details { margin: 38px 0 0; display: grid; gap: 11px; }
.contact-details > div { display: grid; grid-template-columns: 82px 1fr; gap: 15px; }
.contact-details dt { color: #9dbbea; font-size: 12px; }
.contact-details dd { margin: 0; color: #f4f8ff; font-size: 13px; line-height: 1.6; }
.qr-card { width: 310px; padding: 23px; position: relative; z-index: 2; justify-self: end; display: flex; flex-direction: column; align-items: center; background: #fff; color: var(--ink); box-shadow: 0 22px 55px rgba(1, 20, 51, 0.25); }
.qr-card img { width: 264px; height: 264px; }
.qr-card strong { margin-top: 17px; font-size: 16px; }
.qr-card span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.qr-en { display: none; }
.site.lang-en .qr-zh { display: none; }
.site.lang-en .qr-en { display: grid; }
.social-qr-grid { width: 420px; position: relative; z-index: 2; justify-self: end; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social-qr-card { min-width: 0; padding: 14px 10px 16px; display: flex; flex-direction: column; align-items: center; background: #fff; color: var(--ink); box-shadow: 0 18px 45px rgba(1, 20, 51, 0.22); }
.social-qr-visual { width: 178px; height: 178px; position: relative; overflow: hidden; background: #fff; }
.social-qr-visual img { max-width: none; position: absolute; }
.whatsapp-qr img { width: 132.6%; left: -15.2%; top: -24.7%; }
.messenger-qr { background: #000; }
.messenger-qr img { width: 304px; left: -55px; top: -40px; }
.social-qr-card strong { margin-top: 13px; font-size: 15px; }
.social-qr-card span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.site.lang-en .contact-panel { grid-template-columns: minmax(0, 1fr) 420px; gap: 55px; }

.footer { padding: 25px 0 92px; background: #071c3b; color: #9fb2cf; font-size: 12px; }
.footer > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer button { border: 0; background: transparent; color: #d8e5f8; cursor: pointer; }
.footer button:hover { color: #fff; }
.mobile-quick-nav { display: none; }

@media (max-width: 1240px) {
  .header { grid-template-columns: 245px 1fr auto; padding-inline: 3.5vw; gap: 18px; }
  .brand { width: 225px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 13px; }
  .nav-quote-button { display: none; }
  .content-width { width: min(1180px, calc(100% - 7vw)); }
  .quick-rail { right: 10px; }
}

@media (max-width: 1020px) {
  .topline { display: none; }
  .header { height: 76px; top: 0; grid-template-columns: 230px 1fr; }
  .main-nav { display: none; }
  .header-actions { justify-self: end; }
  .quick-rail { display: none; }
  .section-anchor { scroll-margin-top: 74px; }
  .hero { min-height: auto; padding-top: 45px; background: #fff; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 5px; }
  .hero-visual { height: 510px; }
  .image-outline, .hero-image { width: 94%; }
  .metrics { grid-template-columns: 1fr 1fr; margin-top: 25px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 300px 300px; }
  .product-1 { grid-column: 1 / 3; grid-row: auto; }
  .product-4 { grid-column: auto; }
  .product-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-track { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
  .process-step:last-child { grid-column: 1 / 3; }
  .quality-layout, .about-layout { grid-template-columns: 1fr; gap: 55px; }
  .about-copy { order: -1; }
  .contact-panel { grid-template-columns: 1fr 290px; gap: 45px; padding: 60px 5%; }
  .qr-card { width: 280px; }
  .qr-card img { width: 235px; height: 235px; }
  .site.lang-en .contact-panel { grid-template-columns: minmax(0, 1fr) 370px; gap: 35px; }
  .social-qr-grid { width: 370px; }
  .social-qr-visual { width: 153px; height: 153px; }
  .messenger-qr img { width: 262px; left: -47px; top: -35px; }
}

@media (max-width: 720px) {
  .content-width { width: calc(100% - 32px); }
  .header { padding: 0 16px; grid-template-columns: minmax(0, 1fr) auto; }
  .brand { width: 205px; height: 64px; }
  .language-switch button { min-width: 40px; padding-inline: 8px; }
  .section-block { padding: 78px 0; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 42px; line-height: 1.18; }
  .lang-en .hero h1 { font-size: 39px; }
  .hero h1 span { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-buttons .button { flex: 1; padding-inline: 16px; }
  .hero-proof { gap: 14px; font-size: 12px; }
  .hero-visual { height: 390px; margin-top: 14px; }
  .image-outline { right: -7px; top: 0; height: 315px; }
  .hero-image { height: 315px; top: 11px; }
  .drawing-card { left: 0; bottom: 0; width: 230px; padding: 17px 18px; }
  .drawing-card strong { font-size: 14px; }
  .ul-card { width: 155px; right: 0; bottom: 8px; padding: 13px; gap: 9px; }
  .ul-card strong { font-size: 27px; }
  .ul-card span { font-size: 9px; }
  .metrics { width: calc(100% - 32px); }
  .metric { min-height: 105px; padding: 19px; }
  .metric strong { font-size: 23px; }
  .section-heading { display: block; margin-bottom: 31px; }
  .section-heading h2 { font-size: 33px; }
  .section-lead { margin-top: 18px; font-size: 14px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 240px; }
  .card-line { margin-bottom: 32px; }
  .product-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 300px); }
  .product-1, .product-4 { grid-column: auto; grid-row: auto; }
  .product-open { opacity: 1; transform: translateY(0); }
  .product-gallery-shell { padding: 22px 18px; }
  .product-gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-lightbox { padding: 20px; }
  .product-lightbox-dialog { max-width: calc(100vw - 40px); }
  .product-lightbox-image { max-height: calc(100vh - 160px); }
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .process-step, .process-step:last-child { grid-column: auto; padding-right: 0; }
  .process-step:not(:last-child) .step-top i { display: block; }
  .process-cta { align-items: stretch; flex-direction: column; }
  .process-cta .button { width: 100%; }
  .quality-layout { gap: 35px; }
  .quality-list article { padding: 23px 21px; }
  .about-images { min-height: 410px; }
  .about-main { width: 92%; height: 340px; }
  .about-small { height: 170px; }
  .about-stamp { width: 105px; height: 105px; left: 13px; font-size: 25px; }
  .contact { padding-bottom: 30px; }
  .contact-panel { width: 100%; padding: 55px 24px; grid-template-columns: 1fr; gap: 42px; }
  .contact-copy h2 { font-size: 35px; }
  .contact-buttons { align-items: stretch; flex-direction: column; }
  .contact-buttons .button { width: 100%; }
  .contact-details > div { grid-template-columns: 64px 1fr; }
  .qr-card { width: 100%; max-width: 310px; justify-self: center; }
  .site.lang-en .contact-panel { grid-template-columns: 1fr; gap: 42px; }
  .social-qr-grid { width: 100%; max-width: 420px; justify-self: center; }
  .social-qr-visual { width: min(38vw, 160px); height: min(38vw, 160px); }
  .messenger-qr img { width: min(68.5vw, 289px); left: max(-12.4vw, -52px); top: max(-9.5vw, -40px); }
  .footer { padding-bottom: 95px; }
  .footer > div { align-items: flex-start; flex-direction: column; }
  .mobile-quick-nav { height: 66px; padding: 8px 9px calc(8px + env(safe-area-inset-bottom)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 0.9fr 0.9fr 0.8fr 1.55fr; gap: 6px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(15px); box-shadow: 0 -10px 34px rgba(12, 43, 87, 0.1); }
  .mobile-quick-nav button, .mobile-quick-nav a { min-width: 0; padding: 0 6px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--paper); color: #41516a; font-size: 11px; font-weight: 700; cursor: pointer; }
  .mobile-quick-nav .primary { background: var(--blue); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
