:root {
  --ink: #17202a;
  --muted: #637083;
  --line: #d9e0e7;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --steel: #263746;
  --blue: #075fab;
  --green: #2d8a68;
  --amber: #f03a12;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand-logo {
  width: var(--brand-logo-size, 54px);
  height: var(--brand-logo-size, 54px);
  object-fit: contain;
  border-radius: 8px;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: var(--blue);
  font-size: var(--brand-title-size, 16px);
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: var(--brand-subtitle-size, 11px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.nav-toggle,
.filter-button,
.solution-tab,
.text-button {
  border: 0;
  cursor: pointer;
}

.site-nav a {
  padding: 10px 13px;
  color: #32404d;
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  color: #fff !important;
  background: var(--amber);
  border-radius: 8px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.language-switch select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: var(--soft);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-slider,
.hero-slide-link,
.hero img {
  position: absolute;
  inset: 0;
}

.hero-slider {
  overflow: hidden;
}

.hero-slide-link {
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide-link.active {
  opacity: 1;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero img.active,
.hero-slide-link.active img {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 20, 28, 0.82), rgba(13, 20, 28, 0.52) 42%, rgba(13, 20, 28, 0.08));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 110px clamp(20px, 6vw, 76px) 120px;
  color: #fff;
}

.company-wordmark {
  max-width: 760px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fd5ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero p {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions,
.tool-panel,
.control-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--amber);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.button.full {
  width: 100%;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

.trust-band div {
  padding: 22px clamp(16px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--blue);
  font-size: 30px;
}

.trust-band span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.section-heading.split p:last-child {
  max-width: 460px;
  color: var(--muted);
}

.intro-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.case-card,
.product-card,
.solution-card,
.quote-form,
.quote-cart {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro-grid article {
  padding: 26px;
}

.mini-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.products-section,
.service-section {
  background: var(--soft);
}

.product-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.06);
}

.product-entry p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-announcements {
  background: #fff;
}

.home-announcement-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-announcement-item {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
}

.announcement-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.announcement-meta span {
  padding-left: 10px;
  color: var(--green);
  border-left: 1px solid var(--line);
}

.home-announcement-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.home-announcement-item p {
  margin-bottom: 18px;
  color: var(--muted);
}

.home-announcement-item > a {
  align-self: end;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.announcement-all-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 900;
}

.announcement-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #123b5d;
}

.announcement-page-hero.has-custom-background {
  background:
    linear-gradient(90deg, rgba(12, 35, 50, 0.9), rgba(18, 59, 93, 0.5)),
    var(--announcement-page-hero-image) center / cover no-repeat;
}

.announcement-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.announcement-list-section {
  background: var(--soft);
}

.announcement-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.announcement-item {
  border-bottom: 1px solid var(--line);
}

.announcement-item:last-child {
  border-bottom: 0;
}

.announcement-item summary {
  position: relative;
  display: grid;
  grid-template-columns: 112px 120px minmax(0, 1fr) 34px;
  gap: 10px 18px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.announcement-item summary::-webkit-details-marker {
  display: none;
}

.announcement-item summary:hover {
  background: #f7fafc;
}

.announcement-date,
.announcement-category {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.announcement-category {
  color: var(--green);
}

.announcement-item summary strong {
  min-width: 0;
  font-size: 18px;
}

.announcement-item summary small {
  grid-column: 3 / 4;
  color: var(--muted);
  line-height: 1.6;
}

.announcement-expand {
  grid-column: 4;
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  transition: transform 160ms ease;
}

.announcement-item[open] .announcement-expand {
  transform: rotate(45deg);
}

.announcement-detail {
  padding: 4px 22px 24px 272px;
}

.announcement-detail.has-image {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 24px;
  padding-left: 22px;
}

.announcement-detail img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #edf2f5;
}

.announcement-detail p {
  color: #334250;
  line-height: 1.85;
}

.announcement-detail p:last-child {
  margin-bottom: 0;
}

.announcement-empty {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.download-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #16484b;
}

.download-page-hero.has-custom-background {
  background:
    linear-gradient(90deg, rgba(13, 48, 49, 0.92), rgba(22, 72, 75, 0.5)),
    var(--download-page-hero-image) center / cover no-repeat;
}

.download-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.download-list-section {
  background: var(--soft);
}

.download-center-list {
  display: grid;
  gap: 12px;
}

.download-center-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
}

.download-format {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.download-center-copy {
  min-width: 0;
}

.download-center-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.download-center-meta span {
  color: var(--green);
}

.download-center-copy h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.download-center-copy p {
  margin-bottom: 5px;
  color: var(--muted);
}

.download-center-copy small {
  color: #627182;
}

.download-center-button {
  display: inline-flex;
  min-width: 118px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.download-center-button:hover {
  color: #fff;
  background: #07518f;
}

.download-center-button.disabled {
  border-color: var(--line);
  color: var(--muted);
  background: #edf2f5;
  cursor: not-allowed;
}

.download-empty {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 14px;
  margin-bottom: 22px;
}

.home-product-card {
  grid-column: var(--home-column);
  grid-row: var(--home-row);
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-product-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(23, 32, 42, 0.12);
  transform: translateY(-2px);
}

.home-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf2f5;
}

.home-product-copy {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
}

.home-product-copy small {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.home-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #17202a, #075fab);
}

.product-page-hero.has-custom-background {
  background:
    linear-gradient(90deg, rgba(12, 29, 43, 0.88), rgba(8, 59, 96, 0.52)),
    var(--product-page-hero-image) center / cover no-repeat;
}

.product-page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.tool-panel {
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filter-button,
.solution-tab {
  min-height: 40px;
  padding: 9px 14px;
  color: #334250;
  background: #edf2f5;
  border-radius: 8px;
  font-weight: 700;
}

.filter-button.active,
.solution-tab.active {
  color: #fff;
  background: var(--blue);
}

.select-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

select,
input {
  min-height: 42px;
  padding: 8px 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.06);
}

.product-card.image-position-left,
.product-card.image-position-right {
  display: grid;
  grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
}

.product-card.image-position-right .product-visual {
  order: 2;
}

.product-card.image-position-bottom .product-visual {
  order: 2;
}

.product-visual {
  display: grid;
  min-height: 154px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #263440, #596a76);
}

.product-visual img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-image-placeholder {
  display: grid;
  width: 100%;
  min-height: 190px;
  padding: 82px 16px 18px;
  place-items: center;
  color: #395164;
  background: #edf2f5 url("assets/ling-yang-logo.png") center 26px / 48px auto no-repeat;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.product-visual .product-image-placeholder,
.product-visual .product-image-placeholder > span {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: 13px;
}

.home-product-card > .product-image-placeholder {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.modal-product-image > .product-image-placeholder {
  min-height: 260px;
}

.product-card.image-position-left .product-visual img,
.product-card.image-position-right .product-visual img {
  height: 100%;
  min-height: 100%;
}

.product-visual span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.tag {
  padding: 4px 8px;
  color: #275369;
  background: #e7f3f7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.ghost-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--steel);
  cursor: pointer;
  font-weight: 800;
}

.solid-button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.solution-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.solution-tabs {
  display: grid;
  align-content: start;
  gap: 10px;
}

.solution-card {
  padding: clamp(22px, 4vw, 38px);
  min-height: 340px;
  box-shadow: var(--shadow);
}

.solution-card ul,
.modal-panel ul {
  padding-left: 20px;
}

.modal-panel .product-feature-list {
  list-style: none;
  padding-left: 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.spec-grid div {
  padding: 14px;
  background: #f4f8fa;
  border-radius: 8px;
}

.repair-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding-top: 120px;
  background: linear-gradient(135deg, #eef5fb 0%, #fff 58%);
}

.repair-hero h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
}

.repair-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.repair-hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.repair-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.repair-section {
  padding-top: 72px;
}

.repair-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.repair-highlight-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.repair-highlight-grid h3 {
  margin-bottom: 10px;
}

.repair-highlight-grid p {
  color: var(--muted);
}

.repair-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.repair-process li {
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.repair-process span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: 999px;
}

.repair-process strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.repair-process p {
  color: var(--muted);
}

.machine-spec-table {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  margin: 12px 0 22px;
  border: 1px solid #e1e6eb;
  box-shadow: 0 8px 24px rgba(23, 32, 42, 0.08);
}

.machine-spec-label,
.machine-spec-value {
  min-height: 50px;
  padding: 13px 18px;
  border-bottom: 1px solid #edf1f4;
}

.machine-spec-label {
  color: #536171;
  background: #eeeeee;
  font-weight: 700;
}

.machine-spec-value {
  background: #fff;
  font-weight: 700;
}

.machine-spec-table > :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.case-card {
  padding: 24px;
  background: #fff;
}

.case-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--amber);
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 22px;
  min-height: 178px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.quote-section {
  background: #17202a;
  color: #fff;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.quote-layout > div > p {
  color: rgba(255, 255, 255, 0.76);
}

.quote-form,
.quote-cart {
  padding: 24px;
  color: var(--ink);
}

.quote-cart {
  margin-top: 28px;
}

.quote-cart ul {
  min-height: 58px;
  margin: 0 0 14px;
  padding-left: 20px;
}

.text-button {
  padding: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: #dce4ea;
  background: #0f151b;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: #1268b3;
  border-radius: 6px;
}

.footer-map-link:hover {
  background: #0f5a9b;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 36px;
  margin-left: -6px;
  overflow: hidden;
  color: transparent;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  opacity: 0.18;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  color: #dce4ea;
  border-color: rgba(220, 228, 234, 0.5);
  opacity: 1;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 17, 0.62);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-product-image {
  display: grid;
  margin: -4px 0 22px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #263440, #596a76);
  border-radius: 8px;
}

.modal-product-image button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.modal-product-image img,
.modal-thumbs img {
  width: 100%;
  object-fit: cover;
}

.modal-product-image.image-size-small img {
  height: 220px;
}

.modal-product-image.image-size-medium img {
  height: 320px;
}

.modal-product-image.image-size-large img {
  height: 430px;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  margin: -10px 0 22px;
  overflow-x: auto;
}

.modal-thumbs button {
  width: 76px;
  height: 58px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.modal-thumbs img {
  height: 100%;
}

.modal-product-image span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-size: 34px;
  font-weight: 900;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.download-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.download-button.disabled {
  color: #7b8794;
  background: #e8eef2;
  cursor: not-allowed;
}

.modal-detail-layout {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}

.modal-detail-layout .modal-product-image {
  margin: 0;
}

.modal-detail-copy {
  align-self: center;
}

.modal-detail-copy h2 {
  margin-top: 0;
}

.detail-image-position-left,
.detail-image-position-right {
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
}

.detail-image-position-right .modal-product-image {
  order: 2;
}

.detail-image-position-bottom .modal-product-image {
  order: 2;
}

.product-action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.product-action-row .button,
.product-action-row .download-button {
  width: 100%;
  min-height: 46px;
  margin: 0;
  text-align: center;
}

.image-gallery {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 56px 72px;
  background: rgba(5, 9, 14, 0.9);
}

.image-gallery img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.gallery-close,
.gallery-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.gallery-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.gallery-arrow {
  top: 50%;
  width: 52px;
  height: 68px;
  transform: translateY(-50%);
  font-size: 46px;
}

.gallery-arrow.left {
  left: 20px;
}

.gallery-arrow.right {
  right: 20px;
}

.gallery-arrow:disabled {
  opacity: 0.32;
  cursor: default;
}

.gallery-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #edf2f5;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .trust-band,
  .intro-grid,
  .case-grid,
  .product-grid,
  .timeline,
  .repair-hero,
  .repair-highlight-grid,
  .repair-process,
  .quote-layout {
    grid-template-columns: 1fr 1fr;
  }

  .solution-layout {
    grid-template-columns: 1fr;
  }

  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .home-announcement-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-product-card {
    grid-column: auto;
    grid-row: auto;
  }

  .solution-tabs {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    white-space: normal;
    font-size: 14px;
    line-height: 1.2;
  }

  .brand-text small {
    font-size: 10px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 20, 28, 0.85), rgba(13, 20, 28, 0.62));
  }

  .hero-content {
    padding-top: 86px;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading.split {
    display: block;
  }

  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .home-announcement-list {
    grid-template-columns: 1fr;
  }

  .home-announcement-item {
    min-height: 0;
  }

  .announcement-item summary {
    grid-template-columns: 1fr 34px;
    gap: 7px 12px;
    padding: 18px;
  }

  .announcement-date,
  .announcement-category,
  .announcement-item summary strong,
  .announcement-item summary small {
    grid-column: 1;
  }

  .announcement-expand {
    grid-column: 2;
    grid-row: 1 / 5;
  }

  .announcement-detail,
  .announcement-detail.has-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 18px 20px;
  }

  .download-center-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .download-format {
    width: 58px;
    height: 58px;
  }

  .download-center-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .trust-band,
  .intro-grid,
  .case-grid,
  .product-grid,
  .timeline,
  .repair-hero,
  .repair-highlight-grid,
  .repair-process,
  .quote-layout,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .repair-hero {
    padding-top: 96px;
  }

  .tool-panel {
    display: grid;
  }

  .product-card.image-position-left,
  .product-card.image-position-right {
    display: block;
  }

  .product-card.image-position-left .product-visual,
  .product-card.image-position-right .product-visual {
    order: 0;
  }

  .product-card.image-position-left .product-visual img,
  .product-card.image-position-right .product-visual img {
    height: 190px;
  }

  .detail-image-position-left,
  .detail-image-position-right {
    grid-template-columns: 1fr;
  }

  .detail-image-position-right .modal-product-image {
    order: 0;
  }

  .product-action-row {
    grid-template-columns: 1fr 1fr;
  }

  .product-entry {
    display: grid;
  }

  .select-label {
    display: grid;
    width: 100%;
  }

  .quote-layout {
    gap: 22px;
  }

  .machine-spec-table {
    grid-template-columns: 1fr;
  }

  .machine-spec-label {
    border-bottom: 0;
  }

  .machine-spec-value {
    border-bottom: 1px solid #edf1f4;
  }
}
