/* Get Catalogue — vibrant floating pill + orange lead-capture modal */

:root {
  --catalogue-blue: var(--blue, #0f6ea9);
  --catalogue-blue-dark: var(--blue-dark, #0a4f78);
  --catalogue-blue-soft: var(--blue-soft, #e6f3fb);
  --catalogue-cyan: var(--cyan, #21a9d3);
  --catalogue-orange: var(--orange, #ff5a24);
  --catalogue-orange-hot: var(--orange-hot, #ff8a3d);
  --catalogue-orange-deep: var(--orange-deep, #e84b18);
  --catalogue-accent: var(--catalogue-orange);
  --catalogue-accent-hot: var(--catalogue-orange-hot);
  --catalogue-accent-deep: var(--catalogue-orange-deep);
  --catalogue-accent-soft: rgba(255, 90, 36, 0.1);
  --catalogue-accent-mid: rgba(255, 90, 36, 0.16);
  --catalogue-accent-ring: rgba(255, 90, 36, 0.18);
}

/* ── Floating circular pill (top-right) ── */
/* Above .site-header (z-index: 100) so the transparent header strip
   cannot intercept clicks while the pill remains visually visible. */
.catalogue-sticky {
  position: fixed;
  right: 18px;
  top: max(18px, env(safe-area-inset-top, 0px));
  bottom: auto;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  animation: catalogueStickyIn 280ms ease both;
}

.catalogue-sticky[hidden] {
  display: none !important;
}

.catalogue-sticky-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px 0 13px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--catalogue-orange-hot),
    var(--catalogue-orange) 55%,
    var(--catalogue-orange-deep)
  );
  box-shadow:
    0 4px 14px rgba(255, 90, 36, 0.38),
    0 0 0 0 rgba(255, 90, 36, 0.45);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  pointer-events: auto;
  animation: cataloguePillPulse 2.4s ease-in-out infinite;
  transition:
    filter 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

/* Decorative pulse rings — never capture clicks */
.catalogue-sticky-btn::before,
.catalogue-sticky-btn::after {
  pointer-events: none;
}

.catalogue-sticky-btn:hover,
.catalogue-sticky-btn:focus-visible {
  filter: brightness(1.06);
  box-shadow:
    0 6px 20px rgba(255, 90, 36, 0.48),
    0 0 0 4px rgba(255, 90, 36, 0.22);
  transform: translateY(-1px) scale(1.02);
  animation-play-state: paused;
}

.catalogue-sticky-btn:focus-visible {
  outline: 2px solid var(--catalogue-orange-deep);
  outline-offset: 3px;
}

.catalogue-sticky-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.catalogue-sticky-close {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.1);
  color: rgba(16, 24, 32, 0.55);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.catalogue-sticky-close:hover,
.catalogue-sticky-close:focus-visible {
  background: rgba(16, 24, 32, 0.18);
  color: #101820;
}

.catalogue-sticky-close:focus-visible {
  outline: 2px solid rgba(16, 24, 32, 0.35);
  outline-offset: 1px;
}

@keyframes catalogueStickyIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cataloguePillPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 4px 14px rgba(255, 90, 36, 0.38),
      0 0 0 0 rgba(255, 90, 36, 0.4);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 6px 18px rgba(255, 90, 36, 0.45),
      0 0 0 10px rgba(255, 90, 36, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalogue-sticky {
    animation: none;
  }

  .catalogue-sticky-btn {
    animation: none;
  }

  .catalogue-sticky-btn:hover,
  .catalogue-sticky-btn:focus-visible {
    transform: none;
  }
}

/* ── Modal overlay ── */
.catalogue-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(7, 30, 51, 0.64);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.catalogue-overlay.is-open {
  opacity: 1;
}

.catalogue-overlay[hidden] {
  display: none !important;
}

.catalogue-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: min(calc(100vh - 48px), 820px);
  overflow: auto;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(255, 90, 36, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 90, 36, 0.06), transparent 50%),
    #fff;
  border: 1px solid rgba(255, 90, 36, 0.14);
  box-shadow:
    0 8px 12px rgba(16, 24, 32, 0.06),
    0 32px 96px rgba(7, 30, 51, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.catalogue-overlay.is-open .catalogue-modal {
  transform: translateY(0) scale(1);
}

.catalogue-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--catalogue-accent-soft);
  color: var(--catalogue-accent-deep);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.catalogue-modal-close:hover,
.catalogue-modal-close:focus-visible {
  background: var(--catalogue-accent-mid);
  outline: none;
}

.catalogue-modal-close:focus-visible {
  outline: 2px solid var(--catalogue-accent);
  outline-offset: 2px;
}

.catalogue-card {
  padding: 32px 28px 28px;
}

.catalogue-head {
  margin-bottom: 22px;
  padding-right: 36px;
}

.catalogue-head .eyebrow {
  margin: 0 0 8px;
  color: var(--catalogue-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogue-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  color: #0a4f78;
}

.catalogue-head p {
  margin: 0;
  color: #5e6a78;
  font-size: 15px;
  line-height: 1.55;
}

.catalogue-form {
  display: grid;
  gap: 16px;
}

.catalogue-field {
  position: relative;
}

.catalogue-field input {
  width: 100%;
  padding: 24px 16px 10px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #101820;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalogue-field label {
  position: absolute;
  top: 17px;
  left: 16px;
  color: #5e6a78;
  font-size: 15px;
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}

.catalogue-field input:focus {
  border-color: var(--catalogue-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--catalogue-accent-ring);
}

.catalogue-field input:focus + label,
.catalogue-field input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--catalogue-accent);
}

.catalogue-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.catalogue-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--catalogue-accent-hot),
    var(--catalogue-accent) 55%,
    var(--catalogue-accent-deep)
  );
  box-shadow: 0 12px 28px rgba(255, 90, 36, 0.32);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.catalogue-submit:hover:not(:disabled),
.catalogue-submit:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 90, 36, 0.4);
}

.catalogue-submit:focus-visible {
  outline: 2px solid var(--catalogue-accent-deep);
  outline-offset: 3px;
}

.catalogue-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.catalogue-submit.is-loading .catalogue-submit-text {
  opacity: 0.55;
}

.catalogue-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: catalogueSpin 0.7s linear infinite;
}

.catalogue-submit.is-loading .catalogue-spinner {
  display: block;
}

@keyframes catalogueSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Stacked phone field + intl-tel-input */
.catalogue-field--phone {
  display: grid;
  gap: 8px;
}

.catalogue-field--phone > label {
  position: static;
  color: #5e6a78;
  font-size: 13px;
  font-weight: 700;
  pointer-events: auto;
}

.catalogue-phone-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

.catalogue-field--phone .iti,
.catalogue-field--phone .iti.catalogue-iti {
  width: 100%;
  display: block;
  overflow: visible;
}

.catalogue-field--phone .iti__tel-input {
  width: 100%;
  box-sizing: border-box;
  padding-top: 14px;
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 96px;
  min-height: 52px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 14px;
  color: #101820;
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalogue-field--phone .iti__tel-input:focus {
  border-color: var(--catalogue-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--catalogue-accent-ring);
}

.catalogue-field--phone .iti__country-container {
  left: 0;
  right: auto;
  z-index: 5;
  padding: 4px;
  overflow: visible;
}

.catalogue-field--phone .iti__selected-country,
.catalogue-field--phone button.iti__selected-country {
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #101820;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  box-shadow: none;
  transform: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.catalogue-field--phone .iti__selected-country:hover,
.catalogue-field--phone button.iti__selected-country:hover {
  background: var(--catalogue-accent-soft);
  transform: none;
  color: #101820;
}

.catalogue-field--phone .iti__selected-country:focus-visible {
  outline: 2px solid var(--catalogue-accent);
  outline-offset: 1px;
}

.catalogue-field--phone .iti__selected-country-primary {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 8px 0 10px;
  border-radius: 8px;
  background: transparent;
}

.catalogue-field--phone .iti__selected-dial-code {
  margin-left: 6px;
  color: #101820;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.catalogue-field--phone .iti__arrow {
  margin-left: 6px;
  border-top-color: #64748b;
  opacity: 0.9;
}

.catalogue-field--phone .iti__selected-country::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  margin-left: 2px;
  margin-right: 2px;
  background: rgba(16, 24, 32, 0.12);
  flex-shrink: 0;
}

.catalogue-field--phone .iti__dropdown-content {
  border-radius: 12px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  box-shadow: 0 16px 40px rgba(7, 30, 51, 0.18);
  z-index: 40;
}

.catalogue-field--phone .iti__search-input {
  border-radius: 8px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  padding: 10px 12px;
}

/* Marketing consent checkbox */
.catalogue-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 12px;
  background: rgba(255, 90, 36, 0.03);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.catalogue-consent-label:hover {
  background: var(--catalogue-accent-soft);
}

.catalogue-consent-label.has-error {
  border-color: rgba(192, 57, 43, 0.55);
  background: rgba(192, 57, 43, 0.04);
}

.catalogue-consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--catalogue-accent);
  cursor: pointer;
}

.catalogue-consent-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--catalogue-accent);
  outline-offset: 2px;
}

.catalogue-consent-label span {
  color: #8a95a3;
  font-size: 12px;
  line-height: 1.45;
}

/* ── Captcha verify modal (opens after Send Message / Get Catalogue) ── */
.evolabs-captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(7, 30, 51, 0.64);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.evolabs-captcha-overlay[hidden] {
  display: none !important;
}

.evolabs-captcha-overlay.is-open {
  opacity: 1;
}

.evolabs-captcha-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border-radius: 20px;
  border-top: 3px solid var(--catalogue-orange, #ff5a24);
  background: #fff;
  box-shadow: 0 24px 64px rgba(7, 30, 51, 0.28);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
}

.evolabs-captcha-overlay.is-open .evolabs-captcha-modal {
  transform: translateY(0) scale(1);
}

.evolabs-captcha-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--catalogue-accent-soft, rgba(255, 90, 36, 0.1));
  color: var(--catalogue-accent-deep, #e84b18);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.evolabs-captcha-close:hover,
.evolabs-captcha-close:focus-visible {
  background: var(--catalogue-accent-mid, rgba(255, 90, 36, 0.16));
  outline: none;
}

.evolabs-captcha-eyebrow {
  margin: 0 0 6px;
  color: var(--catalogue-orange, #ff5a24);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evolabs-captcha-title {
  margin: 0 0 8px;
  color: #0a4f78;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  line-height: 1.2;
}

.evolabs-captcha-lead {
  margin: 0 0 18px;
  color: #5e6a78;
  font-size: 14.5px;
  line-height: 1.5;
}

.evolabs-captcha-mount {
  display: flex;
  justify-content: center;
  min-height: 0;
  margin-bottom: 12px;
}

.evolabs-captcha-error {
  margin: 0 0 12px;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.evolabs-captcha-error[hidden] {
  display: none !important;
}

.evolabs-captcha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.evolabs-captcha-cancel,
.evolabs-captcha-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.evolabs-captcha-cancel {
  border: 1px solid rgba(16, 24, 32, 0.14);
  background: #fff;
  color: #101820;
}

.evolabs-captcha-cancel:hover {
  background: #f5f7f9;
}

.evolabs-captcha-confirm {
  border: 0;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--catalogue-orange-hot, #ff8a3d),
    var(--catalogue-orange, #ff5a24) 55%,
    var(--catalogue-orange-deep, #e84b18)
  );
  box-shadow: 0 10px 24px rgba(255, 90, 36, 0.32);
}

.evolabs-captcha-confirm:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 90, 36, 0.4);
}

.evolabs-captcha-confirm:disabled,
.evolabs-captcha-confirm.is-loading {
  opacity: 0.72;
  cursor: wait;
}

body.evolabs-captcha-open {
  overflow: hidden;
}

.catalogue-form-error {
  margin: 0;
  min-height: 1.2em;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.catalogue-form-error:empty {
  display: none;
}

.catalogue-success {
  display: grid;
  gap: 14px;
  justify-items: start;
  text-align: left;
}

.catalogue-success[hidden] {
  display: none !important;
}

.catalogue-success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--catalogue-accent-soft);
  color: var(--catalogue-accent);
}

.catalogue-success-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalogue-success h3 {
  margin: 0;
  color: #0a4f78;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.2;
}

.catalogue-success p {
  margin: 0;
  color: #5e6a78;
  font-size: 15px;
  line-height: 1.55;
}

.catalogue-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid rgba(255, 90, 36, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--catalogue-accent-deep);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.catalogue-done:hover,
.catalogue-done:focus-visible {
  background: var(--catalogue-accent-soft);
}

.catalogue-done:focus-visible {
  outline: 2px solid var(--catalogue-accent);
  outline-offset: 2px;
}

/* Footer text/link — quiet, not a loud pill */
.footer-catalogue-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: rgba(126, 200, 240, 0.55);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-catalogue-link:hover,
.footer-catalogue-link:focus-visible {
  color: #7ec8f0;
  text-decoration-color: #7ec8f0;
}

.footer-catalogue-link:focus-visible {
  outline: 2px solid #7ec8f0;
  outline-offset: 3px;
  border-radius: 4px;
}

body.catalogue-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .catalogue-sticky {
    right: 12px;
    top: max(12px, env(safe-area-inset-top, 0px));
    bottom: auto;
  }

  .catalogue-sticky-btn {
    min-height: 38px;
    padding: 0 14px 0 12px;
    font-size: 12.5px;
  }

  .catalogue-card {
    padding: 28px 20px 22px;
  }

  .catalogue-overlay {
    padding: 12px;
    align-items: end;
  }

  .catalogue-modal {
    width: 100%;
    max-height: min(calc(100vh - 24px), 92vh);
    border-radius: 20px 20px 12px 12px;
  }
}

@media (max-width: 640px) {
  .catalogue-sticky {
    right: max(8px, env(safe-area-inset-right, 0px));
    top: max(8px, env(safe-area-inset-top, 0px));
    bottom: auto;
  }

  .catalogue-sticky-btn {
    min-height: 40px;
    padding: 0 14px 0 12px;
  }

  .catalogue-card {
    padding: 22px 16px 18px;
  }

  .catalogue-overlay {
    padding: 8px;
  }

  .catalogue-modal {
    max-height: min(calc(100vh - 16px), 94vh);
    border-radius: 16px 16px 10px 10px;
  }
}
