:root {
  --ink: #201714;
  --ink-soft: #554b46;
  --paper: #f7f6f1;
  --white: #ffffff;
  --line: #dedbd2;
  --lime: #b8de00;
  --lime-dark: #789400;
  --charcoal: #27211f;
  --shadow: 0 18px 48px rgba(32, 23, 20, 0.1);
  --radius: 28px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(222, 219, 210, 0.8);
  background: rgba(247, 246, 241, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 55px;
  height: 44px;
  object-fit: contain;
}

.brand-word {
  font-weight: 850;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.brand-word span {
  color: var(--lime-dark);
}

.nav-wrap,
.main-nav,
.header-actions,
.language-links {
  display: flex;
  align-items: center;
}

.nav-wrap {
  gap: 30px;
}

.main-nav {
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--lime-dark);
  transition: right 180ms ease;
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  gap: 12px;
}

.language {
  position: relative;
}

.language > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.language > summary::-webkit-details-marker {
  display: none;
}

.language-links {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.language[open] .language-links {
  display: flex;
}

.language-links a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.language-links a:hover,
.language-links a[aria-current="page"] {
  background: var(--paper);
  font-weight: 750;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  font-weight: 750;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--lime);
  color: #172000;
  box-shadow: 0 8px 22px rgba(151, 183, 0, 0.22);
}

.button-dark {
  background: var(--charcoal);
  color: var(--white);
}

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

.button-arrow::after,
.text-link::after {
  content: "↗";
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 72px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy > p:not(.eyebrow),
.page-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin: 28px 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(184, 222, 0, 0.5), transparent 27%),
    linear-gradient(145deg, #e9e8df, #d9ddd0);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 7%;
  border: 1px solid rgba(32, 23, 20, 0.13);
  border-radius: 50%;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(15px);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

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

.stat strong {
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section {
  padding: 118px 0;
}

.section-dark {
  color: var(--white);
  background: var(--charcoal);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2,
.split-content h2,
.contact-copy h2,
.product-info h1,
.product-detail h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-head p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .section-head p:last-child {
  color: #c9c4bf;
}

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

.solution-card,
.product-card,
.process-card {
  border-radius: var(--radius);
}

.solution-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #4b4440;
  background: #302a27;
}

.solution-card .card-number,
.process-card .card-number {
  color: var(--lime);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.solution-card h3,
.product-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.solution-card p,
.product-card p,
.process-card p {
  margin: 0;
  color: #c9c4bf;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: #efeee7;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

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

.voltage-card {
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle, rgba(184, 222, 0, 0.56), transparent 37%),
    #e7e9df;
}

.voltage-card strong {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.product-body {
  padding: 28px;
}

.product-body .battery {
  min-height: 48px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.product-body p {
  min-height: 52px;
  color: var(--ink-soft);
}

.text-link {
  margin-top: 24px;
  color: var(--lime-dark);
}

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

.process-card {
  padding: 28px 24px;
  border-top: 2px solid var(--ink);
  border-radius: 0;
}

.process-card h3 {
  margin-top: 44px;
}

.process-card p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background: var(--lime);
  overflow: hidden;
}

.split-visual img {
  width: min(70%, 430px);
  filter: drop-shadow(0 25px 25px rgba(32, 23, 20, 0.22));
}

.split-content > p:not(.eyebrow) {
  margin: 26px 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.check-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime-dark);
  font-weight: 900;
}

.contact-section {
  padding: 110px 0;
  background: #e8eae0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--ink-soft);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-link {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-link span {
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 24px;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfbf8;
  color: var(--ink);
  outline: none;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 128px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(184, 222, 0, 0.17);
}

.form-note {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-footer {
  padding: 64px 0 28px;
  color: #eae7e3;
  background: #181311;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid #403a37;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand .brand {
  margin-bottom: 15px;
}

.footer-brand .brand img {
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-bottom {
  color: #aaa39f;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 13px 30px;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.8rem;
}

.page-hero {
  padding: 58px 0 45px;
}

.breadcrumbs {
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.breadcrumbs a:hover {
  color: var(--lime-dark);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 58px;
  align-items: start;
}

.gallery {
  position: sticky;
  top: 106px;
}

.gallery-main {
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.gallery-thumb {
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--lime-dark);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.9rem);
}

.product-info .intro {
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.caution {
  padding: 20px;
  border-left: 4px solid var(--lime-dark);
  border-radius: 0 16px 16px 0;
  background: #eef2dc;
}

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

.caution span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.product-detail {
  padding: 90px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
}

.spec-table {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--ink-soft);
}

.spec-row dd {
  margin: 0;
  font-weight: 700;
}

.project-options {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
}

.project-options h2 {
  font-size: 2rem;
}

.project-options .check-list li {
  border-color: #4a4441;
}

.product-gallery-section {
  padding: 20px 0 110px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .product-layout,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 520px;
  }

  .split-visual {
    min-height: 430px;
  }

  .gallery {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .header-actions > .button,
  .language {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: fixed;
    inset: 68px 0 auto;
    padding: 26px 20px 34px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-wrap.open {
    display: flex;
  }

  .nav-wrap .main-nav,
  .nav-wrap .language,
  .nav-wrap .header-actions > .button {
    display: flex;
  }

  .nav-wrap .main-nav {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.15rem;
  }

  .nav-wrap .header-actions {
    align-items: stretch;
  }

  .nav-wrap .header-actions > .button {
    width: 100%;
  }

  .language > summary {
    width: 100%;
  }

  .language-links {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero,
  .page-hero {
    padding-top: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .stats,
  .cards-3,
  .product-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

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

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

