﻿.hero-tint {
  background: rgba(3, 34, 85, 0.38);
}

.wood-swatch {
  background: url("https://ueeshop.ly200-cdn.com/u_file/UPBI/UPBI242/2604/24/products/81nZ33hjjILACSX679.jpg") center / cover !important;
}

.resource-thumb.samples {
  background: url("https://ueeshop.ly200-cdn.com/u_file/UPBI/UPBI242/2605/09/products/3ba5f6a2-e601-4866-84a1-c9eb159d8e69.png") center / cover;
}

.resource-thumb.drawing {
  background: url("https://ueeshop.ly200-cdn.com/u_file/UPBI/UPBI242/2605/04/products/a16be26c-2d3a-49a8-b70e-c53346191a59.png") center / cover;
}

.logo img {
  display: block;
  width: 220px;
  height: auto;
}

.footer-logo img {
  width: 220px;
  background: #fff;
  padding: 8px 12px;
}

.footer-bottom {
  gap: 20px;
  opacity: 0.86;
}

.testimonial blockquote::before {
  content: "\201C";
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 14px 16px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.cookie-banner a {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 74px 7vw;
}

.legal-page h1 {
  font: 700 48px / 1.05 "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--navy);
  margin: 0 0 22px;
}

.legal-page h2 {
  font: 700 22px "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--navy);
  margin: 34px 0 10px;
}

.legal-page p,
.legal-page li {
  color: #52627a;
  font-size: 14px;
  line-height: 1.75;
}

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

.catalog-card {
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.catalog-card div {
  padding: 20px;
}

.catalog-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.catalog-card p {
  color: #52627a;
  font-size: 13px;
  line-height: 1.7;
}

.technical-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: stretch;
  background: #f5f8fc;
}

.technical-section > div:first-child p:not(.kicker) {
  max-width: 560px;
  color: #52627a;
  line-height: 1.75;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.software-grid article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.software-grid strong {
  font: 700 58px / 1 "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--navy);
  letter-spacing: 0;
}

.software-grid img {
  display: block;
  width: min(260px, 100%);
  margin-bottom: auto;
}

.software-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.software-grid p {
  color: #52627a;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 0;
}

.calculator-page {
  max-width: 1160px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  margin-top: 34px;
}

.calc,
.calc-result {
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px;
}

.calc label {
  display: block;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.calc input,
.calc select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cbd6e2;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-card {
  min-height: 150px;
  background: var(--pale);
  border: 1px solid #d4e4f8;
  padding: 18px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: #52627a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 12px 0 4px;
  font: 700 46px / 1 "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--blue);
  letter-spacing: 0;
}

.calc-result > p {
  color: #52627a;
  line-height: 1.7;
  margin: 22px 0;
}

@media (max-width: 960px) {
  .logo img {
    width: 180px;
  }

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

  .technical-section,
  .calc-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .logo span {
    display: none;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

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

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

/* Homepage polish: cleaner hero, no floating wordmark, no heavy overlay. */
.hero {
  height: min(680px, calc(100vh - 72px));
  min-height: 560px;
  background: #f5f8fc;
}

.hero > img {
  object-position: center center;
  filter: none;
}

.hero-tint {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 60%);
}

.hero-content {
  left: 6vw;
  top: auto;
  bottom: 42px;
  transform: none;
  max-width: min(520px, 86vw);
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(7, 85, 207, 0.1);
}

.hero h1 {
  max-width: 440px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
  text-shadow: none;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 420px;
  color: #4f627b;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  text-shadow: none;
  margin: 0;
}

.hero .kicker,
.hero .arrow-link {
  color: var(--blue);
}

.hero-form {
  box-shadow: none;
  border: 1px solid var(--line);
}

@media (max-width: 620px) {
  .hero {
    height: 620px;
    min-height: 620px;
  }

  .hero-content {
    left: 6vw;
    right: 6vw;
    bottom: 30px;
    padding: 22px 20px;
  }

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

/* Custom catalog and product detail pages. */
.product-body {
  background: #fff;
}

.catalog-hero,
.product-detail-hero,
.product-info-section,
.technical-band {
  padding-left: 6vw;
  padding-right: 6vw;
}

.catalog-hero {
  padding-top: 88px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  max-width: 920px;
  margin: 0 0 22px;
  color: var(--navy);
  font: 700 clamp(44px, 6vw, 88px) / 0.98 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.catalog-hero p:not(.kicker) {
  max-width: 720px;
  color: #586980;
  font-size: 17px;
  line-height: 1.65;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 42px 6vw 100px;
}

.catalog-categories {
  padding-top: 52px;
  padding-bottom: 24px;
}

.catalog-categories-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.catalog-categories-intro h2,
.catalog-group-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(30px, 4vw, 54px) / 1.04 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.catalog-categories-intro p:not(.kicker) {
  max-width: 460px;
  margin: 0;
  color: #5e6f86;
  line-height: 1.65;
}

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

.category-card {
  min-height: 148px;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.category-card strong {
  color: var(--navy);
  font: 700 22px / 1.15 "Plus Jakarta Sans", Arial, sans-serif;
}

.category-card span {
  color: #5e6f86;
  font-size: 12px;
}

.catalog-group {
  padding-top: 18px;
  padding-bottom: 18px;
}

.catalog-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.catalog-group .catalog-grid {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 32px;
}

.catalog-card {
  border: 1px solid var(--line);
  background: #fff;
}

.catalog-card a {
  display: grid;
  min-height: 100%;
  grid-template-rows: 270px auto;
}

.catalog-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.catalog-card div {
  padding: 22px;
}

.catalog-card span,
.product-detail-copy .back-link,
.product-info-section article span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-card h2 {
  min-height: 58px;
  margin: 12px 0;
  color: var(--navy);
  font: 700 24px / 1.18 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.catalog-card p {
  margin: 0;
  color: #5e6f86;
  font-size: 13px;
  line-height: 1.65;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 68px;
  border-bottom: 1px solid var(--line);
}

.product-detail-copy h1 {
  margin: 12px 0 22px;
  color: var(--navy);
  font: 700 clamp(42px, 5.5vw, 78px) / 0.98 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.product-detail-copy p:not(.kicker) {
  max-width: 560px;
  color: #596a82;
  font-size: 17px;
  line-height: 1.65;
}

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

.product-detail-media {
  border: 1px solid var(--line);
  background: #f4f7fb;
}

.product-detail-media img {
  width: 100%;
  height: min(560px, 58vw);
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.product-info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.product-info-section article {
  border: 1px solid var(--line);
  padding: 28px;
}

.product-info-section h2 {
  margin: 14px 0 22px;
  color: var(--navy);
  font: 700 30px / 1.12 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.product-info-section ul {
  margin: 0;
  padding-left: 20px;
  color: #596a82;
  line-height: 1.8;
}

.technical-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 0 6vw 92px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--blue);
  color: #fff;
}

.technical-band h2 {
  margin: 0;
  color: #fff;
  font: 700 clamp(28px, 3vw, 44px) / 1.05 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.technical-band .kicker,
.technical-band p {
  color: #fff;
}

.technical-band p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .catalog-categories-intro,
  .catalog-group-heading,
  .catalog-grid,
  .product-detail-hero,
  .product-info-section,
  .technical-band {
    grid-template-columns: 1fr;
  }

  .catalog-categories-intro,
  .catalog-group-heading {
    display: grid;
  }

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

  .technical-band {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 620px) {
  .catalog-hero {
    padding-top: 62px;
  }

  .category-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }

  .product-detail-media img {
    height: 360px;
    min-height: 360px;
  }

  .product-actions .btn {
    width: 100%;
    text-align: center;
  }
}

.hero-wordmark {
  display: none !important;
}

.hero-form,
.performance,
.testimonial,
.resources {
  display: none !important;
}

.home-cta {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.home-cta-copy p:not(.kicker) {
  color: #52627a;
  font-size: 12px;
  line-height: 1.7;
}

.home-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}

.logo span {
  font-size: 8px;
}

@media (max-width: 960px) {
  .home-cta {
    grid-template-columns: 1fr;
  }

  .home-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero {
    height: 620px;
  }
}

