:root {
  --color-primary: #c9a276;
  --color-dark: #0b0a09;
  --color-text: #27221d;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-alt: #f7f2eb;
  /* Site content width (was 1200px — widened for dense B2B header nav). */
  --container: 1440px;
  --container-gutter: clamp(16px, 2.5vw, 48px);
  /* In-section intros; page heroes use full container (see pages.css). */
  --lead-max: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

.es-container {
  width: min(var(--container), calc(100% - 2 * var(--container-gutter)));
  margin: 0 auto;
}

@media (min-width: 1600px) {
  :root {
    --container: 1520px;
  }
}

.es-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e6ebf1;
  backdrop-filter: blur(8px);
  transition:
    box-shadow 0.38s ease,
    border-color 0.38s ease,
    background-color 0.38s ease;
}

.es-header.es-header--elevated {
  box-shadow: 0 14px 44px rgba(13, 42, 67, 0.09);
  border-bottom-color: rgba(222, 228, 236, 0.55);
}

.es-topbar {
  background: #0b0a09;
  color: #f1dfc8;
  font-size: 13px;
}

.es-topbar a {
  color: #fff;
}

.es-topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.es-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.es-brand {
  flex-shrink: 0;
}

.es-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.es-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.es-header__account {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.es-header__account--guest {
  gap: 8px;
}

.es-header__account-link {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  padding: 8px 4px;
  white-space: nowrap;
}

.es-header__account-link:hover {
  color: var(--color-primary);
}

.es-header__account-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.es-header__account-register {
  padding: 8px 16px;
  font-size: 13px;
}

.es-header__account--logged-in {
  gap: 12px;
  max-width: min(280px, 46vw);
}

.es-header__account-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 6px 4px 4px;
  margin: -4px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}

.es-header__account-profile:hover .es-header__account-name {
  color: var(--color-primary);
}

.es-header__account-profile:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.es-header__account-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #dce4ec;
  background: #f4f9fd;
}

.es-header__account-avatar-img,
.es-user-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.es-header__account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.25;
}

.es-header__account-greeting {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.es-header__account-name {
  font-size: 14px;
  font-weight: 700;
  color: #0d2a43;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.es-header__account-divider {
  width: 1px;
  height: 28px;
  background: #dce4ec;
  flex-shrink: 0;
}

.es-header__account-link--quiet {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  padding: 8px 2px;
}

.es-header__account-link--quiet:hover {
  color: var(--color-primary);
}

.es-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 10px;
  margin: -4px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.2;
}

.es-header__cart:hover {
  color: var(--color-primary);
  background: rgba(10, 111, 174, 0.06);
}

.es-header__cart:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.es-header__cart-text {
  white-space: nowrap;
}

.es-header__cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.es-header__cart--empty .es-header__cart-count {
  display: none;
}

/* Brand column: WooCommerce / plugins sometimes ship broad img { height:auto } rules on shop routes — keep logo boxed so the header row height stays stable */
.es-brand {
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(260px, 58vw);
}

.es-brand__link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.es-brand__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 8px;
}

header.es-header .es-brand .es-brand__logo-img {
  display: block;
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

header.es-header .es-brand .custom-logo-link,
header.es-header .es-brand .custom-logo {
  display: block;
  line-height: 0;
}

header.es-header .es-brand .custom-logo {
  max-height: 44px;
  max-width: min(220px, 52vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

.es-brand__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0d2a43;
  line-height: 1.2;
}

.es-menu {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
}

.es-menu a {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  transition: color 0.2s ease;
}

@media (min-width: 1280px) {
  .es-menu {
    gap: 14px 16px;
  }

  .es-menu a {
    font-size: 14px;
  }
}

@media (min-width: 1440px) {
  .es-header__inner {
    gap: 20px;
  }

  .es-menu {
    gap: 16px 18px;
  }

  .es-header__search {
    flex: 0 1 200px;
    max-width: 220px;
  }
}

.es-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.es-menu a:hover::after,
.es-menu a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Primary nav dropdowns (Resources hub, etc.) */
.es-menu > li {
  position: relative;
  list-style: none;
  flex-shrink: 0;
}

.es-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.es-menu .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 993px) {
  .es-menu > li.menu-item-has-children > .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 240px;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(13, 42, 67, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 400;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .es-menu > li.menu-item-has-children:hover > .sub-menu,
  .es-menu > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .es-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    color: #1f2937;
  }

  .es-menu .sub-menu a:hover,
  .es-menu .sub-menu a:focus-visible {
    background: #f4f8fb;
    color: #0a6fae;
  }

  .es-menu .sub-menu a::after {
    display: none;
  }

  .es-menu > li.menu-item-has-children > a {
    padding-right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231f2937' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px 6px;
  }
}

.es-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.es-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0d2a43;
  margin-bottom: 5px;
}

.es-menu-toggle span:last-child {
  margin-bottom: 0;
}

.es-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.es-btn:hover {
  transform: translateY(-2px);
}

.es-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.es-btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.es-btn--primary:hover {
  box-shadow: 0 12px 28px rgba(10, 111, 174, 0.35);
}

.es-btn--ghost {
  border: 1px solid #d1d5db;
  color: var(--color-dark);
}

.es-btn--ghost:hover {
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.1);
}

.es-section {
  padding: 86px 0;
}

.es-section h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: #0d2a43;
}

.es-lead {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--color-muted);
  max-width: var(--lead-max);
  line-height: 1.6;
}

/* Section / page-hero intros: full main-container width (narrow --lead-max is for in-card copy). */
.es-section > .es-container > .es-lead,
.es-page-hero > .es-container > .es-lead {
  max-width: none;
  width: 100%;
}

.es-section--alt {
  background: var(--color-alt);
}

.es-section--primary {
  background: var(--color-primary);
  color: #fff;
}

.es-section--primary .es-lead {
  color: rgba(255, 255, 255, 0.9);
}

.es-grid {
  display: grid;
  gap: 20px;
}

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

.es-card,
.es-stat,
.es-quote {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.es-stat {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.es-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(13, 42, 67, 0.11);
  border-color: #d5e1ed;
}

.es-card--link {
  color: inherit;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.es-card--link:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.13);
}

.es-feature-card {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.es-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(13, 42, 67, 0.11);
  border-color: #d5e1ed;
}

.es-feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.es-stat strong {
  display: block;
  font-size: 28px;
  color: var(--color-primary);
}

.es-stat span {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

.es-stat p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.es-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.es-steps li {
  background: #fff;
  border: 1px solid #dde6ef;
  border-radius: 12px;
  padding: 18px 20px;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.es-steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(13, 42, 67, 0.09);
  border-color: #cddcea;
}

.es-steps h3 {
  margin: 0 0 8px;
  color: #0d2a43;
  font-size: 18px;
}

.es-steps p {
  margin: 0;
  color: #5b6574;
}

.es-footer {
  background: #0d1b2a;
  color: #dbe4ee;
  padding: 56px 0 28px;
}

.es-footer a {
  color: #dbe4ee;
}

.es-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.es-footer__title {
  margin: 0 0 12px;
  color: #f4f8fc;
}

.es-footer__block--brand p {
  color: #c2cfde;
  margin-top: 0;
}

.es-footer__contact {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  color: #b6c3d3;
  font-size: 14px;
}

.es-footer__contact li + li {
  margin-top: 6px;
}

.es-footer__social {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #b6c3d3;
  font-size: 14px;
}

.es-footer__social a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(219, 228, 238, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.es-footer__social a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.es-footer__ai {
  margin: 14px 0 0;
  font-size: 14px;
  color: #b6c3d3;
}

.es-footer__ai a {
  color: #c2cfde;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.es-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.es-footer-menu li + li {
  margin-top: 8px;
}

.es-footer-menu a {
  color: #c2cfde;
}

.es-footer__form {
  display: grid;
  gap: 10px;
}

.es-footer__form input {
  width: 100%;
  border: 1px solid rgba(219, 228, 238, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #eef4fb;
}

.es-footer__form input::placeholder {
  color: #b6c3d3;
}

.es-footer__copyright {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(219, 228, 238, 0.12);
  font-size: 13px;
  color: #9fb0c4;
}

/* Scroll-driven reveals (home + inner pages; JS adds .es-motion-hide / .es-motion-visible) */
@media (prefers-reduced-motion: no-preference) {
  html.es-home-smooth {
    scroll-behavior: smooth;
  }

  .es-motion-hide {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1)
        calc(var(--es-motion-stagger, 0s) + 0.02s),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1)
        calc(var(--es-motion-stagger, 0s) + 0.02s);
    will-change: opacity, transform;
  }

  .es-motion-hide.es-motion-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }

  #home-hero .es-motion-hide {
    transition-duration: 0.85s, 0.85s;
  }
}

@media (max-width: 992px) {
  .es-grid--4,
  .es-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .es-header__inner {
    min-height: 68px;
    gap: 12px;
  }

  .es-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .es-nav {
    display: none;
    width: 100%;
    order: 5;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    padding: 8px 14px;
  }

  body.es-menu-open .es-nav {
    display: block;
  }

  .es-nav .es-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .es-nav .es-menu li a {
    display: block;
    padding: 8px 0;
  }

  .es-nav .es-menu > li.menu-item-has-children > .sub-menu {
    display: none;
    margin: 4px 0 8px 10px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid #e4ebf2;
  }

  .es-nav .es-menu > li.menu-item-has-children.is-sub-open > .sub-menu {
    display: block;
  }

  .es-nav .es-menu > li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
  }

  .es-nav .es-menu > li.menu-item-has-children > a::before {
    content: "+";
    flex-shrink: 0;
    width: 1.25rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #0a6fae;
    text-align: center;
  }

  .es-nav .es-menu > li.menu-item-has-children.is-sub-open > a::before {
    content: "−";
  }

  .es-nav .es-menu .sub-menu a {
    min-height: 44px;
    padding: 10px 6px;
    font-size: 15px;
    white-space: normal;
  }

  .es-nav .es-menu .sub-menu a::after {
    display: none;
  }

  .es-header__cta {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .es-btn:hover,
  .es-card--link:hover,
  .es-stat:hover,
  .es-feature-card:hover,
  .es-steps li:hover {
    transform: none;
  }

  .es-header {
    transition: none;
  }

  .es-menu a::after {
    transition: none;
  }

  .es-hscroll-btn:hover:not(:disabled) {
    transform: none;
  }

  .es-hscroll--products .es-product-card:hover {
    transform: none;
  }

  .es-post-card:hover,
  .es-project-card:hover,
  .es-filter__item:hover {
    transform: none;
  }

  .es-page-content .es-grid > .es-card:not(.es-card--link):hover {
    transform: none;
  }

  .woocommerce ul.products li.product:hover,
  .es-wc-cat-card:hover {
    transform: none;
  }

  .es-wc-block:hover {
    box-shadow: none;
  }

  .woocommerce a.button:hover,
  .woocommerce button.button:hover,
  .woocommerce input.button:hover {
    transform: none;
    box-shadow: none;
  }

  .es-motion-hide {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .es-grid--2,
  .es-grid--3,
  .es-grid--4 {
    grid-template-columns: 1fr;
  }

  .es-menu {
    flex-wrap: wrap;
    gap: 12px;
  }

  .es-topbar__inner {
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .es-section {
    padding: 68px 0;
  }

  .es-footer__top {
    grid-template-columns: 1fr;
  }

}

/* Global quote modal triggers (header + contact, etc.) */
button[data-es-quote-modal-open] {
  font: inherit;
  cursor: pointer;
  border: none;
  appearance: none;
}

body.es-quote-modal-open {
  overflow: hidden;
}

.es-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.es-quote-modal[hidden] {
  display: none !important;
}

.es-quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 42, 67, 0.48);
  z-index: 0;
  cursor: pointer;
}

.es-quote-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 28px 80px rgba(13, 42, 67, 0.22);
}

.es-quote-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 0 22px;
  border-bottom: 1px solid #e8eff5;
}

.es-quote-modal__title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  color: #0d2a43;
}

.es-quote-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: -4px -4px 0 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #4b5563;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.es-quote-modal__close:hover {
  background: #f1f5f9;
  color: #0d2a43;
}

.es-quote-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.es-quote-modal__body {
  padding: 16px 22px 22px;
}

.es-quote-modal__intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
}

.es-quote-modal .es-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.es-quote-modal .es-alert--success {
  background: #eafaf0;
  border: 1px solid #b7e6c7;
  color: #15603a;
}

.es-quote-modal .es-alert--error {
  background: #fff1f1;
  border: 1px solid #f0b5b5;
  color: #9b1d1d;
}

.es-quote-modal .es-form {
  display: grid;
  gap: 12px;
}

.es-quote-modal .es-form input,
.es-quote-modal .es-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  box-sizing: border-box;
}

.es-quote-modal .es-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Site 2.0: trust strip, search, partners, B2B product meta */
.es-topbar__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
}

.es-topbar__phone {
  font-weight: 700;
  white-space: nowrap;
}

.es-topbar__address {
  opacity: 0.92;
}

.es-topbar__text {
  opacity: 0.85;
}

.es-header__search {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 180px;
  min-width: 120px;
  max-width: 200px;
}

.es-header__search input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
}

.es-header__search-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
}

.es-trust-partners {
  padding-top: 0;
  margin-top: -8px;
}

.es-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 24px;
  padding: 14px 18px;
  background: #f4f8fb;
  border: 1px solid #dbe7f0;
  border-radius: 14px;
}

.es-trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.es-trust-badges__icon {
  color: #0a6fae;
}

.es-trust-partners__head {
  margin: 0 0 clamp(22px, 3vw, 32px);
}

.es-trust-partners__head .es-kicker {
  margin: 0 0 10px;
}

.es-trust-partners__head h2 {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0d2a43;
}

.es-trust-partners__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.es-trust-partners__panel {
  min-width: 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(13, 42, 67, 0.04);
}

.es-trust-partners__panel--main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.es-trust-partners__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.es-trust-partners__metrics li {
  min-width: 0;
}

.es-trust-partners__metrics strong {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.15;
  margin-bottom: 4px;
}

.es-trust-partners__metrics span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #4b5563;
}

.es-trust-partners__note {
  color: #4b5563;
  margin: 0 0 16px;
  max-width: none;
  line-height: 1.55;
}

.es-trust-partners__cta {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

.es-trust-partners__panel--logos.es-trust-partners__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.es-trust-partners__logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #334155;
}

.es-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 10px;
}

.es-footer__legal a {
  color: inherit;
  opacity: 0.85;
}

.es-wc-b2b-summary {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.es-wc-b2b-summary li + li {
  margin-top: 6px;
}

.es-wc-b2b-summary__stock--in_stock {
  color: #15603a;
}

.es-wc-b2b-summary__stock--low_stock {
  color: #9a3412;
}

.es-wc-b2b-summary__updated {
  font-size: 12px;
  color: #64748b;
}

.es-wc-scenarios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.es-wc-scenarios li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6fc;
  border: 1px solid #cfe3f3;
  font-size: 14px;
  font-weight: 600;
}

.es-404-search {
  display: grid;
  gap: 12px;
}

.es-404-help {
  margin-top: 14px;
  color: #4b5563;
}

.es-chat-widgets {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.es-chat-widgets__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 10px 24px rgba(13, 42, 67, 0.18);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.es-chat-widgets__btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.es-chat-widgets__btn--chat {
  background: #0a6fae;
  color: #fff;
}

/* Hidden on desktop; shown via mobile.css when body.es-has-mobile-sticky-cta */
.es-mobile-sticky-cta {
  display: none;
}
