/* SENIE bright consumer-electronics design system — 2026-08-27 */
:root {
  --brand: #1677ff;
  --brand-hover: #005fd6;
  --accent: #1677ff;
  --accent-dark: #005fd6;
  --blue-500: #1677ff;
  --blue-100: #eaf3ff;
  --teal: #1677ff;
  --ink: #191919;
  --ink-2: #242424;
  --text: #555;
  --muted: #898989;
  --muted-2: #999;
  --surface: #fff;
  --surface-soft: #f7f7f7;
  --surface-subtle: #fafafa;
  --line: #eaeaea;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, .04);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, .08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --container: 1320px;
  --nav-h: 68px;
}

html {
  scroll-padding-top: var(--nav-h);
  background: var(--surface);
}

body {
  color: var(--ink);
  background: var(--surface) !important;
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #fff;
  background: var(--brand);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(22, 119, 255, .72);
  outline-offset: 3px;
  border-radius: 5px;
}

.container {
  width: min(calc(100% - 96px), var(--container));
}

/* Navigation */
.site-header,
.site-header:not(.page-mode):not(.scrolled),
.site-header.scrolled,
.site-header.page-mode,
.site-header.page-mode.scrolled {
  height: var(--nav-h);
  border-color: rgba(0, 0, 0, .05);
  color: #333;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-wrap { gap: 28px; }

.brand { min-width: 300px; gap: 12px; }

.brand-mark {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border: 1px solid #cfd5dc;
  border-radius: 7px;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  opacity: 1;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
}

.nav-links { gap: clamp(18px, 2vw, 30px); }

.nav-links a {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--brand); }

.site-header .nav-links a::after,
.site-header.scrolled .nav-links a::after,
.site-header.page-mode .nav-links a::after {
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.lang-switch {
  min-width: 58px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  color: #333;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #f5f9ff;
}

.menu-toggle { color: var(--ink); }
.menu-toggle span { border-radius: 2px; }

/* Shared section system */
main > section.is-active.section,
main > section.is-active.section.section--soft,
main > section.is-active.section.section--dark {
  min-height: calc(100svh - var(--nav-h));
  padding-top: calc(var(--nav-h) + clamp(72px, 7vw, 112px));
  padding-bottom: clamp(88px, 9vw, 132px);
  color: var(--ink);
  background-color: var(--surface);
  background-image: none;
}

main > section.is-active.section::after { display: none; }

#products.is-active,
#patents.is-active,
#advantages.is-active,
#contact.is-active {
  background: var(--surface-soft);
}

#about.is-active,
#factory.is-active { background: var(--surface); }

.section-head { margin-bottom: clamp(44px, 5vw, 68px); }

.section-head--split {
  align-items: flex-end;
  gap: 64px;
}

.section-head--split .section-lead {
  max-width: 470px;
  margin: 0 0 5px;
}

.eyebrow,
.section--dark .eyebrow {
  margin-bottom: 14px;
  gap: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: none;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
}

.section-title,
.section--dark .section-title {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-shadow: none;
}

.section-title::after {
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.section-lead,
.section--dark .section-lead,
.about-copy p,
.contact-copy .section-lead {
  color: var(--text);
  font-size: 16px;
  line-height: 1.85;
}

.tag {
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--brand) !important;
  background: #eaf3ff !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Hero — selected concept 1 */
.hero,
main > section.is-active.hero {
  min-height: 100svh;
  color: var(--ink);
  background: var(--surface-subtle) !important;
}

.hero-slider,
.hero-slides,
.hero-slide { min-height: 100svh; }

.hero-slide {
  background-color: #f6f7f9 !important;
  background-position: center;
  background-size: cover;
}

.hero-slide::before {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 29%, rgba(255, 255, 255, .9) 43%, rgba(255, 255, 255, .48) 57%, rgba(255, 255, 255, .04) 78%) !important;
}

.hero-slide--light::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .98) 35%, rgba(255, 255, 255, .74) 51%, rgba(255, 255, 255, .06) 72%) !important;
}

.hero-overlay { color: var(--ink); }

.hero-overlay .container {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 138px;
}

.hero-overlay .hero-content { max-width: 680px; }

.hero-kicker,
.hero-overlay .hero-kicker {
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: none;
}

.hero-kicker::before {
  width: 32px;
  height: 1px;
}

.hero-overlay h1 {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(46px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.05em;
  text-shadow: none;
  white-space: pre-line;
}

.hero-overlay .hero-sub {
  max-width: 600px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 500;
  letter-spacing: .02em;
}

.hero-description {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-overlay .hero-actions {
  margin-top: 30px;
  gap: 12px;
}

.btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform .3s ease, color .2s ease, background .2s ease, border-color .2s ease, box-shadow .3s ease;
}

.hero-overlay .btn--light,
.btn--dark,
#contact .inquiry-card .btn {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: none;
}

.hero-overlay .btn--light:hover,
.btn--dark:hover,
#contact .inquiry-card .btn:hover {
  border-color: var(--brand-hover);
  color: #fff;
  background: var(--brand-hover);
  box-shadow: 0 8px 22px rgba(22, 119, 255, .18);
}

.hero-overlay .btn--outline {
  border-color: transparent;
  color: #333;
  background: #eef1f4;
}

.hero-overlay .btn--outline:hover {
  border-color: transparent;
  color: var(--brand);
  background: #e7edf4;
}

.hero-overlay .hero-stats {
  max-width: 820px;
  margin-top: 42px;
  gap: 0;
}

.hero-stat,
.hero-stat:first-child {
  min-width: 0;
  padding: 4px 24px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stat strong {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.hero-stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.hero-controls {
  right: max(48px, calc((100% - var(--container)) / 2));
  bottom: 38px;
  left: max(48px, calc((100% - var(--container)) / 2));
}

.hero-dot { width: 32px; }
.hero-dot::before { height: 2px; background: #d5d9df; }
.hero-dot.is-active::before,
.hero-progress span { background: var(--brand); }
.hero-progress { height: 2px; background: #edf0f3; }

.hero-arrow {
  width: 42px;
  height: 42px;
  border-color: #e2e5e9;
  border-radius: 50%;
  color: #333;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.hero-arrow:hover {
  border-color: #cfe2ff;
  color: var(--brand);
  background: #fff;
}

/* About */
.about-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(56px, 7vw, 96px);
}

.about-visual {
  min-height: 570px;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  box-shadow: none;
}

.about-visual-main {
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.about-visual-main img { object-position: center; }

.about-image-hint {
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(25, 25, 25, .72);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(12px);
}

.about-image-hint::before { color: #fff; }

.about-visual-card {
  right: 22px;
  bottom: 22px;
  width: 210px;
  padding: 22px;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.about-visual-card strong {
  color: var(--brand);
  font-size: 32px;
  font-weight: 600;
}

.about-visual-card span {
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.65;
}

.about-copy p { margin-top: 24px; }

.about-points {
  margin-top: 40px;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.about-point {
  display: block;
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: var(--ink);
}

.about-point:first-child {
  padding-left: 0;
  border-left: 0;
}

.about-point strong {
  display: block;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.about-point span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.check { display: none; }

/* Product catalog */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s cubic-bezier(.22, .61, .36, 1);
}

.product-card:hover {
  border: 0;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-card .clickable-image,
.product-card:nth-child(n) .clickable-image {
  padding: 0;
  border: 0;
  border-bottom: 0;
  background: transparent;
}

.product-card .clickable-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.product-card:nth-child(n + 3) .clickable-image img { mix-blend-mode: normal; }

.product-card--more { display: flex; min-height: 300px; }
.product-more-link {
  display: flex;
  width: 100%;
  padding: 32px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}
.product-more-link:focus-visible { outline: 3px solid var(--brand); outline-offset: -6px; }

.product-card:hover .clickable-image img { transform: scale(1.03); }

.clickable-image::after {
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
  font-size: 20px;
}

.product-body { padding: 25px 26px 28px; }

.product-meta {
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.product-body h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.product-body p {
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Patents */
.patent-summary {
  margin-bottom: 60px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.patent-stat { min-height: 126px; padding: 28px 34px; }
.patent-stat + .patent-stat { border-color: var(--line); }
.patent-stat::after { background: var(--brand); }
.patent-stat::after { display: none; }

.patent-stat strong {
  color: var(--ink);
  font-size: 38px;
  font-weight: 600;
}

.patent-stat span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.patent-groups { gap: 56px; }
.patent-group-head { margin-bottom: 22px; }
.patent-group-index,
.patent-type { color: var(--brand); font-weight: 600; }

.patent-group h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
}

.patent-group-count,
.patent-number { color: var(--muted); }

.patent-track {
  gap: 20px;
  scrollbar-color: rgba(22, 119, 255, .42) #e9edf2;
}

.patent-track::-webkit-scrollbar-track { background: #e9edf2; }
.patent-track::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(22, 119, 255, .42); }

.patent-card {
  border: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}

.patent-card:hover {
  border: 0;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.patent-paper {
  border-bottom-color: var(--line);
  background: #f5f3ee;
}

.patent-paper::after { display: none; }
.patent-card:hover .patent-paper img { transform: scale(1.02); }

.patent-view {
  border-radius: 7px;
  color: #fff;
  background: rgba(25, 25, 25, .76);
  font-weight: 500;
}

.patent-card-body { min-height: 132px; padding: 18px 18px 21px; }
.patent-card h4 { color: var(--ink); font-size: 15px; font-weight: 600; }

.patent-arrow {
  width: 42px;
  height: 42px;
  border-color: #e1e5e9;
  border-radius: 50%;
  color: #333;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.patent-arrow:hover {
  border-color: #cfe2ff;
  color: var(--brand);
  background: #fff;
}

/* Factory editorial gallery */
.factory-grid { gap: 22px; }

.factory-card {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: none;
}

.factory-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.factory-card:nth-child(2),
.factory-card:nth-child(3) { grid-column: span 5; }

.factory-card:nth-child(4) { grid-column: span 12; }

.factory-card .clickable-image { background: var(--surface-soft); }

.factory-card img,
.factory-card:nth-child(1) img,
.factory-card:nth-child(5) img {
  min-height: 300px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .35s ease;
}

.factory-card:nth-child(1) img { min-height: 622px; }
.factory-card:nth-child(4) img { min-height: 330px; aspect-ratio: 16 / 5.4; }
.factory-card:hover img { transform: scale(1.03); }

.factory-card .clickable-image::after { display: none; }

.factory-overlay {
  padding: 74px 24px 22px;
  background: linear-gradient(transparent 20%, rgba(20, 25, 29, .72));
}

.factory-overlay span { color: rgba(255, 255, 255, .72); font-weight: 500; }
.factory-overlay h3 { font-size: 20px; font-weight: 500; }

/* Advantages */
#advantages .section-title { color: var(--ink); }
#advantages .eyebrow { color: var(--brand); }

.advantages-grid {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.adv-card {
  min-height: 270px;
  padding: 36px 30px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  transition: background .25s ease;
}

.adv-card:first-child { border-left: 0; }
.adv-card:hover { background: rgba(255, 255, 255, .7); }

.adv-index {
  color: var(--brand);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
}

.adv-card h3 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.adv-card p { color: var(--text); font-size: 14px; line-height: 1.8; }

/* Contact */
#contact.is-active { background: var(--surface-soft); }

.contact-grid {
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(48px, 6vw, 84px);
  padding: clamp(34px, 4vw, 58px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .05);
}

.contact-copy { padding: 6px 0; }
.contact-copy .section-lead { margin-bottom: 30px; }

.contact-list { border-color: var(--line); }
.contact-item { padding: 15px 0; border-color: var(--line); grid-template-columns: 96px 1fr; }
.contact-item dt { color: var(--muted); }

#contact .contact-item dd,
#contact .contact-item dd a {
  color: var(--ink-2);
  font-weight: 500;
}

#contact .contact-item dd a:hover { color: var(--brand); }

.inquiry-card {
  padding: 38px;
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--surface-subtle);
  box-shadow: none;
}

#contact .inquiry-card h3 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
}

.inquiry-card .form-row { gap: 18px; }
.inquiry-card .field { margin-bottom: 18px; }

#contact .inquiry-card .field label {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

#contact .inquiry-card .field input,
#contact .inquiry-card .field textarea {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #f0f2f4;
  box-shadow: none;
}

#contact .inquiry-card .field input { height: 50px; padding: 0 15px; }
#contact .inquiry-card .field textarea { min-height: 148px; padding: 14px 15px; }

#contact .inquiry-card .field input::placeholder,
#contact .inquiry-card .field textarea::placeholder { color: var(--muted-2); }

#contact .inquiry-card .field input:focus,
#contact .inquiry-card .field textarea:focus {
  border-color: var(--brand);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .1);
}

#contact .inquiry-card .btn {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-sm);
}

.inquiry-card .form-note {
  margin-top: 13px;
  color: var(--muted);
  text-align: center;
}

/* Footer and floating contact */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f5f5f5;
}

.footer-brand { color: var(--ink-2); font-weight: 500; }

.whatsapp-float {
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

/* Dialogs */
.modal { background: rgba(25, 25, 25, .46); backdrop-filter: blur(8px); }

.modal-dialog {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.modal-media { background: var(--surface-soft); }
.modal--product .modal-media,
.modal--about .modal-media {
  display: grid;
  background: #ededed;
  place-items: center;
}

.modal--product .modal-media img,
.modal--about .modal-media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.modal--about .modal-content { min-width: 0; container-type: inline-size; }
.modal--about .modal-content h2 {
  font-size: clamp(14px, 1.65vw, 24px);
  font-size: min(24px, 6cqi);
  line-height: 1.4;
  white-space: nowrap;
}
html[lang="en"] .modal--about .modal-content h2 { font-size: min(22px, 5cqi); }
.modal-content { color: var(--text); scrollbar-color: var(--brand) #e9edf2; }
.modal-content h2,
.modal-points-title { color: var(--ink); }
.modal-description,
.modal-points li { color: var(--text); }
.modal-points,
.modal-points li { border-color: var(--line); }

.modal-close {
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
}

.patent-preview-dialog {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.patent-preview-bar {
  border-bottom-color: var(--line);
  background: #fff;
}

.patent-preview-label { color: var(--brand); }
.patent-preview-heading h2 { color: var(--ink); }

.patent-preview-close {
  border-color: #e1e5e9;
  border-radius: 50%;
  color: var(--ink);
  background: #f7f7f7;
}

.patent-preview-close:hover {
  border-color: #cfe2ff;
  color: var(--brand);
  background: #f5f9ff;
}

.patent-preview-stage {
  background: #f4f5f7;
  scrollbar-color: var(--brand) #dfe5eb;
}

@media (max-width: 1180px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .brand { min-width: 250px; }
  .brand-copy strong { font-size: 13px; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 13px; }
  .hero-overlay .hero-content { max-width: 560px; }
  .hero-overlay h1 { max-width: 560px; font-size: clamp(44px, 5vw, 56px); }
  .about-points { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .about-point:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (min-width: 901px) {
  .hero-overlay .hero-stats {
    width: min(820px, calc(100vw - 96px));
  }
  .hero-stat strong { white-space: nowrap; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .container { width: min(calc(100% - 48px), var(--container)); }
  .brand { min-width: 0; }
  .nav-links {
    top: var(--nav-h);
    right: 16px;
    left: 16px;
    padding: 12px;
    border: 1px solid #eceff2;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-hover);
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--ink);
  }
  .nav-links a:hover { color: var(--brand); background: #f5f9ff; }
  .nav-links a::after { display: none; }
  .section-head--split { display: block; }
  .section-head--split .section-lead { max-width: 680px; margin-top: 18px; }
  .hero-slide { background-position: 60% center; }
  .hero-slide::before,
  .hero-slide--light::before {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 49%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.08) 100%) !important;
  }
  .hero-overlay .hero-content { max-width: 54vw; }
  .hero-overlay h1 { font-size: clamp(38px, 5.7vw, 50px); }
  .hero-overlay .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-visual { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-card:nth-child(1),
  .factory-card:nth-child(2),
  .factory-card:nth-child(3),
  .factory-card:nth-child(4) { grid-column: span 6; grid-row: auto; }
  .factory-card:nth-child(1) img,
  .factory-card:nth-child(4) img { min-height: 330px; aspect-ratio: 4 / 3; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card:nth-child(odd) { border-left: 0; }
  .adv-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; padding: 42px; }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }
  .container { width: min(calc(100% - 40px), var(--container)); }
  .site-header,
  .site-header:not(.page-mode):not(.scrolled),
  .site-header.scrolled,
  .site-header.page-mode,
  .site-header.page-mode.scrolled { background: rgba(255, 255, 255, .96); }
  .brand { gap: 8px; }
  .brand-mark { width: 50px; height: 50px; font-size: 12px; }
  .brand-copy strong {
    max-width: 150px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-copy small { font-size: 8px; }
  .lang-switch { min-width: 46px; min-height: 36px; padding: 6px; }
  .menu-toggle { width: 38px; height: 38px; }
  main > section.is-active.section,
  main > section.is-active.section.section--soft,
  main > section.is-active.section.section--dark {
    padding-top: calc(var(--nav-h) + 52px);
    padding-bottom: 76px;
  }
  .section-head { margin-bottom: 38px; }
  .section-title,
  .section--dark .section-title { font-size: clamp(30px, 8.4vw, 38px); }
  .section-lead,
  .about-copy p,
  .contact-copy .section-lead { font-size: 15px; line-height: 1.8; }
  .hero,
  main > section.is-active.hero,
  .hero-slider,
  .hero-slides,
  .hero-slide { min-height: 920px; }
  .hero-slide {
    background-position: right -70px bottom 156px;
    background-size: auto 47%;
    background-repeat: no-repeat;
  }
  .hero-slide::before,
  .hero-slide--light::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.99) 47%, rgba(255,255,255,.68) 64%, rgba(255,255,255,.18) 78%, rgba(255,255,255,.72) 100%) !important;
  }
  .hero-overlay .container {
    position: relative;
    min-height: 920px;
    padding-top: calc(var(--nav-h) + 46px);
    padding-bottom: 92px;
    align-items: flex-start;
  }
  .hero-overlay .hero-content { max-width: 100%; }
  .hero-kicker,
  .hero-overlay .hero-kicker { margin-bottom: 16px; font-size: 12px; }
  .hero-overlay h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.2vw, 33px);
    line-height: 1.15;
    letter-spacing: -.04em;
    overflow-wrap: normal;
    white-space: normal;
  }
  .hero-overlay .hero-sub { margin-top: 16px; font-size: 16px; }
  .hero-description { max-width: 100%; margin-top: 12px; font-size: 13px; line-height: 1.7; }
  .hero-overlay .hero-actions { margin-top: 20px; }
  .hero-overlay .btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
  .hero-overlay .hero-stats {
    position: absolute;
    right: 20px;
    bottom: 150px;
    left: 20px;
    display: grid;
    margin: 0;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .hero-overlay .hero-content { position: static; }
  .hero-stat,
  .hero-stat:first-child {
    padding: 0 12px;
    border: 0;
  }
  .hero-stat:nth-child(even) { border-left: 1px solid var(--line); }
  .hero-stat strong { font-size: 20px; }
  .hero-stat span { font-size: 10px; }
  .hero-controls { right: 20px; bottom: 24px; left: 20px; }
  .hero-dots { gap: 6px; }
  .hero-dot { width: 22px; }
  .hero-arrow { width: 38px; height: 38px; }
  .about-visual { min-height: 430px; }
  .about-visual-card { display: none; }
  .about-points { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .about-point:nth-child(3) { padding-left: 0; border-left: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card .clickable-image img { padding: 0; }
  .product-body { padding: 22px; }
  .product-body h3 { font-size: 19px; }
  .patent-summary { grid-template-columns: 1fr; margin-bottom: 42px; }
  .patent-stat { min-height: 92px; padding: 20px 22px; }
  .patent-stat + .patent-stat { border-top: 1px solid var(--line); border-left: 0; }
  .patent-stat strong { font-size: 30px; }
  .patent-track { grid-auto-columns: 82%; }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-card:nth-child(1),
  .factory-card:nth-child(2),
  .factory-card:nth-child(3),
  .factory-card:nth-child(4) { grid-column: auto; }
  .factory-card img,
  .factory-card:nth-child(1) img,
  .factory-card:nth-child(4) img { min-height: 260px; aspect-ratio: 4 / 3; }
  .advantages-grid { grid-template-columns: 1fr; }
  .adv-card,
  .adv-card:nth-child(odd) {
    min-height: auto;
    padding: 28px 4px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .adv-card:first-child { border-top: 0; }
  .adv-card h3 { margin-top: 22px; }
  .contact-grid { padding: 28px 20px; border-radius: var(--radius-lg); }
  .contact-item { grid-template-columns: 76px 1fr; gap: 12px; }
  .inquiry-card { padding: 26px 18px; }
  .inquiry-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding: 24px 0; }
  .footer-wrap { gap: 6px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .modal { padding: 12px; }
  .modal-dialog { border-radius: var(--radius-md); }
  .patent-preview-modal { padding: 0; }
  .patent-preview-dialog { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Static patent and certification wall */
#patents .patent-summary,
#patents .patent-groups { display: none; }

.certificate-wall {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid #dbe8f5;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(22, 119, 255, .12), transparent 34%),
    radial-gradient(circle at 100% 58%, rgba(77, 166, 255, .10), transparent 36%),
    linear-gradient(145deg, #f9fcff 0%, #eef6fd 50%, #f8fbfe 100%);
  box-shadow: 0 24px 64px rgba(36, 73, 108, .10);
}

.certificate-wall::before,
.certificate-wall::after {
  position: absolute;
  z-index: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(22, 119, 255, .32), transparent);
  transform: rotate(-8deg);
}

.certificate-wall::before { top: 35%; right: -8%; left: -8%; }
.certificate-wall::after { right: -12%; bottom: 22%; left: 8%; }

.certificate-wall > * { position: relative; z-index: 1; }

.certificate-wall-topline {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.certificate-total { display: flex; align-items: baseline; gap: 14px; }

.certificate-total strong {
  color: var(--brand);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.055em;
}

.certificate-total span { color: var(--ink); font-size: 15px; font-weight: 600; }
.certificate-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.certificate-tags span {
  padding: 7px 12px;
  border: 1px solid #cfe0f1;
  border-radius: 999px;
  color: #315b80;
  background: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.certificate-mini-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.certificate-tile {
  overflow: hidden;
  margin: 0;
  padding: 7px 7px 0;
  border: 1px solid rgba(180, 203, 224, .72);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px rgba(30, 74, 111, .10);
}

.certificate-tile img {
  aspect-ratio: .76;
  border-radius: 5px;
  object-fit: cover;
  object-position: top center;
}

.certificate-tile figcaption {
  overflow: hidden;
  padding: 8px 2px 9px;
  color: #567088;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .05em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-featured {
  display: grid;
  width: min(100%, 850px);
  margin: 34px auto;
  align-items: end;
  gap: clamp(18px, 4vw, 50px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.certificate-main {
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid #cadbec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 52px rgba(25, 63, 96, .18);
}

.certificate-main-image {
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  background: #f6f8fa;
}

.certificate-main img { width: 100%; height: auto; }

.certificate-main figcaption {
  display: flex;
  padding: 16px 2px 2px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.certificate-main figcaption strong { color: var(--ink); font-size: 15px; font-weight: 650; }
.certificate-main figcaption span { color: var(--muted); font-size: 11px; }
.certificate-mini-grid--bottom { margin-top: 8px; }

/* Five partnership advantages */
.advantages-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.adv-card { min-width: 0; padding-right: 24px; padding-left: 24px; }
.adv-card h3 { font-size: 20px; }

@media (max-width: 900px) {
  .certificate-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .certificate-wall-topline { align-items: flex-start; }
  .certificate-tags { max-width: 360px; }
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-card:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .certificate-wall { padding: 20px 14px; border-radius: 18px; }
  .certificate-wall-topline { display: block; margin-bottom: 22px; }
  .certificate-total { display: block; }
  .certificate-total span { display: block; margin-top: 8px; }
  .certificate-tags { margin-top: 18px; justify-content: flex-start; }
  .certificate-mini-grid { gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .certificate-tile { padding: 4px 4px 0; border-radius: 7px; }
  .certificate-tile figcaption { padding: 6px 1px; font-size: 7px; }
  .certificate-featured { margin: 24px auto; gap: 16px; grid-template-columns: 1fr; }
  .certificate-main { width: min(100%, 360px); margin: 0 auto; padding: 10px; }
  .certificate-main figcaption { padding-top: 12px; }
  .certificate-main figcaption strong { font-size: 13px; }
  .certificate-main figcaption span { font-size: 9px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .adv-card:nth-child(5) { grid-column: auto; }
}

/* Layered white-gray advantage cards */
#advantages.is-active {
  background:
    radial-gradient(circle at 12% 12%, rgba(22, 119, 255, .055), transparent 30%),
    #f1f3f6;
}

.advantages-grid {
  align-items: stretch;
  gap: 18px;
  border: 0;
  background: transparent;
}

.adv-card,
.adv-card:first-child,
.adv-card:nth-child(odd),
.adv-card:nth-child(n + 3) {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 368px;
  padding: 26px 22px 28px;
  border: 1px solid #dfe4e9;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 18px 38px rgba(35, 53, 71, .09),
    0 2px 8px rgba(35, 53, 71, .045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.adv-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #1677ff, #75b4ff);
}

.adv-card::after {
  position: absolute;
  top: -44px;
  right: -38px;
  width: 104px;
  height: 104px;
  border: 18px solid rgba(22, 119, 255, .06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.adv-card:hover {
  border-color: #c8d8e9;
  background: #fff;
  box-shadow:
    0 24px 48px rgba(35, 53, 71, .13),
    0 3px 10px rgba(35, 53, 71, .06);
  transform: translateY(-5px);
}

.adv-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3189ff, #0769ec);
  box-shadow: 0 10px 22px rgba(22, 119, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .34);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.adv-card h3 {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 80px;
  margin: 22px -22px 18px;
  padding: 17px 22px;
  border-top: 1px solid #e1e5e9;
  border-bottom: 1px solid #e1e5e9;
  align-items: center;
  color: #1f2a34;
  background: linear-gradient(135deg, #f5f6f7, #eceff2);
  font-size: 18px;
  line-height: 1.35;
  text-shadow: 0 1px 0 #fff;
}

.adv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #56616b;
  font-size: 14px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .advantages-grid { gap: 16px; }
  .adv-card,
  .adv-card:first-child,
  .adv-card:nth-child(odd),
  .adv-card:nth-child(n + 3) { min-height: 330px; }
}

@media (max-width: 620px) {
  .adv-card,
  .adv-card:first-child,
  .adv-card:nth-child(odd),
  .adv-card:nth-child(n + 3) {
    min-height: auto;
    padding: 24px 20px 26px;
  }
  .adv-card h3 { min-height: 0; margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
}

/* Single PSD-rendered patent wall */
.patent-poster-section {
  background: #f3f8fd;
}

.patent-poster-container {
  width: min(calc(100% - 64px), 1440px);
}

.patent-poster {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d8e6f2;
  border-radius: 24px;
  background: #eaf4fc;
  box-shadow: 0 24px 64px rgba(30, 75, 112, .14);
  line-height: 0;
}

.patent-poster img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .patent-poster-container { width: min(calc(100% - 24px), 1440px); }
  .patent-poster { border-radius: 14px; box-shadow: 0 14px 36px rgba(30, 75, 112, .12); }
}

/* Hide the decorative product-image plus icon while keeping detail buttons. */
.product-card .clickable-image::after { content: none; display: none; }

/* Keep detail dialogs scrollable after the theme's overflow override. */
.modal-content,
.patent-preview-stage {
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 820px) {
  .modal-dialog {
    min-height: 0;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .modal-content { overflow: visible; }
  .modal-close {
    position: sticky;
    top: 12px;
    margin: 0 12px -40px auto;
    transform: translateY(12px);
  }
  .patent-preview-stage img { max-height: none; }
}
@media (max-width: 760px) {
  .patent-preview-dialog {
    height: 100vh;
    height: 100dvh;
  }
}
