:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --surface-strong: #0f2f71;
  --text: #0f1f45;
  --muted: #647196;
  --primary: #ff6d2d;
  --secondary: #1a3b8c;
  --accent: #ff8a42;
  --border: rgba(15, 35, 88, 0.12);
  --hero-overlay: rgba(5, 18, 60, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff893f);
  color: #fff;
  padding: 16px 28px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn:hover {
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #05123c;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 36px;
  font-size: 13px;
  background: white;
}

.topbar span,
.topbar-link {
  margin-right: 18px;
}

.topbar-link {
 transition: color 0.2s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 36px;
}

.brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.cta-button {
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 80px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  align-items: center;
  gap: 38px;
  background-image:
    linear-gradient(180deg, rgba(5, 18, 60, 0.78), rgba(5, 18, 60, 0.42)),
    radial-gradient(
      circle at top left,
      rgba(255, 109, 45, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(25, 122, 226, 0.14),
      transparent 22%
    ),
    var(--hero-bg);
  background-size: inherit;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 10, 31, 0.3),
    rgba(4, 10, 31, 0.65)
  );
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero .eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 18px;
  background: rgba(255, 109, 45, 0.16);
  border: 1px solid rgba(255, 109, 45, 0.28);
  color: #ffd3ba;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-panel {
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.hero-panel__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hero-panel__content {
  padding: 28px 30px 32px;
}

.panel-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel__content h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.2;
}

.hero-panel__content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.hero-panel__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: #fff;
}

.section {
  padding: 25px 36px;
}

.section-header {
  max-width: 900px;
  margin-bottom: 42px;
}

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

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 16px;
  color: var(--surface-strong);
}

.section-header p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.cards-grid .figure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.service-grid article,
.why-list article,
.product-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 35, 88, 0.08);
  padding: 1rem;
}

.cards-grid article {
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.figure-card__image {
  width: 100%;
  /* min-height: 180px; */
  overflow: hidden;
  /* background: #f8f9ff; */
}

.figure-card__image img {
  width: 100%;
  height: 100%;
  max-height: 130px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.cards-grid article:hover .figure-card__image img {
  transform: scale(1.04);
}

.cards-grid h3 {
  margin: 16px 20px 24px;
  font-size: 1rem;
  color: var(--surface-strong);
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.services article {
  position: relative;
  overflow: hidden;
}



.services h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.services p {
  margin: 0 0 18px;
  color: var(--muted);
}

.services a {
  color: var(--primary);
  font-weight: 700;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit:cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.services article:hover .service-image img {
  transform: scale(1.05);
}

.why-lithium {
  background: linear-gradient(180deg, #eef4ff 0%, #f9fbff 100%);
  border-top: 1px solid rgba(15, 35, 88, 0.06);
}

.section-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.why-copy .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: rgba(15, 35, 88, 0.08);
  color: var(--secondary);
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.why-copy h2 {
  margin: 0 0 18px;
  color: var(--surface-strong);
  line-height: 1.2;
}

.why-copy p {
  color: var(--muted);
  max-width: 560px;
}

.why-list {
  display: grid;
  gap: 18px;
}

.why-list article {
  background: #fff;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(15, 35, 88, 0.07);
}

.why-list h3 {
  margin: 0 0 10px;
  color: var(--secondary);
}

.why-list p {
  color: var(--muted);
  margin: 0;
}

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

.product-card {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(15, 35, 88, 0.08);
  width: max-content;
  box-shadow: 0 24px 52px rgba(15, 35, 88, 0.08);
}

.product-card__media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
}

.product-card__body {
  padding: 24px;
}

.product-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 16px;
  background: rgba(255, 220, 200, 0.8);
  color: #d85c20;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__body h3 {
  margin: 0 0 14px;
  color: var(--surface-strong);
  font-size: 1.2rem;
}

.product-card__body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  color: var(--secondary);
}

.notice {
  max-width: 920px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 35, 88, 0.08);
  color: var(--text);
}

.notice-error {
  border-color: rgba(255, 108, 43, 0.24);
  background: rgba(255, 121, 73, 0.08);
  color: #6c2d0f;
}

.contact-block {
  background: #0d234d;
  color: #fff;
  border-radius: 32px;
  padding: 60px 42px;
}

.contact-content h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.contact-content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.contact-details strong,
.contact-details p {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding: 60px 36px;
  background: #05143f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-column h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 18px;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column p {
  margin: 0 0 10px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    gap: 14px;
  }
  .hero {
    padding: 60px 24px;
    grid-template-columns: 1fr;
  }
  .hero-panel {
    margin-top: 24px;
  }
  .section {
    padding: 60px 24px;
  }
  .section-split {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
  }
  .nav-wrap {
    padding: 18px 24px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .service-grid,
  .product-grid,
  .cards-grid .figure-cards {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 40px 24px;
  }
}
