:root {
  --green-950: #061810;
  --green-900: #0b2f20;
  --green-800: #0b4a2f;
  --green-700: #116a43;
  --ivory: #f7faf6;
  --paper: #ffffff;
  --ink: #10251c;
  --muted: #66766e;
  --gold: #c8a45d;
  --line: rgba(11, 74, 47, 0.14);
  --shadow: 0 24px 70px rgba(6, 24, 16, 0.16);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  letter-spacing: 0;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: rgba(6, 24, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-950);
  font-weight: 900;
  background: linear-gradient(135deg, #f5e1a7, var(--gold));
  border-radius: 14px;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.15;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
}

.brand em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

#site-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

#site-nav a {
  white-space: nowrap;
}

#site-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.home-language-switch button {
  min-height: 34px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.home-language-switch button.active {
  color: var(--green-950);
  background: #fff;
}

.nav-cta,
.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-cta,
.button.primary {
  color: var(--green-950);
  background: linear-gradient(135deg, #f6e7b8, var(--gold));
  box-shadow: 0 12px 34px rgba(200, 164, 93, 0.28);
}

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

.button.dark {
  color: #fff;
  background: var(--green-800);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  padding: 72px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(200, 164, 93, 0.24), transparent 32%),
    linear-gradient(145deg, var(--green-950), var(--green-900) 46%, #0e5b3a);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -42% -15%;
  height: 360px;
  background: rgba(247, 250, 246, 0.06);
  border-radius: 50%;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h2 {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy {
  min-width: 0;
}

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

.hero-proof span {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 250px 170px 150px;
  gap: 16px;
  min-width: 0;
}

.mosaic-card,
.category-card,
.supply-chain {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf4ee, #f8fbf8);
  border-radius: 24px;
}

.mosaic-card img,
.category-card img,
.supply-chain > img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.mosaic-card::before,
.category-card::before,
.supply-chain::before {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(11, 74, 47, 0.2);
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(11, 74, 47, 0.1), rgba(200, 164, 93, 0.18));
}

.mosaic-card img,
.category-card img,
.supply-chain > img {
  position: relative;
  z-index: 1;
}

.mosaic-card::after,
.category-card::after,
.supply-chain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 34%, rgba(6, 24, 16, 0.76));
}

.mosaic-large {
  grid-row: span 2;
  box-shadow: var(--shadow);
}

.mosaic-products {
  box-shadow: var(--shadow);
}

.mosaic-card figcaption {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.mosaic-stat,
.mosaic-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.mosaic-stat strong {
  color: var(--gold);
  font-size: 50px;
  line-height: 1;
}

.mosaic-note {
  grid-column: span 2;
}

.mosaic-note strong {
  font-size: 24px;
}

.mosaic-note span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.quick-stats article,
.advantage-grid article,
.client-entry,
.application,
.footer-grid {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(6, 24, 16, 0.08);
}

.quick-stats article {
  padding: 24px;
  border-radius: 20px;
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  color: var(--green-800);
  font-size: 24px;
  line-height: 1.15;
}

.quick-stats span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.premium-section,
.advantages,
.brands,
.application {
  padding-top: 78px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.client-entry h2,
.application h1,
.application h2,
.application-cta h2,
.supply-overlay h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
}

.section-heading span,
.client-entry p,
.application p {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.category-card {
  min-height: 360px;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.category-card div {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.category-card h3 {
  margin: 0;
  font-size: 25px;
}

.category-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

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

.advantage-grid article {
  padding: 26px;
  border-radius: 22px;
}

.advantage-grid strong {
  display: block;
  color: var(--green-800);
  font-size: 22px;
}

.advantage-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.supply-chain {
  width: min(1180px, calc(100% - 40px));
  height: 520px;
  margin: 82px auto 0;
  box-shadow: var(--shadow);
}

.supply-chain::after {
  background: linear-gradient(90deg, rgba(6, 24, 16, 0.88), rgba(6, 24, 16, 0.42), rgba(6, 24, 16, 0.12));
}

.supply-overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  padding: 56px;
  color: #fff;
}

.supply-overlay h2 {
  color: #fff;
}

.supply-overlay p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.chain-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.chain-steps span {
  padding: 10px 14px;
  color: var(--green-950);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

.chain-steps i {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.brand-wall figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  margin: 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 246, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(200, 164, 93, 0.16), transparent 55%);
  box-shadow: 0 16px 42px rgba(6, 24, 16, 0.07);
}

.brand-wall img {
  width: 100%;
  max-width: 190px;
  height: 58px;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.03);
  flex-shrink: 0;
}

.public-catalog {
  padding-top: 78px;
}

.public-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: end;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(6, 24, 16, 0.07);
}

.catalog-toolbar label {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: var(--green-800);
  font-weight: 900;
}

.public-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.public-category-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  color: var(--green-800);
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.public-category-tabs button.active {
  color: #fff;
  border-color: var(--green-800);
  background: var(--green-800);
}

.catalog-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.catalog-search input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(17, 106, 67, 0.12);
}

.catalog-search strong {
  min-width: 54px;
  color: var(--green-800);
  text-align: center;
}

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

.public-product-pagination {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 28px;
}

.public-product-pagination p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.public-product-pagination .button {
  min-width: 230px;
}

.public-product-pagination .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.public-product-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(6, 24, 16, 0.07);
}

.public-product-image,
.public-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 118px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef7f1, #f8fbf8);
  cursor: pointer;
}

.public-product-image img,
.public-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.catalog-fallback {
  color: var(--green-800);
  font-size: 46px;
  font-weight: 950;
}

.public-product-body {
  min-width: 0;
}

.public-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}

.public-product-tags span {
  padding: 4px 8px;
  color: var(--green-950);
  font-size: 11px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.28);
}

.public-product-title {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.public-product-body p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.public-product-body dl,
.detail-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.public-product-body dl div,
.detail-list div {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.public-product-body dt,
.detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.public-product-body dd,
.detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.public-price-locked {
  margin-top: 12px;
  padding: 11px 12px;
  color: var(--green-800);
  font-weight: 950;
  border: 1px solid rgba(11, 74, 47, 0.16);
  border-radius: 14px;
  background: #f4faf6;
}

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

.public-card-actions a,
.public-card-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.public-empty {
  grid-column: 1 / -1;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.public-product-skeleton {
  pointer-events: none;
}

.public-product-skeleton .public-product-image,
.public-product-skeleton span,
.public-product-skeleton strong,
.public-product-skeleton p {
  display: block;
  border-radius: 14px;
  background: linear-gradient(90deg, #edf4ef, #f8fbf8, #edf4ef);
  background-size: 180% 100%;
  animation: skeletonPulse 1.15s ease-in-out infinite;
}

.public-product-skeleton span {
  width: 72px;
  height: 18px;
}

.public-product-skeleton strong {
  width: 82%;
  height: 26px;
  margin-top: 12px;
}

.public-product-skeleton p {
  width: 100%;
  height: 16px;
  margin: 12px 0 0;
}

.public-product-skeleton p:last-child {
  width: 62%;
}

@keyframes skeletonPulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.public-product-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 16, 0.64);
  backdrop-filter: blur(8px);
}

.public-product-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: 24px;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  color: var(--green-800);
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.public-detail-image {
  min-height: 320px;
}

.public-detail-content h2 {
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.public-detail-content h3 {
  margin: 18px 0 8px;
  color: var(--green-800);
}

.public-detail-content p {
  color: var(--muted);
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

.client-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  margin-top: 78px;
  padding: 34px;
  border-radius: 24px;
}

.client-entry h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.application {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(48px, 5vw, 72px);
  width: min(1360px, calc(100% - 40px));
  margin-top: 78px;
  padding: clamp(34px, 3.6vw, 54px);
  border-radius: 28px;
}

.apply-page-main {
  padding: 54px 0 0;
}

.application-standalone {
  margin-top: 0;
}

.application-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 78px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.9)),
    radial-gradient(circle at 82% 8%, rgba(200, 164, 93, 0.18), transparent 36%);
  box-shadow: 0 18px 50px rgba(6, 24, 16, 0.08);
}

.application-cta h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.7vw, 48px);
}

.application-cta p {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.apply-copy {
  align-self: start;
}

.application-title {
  max-width: 560px;
  text-wrap: balance;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.application-form label,
.category-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-weight: 800;
}

.application-form label > span {
  color: var(--green-900);
  font-size: 15px;
  line-height: 1.25;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  color: var(--ink);
  font-weight: 650;
  border: 1px solid rgba(11, 74, 47, 0.18);
  border-radius: 14px;
  background: #fff;
  outline: none;
}

.application-form input::placeholder,
.application-form textarea::placeholder {
  color: rgba(16, 37, 28, 0.5);
  font-weight: 650;
}

.application-form textarea {
  min-height: 148px;
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(17, 106, 67, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.category-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(11, 74, 47, 0.14);
  border-radius: 20px;
  background: #f6faf7;
}

.category-checks strong {
  grid-column: 1 / -1;
  color: var(--green-900);
  font-size: 16px;
  line-height: 1.25;
}

.category-checks label {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.22;
  border: 1px solid rgba(11, 74, 47, 0.14);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.category-checks label:hover {
  border-color: rgba(17, 106, 67, 0.34);
  box-shadow: 0 10px 28px rgba(6, 24, 16, 0.07);
}

.category-checks input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--green-800);
  flex: 0 0 auto;
}

.category-checks label:has(input:checked) {
  color: var(--green-900);
  border-color: rgba(17, 106, 67, 0.42);
  background: #edf7f1;
  box-shadow: inset 0 0 0 1px rgba(17, 106, 67, 0.08);
}

.application-form .button[type="submit"] {
  justify-self: end;
  width: min(280px, 100%);
  min-height: 58px;
  white-space: nowrap;
}

.form-message {
  margin: 0;
  color: var(--green-800);
  font-weight: 900;
}

.form-message.error {
  color: #a62016;
}

.site-footer {
  margin-top: 82px;
  padding: 54px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1fr;
  gap: 26px;
  padding: 32px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  box-shadow: none;
}

.footer-grid strong,
.footer-grid h3,
.footer-link {
  color: #fff;
}

.footer-grid p {
  line-height: 1.7;
}

.footer-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 900;
}

.page-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--green-950);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-loading.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loading-card {
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 24px;
  color: #fff;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-card span {
  color: rgba(255, 255, 255, 0.64);
}

.page-error {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  background: #9b1c12;
  box-shadow: 0 18px 44px rgba(155, 28, 18, 0.3);
}

.hidden {
  display: none !important;
}

html[lang="pt-PT"] .site-header {
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  gap: 14px;
  padding-inline: max(16px, calc((100vw - 1320px) / 2));
}

html[lang="pt-PT"] .brand {
  gap: 10px;
}

html[lang="pt-PT"] .brand-mark {
  width: 40px;
  height: 40px;
}

html[lang="pt-PT"] .brand strong {
  font-size: 15px;
}

html[lang="pt-PT"] .brand em {
  font-size: 12px;
}

html[lang="pt-PT"] #site-nav {
  justify-content: flex-end;
  gap: clamp(10px, 1.1vw, 18px);
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.2;
}

html[lang="pt-PT"] .header-actions {
  gap: 7px;
}

html[lang="pt-PT"] .nav-cta,
html[lang="pt-PT"] .nav-link,
html[lang="pt-PT"] .button {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
}

html[lang="pt-PT"] .home-language-switch button {
  min-height: 32px;
  padding-inline: 9px;
  font-size: 12px;
}

html[lang="pt-PT"] .hero-shell {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: 42px;
  width: min(1320px, calc(100% - 56px));
}

html[lang="pt-PT"] .hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 4.75vw, 82px);
  line-height: 1;
  text-wrap: balance;
}

html[lang="pt-PT"] .hero h2 {
  max-width: 720px;
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.12;
  text-wrap: balance;
}

html[lang="pt-PT"] .hero-subtitle {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.62;
}

html[lang="pt-PT"] .hero-actions,
html[lang="pt-PT"] .hero-proof {
  gap: 10px;
  margin-top: 24px;
}

html[lang="pt-PT"] .hero-proof span {
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 13px;
}

html[lang="pt-PT"] .mosaic-card figcaption {
  font-size: 19px;
  line-height: 1.12;
}

html[lang="pt-PT"] .mosaic-note strong {
  font-size: 21px;
  line-height: 1.16;
}

html[lang="pt-PT"] .mosaic-note span {
  line-height: 1.45;
}

html[lang="pt-PT"] .section-heading {
  max-width: 980px;
}

html[lang="pt-PT"] .section-heading h2,
html[lang="pt-PT"] .client-entry h2,
html[lang="pt-PT"] .application h1,
html[lang="pt-PT"] .application h2,
html[lang="pt-PT"] .application-cta h2,
html[lang="pt-PT"] .supply-overlay h2 {
  max-width: 1050px;
  font-size: clamp(36px, 3.7vw, 64px);
  line-height: 1.04;
  text-wrap: balance;
}

html[lang="pt-PT"] .section-heading span,
html[lang="pt-PT"] .client-entry p,
html[lang="pt-PT"] .application p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.55;
}

html[lang="pt-PT"] .category-card {
  min-height: 340px;
}

html[lang="pt-PT"] .category-card div {
  bottom: 20px;
}

html[lang="pt-PT"] .category-card h3 {
  max-width: 95%;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.08;
  text-wrap: balance;
}

html[lang="pt-PT"] .category-card p {
  display: -webkit-box;
  margin-top: 8px;
  line-height: 1.42;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="pt-PT"] .advantage-grid article {
  min-height: 164px;
  padding: 23px;
}

html[lang="pt-PT"] .advantage-grid strong {
  font-size: clamp(21px, 1.75vw, 28px);
  line-height: 1.12;
  text-wrap: balance;
}

html[lang="pt-PT"] .advantage-grid span {
  display: -webkit-box;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html[lang="pt-PT"] .supply-overlay {
  max-width: 760px;
}

html[lang="pt-PT"] .application {
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(48px, 5.2vw, 72px);
}

html[lang="pt-PT"] .application-title {
  max-width: 520px;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.04;
}

html[lang="pt-PT"] .application p {
  max-width: 520px;
}

html[lang="pt-PT"] .application-form label > span {
  font-size: 14px;
}

html[lang="pt-PT"] .category-checks label {
  font-size: 14px;
}

html[lang="pt-PT"] .application-form .button[type="submit"] {
  padding-inline: 24px;
}

@media (max-width: 1400px) {
  html[lang="pt-PT"] .site-header {
    padding-inline: 14px;
  }

  html[lang="pt-PT"] #site-nav {
    gap: 10px;
    font-size: 13px;
  }

  html[lang="pt-PT"] .nav-cta,
  html[lang="pt-PT"] .nav-link {
    padding-inline: 13px;
    font-size: 13px;
  }

  html[lang="pt-PT"] .hero h1 {
    font-size: clamp(50px, 4.55vw, 68px);
  }
}

@media (max-width: 1180px) {
  html[lang="pt-PT"] .site-header {
    grid-template-columns: auto auto;
  }

  html[lang="pt-PT"] .menu-toggle {
    display: block;
    justify-self: end;
  }

  html[lang="pt-PT"] #site-nav,
  html[lang="pt-PT"] .header-actions {
    display: none;
  }

  html[lang="pt-PT"] .site-header.menu-open #site-nav,
  html[lang="pt-PT"] .site-header.menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  html[lang="pt-PT"] .site-header.menu-open #site-nav {
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }

  html[lang="pt-PT"] .site-header.menu-open .header-actions {
    flex-wrap: wrap;
  }

  html[lang="pt-PT"] .hero-shell {
    grid-template-columns: 1fr;
    width: min(100% - 40px, 880px);
  }

  html[lang="pt-PT"] .hero h1 {
    max-width: 760px;
  }

  html[lang="pt-PT"] .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .application,
  html[lang="pt-PT"] .application {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100% - 40px, 880px);
  }

  .application-title,
  html[lang="pt-PT"] .application-title,
  .apply-copy p,
  html[lang="pt-PT"] .application p {
    max-width: 760px;
  }

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  #site-nav,
  .header-actions {
    display: none;
  }

  .site-header.menu-open #site-nav,
  .site-header.menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.menu-open #site-nav {
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }

  .site-header.menu-open .header-actions {
    flex-wrap: wrap;
  }

  .hero-shell,
  .application {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .quick-stats,
  .category-grid,
  .advantage-grid,
  .public-product-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .public-product-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  html[lang="pt-PT"] .section-shell,
  html[lang="pt-PT"] .hero-shell,
  html[lang="pt-PT"] .supply-chain {
    width: min(100% - 24px, 680px);
  }

  html[lang="pt-PT"] .hero {
    padding: 38px 0 34px;
  }

  html[lang="pt-PT"] .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.4vw, 46px);
    line-height: 1.02;
  }

  html[lang="pt-PT"] .hero h2 {
    font-size: clamp(21px, 5.3vw, 28px);
  }

  html[lang="pt-PT"] .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  html[lang="pt-PT"] .hero-actions .button {
    width: 100%;
    white-space: normal;
  }

  html[lang="pt-PT"] .hero-proof span {
    white-space: normal;
  }

  html[lang="pt-PT"] .section-heading h2,
  html[lang="pt-PT"] .client-entry h2,
  html[lang="pt-PT"] .application h1,
  html[lang="pt-PT"] .application h2,
  html[lang="pt-PT"] .application-cta h2,
  html[lang="pt-PT"] .supply-overlay h2 {
    font-size: clamp(30px, 8.6vw, 38px);
    line-height: 1.06;
  }

  html[lang="pt-PT"] .category-card h3 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  html[lang="pt-PT"] .advantage-grid article {
    min-height: 0;
  }

  html[lang="pt-PT"] .advantage-grid strong {
    font-size: 23px;
  }

  .section-shell,
  .hero-shell,
  .supply-chain {
    width: min(100% - 24px, 680px);
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand em {
    font-size: 12px;
  }

  .hero {
    padding: 42px 0 36px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.8vw, 48px);
    line-height: 1.04;
  }

  .hero h2 {
    max-width: 100%;
    font-size: clamp(19px, 5.1vw, 24px);
    line-height: 1.18;
    white-space: normal;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .mosaic-card {
    min-height: 230px;
  }

  .mosaic-large {
    min-height: 300px;
  }

  .mosaic-note {
    grid-column: auto;
  }

  .quick-stats,
  .category-grid,
  .advantage-grid,
  .public-product-grid,
  .brand-wall,
  .client-entry,
  .application-cta,
  .application,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .public-catalog {
    padding-top: 56px;
  }

  .public-catalog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .public-product-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .public-product-title {
    font-size: 18px;
  }

  .public-card-actions a,
  .public-card-actions button {
    flex: 1 1 100%;
  }

  .public-product-dialog {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 24px;
  }

  .public-detail-image {
    min-height: 240px;
  }

  .quick-stats {
    margin-top: -18px;
  }

  .premium-section,
  .advantages,
  .brands,
  .application {
    padding-top: 56px;
  }

  .section-heading h2,
  .client-entry h2,
  .application h1,
  .application h2,
  .application-cta h2,
  .supply-overlay h2 {
    font-size: 34px;
  }

  .category-card {
    min-height: 310px;
  }

  .supply-chain {
    height: 560px;
    margin-top: 58px;
  }

  .supply-chain::after {
    background: linear-gradient(180deg, rgba(6, 24, 16, 0.86), rgba(6, 24, 16, 0.42));
  }

  .supply-overlay {
    justify-content: flex-end;
    padding: 26px;
  }

  .chain-steps {
    gap: 8px;
  }

  .chain-steps i {
    display: none;
  }

  .client-entry,
  .application-cta,
  .application {
    padding: 24px;
    border-radius: 22px;
  }

  .application-cta .button,
  .public-product-pagination .button {
    width: 100%;
  }

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

  .category-checks label {
    width: 100%;
  }

  .category-checks {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .application-form .button[type="submit"] {
    justify-self: stretch;
    width: 100%;
  }

  .brand-wall figure {
    min-height: 92px;
    padding: 16px 20px;
  }

  .brand-wall img {
    height: 48px;
  }
}

@media (max-width: 380px) {
  html[lang="pt-PT"] .hero h1 {
    font-size: 36px;
  }

  html[lang="pt-PT"] .hero h2 {
    font-size: 21px;
  }

  html[lang="pt-PT"] .category-card h3 {
    font-size: 21px;
  }

  .application-title {
    font-size: 32px;
  }

  html[lang="pt-PT"] .application-title {
    font-size: 31px;
  }

  .section-shell,
  .hero-shell,
  .supply-chain {
    width: calc(100% - 20px);
  }

  .hero h1 {
    font-size: 40px;
  }

  .quick-stats article,
  .advantage-grid article,
  .client-entry,
  .application,
  .footer-grid {
    padding: 20px;
  }

  .category-card {
    min-height: 286px;
  }

  .public-product-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .public-product-image {
    min-height: 92px;
  }

  .catalog-fallback {
    font-size: 34px;
  }

  .mosaic-card figcaption,
  .category-card h3 {
    font-size: 22px;
  }
}
