@font-face {
  font-family: "HJYH Work Sans";
  src: url("/_shared/fonts/WorkSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "HJYH Work Sans";
  src: url("/_shared/fonts/WorkSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --b2b-forest: #183c2f;
  --b2b-forest-deep: #0d251d;
  --b2b-moss: #426451;
  --b2b-sand: #f3eee4;
  --b2b-paper: #fffdf8;
  --b2b-copper: #d97832;
  --b2b-ink: #18201b;
  --b2b-muted: #667069;
  --b2b-line: rgba(24, 60, 47, 0.16);
  --b2b-shadow: 0 18px 50px rgba(13, 37, 29, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "HJYH Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--b2b-ink);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217, 120, 50, 0.5);
  outline-offset: 3px;
}

.topbar,
body > nav {
  box-shadow: 0 8px 30px rgba(13, 37, 29, 0.08);
}

.topbar .quote,
.nav-cta,
.btn.primary,
.btn-primary,
.catalog-quote {
  box-shadow: 0 8px 22px rgba(217, 120, 50, 0.22);
}

.card,
.image-card,
.feature-card,
.product-card,
.video-card,
.catalog-card {
  border-color: var(--b2b-line) !important;
  box-shadow: var(--b2b-shadow);
}

.video-hero .hero-content h1 {
  max-width: 15.5ch;
  font-size: clamp(2.65rem, 5.2vw, 4.65rem);
}

.video-hero .hero-trust {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
}

.b2b-home-gateway {
  padding: 0 !important;
  background: var(--b2b-paper);
  border-bottom: 1px solid var(--b2b-line);
}

.b2b-home-gateway__inner {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0;
}

.b2b-kicker {
  margin: 0 0 10px;
  color: var(--b2b-copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.b2b-home-gateway h2 {
  max-width: 820px;
  margin: 0;
  color: var(--b2b-ink);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
}

.b2b-home-gateway__intro {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--b2b-muted);
  font-size: 18px;
}

.b2b-buyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.b2b-buyer-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--b2b-line);
  border-radius: 12px;
  background: var(--b2b-sand);
}

.b2b-buyer-card span {
  color: var(--b2b-copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.b2b-buyer-card h3 {
  margin: 10px 0 8px;
  color: var(--b2b-forest);
  font-size: 21px;
  line-height: 1.18;
}

.b2b-buyer-card p {
  margin: 0;
  color: var(--b2b-muted);
  font-size: 15px;
}

.b2b-rfq-checklist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--b2b-line);
  border-radius: 10px;
  background: var(--b2b-line);
}

.b2b-rfq-checklist div {
  padding: 16px;
  background: white;
}

.b2b-rfq-checklist strong,
.b2b-rfq-checklist small {
  display: block;
}

.b2b-rfq-checklist strong {
  color: var(--b2b-forest);
  font-size: 14px;
}

.b2b-rfq-checklist small {
  margin-top: 4px;
  color: var(--b2b-muted);
  line-height: 1.4;
}

.b2b-inquiry-form {
  scroll-margin-top: 110px;
  display: grid !important;
  gap: 18px !important;
  padding: clamp(20px, 3vw, 32px) !important;
  border: 1px solid var(--b2b-line) !important;
  border-radius: 14px !important;
  background: var(--b2b-paper) !important;
  box-shadow: var(--b2b-shadow);
  color: var(--b2b-ink);
}

.b2b-form-header h3 {
  margin: 0 0 8px;
  color: var(--b2b-forest);
  font-size: 25px;
}

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

.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.b2b-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

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

.b2b-field label,
.b2b-custom-label {
  color: var(--b2b-forest);
  font-size: 13px;
  font-weight: 800;
}

.b2b-inquiry-form input,
.b2b-inquiry-form select,
.b2b-inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px !important;
  border: 1px solid rgba(24, 60, 47, 0.24) !important;
  border-radius: 7px !important;
  background: white !important;
  color: var(--b2b-ink) !important;
}

.b2b-inquiry-form textarea {
  min-height: 132px;
  resize: vertical;
}

.b2b-inquiry-form input::placeholder,
.b2b-inquiry-form textarea::placeholder {
  color: #899188;
}

.b2b-custom-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.b2b-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--b2b-line);
  border-radius: 7px;
  background: var(--b2b-sand);
  color: var(--b2b-ink);
  font-size: 13px;
  font-weight: 700;
}

.b2b-check input {
  width: 17px !important;
  min-height: 17px !important;
  padding: 0 !important;
  accent-color: var(--b2b-forest);
}

.b2b-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.b2b-submit {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  background: var(--b2b-copper);
  color: white;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(217, 120, 50, 0.24);
}

.b2b-form-whatsapp {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #1eaa52;
  border-radius: 7px;
  color: #147c3c;
  font-weight: 900;
  text-decoration: none;
}

.b2b-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.b2b-floating-actions a {
  pointer-events: auto;
}

.b2b-float-whatsapp,
.b2b-float-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 17px;
  border-radius: 999px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 13px 35px rgba(13, 37, 29, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2b-float-whatsapp:hover,
.b2b-float-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(13, 37, 29, 0.3);
}

.b2b-float-whatsapp {
  background: #1ea952;
}

.b2b-float-quote {
  background: var(--b2b-forest);
}

.b2b-float-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 24px;
}

.b2b-float-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.b2b-float-copy {
  display: grid;
  line-height: 1.08;
}

.b2b-float-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 700;
}

.floating-buttons {
  display: none !important;
}

.b2b-conversion-band {
  padding: 0 !important;
  background: var(--b2b-forest-deep);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.b2b-conversion-band__inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
}

.b2b-conversion-band h2 {
  margin: 5px 0 10px;
  color: white;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.08;
}

.b2b-conversion-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.b2b-conversion-band__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.b2b-conversion-band__facts span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
}

.b2b-conversion-band__actions {
  display: grid;
  gap: 10px;
}

.b2b-conversion-band__actions a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.b2b-band-quote {
  background: var(--b2b-copper);
  color: white;
}

.b2b-band-whatsapp {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
}

body > footer,
footer {
  padding-bottom: 46px;
}

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

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

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

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .b2b-home-gateway__inner,
  .b2b-conversion-band__inner {
    width: min(100% - 32px, 600px);
  }

  .b2b-home-gateway__inner {
    padding: 54px 0;
  }

  body > nav .nav-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px !important;
  }

  body > nav .logo {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body > nav .nav-cta {
    display: none !important;
  }

  body > nav .mobile-menu-btn {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  body > nav .mobile-lang-switch,
  body > nav .nav-links {
    grid-column: 1 / -1;
    width: 100%;
  }

  body > nav .mobile-lang-switch {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
    margin: 0;
    overflow: visible;
  }

  body > nav .mobile-lang-switch a {
    text-align: center;
  }

  .video-hero .hero-content {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
    overflow: visible !important;
  }

  .video-hero .hero-badge {
    max-width: 100%;
    padding: 9px 12px;
    white-space: normal;
    font-size: 11px;
    line-height: 1.35;
  }

  .video-hero .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
  }

  .video-hero .hero-subtitle,
  .video-hero .hero-tagline {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .video-hero .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .video-hero .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding-right: 12px;
    padding-left: 12px;
  }

  .video-hero .hero-trust {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .video-hero .hero-trust span {
    min-width: 0;
    overflow-wrap: break-word;
    font-size: 11px;
    line-height: 1.35;
  }

  .b2b-buyer-grid,
  .b2b-rfq-checklist,
  .b2b-form-grid,
  .b2b-conversion-band__inner {
    grid-template-columns: 1fr;
  }

  .b2b-buyer-card {
    min-height: 0;
  }

  .b2b-field--full {
    grid-column: auto;
  }

  .b2b-custom-options {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .b2b-floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--b2b-forest-deep);
  }

  .b2b-float-whatsapp,
  .b2b-float-quote {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    justify-content: center;
    padding: 0 10px;
    border-radius: 0;
    box-shadow: none;
  }

  .b2b-float-copy small {
    display: none;
  }

  .b2b-float-copy {
    min-width: 0;
    white-space: nowrap;
  }

  .b2b-float-whatsapp:hover,
  .b2b-float-quote:hover {
    transform: none;
    box-shadow: none;
  }

  .b2b-conversion-band__actions {
    margin-top: 4px;
  }

  body > footer,
  footer {
    padding-bottom: 32px;
  }
}

@media (max-width: 420px) {
  .b2b-custom-options {
    grid-template-columns: 1fr;
  }

  .b2b-float-whatsapp,
  .b2b-float-quote {
    font-size: 12px;
  }

  .b2b-float-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
