:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-muted: #edf2f2;
  --ink: #14211f;
  --muted: #62716e;
  --line: #dce5e3;
  --brand: #0f766e;
  --brand-dark: #0a514c;
  --brand-soft: #dff5f1;
  --accent: #e8a317;
  --danger-soft: #fff6dc;
  --shadow: 0 16px 44px rgba(20, 33, 31, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 5%, rgba(15, 118, 110, 0.08), transparent 28rem),
    var(--bg);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 227, 0.82);
  background: rgba(245, 247, 248, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner,
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #15978c);
  border-radius: 10px 4px 10px 4px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--brand-dark);
}

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

.language-switch a {
  min-width: 44px;
  padding: 5px 11px;
  text-align: center;
  border-radius: 999px;
}

.language-switch a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

.hero {
  padding: 54px 0 32px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 70px);
  color: #f4fffd;
  background:
    linear-gradient(120deg, rgba(6, 49, 45, 0.97), rgba(12, 104, 96, 0.92)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, 0.04) 12px 13px);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #bfece6;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d1e7e3;
  font-size: clamp(1rem, 2vw, 1.17rem);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(8, 56, 51, 0.16);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-outline {
  color: var(--brand-dark);
  background: transparent;
  border-color: var(--line);
}

.button-small {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.88rem;
}

.contact-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.66rem;
  line-height: 1;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #bfece6;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.section {
  padding: 32px 0;
  scroll-margin-top: 88px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 15px 18px;
  background: var(--danger-soft);
  border: 1px solid #f2d99b;
  border-radius: var(--radius-md);
  color: #654c10;
  font-size: 0.92rem;
}

.notice strong {
  color: #3f310b;
}

.notice-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #b77a00;
  border-radius: 50%;
  font-weight: 800;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field {
  min-height: 42px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.search-field {
  width: min(320px, 100%);
}

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

.stat {
  padding: 7px 11px;
  color: var(--muted);
  background: var(--surface-muted);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
}

.stat strong {
  margin-left: 4px;
  color: var(--ink);
}

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

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(20, 33, 31, 0.04);
}

.card-top {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.card-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.model-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 7px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 7px;
  font-size: 0.76rem;
  vertical-align: 0.16em;
}

.batch-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.stock-pill {
  flex: 0 0 auto;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 750;
}

.card-body {
  flex: 1;
  padding: 18px 20px;
}

.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.meta-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.price {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.price small {
  display: block;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 500;
  text-align: right;
}

.flavor-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.flavor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.flavor-chip {
  padding: 5px 8px;
  color: #31433f;
  background: #f3f6f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.77rem;
}

button.flavor-chip {
  cursor: pointer;
}

.flavor-chip.more {
  color: var(--brand-dark);
  background: transparent;
  border-style: dashed;
  font-weight: 700;
}

.flavor-chip:hover,
.flavor-chip:focus-visible {
  border-color: var(--brand);
}

.card-footer {
  padding: 16px 20px 20px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.card-actions .button {
  min-width: 0;
}

.card-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 56px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}

.empty-state h3 {
  margin: 0 0 7px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

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

.process-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 34px;
  padding: clamp(26px, 5vw, 48px);
  color: #fff;
  background: #162c28;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-panel p {
  margin: 0;
  color: #b9cbc7;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 20px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.contact-card strong {
  font-size: 1.04rem;
}

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

.contact-card .arrow {
  margin-top: 22px;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 800;
}

.config-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  color: #4e390c;
  background: #fff0c4;
  border-radius: 10px;
  font-size: 0.82rem;
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.footer-note {
  max-width: 760px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.modal {
  width: min(720px, calc(100% - 28px));
  max-height: min(82vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
  background: rgba(9, 28, 25, 0.58);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface-muted);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-body {
  overflow: auto;
  max-height: calc(82vh - 84px);
  padding: 6px 22px 22px;
}

.flavor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.flavor-table th,
.flavor-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.flavor-table th {
  position: sticky;
  top: 0;
  color: var(--muted);
  background: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flavor-table .number {
  text-align: right;
}

.flavor-table .total {
  font-weight: 800;
}

@media (max-width: 920px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .container {
    width: min(100% - 28px, 1180px);
  }

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

  .header-nav {
    gap: 10px;
  }

  .header-nav .page-link {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-panel {
    border-radius: 24px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .toolbar {
    align-items: stretch;
  }

  .filters,
  .field,
  .search-field {
    width: 100%;
  }

  .product-grid,
  .process-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 138px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .contact-card {
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }
}
