.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

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

:focus-visible {
  outline: 3px solid #0d8053;
  outline-offset: 3px;
}

#main-content:focus {
  outline: none;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}

.button.primary,
.btn-primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary,
.btn-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.nav-cta {
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white) !important;
}

.nav-links a[aria-current="page"] {
  color: var(--green-dark);
}

.nav-links a[aria-current="page"]:not(.nav-cta) {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.mobile-contact-bar {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 0 72px;
}

.page-hero,
.section,
.product-hero,
.metric-strip,
.product-gallery,
.cta-band,
.article-page {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.page-hero {
  padding: 84px 0 34px;
  color: var(--ink);
}

.page-hero p {
  color: var(--muted);
}

.section-header,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-header h2,
.section h2 {
  margin: 0;
}

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

.product-card,
.article-card,
.project-card,
.solution-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 23, 38, 0.06);
}

.product-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 35%, rgba(13, 128, 83, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fafc, #eef3f7);
}

.product-card-body,
.article-card,
.project-card > div,
.solution-grid article {
  padding: 24px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.product-hero {
  display: grid;
  /* Equal halves: the model codes are long (HZEB-HCT-125TS/265 needs 534px at
     48px), and the old 0.9fr column gave them 511px, so they broke mid-token. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 42px;
}

/* 48px, not 64px: at 64px the longest model code measures 712px against a 540px
   column and the browser splits it at a hyphen, which reads as two products.
   1.1 line-height keeps four stacked lines from touching; the negative tracking
   buys the model code ~12px of room. */
.product-hero h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 31px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Model codes carry no meaningful break points, so the template wraps them in
   .nowrap. Only applied where the column can actually hold them; on phones the
   clamp above keeps the longest code inside 334px. */
.product-hero h1 .nowrap {
  white-space: nowrap;
}

/* Desktop scale. 3.8vw tracks the column width closely enough that the longest
   model code keeps fitting between 901px and the 1180px container cap:
   34px at 901 (380px wide code in a 400px column) and 48px at 1180+ (522px in
   540px). Below 769px the grid is already single-column and the mobile clamp
   above applies. */
@media (min-width: 769px) {
  .product-hero h1 {
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
}

.product-hero p {
  color: var(--muted);
  font-size: 18px;
}

.product-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(13, 128, 83, 0.1), transparent 36%),
    linear-gradient(180deg, #f8fafc, #edf2f7);
  box-shadow: 0 20px 55px rgba(14, 23, 38, 0.09);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.metric-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  font-size: 24px;
}

.metric-strip span {
  color: var(--muted);
}

.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
  padding: 72px 0 0;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfe, #eef3f7);
}

.product-gallery-main {
  aspect-ratio: 4 / 3;
}

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

.spec-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  color: var(--muted);
}

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

.tag-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.section-note {
  max-width: 760px;
  color: var(--muted);
}

.trust-panel,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.trust-panel > div,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 10px;
}

.trust-grid span,
.trust-panel p,
.check-list {
  color: var(--muted);
}

.check-list {
  padding-left: 20px;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 44px;
  margin-bottom: 80px;
  border-radius: var(--radius);
  background: #101b2a;
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

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

.article-page {
  max-width: 860px;
  padding: 72px 0;
}

.article-page h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
}

.article-page header p,
.article-content {
  color: var(--muted);
  font-size: 18px;
}

.article-page > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 24px;
  background: linear-gradient(180deg, #fbfcfe, #eef3f7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 34px 0;
}

.article-content h2 {
  margin-top: 34px;
  color: var(--ink);
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.project-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.project-card dt {
  color: var(--muted);
  font-size: 13px;
}

.project-card dd {
  margin: 0;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 28px;
}

.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  display: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-panel img {
  width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-footer > div:last-child {
  display: grid;
  gap: 8px;
  text-align: right;
}

.menu-toggle {
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .product-grid,
  .article-grid,
  .project-grid,
  .solution-grid,
  .trust-panel,
  .trust-grid,
  .product-hero,
  .product-gallery,
  .contact-layout,
  .project-card {
    grid-template-columns: 1fr;
  }

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

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer > div:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 58px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .product-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -10px 30px rgba(14, 23, 38, 0.12);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    min-height: 56px;
    font-weight: 850;
  }

  .mobile-contact-bar a:first-child {
    background: var(--green);
    color: var(--white);
  }
}
