/* =========================================================
   WINTEC FOAM — styles
   Brand colours come from the logo. Change them here once.
   ========================================================= */
:root {
  --orange: #E7791A;
  --orange-600: #C9620E;
  --orange-100: #FDEBDB;
  --orange-50: #FFF6EE;
  --ink: #201917;          /* logo charcoal */
  --ink-2: #3A302C;
  --muted: #6E625C;
  --line: #EADFD6;
  --paper: #FBF7F3;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(32, 25, 23, .28);
  --shadow-sm: 0 6px 20px -8px rgba(32, 25, 23, .18);
  --header-h: 76px;
  --font: "Be Vietnam Pro", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="zh-CN"] { --font: "Noto Sans SC", "Be Vietnam Pro", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, color .3s; color: #fff;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 56px; height: auto; background: #fff; border-radius: 10px; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 20px; letter-spacing: .08em; font-weight: 800; }
.brand-text small { font-size: 9.5px; letter-spacing: .22em; opacity: .7; margin-top: 4px; font-weight: 600; }

.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 11px; border-radius: 999px;
  white-space: nowrap; transition: background .2s, color .2s; opacity: .88;
}
.main-nav a:hover { background: rgba(231,121,26,.14); opacity: 1; }
.main-nav a.active { background: var(--orange); color: #fff; opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px; }
.site-header.scrolled .lang-switch { background: var(--paper); border-color: var(--line); }
.lang-switch button {
  border: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap;
}
@media (max-width: 360px) { .brand-text { display: none; } }
.lang-switch button.active { background: var(--orange); color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0;
  font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 28px -10px rgba(231,121,26,.7); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(231,121,26,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(231,121,26,.18), transparent 60%),
    linear-gradient(160deg, #2a201c 0%, #1a1311 60%, #140f0d 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
}
.hero-wing { position: absolute; right: -6%; top: 8%; width: 62%; max-width: 860px; opacity: .08; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: #FFD9B8;
  background: rgba(231,121,26,.14); border: 1px solid rgba(231,121,26,.35);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(231,121,26,.25); }
.hero h1 { font-size: clamp(36px, 4.5vw, 66px); font-weight: 800; line-height: 1.02; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--orange); }
.hero h1 .dim { color: rgba(255,255,255,.92); }
.hero-text { font-size: 18.5px; color: rgba(255,255,255,.74); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* foam stack illustration */
.hero-visual { position: relative; height: 540px; }
.foam-stack { position: absolute; right: 4%; top: 10px; width: 78%; aspect-ratio: 1; perspective: 1400px; }
.slab {
  position: absolute; left: 0; right: 0; height: 15%; border-radius: 14px;
  transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d;
  box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px), radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.4px);
  background-size: 9px 9px, 13px 13px;
}
.slab::after { /* side face */
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px; height: 26px; border-radius: 0 0 14px 14px;
  background: inherit; filter: brightness(.78); transform-origin: top; transform: rotateX(-90deg);
}
.slab:nth-child(1) { top: 62%; background-color: #F6D66B; animation-delay: 0s; }
.slab:nth-child(2) { top: 50%; background-color: #8ED9C6; animation-delay: .25s; }
.slab:nth-child(3) { top: 38%; background-color: #B7A6E8; animation-delay: .5s; }
.slab:nth-child(4) { top: 26%; background-color: #F4A9A0; animation-delay: .75s; }
.slab:nth-child(5) { top: 14%; background-color: var(--orange); animation-delay: 1s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero-photo {
  position: absolute; left: 0; bottom: 30px; width: 56%; border-radius: var(--radius); overflow: hidden;
  border: 5px solid rgba(255,255,255,.95); box-shadow: var(--shadow); transform: rotate(-4deg);
  background: #fff; cursor: zoom-in; transition: transform .4s;
}
.hero-photo:hover { transform: rotate(-1deg) scale(1.03); }
.hero-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-photo figcaption { color: var(--ink); font-size: 13px; font-weight: 700; padding: 8px 12px; }
.hero-chip {
  position: absolute; right: 2%; bottom: 70px; background: #fff; color: var(--ink); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  animation: float 5s ease-in-out infinite reverse;
}
.hero-chip b { font-size: 30px; color: var(--orange); line-height: 1; }
.hero-chip span { font-size: 13px; font-weight: 600; max-width: 110px; line-height: 1.3; }

.stats {
  position: relative; z-index: 1; margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.stat b em { font-style: normal; color: var(--orange); }
.stat > span { font-size: 14px; color: rgba(255,255,255,.62); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.lead { font-size: 18.5px; color: var(--muted); }
.dark .lead { color: rgba(255,255,255,.7); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .slab, .hero-chip { animation: none; } html { scroll-behavior: auto; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.about-text p { color: var(--ink-2); }
.about-text p:first-of-type { font-size: 20px; color: var(--ink); font-weight: 500; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 14px; }
.tile { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--line); border: 0; padding: 0; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile figcaption, .tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: 13.5px; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,15,13,.82));
}
.mosaic .tile:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.mosaic .tile:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.mosaic .tile:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.mosaic .tile:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.mosaic .tile:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.mosaic .tile:nth-child(n+6) { grid-column: span 3; grid-row: span 2; }

/* Technology */
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.system {
  position: relative; border-radius: var(--radius); padding: 38px; background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.system:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.system .tag {
  position: absolute; right: 22px; top: 8px; font-size: 110px; font-weight: 900; line-height: 1;
  color: var(--orange-100); letter-spacing: -.04em; pointer-events: none;
}
.system h3 { font-size: 24px; position: relative; }
.system h3 small { display: block; font-size: 13px; color: var(--orange); letter-spacing: .12em; font-weight: 800; margin-bottom: 8px; }
.system p { color: var(--muted); position: relative; margin: 0; }
.tech-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.features { display: grid; gap: 16px; }
.feature { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h4 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feature ul li { font-size: 15.5px; color: var(--muted); padding-left: 22px; position: relative; margin: 4px 0; }
.feature ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--orange); }
.tech-photo { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 360px; cursor: zoom-in; border: 0; padding: 0; }
.tech-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Products */
.products { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.p-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.p-tab {
  text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; color: var(--ink);
}
.p-tab:hover { border-color: var(--orange); transform: translateX(4px); }
.p-tab img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.p-tab b { display: block; font-size: 15.5px; line-height: 1.25; }
.p-tab small { color: var(--muted); font-size: 13px; line-height: 1.3; display: block; margin-top: 2px; }
.p-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.p-tab.active small { color: rgba(255,255,255,.65); }
.p-tab .num { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--orange); }
.p-panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); animation: panelIn .45s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.p-media { position: relative; aspect-ratio: 16/8; background: var(--paper); cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-media .cap { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.p-body { padding: 34px 38px 38px; }
.p-body h3 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.p-body .tagline { color: var(--orange); font-weight: 700; margin-bottom: 18px; }
.p-body > p { color: var(--ink-2); }
.density { margin: 26px 0; padding: 20px 22px; background: var(--paper); border-radius: 16px; }
.density-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.density-top em { font-style: normal; color: var(--orange); }
.density-track { position: relative; height: 12px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--line) 0 2px, #fff 2px 10%); border: 1px solid var(--line); }
.density-fill { position: absolute; top: -1px; bottom: -1px; border-radius: 99px; background: linear-gradient(90deg, #F6B26B, var(--orange)); transition: left .6s, width .6s; }
.density-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.p-body h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7791A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Certifications */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cert::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange), #F6B26B); transform: scaleX(.18); transform-origin: left; transition: transform .4s; }
.cert:hover::before { transform: scaleX(1); }
.badge { display: inline-grid; place-items: center; min-width: 56px; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; }
.cert h3 { font-size: 19px; margin-bottom: 14px; }
.cert li { font-size: 15px; color: var(--muted); padding-left: 18px; position: relative; margin: 6px 0; }
.cert li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 36px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service .thumb { aspect-ratio: 1; overflow: hidden; background: var(--paper); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .thumb img { transform: scale(1.07); }
.service .s-body { padding: 20px 20px 24px; }
.service h3 { font-size: 18px; margin-bottom: 8px; }
.service p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.market { border-radius: var(--radius); padding: 30px; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, transform .3s; }
.market:hover { background: var(--orange); color: #fff; transform: translateY(-4px); border-color: var(--orange); }
.market .ico { width: 60px; height: 60px; border-radius: 18px; background: var(--orange-100); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, color .3s; }
.market:hover .ico { background: rgba(255,255,255,.2); color: #fff; }
.market .ico svg { width: 30px; height: 30px; }
.market h3 { font-size: 21px; margin-bottom: 14px; }
.market li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 15.5px; color: var(--ink-2); transition: color .3s, border-color .3s; }
.market:hover li { color: #fff; border-color: rgba(255,255,255,.35); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; }
.why-card:hover { background: rgba(231,121,26,.12); border-color: rgba(231,121,26,.5); }
.why-card .n { font-size: 44px; font-weight: 900; line-height: 1; color: var(--orange); margin-bottom: 16px; display: block; }
.why-card h3 { font-size: 21px; }
.why-card li { color: rgba(255,255,255,.68); font-size: 15px; padding-left: 18px; position: relative; margin: 6px 0; }
.why-card li::before { content: "—"; position: absolute; left: 0; color: var(--orange); }
.why-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.why-photos .tile { aspect-ratio: 16/7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--ink); color: #fff; border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(var(--orange), transparent 70%); opacity: .45; }
.contact-card h3 { font-size: 22px; letter-spacing: .02em; margin-bottom: 2px; position: relative; }
.contact-card .entity { color: var(--orange); font-weight: 700; margin-bottom: 26px; position: relative; }
.c-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.c-row .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(231,121,26,.18); color: var(--orange); display: grid; place-items: center; }
.c-row .ico svg { width: 22px; height: 22px; }
.c-row small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); font-weight: 700; }
.c-row a, .c-row span { color: #fff; text-decoration: none; font-weight: 600; display: block; }
.c-row a:hover { color: var(--orange); }
.map-link { display: inline-flex; margin-top: 18px; color: var(--orange); font-weight: 700; text-decoration: none; position: relative; gap: 8px; align-items: center; }
.map-link svg { width: 16px; height: 16px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 36px; display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(231,121,26,.15); }
.form .btn { justify-self: start; }
.form .hint { font-size: 13px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #140f0d; color: rgba(255,255,255,.7); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top .brand { color: #fff; }
.footer-tag { font-size: 20px; font-weight: 700; color: #fff; margin: 0; }
.footer-tag em { font-style: normal; color: var(--orange); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 24px 0; }
.footer-nav a { text-decoration: none; font-size: 14.5px; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.footer-bottom a { color: var(--orange); text-decoration: none; font-weight: 600; }

/* Floating top button */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,11,10,.92); display: grid; place-items: center; padding: 24px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 8px; font-size: 13.5px; }
  .services { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 20px 24px;
    background: #fff; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav a { font-size: 17px; padding: 13px 16px; border-radius: 12px; }
  .menu-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
  .header-actions { margin-left: auto; }
  .menu-open .site-header { background: #fff; color: var(--ink); }
  .menu-open .lang-switch { background: var(--paper); border-color: var(--line); }
  .hero-grid, .about-grid, .contact-grid, .tech-row { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
  .products { grid-template-columns: 1fr; }
  .p-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .p-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .p-tab:hover { transform: none; }
  .p-tab .num { display: none; }
  .certs, .markets, .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand-text small { display: none; }
  .brand img { width: 46px; }
  .lang-switch button { padding: 6px 9px; font-size: 12.5px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-text { font-size: 16.5px; }
  .hero-visual { height: 360px; }
  .hero-chip { bottom: 30px; padding: 10px 14px; }
  .hero-chip b { font-size: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .mosaic { grid-auto-rows: 80px; gap: 10px; }
  .systems, .certs, .markets, .why-grid, .why-photos, .form .row2 { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .system { padding: 28px; }
  .system .tag { font-size: 76px; }
  .p-body { padding: 24px; }
  .p-body h3 { font-size: 24px; }
  .p-media { aspect-ratio: 4/3; }
  .contact-card, .form { padding: 26px; }
  .footer-bottom { flex-direction: column; }
}

/* Balanced about section and consistent paragraph typography. */
#about .about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px 48px;align-items:stretch}
#about .about-grid>.section-head{grid-column:1/-1;max-width:920px;margin-bottom:0}
#about .about-text{min-width:0}
#about .about-text p,#about .about-text p:first-of-type{font-size:16px;font-weight:400;line-height:1.95;color:var(--ink-2);text-align:justify;text-align-last:start;text-indent:1.5em;margin:0 0 1.2em;overflow-wrap:break-word}
#about .about-text p:last-child{margin-bottom:0}
#about .mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1.25fr 1fr 1fr;grid-auto-rows:auto;min-height:520px;gap:12px}
#about .mosaic .tile{grid-column:span 1;grid-row:auto;min-height:0}
#about .mosaic .tile:first-child{grid-column:1/-1;grid-row:auto}
#about .mosaic .tile img{display:block;position:absolute;inset:0}
.reveal{transform:translateY(20px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.reveal.in{transform:none}
.main-nav a,.btn,.lang-switch button,.p-tab,.tile,.to-top{transition:background-color .22s,color .22s,box-shadow .25s,transform .25s,border-color .22s}
.lightbox img{animation:logo-photo-enter .25s ease-out}
@keyframes logo-photo-enter{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:1040px){#about .about-grid{grid-template-columns:1fr;gap:28px}#about .mosaic{min-height:560px}}
@media(max-width:680px){#about .about-grid{gap:24px}#about .about-text p,#about .about-text p:first-of-type{font-size:15px;line-height:1.85;text-indent:1.25em}#about .mosaic{min-height:460px;gap:10px}#about .tile .cap{font-size:11px}}
@media(prefers-reduced-motion:reduce){.reveal{transition:none;transform:none;opacity:1}.lightbox img{animation:none}.main-nav a,.btn,.lang-switch button,.p-tab,.tile,.to-top{transition:none}}

/* Only the opening paragraph is indented. */
#about .about-text p:not(:first-of-type){text-indent:0}

/* Keep the technology heading compact with balanced line lengths. */
#technology .section-head h2{font-size:clamp(28px,3.4vw,42px);line-height:1.22;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:normal;word-break:normal}
@media(max-width:680px){#technology .section-head h2{font-size:clamp(26px,7vw,32px);line-height:1.25;letter-spacing:-.02em}}

/* Balance the markets heading and avoid a one-word final line. */
#markets .section-head{max-width:960px}
#markets .section-head h2{font-size:clamp(28px,3.4vw,42px);line-height:1.22;letter-spacing:-.025em;text-wrap:balance;word-break:normal}
@media(max-width:680px){#markets .section-head h2{font-size:clamp(26px,7vw,32px);line-height:1.25;letter-spacing:-.02em}}

/* Align the six reasons cards on shared number, title and text baselines. */
.why-grid{align-items:stretch}
.why-card{display:grid;grid-template-rows:44px 52px 1fr;gap:18px;padding:28px}
.why-card .n{font-size:42px;line-height:44px;margin:0}
.why-card h3{font-size:20px;line-height:1.3;margin:0;text-wrap:balance}
.why-card ul{display:grid;grid-template-rows:repeat(3,minmax(3.4em,1fr));gap:10px;margin:0;padding:0;list-style:none}
.why-card li{font-size:14.5px;line-height:1.7;margin:0;padding-left:18px;text-wrap:pretty;overflow-wrap:break-word}
@media(max-width:680px){.why-card{grid-template-rows:40px auto auto;gap:14px;padding:25px}.why-card .n{font-size:38px;line-height:40px}.why-card h3{font-size:19px}.why-card ul{grid-template-rows:none;gap:10px}.why-card li{font-size:14px}}
