:root {
  --bg: #f4f7ef;
  --surface: #ffffff;
  --surface-soft: #eef3e5;
  --surface-strong: #e4ead7;
  --ink: #25292b;
  --muted: #61686b;
  --line: #d8dfcd;
  --accent: #c6dd6f;
  --accent-deep: #95b542;
  --accent-warm: #f47d22;
  --shadow: 0 20px 50px rgba(42, 52, 34, 0.08);
  --radius: 8px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.hero h1,
.service-copy h2,
.about-panel h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading h2,
.service-copy h2,
.about-panel h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-lead,
.hero-lead {
  margin: 1rem 0 0;
  font-size: 1.03rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  background: rgba(244, 247, 239, 0.88);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(28, 38, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 54px;
  padding: 0.28rem;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(216, 223, 205, 0.9);
  flex: 0 0 auto;
}

.brand-mark.large {
  width: 196px;
  height: 76px;
  padding: 0.4rem;
}

.brand-mark img,
.chip-logo img,
.product-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy span {
  font-size: 0.8rem;
  color: var(--muted);
}

.header-panel {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a,
.footer-nav a {
  position: relative;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--accent-warm);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

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

.site-nav a:hover,
.site-nav a.is-active,
.footer-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 3.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.lang-button.is-active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 41, 43, 0.15);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.22rem auto;
  background: var(--ink);
}

.hero {
  padding-top: 2rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
  max-width: 10.5ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.hero-points li {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1693 / 929;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-brand-chip {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 223, 205, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(28, 38, 24, 0.08);
}

.chip-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 52px;
  padding: 0.24rem;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 auto;
}

.hero-brand-chip p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.hero-brand-chip strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
}

.intro-strip {
  padding: 0 0 2rem;
}

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

.intro-card,
.product-card,
.news-card,
.service-card,
.fact-card,
.scene-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-card {
  padding: 1.2rem 1.25rem;
}

.intro-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-warm);
}

.intro-card h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.products {
  background: var(--surface);
}

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

.product-card {
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  padding: 1rem;
}

.product-media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.media-mint {
  background: linear-gradient(180deg, #f4f8ef 0%, #eaf1df 100%);
}

.media-dark {
  background: linear-gradient(180deg, #f6f3ed 0%, #ece8de 100%);
}

.media-coral {
  background: linear-gradient(180deg, #fdf5ef 0%, #f7efe7 100%);
}

.product-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 84px;
  height: 60px;
  padding: 0.28rem;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(216, 223, 205, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 20px rgba(28, 38, 24, 0.08);
}

.product-body {
  padding: 1.35rem 1.3rem 1.4rem;
}

.product-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
}

.product-body h3,
.news-card h3,
.scene-card h3,
.service-card h3,
.fact-card strong {
  margin: 0;
  line-height: 1.22;
}

.product-body p,
.news-card p,
.scene-card p,
.service-card p,
.about-logo-block p,
.site-footer p {
  color: var(--muted);
}

.detail-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent-warm);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.tag-row span {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
}

.scenes {
  background: var(--bg);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.scene-card {
  padding: 1.35rem;
  min-height: 220px;
}

.scene-card span,
.fact-card span,
.service-steps span,
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.scene-card span {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent);
}

.news {
  background: var(--surface);
}

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

.news-card {
  padding: 1.4rem;
}

.news-tag {
  padding: 0.38rem 0.72rem;
  margin-bottom: 0.95rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-warm);
}

.service-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: start;
}

.service-grid,
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.fact-card {
  padding: 1.3rem;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.service-steps div {
  padding: 0.95rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.service-steps span {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.service-steps strong,
.fact-card strong {
  display: block;
  font-size: 1rem;
}

.about {
  background: linear-gradient(180deg, #edf3e4 0%, #f4f7ef 100%);
}

.about-panel,
.about-facts {
  min-width: 0;
}

.about-logo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact-card span {
  margin-bottom: 0.6rem;
  color: var(--accent-deep);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1100px) {
  .hero-layout,
  .service-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .header-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .header-panel {
    display: flex;
  }

  .site-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a,
  .header-cta,
  .lang-switch {
    width: 100%;
  }

  .lang-switch {
    justify-content: center;
  }

  .intro-grid,
  .product-grid,
  .news-grid,
  .service-grid,
  .about-facts {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.45rem, 10vw, 3.7rem);
  }

  .hero-brand-chip,
  .about-logo-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .chip-logo {
    width: 86px;
    height: 60px;
  }

  .intro-card h2,
  .product-body h3,
  .news-card h3,
  .scene-card h3,
  .service-card h3 {
    font-size: 1.2rem;
  }

  .scene-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .scene-card {
    min-height: auto;
  }

  .brand-copy strong,
  .brand-copy span {
    white-space: normal;
  }
}
