/* ============================================================
   Site-wide button overrides — parity with /lp buttons
   (pill shape + dark arrow circle, hover invert)
   Mirrors /lp/assets/css/lp-style.css button block.
   ============================================================ */

/* ---------- Buttons: seo7 reference style — pill + arrow circle ---------- */
.ctm-btn-arrow {
  height: auto;
  border-radius: 50px;
  padding: 7px 7px 7px 26px;
  gap: 14px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.ctm-btn-arrow .btn-text {
  padding: 0;
}

.ctm-btn-arrow .btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  flex: 0 0 auto;
}

.ctm-btn-arrow .btn-svg-icon {
  position: static;
  opacity: 1;
  left: auto;
  transform: none;
  transition: transform 0.3s ease;
}

.ctm-btn-arrow .btn-svg-icon path {
  stroke: #fff !important;
}

/* hover: invert — dark pill, white text, yellow circle + dark arrow */
.ctm-btn-arrow:hover {
  background-color: #111;
  border-color: #111;
}

.ctm-btn-arrow:hover .btn-text {
  transform: none;
  color: #fff !important;
}

.ctm-btn-arrow:hover .btn-icon {
  background: var(--Sec-Color, #f7b500);
}

.ctm-btn-arrow:hover .btn-svg-icon {
  transform: rotate(45deg);
}

.ctm-btn-arrow:hover .btn-svg-icon path {
  stroke: #111 !important;
}

/* ---------- Forms & packages: "Register My Trademark" parity ---------- */

/* Packages card button — LP: yellow pill-adjacent button with WHITE text */
.tm-btn {
  color: #fff;
}

.tm-card .tm-btn {
  font-weight: 500;
}

.tm-btn:hover {
  color: #fff;
}

/* Hero form submit — LP: pill radius + dark arrow circle like .ctm-btn-arrow; */
/* hover inverts to dark pill + white text                             */
.hero-form .hero-submit-btn,
.hero-submit-btn {
  height: 54px;
  border: none;
  border-radius: 50px;
  padding: 0 56px;
  gap: 14px;
  background: #feb61b;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    inset -1px -3px 7.8px 0 rgba(27, 27, 27, 0.25),
    inset 1px 3px 8px 0 hsla(0, 0%, 100%, 0.2),
    0 4px 8px -2px rgba(27, 27, 27, 0.14),
    0 2px 4px -2px rgba(27, 27, 27, 0.1);
}

.hero-form .hero-submit-btn:hover,
.hero-submit-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* LP has no sheen sweep on these — remove the main-site ::after */
.hero-submit-btn::after,
.modal-body .btn-primary.contact-submit-btn::after {
  content: none;
}

/* modal submit button — same as overall site button style (yellow, dark invert hover) */
.modal-body .btn-primary.contact-submit-btn {
  height: 54px;
  border: 0;
  border-radius: 50px;
  padding: 0 56px;
  gap: 14px;
  background: #feb61b;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    inset -1px -3px 7.8px 0 rgba(27, 27, 27, 0.25),
    inset 1px 3px 8px 0 hsla(0, 0%, 100%, 0.2),
    0 4px 8px -2px rgba(27, 27, 27, 0.14),
    0 2px 4px -2px rgba(27, 27, 27, 0.1);
}

.modal-body .btn-primary.contact-submit-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Arrow icon inside form buttons — dark circle icon box, pinned to right edge */
.contact-submit-btn i {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: 0 0 auto;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.contact-submit-btn:hover i {
  background: var(--Sec-Color, #f7b500);
  color: #111;
}

/* ---------- Lenis smooth scrolling support ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}
