/* Page styles may position navigation CTAs; this file owns their appearance and interaction. */
a.lc-link-button {
  --lc-link-button-ink: var(--lim-color-cta-ink, #0069a8);
  --lc-link-button-outline: var(--lim-color-brand, #1d9bf0);
  --lc-link-button-fill: var(--lim-color-cta-fill, #0069a8);
  --lc-link-button-pressed: var(--lim-color-cta-pressed, #005584);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--lc-link-button-outline);
  border-radius: var(--lim-radius-cta-button, 8px);
  background: transparent;
  color: var(--lc-link-button-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color var(--lim-motion-feedback, 160ms) ease,
    background-color var(--lim-motion-feedback, 160ms) ease,
    border-color var(--lim-motion-feedback, 160ms) ease,
    box-shadow var(--lim-motion-feedback, 160ms) ease;
}

a.lc-link-button--compact {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
}

a.lc-link-button--standard {
  min-height: 48px;
  padding: 10px 20px;
  font-size: 14px;
}

a.lc-link-button--large {
  min-height: 52px;
  padding: 12px 24px;
  font-size: 15px;
}

a.lc-link-button--inverse {
  --lc-link-button-ink: #fff;
  --lc-link-button-outline: #fff;
}

a.lc-link-button:is(:hover, :focus-visible) {
  border-color: var(--lc-link-button-fill);
  background-color: var(--lc-link-button-fill);
  color: #fff;
  text-decoration: none;
}

a.lc-link-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #005584;
}

a.lc-link-button:active {
  border-color: var(--lc-link-button-pressed);
  background-color: var(--lc-link-button-pressed);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  a.lc-link-button { transition: none; }
}

/* Home CTAs keep their fill and regain the original gentle hover lift. */
body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta) {
  transition: transform 400ms ease,
    color var(--lim-motion-feedback, 160ms) ease,
    background-color var(--lim-motion-feedback, 160ms) ease,
    border-color var(--lim-motion-feedback, 160ms) ease,
    box-shadow var(--lim-motion-feedback, 160ms) ease;
}
body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)) {
  background-image: linear-gradient(var(--lc-link-button-fill), var(--lc-link-button-fill));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: transform 400ms ease,
    background-size 320ms cubic-bezier(.22, 1, .36, 1),
    color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)):is(:hover, :focus-visible, :active) {
  background-color: transparent;
  background-size: 100% 100%;
  color: #fff;
  border-color: var(--lc-link-button-fill);
}
body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)) > :is(span, svg) {
  display: inline-block;
  transition: transform 300ms cubic-bezier(.34, 1.56, .64, 1);
}
body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)):active > :is(span, svg) {
  transform: translateX(4px);
  transition: transform 80ms ease-out;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta):hover {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta) { transition: none; }
  body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)) > :is(span, svg) { transition: none; }
  body#home-p a.lc-link-button:is(.home-btn-glass, .home-product-cta:not(.home-cta-action)):active > :is(span, svg) { transform: none; }
}

/* Shared RFQ text link: structure is owned by components/rfq-link.cjs. */
a.lc-link-button.lc-link-button--rfq {
  --lc-link-button-ink: #0b6fc1;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lc-link-button-ink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  transition: none;
}

a.lc-link-button.lc-link-button--rfq.lc-link-button--inverse {
  --lc-link-button-ink: #fff;
}

a.lc-link-button.lc-link-button--rfq:is(:hover, :focus-visible, :active) {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--lc-link-button-ink);
  text-decoration: none;
}

a.lc-link-button.lc-link-button--rfq:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

a.lc-link-button--rfq > :is(.lc-rfq-label, .lc-rfq-icon, .lc-rfq-arrow) {
  display: inline-block;
  font: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  a.lc-link-button--rfq > :is(.lc-rfq-label, .lc-rfq-icon, .lc-rfq-arrow) {
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  }

  a.lc-link-button--rfq:focus-visible > :is(.lc-rfq-label, .lc-rfq-icon, .lc-rfq-arrow) {
    transform: translate(4px, -4px);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.lc-link-button--rfq:hover > :is(.lc-rfq-label, .lc-rfq-icon, .lc-rfq-arrow) {
    transform: translate(4px, -4px);
  }
}

.lc-rfq-icon { flex-shrink: 0; }

/* Opt-in fill treatment for the closing About CTA only. */
a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill {
  --lc-contact-fill: var(--lim-color-cta-fill, #0069a8);
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 8px;
  background-color: transparent;
  background-image: linear-gradient(var(--lc-contact-fill), var(--lc-contact-fill));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  color: #fff;
  transition: background-size 320ms cubic-bezier(.22, 1, .36, 1), border-color 180ms ease;
}

a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill:is(:hover, :focus-visible, :active) {
  border-color: var(--lc-contact-fill);
  background-size: 100% 100%;
  color: #fff;
}

a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill:active {
  --lc-contact-fill: var(--lim-color-cta-pressed, #005584);
}

a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill > :is(.lc-rfq-label, .lc-rfq-icon, .lc-rfq-arrow) {
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  a.lc-link-button.lc-link-button--rfq.lc-link-button--contact-fill { transition: none; }
}
