:root {
  --black: #101010;
  --ink: #151a20;
  --panel: #1d252d;
  --panel-2: #25313a;
  --green: #79c143;
  --green-dark: #5da52d;
  --gold: #f4b740;
  --text: #20252b;
  --muted: #6f7a84;
  --line: #e5e8eb;
  --soft: #f6f7f4;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 16, 16, 0.16);
  --radius: 4px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

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

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

.top-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  padding: 9px clamp(18px, 4vw, 64px);
  color: #d8ded8;
  font-size: 13px;
  font-weight: 700;
  background: var(--black);
}

.top-info__list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-info b {
  color: var(--green);
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(18px, 4vw, 64px);
  color: var(--white);
  background: rgba(21, 26, 32, 0.98);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled {
  background: rgba(16, 16, 16, 0.98);
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--black);
  font-weight: 900;
  letter-spacing: 0;
  background: var(--green);
  border-radius: 0;
  transform: skewX(-8deg);
}

.brand-mark::after {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(16, 16, 16, 0.28);
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: var(--white);
  font-size: 18px;
  line-height: 1.1;
}

.brand-text small {
  color: #b9c3bd;
  font-size: 12px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #ecf1ed;
  font-size: 14px;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease;
}

.main-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 25px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav .language-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav .quote-link {
  margin-left: 10px;
  min-width: 126px;
  justify-content: center;
  padding: 0 24px;
  color: var(--black);
  background: var(--green);
  box-shadow: inset 0 -3px 0 rgba(16, 16, 16, 0.12);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}

.main-nav .quote-link:hover {
  color: var(--black);
  background: #91d64f;
}

.main-nav .quote-link::after,
.main-nav .language-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  align-self: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  max-width: none;
  margin: 0;
}

.hero-home {
  position: relative;
  display: grid;
  min-height: calc(100vh - 128px);
  padding: clamp(70px, 9vw, 132px) clamp(20px, 7vw, 110px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.94) 0%, rgba(16, 22, 27, 0.76) 50%, rgba(16, 22, 27, 0.28) 100%),
    url("../images/banners/lithium-battery-hero.webp") center / cover no-repeat;
}

.hero-home::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-home::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: 0;
  width: min(42vw, 520px);
  height: 12px;
  content: "";
  background: var(--green);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  min-width: 0;
}

.hero-media {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 3px;
  content: "";
  background: var(--green);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(31px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.22;
}

p {
  color: var(--muted);
}

.hero-copy h1,
.hero-copy p {
  color: var(--white);
}

.mobile-title {
  display: none;
}

.hero-copy > p {
  max-width: 680px;
  margin-bottom: 32px;
  color: #dce5df;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 26px;
  overflow: hidden;
  font-weight: 900;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.btn::after {
  margin-left: 10px;
  content: ">";
  font-weight: 900;
}

.btn.primary {
  color: var(--black);
  background: var(--green);
  box-shadow: 0 14px 26px rgba(121, 193, 67, 0.24);
}

.btn.primary:hover {
  background: #91d64f;
  transform: translateY(-1px);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn.secondary:hover {
  color: var(--black);
  background: var(--white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.16);
}

.trust-row span {
  padding: 18px 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: rgba(16, 16, 16, 0.64);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 20px;
}

.band {
  max-width: none;
  background: var(--soft);
}

.band > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.about-tabs {
  display: grid;
  gap: 18px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-buttons button {
  padding: 13px 18px;
  color: var(--ink);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.tab-buttons button.active,
.tab-buttons button:hover {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

.tab-panel {
  display: none;
  padding: 26px;
  background: var(--white);
  border-left: 5px solid var(--green);
  box-shadow: var(--shadow);
}

.tab-panel.active {
  display: block;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.align-start {
  align-items: start;
}

.media-stack {
  position: relative;
  min-height: 420px;
}

.media-stack img {
  position: absolute;
  width: 78%;
  height: 72%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-stack img:first-child {
  top: 0;
  left: 0;
}

.media-stack img:last-child {
  right: 0;
  bottom: 0;
  border: 8px solid var(--white);
}

.media-badge {
  position: absolute;
  right: 8%;
  bottom: 46%;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  padding: 18px;
  color: var(--black);
  font-weight: 900;
  text-align: center;
  background: var(--green);
  box-shadow: var(--shadow);
}

.product-grid,
.feature-grid,
.process-grid,
.application-grid,
.gallery-grid,
.certificate-grid,
.counter-grid,
.package-grid {
  display: grid;
  gap: 24px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.feature-card,
.process-grid article,
.application-grid article,
.gallery-grid figure,
.certificate-card,
.solution-list article,
.package-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 16px 36px rgba(16, 16, 16, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 4px;
  content: "";
  background: var(--green);
  opacity: 0.92;
}

.product-card:hover,
.feature-card:hover,
.process-grid article:hover,
.application-grid article:hover,
.gallery-grid figure:hover,
.certificate-card:hover,
.solution-list article:hover,
.package-card:hover {
  transform: translateY(-7px);
  border-color: rgba(121, 193, 67, 0.65);
  box-shadow: 0 28px 60px rgba(16, 16, 16, 0.16);
}

.product-card img,
.process-grid img,
.application-grid img,
.gallery-grid img,
.solution-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.product-body p {
  margin-bottom: 0;
}

.product-apps {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-apps > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-apps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-apps li {
  max-width: 100%;
  padding: 6px 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  background: var(--soft);
  border: 1px solid rgba(16, 16, 16, 0.08);
}

.tag {
  display: inline-flex;
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  background: var(--green);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
}

.card-actions .text-link {
  flex: 1 1 118px;
  min-height: 42px;
  justify-content: center;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.card-actions .text-link:last-child {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 10px 18px rgba(121, 193, 67, 0.2);
}

.card-actions .text-link::after {
  width: 24px;
  height: 24px;
  margin-left: 8px;
  background: rgba(16, 16, 16, 0.08);
}

.text-link::after {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: 10px;
  place-items: center;
  color: var(--black);
  content: ">";
  background: var(--green);
}

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

.feature-card {
  padding: 34px;
}

.feature-card.dark {
  color: var(--white);
  background: var(--panel);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card.dark h3,
.feature-card.dark p {
  color: var(--white);
}

.feature-card.dark p {
  opacity: 0.76;
}

.feature-icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--black);
  font-weight: 900;
  background: var(--green);
}

.process-grid,
.application-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.application-grid article {
  display: flex;
  flex-direction: column;
}

.process-grid h3,
.application-grid h3,
.process-grid p,
.application-grid p {
  margin-right: 24px;
  margin-left: 24px;
}

.process-grid h3,
.application-grid h3 {
  margin-top: 22px;
}

.process-grid p,
.application-grid p {
  margin-bottom: 24px;
}

.application-grid .text-link {
  margin: auto 24px 24px;
}

.mobility-grid article {
  min-height: 100%;
}

.mobility-grid img {
  background: #eef1ea;
}

.mobility-grid h3 {
  font-size: 21px;
}

.mobility-grid p {
  flex: 1;
}

.dark-section {
  max-width: none;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 16, 16, 0.9), rgba(16, 16, 16, 0.9)),
    url("../images/factory/battery-testing.webp") center / cover no-repeat;
}

.dark-section h2,
.dark-section h3,
.dark-section p {
  color: var(--white);
}

.dark-section p {
  opacity: 0.78;
}

.dark-section > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.counter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.counter-card {
  padding: 28px 22px;
  color: var(--white);
  background: var(--panel);
  border-bottom: 4px solid var(--green);
}

.counter-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
}

.counter-card span {
  font-weight: 900;
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
  padding: 34px;
}

.package-card ul {
  padding: 0;
  margin: 22px 0;
  color: var(--muted);
  list-style: none;
}

.package-card li + li {
  margin-top: 10px;
}

.package-card li::before {
  margin-right: 9px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

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

.faq-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question::after {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--black);
  content: "+";
  background: var(--green);
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.certificate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.certificate-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.certificate-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #eef1ea;
}

.certificate-card span {
  line-height: 1.25;
}

.certificate-card small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  background: rgba(121, 193, 67, 0.22);
}

.compliance-card {
  gap: 12px;
  min-height: 220px;
  cursor: default;
}

.compliance-card h3,
.compliance-card p {
  margin: 0;
}

.compliance-card p {
  color: var(--muted);
  font-weight: 500;
}

.compliance-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--black);
  font-weight: 900;
  background: var(--green);
}

.project-overlay figure,
.gallery-grid figure {
  margin: 0;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-group + .gallery-group {
  margin-top: 64px;
}

.gallery-group .section-heading {
  margin-bottom: 28px;
}

.gallery-grid figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  color: var(--white);
  font-weight: 900;
  background: rgba(16, 16, 16, 0.82);
  border-left: 4px solid var(--green);
  transform: translateY(14px);
  transition: transform 0.2s ease;
}

.gallery-grid figure:hover figcaption {
  transform: translateY(0);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto clamp(64px, 7vw, 92px);
  padding: clamp(34px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(29, 37, 45, 0.96), rgba(29, 37, 45, 0.82)),
    url("../images/factory/battery-delivery.webp") center / cover no-repeat;
  border-left: 7px solid var(--green);
}

.cta-section h2,
.cta-section p,
.cta-section .eyebrow {
  color: var(--white);
}

.cta-section p {
  max-width: 760px;
  margin-bottom: 0;
  opacity: 0.82;
}

.cta-section .btn.primary {
  color: var(--black);
  background: var(--green);
}

.page-hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 110px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.9), rgba(16, 16, 16, 0.64)),
    url("../images/banners/lithium-battery-hero.webp") center / cover no-repeat;
}

.page-hero::after {
  position: absolute;
  bottom: 0;
  left: clamp(20px, 7vw, 110px);
  width: 230px;
  height: 7px;
  content: "";
  background: var(--green);
}

.page-hero h1,
.page-title-like,
.page-hero p {
  color: var(--white);
}

.page-title-like {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6.2vw, 86px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
  opacity: 0.84;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.rounded-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.filter-bar button {
  min-height: 46px;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.filter-bar button.active,
.filter-bar button:hover {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 10px 20px rgba(121, 193, 67, 0.2);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(68px, 8vw, 108px) 20px;
}

.detail-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.detail-main h2 {
  margin: 28px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.14;
}

.detail-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.sidebar-card {
  padding: 26px;
  background: var(--soft);
  border-top: 4px solid var(--green);
}

.sidebar-card.dark {
  color: var(--white);
  background: var(--panel);
  box-shadow: 0 18px 36px rgba(16, 16, 16, 0.18);
}

.sidebar-card.dark h3,
.sidebar-card.dark p {
  color: var(--white);
}

.sidebar-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-card li + li {
  margin-top: 10px;
}

.sidebar-card .btn {
  width: 100%;
  clip-path: none;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.detail-meta span {
  padding: 14px;
  color: var(--ink);
  font-weight: 900;
  background: var(--soft);
  border-left: 4px solid var(--green);
}

.detail-list {
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 8px;
}

.solution-list {
  display: grid;
  gap: 24px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
}

.solution-list article[id] {
  scroll-margin-top: 110px;
}

.solution-list article .tag {
  margin-bottom: 10px;
}

.solution-list article h2 {
  font-size: clamp(25px, 3vw, 40px);
}

.notice-box {
  margin-top: 28px;
  padding: 26px;
  background: var(--soft);
  border-left: 5px solid var(--green);
}

.notice-box.compact {
  margin-top: 18px;
  padding: 16px;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.contact-panel,
.inquiry-form {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(16, 16, 16, 0.08);
}

.contact-panel {
  color: var(--white);
  background:
    linear-gradient(rgba(29, 37, 45, 0.94), rgba(29, 37, 45, 0.94)),
    url("../images/factory/battery-pack-assembly.webp") center / cover no-repeat;
  border-top: 5px solid var(--green);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-panel p {
  opacity: 0.82;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list strong {
  color: var(--green);
}

.contact-list a,
.contact-list span {
  color: var(--white);
}

.contact-panel .notice-box.compact {
  background: rgba(121, 193, 67, 0.12);
  border-left-color: var(--green);
}

.contact-panel .notice-box.compact p {
  color: #edf7e8;
  opacity: 1;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.form-intro {
  padding: 20px;
  background: var(--soft);
  border-left: 5px solid var(--green);
}

.form-intro h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.2vw, 32px);
}

.form-intro p {
  margin-bottom: 0;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--text);
  background: #fbfcf8;
  border: 1px solid var(--line);
  outline: none;
}

.inquiry-form textarea {
  min-height: 154px;
  resize: vertical;
}

.inquiry-form .btn {
  width: max-content;
  min-width: 220px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(121, 193, 67, 0.2);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 900;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  padding: clamp(48px, 7vw, 78px) clamp(20px, 6vw, 78px);
  color: #cbd5ce;
  background:
    linear-gradient(rgba(16, 16, 16, 0.96), rgba(16, 16, 16, 0.96)),
    url("../images/factory/battery-testing.webp") center / cover no-repeat;
}

.site-footer h3,
.site-footer strong {
  color: var(--white);
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #aeb8b1;
}

.site-footer a {
  display: block;
  color: #d9dfda;
  font-weight: 800;
}

.footer-contact-status {
  display: block;
  margin-bottom: 9px;
  color: #d9dfda;
  font-weight: 800;
}

.site-footer a + a {
  margin-top: 9px;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.footer-brand .brand-mark {
  width: 58px;
  height: 58px;
}

.footer-note {
  padding: 12px 14px;
  color: var(--black);
  font-weight: 900;
  background: var(--green);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 40;
  display: grid;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.18);
}

.floating-contact a,
.back-top {
  display: grid;
  min-width: 58px;
  height: 46px;
  place-items: center;
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  background: var(--green);
  border: 0;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(16, 16, 16, 0.22);
}

.floating-contact a {
  min-width: 72px;
  box-shadow: none;
}

.floating-contact a + a {
  color: var(--white);
  background: var(--panel);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 34px;
  z-index: 40;
  width: 46px;
  min-width: 46px;
  background: var(--panel);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 16, 16, 0.86);
}

.image-modal.is-open {
  display: flex;
}

.image-modal img {
  max-width: min(92vw, 760px);
  max-height: 82vh;
  object-fit: contain;
  background: var(--white);
}

.image-modal p {
  position: fixed;
  bottom: 18px;
  left: 50%;
  margin: 0;
  padding: 8px 14px;
  color: var(--white);
  font-weight: 900;
  transform: translateX(-50%);
}

.image-modal button {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
