:root {
  color-scheme: light;
  --ink: #132b4a;
  --deep: #102744;
  --muted: #50627a;
  --paper: #ffffff;
  --accent: #bdd4ff;
  --line: #dae3ef;
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1456c5; outline-offset: 4px; }
.contact :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 5; padding: .75rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 5.5rem; }
.header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 3px 22px #1027440d; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.75rem; gap: 1rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; color: var(--ink); line-height: 1; font-size: 1.1rem; font-weight: 760; letter-spacing: -.045em; }
.brand img { width: 39px; height: 39px; flex: none; }
.brand small { display: block; margin-top: .32rem; font-size: .61rem; letter-spacing: .19em; font-weight: 700; }
.nav, .header-actions { display: flex; align-items: center; }
.nav .nav-contact { display: none; }
.nav { gap: clamp(1.35rem, 2.6vw, 2.8rem); font-weight: 640; font-size: .9rem; }
.nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: .28em; }
.header-actions { justify-content: flex-end; gap: .8rem; }
.languages { position: relative; flex: none; }
.language-toggle { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; min-height: 2.55rem; padding: .35rem .6rem; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: .5rem; white-space: nowrap; font-size: .875rem; font-weight: 680; }
.language-toggle:hover, .language-toggle[aria-expanded="true"] { background: #f0f5ff; border-color: #b9ceef; }
.language-toggle svg { flex: none; stroke: currentColor; stroke-width: 1.65; fill: none; }
.language-globe { width: 1.05rem; }
.language-chevron { width: .7rem; }
.language-toggle[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; z-index: 2; inset-inline-end: 0; top: calc(100% + .55rem); min-width: 10.5rem; padding: .35rem; background: white; border: 1px solid var(--line); border-radius: .65rem; box-shadow: 0 .8rem 2rem #132b4a24; }
.language-options button { display: block; width: 100%; min-height: 2.65rem; padding: .5rem .65rem; border: 0; border-radius: .35rem; background: transparent; color: var(--ink); font-size: .9rem; text-align: start; }
.language-options button:hover { background: #f0f5ff; }
.language-options [aria-pressed="true"] { color: #1456c5; background: #eaf1fe; font-weight: 720; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.05rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .36rem; font-size: .94rem; font-weight: 710; line-height: 1.25; transition: background-color .15s, border-color .15s; text-align: center; }
.header .button { min-height: 2.55rem; padding-inline: .95rem; white-space: nowrap; }
.button-dark { color: white; background: var(--deep); }
.button-dark:hover { background: #233f65; }
.button-accent { color: #102744; background: var(--accent); }
.button-accent:hover { background: #d7e5ff; }
.button-outline { color: var(--ink); border-color: #b5c7e1; }
.button-outline:hover { background: #e4edfc; border-color: #92afd7; }
.hero .button-accent { color: #102744; background: #e3eeff; }
.hero .button-accent:hover { background: white; }
.hero .button-outline { color: white; border-color: #9eb4cf; background: #0c203946; }
.hero .button-outline:hover { background: #23436b; }
.hero :focus-visible { outline-color: #c7ddff; }
.menu-toggle { display: none; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: .4rem; min-width: 2.65rem; min-height: 2.65rem; padding: .45rem; }
.menu-toggle svg { display: block; width: 1.5rem; stroke: currentColor; stroke-width: 1.6; fill: none; }

.hero { position: relative; isolation: isolate; color: white; background: #0c2039; }
.hero-inner { min-height: clamp(33rem, 43vw, 41rem); display: grid; align-items: center; padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.hero-copy { z-index: 1; max-width: min(42rem, 61%); }
.hero-image { position: absolute; inset: 0 0 0 35%; z-index: -1; background: #24374d url("media/workshop.jpg") 58% 48% / cover no-repeat; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c2039 0%, #0c2039dc 14%, #0c203962 48%, #0a182520 100%); }
.hero .eyebrow { color: #a9ceff; }
.hero .eyebrow::before { background: #72b1ff; }
.hero h1 { max-width: 14ch; text-wrap: balance; }
:lang(zh-CN) .hero h1 { max-width: 9em; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-size: .875rem; font-weight: 750; letter-spacing: .13em; line-height: 1.45; }
.eyebrow::before { content: ""; width: 1.7rem; height: 2px; flex: none; background: #1a55b7; }
.services .eyebrow, .contact .eyebrow { color: var(--accent); }
.services .eyebrow::before, .contact .eyebrow::before { background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.45rem; font-size: clamp(3rem, 5.55vw, 5.8rem); line-height: 1.02; font-weight: 760; letter-spacing: -.064em; }
h1 span, h1 em { display: block; }
h1 em { color: #1456c5; font-style: normal; }
.hero-description { max-width: 34rem; margin-bottom: 1.9rem; color: #d8e5f5; font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.pillars { background: #edf3fb; border-bottom: 1px solid var(--line); }
.pillars-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: .75rem; }
.pillar { display: flex; align-items: center; gap: .95rem; padding: .85rem clamp(.8rem, 2vw, 2rem); }
.pillar:first-child { padding-left: 0; }
.pillar:hover strong { color: #1456c5; text-decoration: underline; text-underline-offset: .2em; }
.pillar + .pillar { border-left: 1px solid #d7e1ee; }
.pillar strong, .pillar span { display: block; line-height: 1.4; }
.pillar strong { font-size: .99rem; }
.pillar span { color: var(--muted); font-size: .875rem; margin-top: .15rem; }
.section { padding-block: clamp(3.8rem, 7vw, 7rem); }
.section h2 { font-size: clamp(2.2rem, 4.3vw, 4.3rem); font-weight: 750; line-height: 1.07; letter-spacing: -.06em; margin-bottom: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem); gap: 1.4rem 2.3rem; align-items: end; margin-bottom: 2rem; }
.section-head > p, .about-grid > div > p:not(.eyebrow) { margin-bottom: .2rem; color: var(--muted); font-size: 1.05rem; }
.services { color: white; background: var(--deep); }
.about { background: #f1f5fc; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 7vw, 7rem); align-items: center; }
.contact { color: white; background: #163052; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem clamp(2rem, 7vw, 7rem); }
.contact-intro { color: #deebfb; max-width: 28rem; margin: 1.15rem 0 0; font-size: 1.06rem; }
.inquiry-fields { display: grid; gap: .95rem; min-width: 0; padding: 0; margin: 0; border: 0; }
.inquiry button:disabled { cursor: wait; opacity: .65; }
.inquiry-status { margin: 1rem 0 0; padding: .7rem .85rem; border-radius: .35rem; color: #143b72; background: #edf3fb; }
.inquiry-status:empty { margin: 0; padding: 0; }
.inquiry-status[data-state="inquirySent"] { color: #14563c; background: #e8f6ef; }
.inquiry-status[data-state="inquiryFailed"], .inquiry-status[data-state="inquiryInvalid"], .inquiry-status[data-state="inquiryLimited"] { color: #8a351c; background: #fff0e9; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.inquiry label { min-width: 0; display: grid; align-content: start; gap: .28rem; font-size: .91rem; font-weight: 650; }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; min-width: 0; min-height: 2.85rem; padding: .65rem .75rem; border: 1px solid #8a9cb2; border-radius: .35rem; background: #f7faff; color: var(--ink); font-size: 1rem; font-weight: 450; }
.inquiry select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #2b4665 50%), linear-gradient(135deg, #2b4665 50%, transparent 50%); background-position: calc(100% - 1rem) 1.2em, calc(100% - .7rem) 1.2em; background-size: .3rem .3rem; background-repeat: no-repeat; }
.inquiry textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.footer { background: #0c2039; color: #d4dfed; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6rem; padding-block: 1.15rem; }
.footer .brand { color: white; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.whatsapp-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .25rem .6rem; width: fit-content; font-weight: 700; }
.whatsapp-link span { white-space: nowrap; font-weight: 500; }
.whatsapp-link:hover, .email-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer .whatsapp-link { color: #c1f1da; font-size: .875rem; }
.email-link { color: #deebfb; overflow-wrap: anywhere; }
.footer .email-link { font-size: .875rem; }
.footer p, .back-top { font-size: .88rem; margin: 0; }
.back-top { font-weight: 700; }
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3 { letter-spacing: -.035em; }
:lang(zh-CN) h1 { line-height: 1.11; }
:lang(zh-CN) .eyebrow { letter-spacing: .12em; }

@media (max-width: 850px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 4.25rem; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; align-items: stretch; flex-direction: column; gap: 0; padding: .65rem var(--gutter) .9rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav .nav-contact { display: block; }
  .nav a { padding: .68rem .1rem; }
  .hero-copy { max-width: 68%; }
}
@media (max-width: 640px) {
  .hero-inner { min-height: 0; gap: 1.75rem; padding-block: 2.5rem 1.25rem; }
  .hero-copy { max-width: 100%; }
  .hero-image { position: relative; inset: auto; aspect-ratio: 1.66; border-radius: .65rem; }
  .hero-image::after { background: linear-gradient(0deg, #0c203931, transparent 55%); }
  h1 { font-size: clamp(2.55rem, 10.2vw, 4.15rem); }
  .hero-description { max-width: 22rem; }
  .pillars-inner { grid-template-columns: 1fr; padding-block: .45rem; }
  .pillar, .pillar:first-child { padding: .65rem 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid #d7e1ee; }
  .section-head { gap: .75rem; }
  .footer-inner { justify-content: flex-start; }
  .footer p { flex-basis: 100%; order: 3; }
  .back-top { margin-left: auto; }
}
@media (max-width: 375px) {
  .header-inner { gap: .35rem; }
  .header-actions { gap: .4rem; }
  .brand { font-size: 1rem; gap: .45rem; }
  .language-globe { display: none; }
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.nav [aria-current="page"] { color: #1456c5; text-decoration: underline; text-underline-offset: .35em; }
.overview h2 { font-size: clamp(2rem, 3.1vw, 3rem); margin-bottom: 1.5rem; }
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.65rem); }
.overview-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .8rem; scroll-margin-top: 6rem; transition: box-shadow .2s, border-color .2s; }
.overview-card:hover { border-color: #adc5ed; box-shadow: 0 .55rem 1.6rem #132b4a14; }
.overview-card > img { aspect-ratio: 1.8; object-fit: cover; }
.overview-card[href*="services.html"] > img { object-fit: contain; background: #e8edf6; }
.overview-copy { padding: clamp(1rem, 2vw, 1.5rem); }
.overview-card h3 { margin-bottom: .35rem; font-size: 1.4rem; }
.overview-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.overview-card p { color: var(--muted); margin-bottom: 0; }
.interior h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.07; letter-spacing: -.06em; margin-bottom: 0; }
@media (max-width: 640px) {
  .overview-grid, .section-head, .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

.contact-summary h2 { max-width: 18ch; text-wrap: balance; }
.contact-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.contact-channels { background: #f1f5fc; }
.contact-channels p { color: var(--muted); margin: 1rem 0 0; font-size: 1.075rem; }
.channel-grid { display: grid; gap: .8rem; align-self: center; }
.channel { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; padding: 1rem 1.2rem; background: white; border: 1px solid var(--line); border-radius: .7rem; }
.channel span { color: #1456c5; overflow-wrap: anywhere; }
a.channel:hover { border-color: #adc5ed; }
a.channel:hover span { text-decoration: underline; text-underline-offset: .2em; }
#inquiry { scroll-margin-top: 6rem; }

.whatsapp-channel { align-items: center; }
.whatsapp-channel a { display: block; color: #1456c5; white-space: nowrap; }
.whatsapp-channel a:hover { text-decoration: underline; text-underline-offset: .2em; }
.whatsapp-channel figure { margin: 0; text-align: center; }
.qr-frame { width: 10rem; max-width: 100%; aspect-ratio: 1; margin-inline: auto; background: white; }
.qr-frame img { width: 100%; height: auto; }
.whatsapp-channel figcaption { color: var(--muted); font-size: .875rem; }
@media (max-width: 440px) {
  .whatsapp-channel { flex-direction: column; align-items: flex-start; }
  .whatsapp-channel figure { align-self: center; }
}

.catalog-layout { display: grid; grid-template-columns: minmax(12rem, .31fr) minmax(0, 1fr); gap: clamp(1.3rem, 3.5vw, 3.5rem); align-items: start; }
.catalog-sidebar { position: sticky; top: 6rem; padding: .9rem; background: #f0f5fc; border: 1px solid var(--line); border-radius: .7rem; }
.catalog-search { display: grid; gap: .4rem; padding: .2rem .25rem .85rem; }
.catalog-search label { font-weight: 720; }
.catalog-search input { width: 100%; min-height: 2.8rem; padding: .55rem .65rem; border: 1px solid #aabbd1; border-radius: .35rem; color: var(--ink); background: white; }
.catalog-nav { display: grid; gap: .15rem; }
.catalog-nav a { padding: .55rem .65rem; border-radius: .3rem; color: #174c9d; font-weight: 660; font-size: .9rem; }
.catalog-nav a:hover { background: #e1ebfa; }
.catalog-group { padding: clamp(1.15rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: .65rem; background: white; }
.catalog-group + .catalog-group { margin-top: 1rem; }
.catalog-empty { padding: 1.2rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--muted); }
.catalog-group h2, .system-card h2 { font-size: clamp(1.45rem, 2.55vw, 2.25rem); letter-spacing: -.035em; }
.catalog-group > p { color: var(--muted); margin: .65rem 0 1rem; }
.catalog-details { padding-block: .8rem; margin-bottom: 1rem; border-block: 1px solid var(--line); }
.catalog-details summary { width: fit-content; cursor: pointer; color: #1456c5; font-weight: 700; }
.catalog-details ul { display: grid; gap: .5rem; margin: .8rem 0 .3rem; padding: 0; list-style: none; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.system-card { border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; background: white; }
.system-card > img { height: clamp(12rem, 23vw, 22rem); object-fit: contain; background: #e8edf6; border-bottom: 1px solid var(--line); }
.system-card > div { padding: clamp(1rem, 2vw, 1.55rem); }
.system-card p, .about-grid .about-intro { margin: .8rem 0; color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; align-items: center; }
.support-grid .button { margin-top: 1rem; }
.support-grid ul, .feature-list { display: grid; gap: .45rem; margin-bottom: 0; padding-inline-start: 1.25rem; }
.about-factory { border-radius: .8rem; }
@media (max-width: 640px) {
  .system-grid, .support-grid { grid-template-columns: 1fr; }
}

.solutions { background: #f4f7fc; }
.interior .products { background: #f8fafd; }
.interior .contact { background: #eef3fa; color: var(--ink); }
.interior .contact .eyebrow { color: #1456c5; }
.interior .contact .eyebrow::before { background: #1456c5; }
.interior .contact-intro { color: var(--muted); }
.interior .inquiry { padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: .7rem; background: white; }
.interior .inquiry input, .interior .inquiry select, .interior .inquiry textarea { border-color: #aabbd1; }
.interior .inquiry .button-accent { background: #1456c5; color: white; }
.interior .inquiry .button-accent:hover { background: #103f92; }
.interior .contact :focus-visible { outline-color: #1456c5; }
#solutions-title, #about-title { scroll-margin-top: 6rem; }
@media (max-width: 760px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 1rem; }
  .catalog-sidebar { position: static; }
  .catalog-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
  .catalog-nav a { padding-block: .4rem; }
}

.equipment-detail { border: 1px solid var(--line); border-radius: .5rem; background: #f8fafd; }
.equipment-detail > summary, .model-specs > summary { cursor: pointer; padding: .65rem .8rem; color: #174c9d; font-weight: 650; }
.equipment-detail > summary:hover, .model-specs > summary:hover { background: #edf3fb; }
.equipment-detail[open] > summary { border-bottom: 1px solid var(--line); }
.machine { display: grid; align-items: center; gap: .75rem 1.15rem; padding: clamp(.85rem, 2.4vw, 1.3rem); background: white; }
.machine + .machine { border-top: 1px solid var(--line); }
.machine.has-photo { grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr); }
.machine > img { width: 100%; max-height: 9rem; aspect-ratio: 1.2; object-fit: contain; background: white; }
.machine h3 { margin: 0 0 .3rem; line-height: 1.28; font-size: 1.13rem; }
.machine p { color: var(--muted); margin: 0; }
.model-specs { grid-column: 1 / -1; min-width: 0; border: 1px solid var(--line); border-radius: .35rem; }
.table-scroll { max-height: 24rem; overflow: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
.table-scroll table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.table-scroll th, .table-scroll td { padding: .5rem .7rem; white-space: nowrap; text-align: start; border-bottom: 1px solid var(--line); }
.table-scroll thead th { position: sticky; top: 0; background: #e8effa; }
.table-scroll tbody tr:nth-child(even) { background: #f8fafd; }
.process-flow { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.process-flow li { position: relative; padding: 0 0 1rem 1.15rem; margin-left: .3rem; border-inline-start: 1px solid #adc5ed; }
.process-flow li::before { content: ""; position: absolute; left: -.29rem; top: .45rem; width: .5rem; height: .5rem; border-radius: 50%; background: #1456c5; }
.process-flow li:last-child { padding-bottom: 0; border-color: transparent; }
.process-flow span { display: block; color: var(--muted); font-size: .92rem; }
@media (max-width: 460px) {
  .machine.has-photo { grid-template-columns: 1fr; }
  .machine > img { width: min(100%, 11rem); }
}
