/* ── Buttons ──────────────────────────────────────────────
   Pill buttons with the "slip" hover: the label slides up and a copy slides in from below.
   Optional round arrow icon on the right (.btn--icon + .btn__icon). */
.btn {
  --btn-h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--msp-radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--msp-dur-base) var(--msp-ease-out), color var(--msp-dur-base) var(--msp-ease-out), border-color var(--msp-dur-base) var(--msp-ease-out);
}
.btn--icon { padding-right: 8px; }
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
.btn__label > span { display: block; transition: transform .45s var(--msp-ease-inout); }
.btn__label::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  transition: transform .45s var(--msp-ease-inout);
}
.btn:hover .btn__label > span, .btn:hover .btn__label::after,
.btn:focus-visible .btn__label > span, .btn:focus-visible .btn__label::after { transform: translateY(-100%); }
.btn__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color var(--msp-dur-base) var(--msp-ease-out), color var(--msp-dur-base) var(--msp-ease-out);
}
.btn__icon .icon { width: 18px; height: 18px; transition: transform .45s var(--msp-ease-inout); }
.btn:hover .btn__icon .icon, .btn:focus-visible .btn__icon .icon { transform: rotate(45deg); }
.btn > .icon { width: 20px; height: 20px; }

.btn--primary { background: var(--msp-primary); color: var(--msp-secondary); }
.btn--primary .btn__icon { background: var(--msp-secondary); color: var(--msp-primary); }
.btn--primary:hover { background: var(--msp-secondary); color: #fff; }
.btn--primary:hover .btn__icon { background: var(--msp-primary); color: var(--msp-secondary); }
.hero .btn--primary:hover, .site-footer .btn--primary:hover, .mobile-menu .btn--primary:hover, .mega__promo .btn--primary:hover { background: #fff; color: var(--msp-secondary); }
.hero .btn--primary:hover .btn__icon, .site-footer .btn--primary:hover .btn__icon, .mobile-menu .btn--primary:hover .btn__icon, .mega__promo .btn--primary:hover .btn__icon { background: var(--msp-secondary); color: var(--msp-primary); }

.btn--dark { background: var(--msp-secondary); color: #fff; }
.btn--dark .btn__icon { background: var(--msp-primary); color: var(--msp-secondary); }
.btn--dark:hover { background: var(--msp-primary); color: var(--msp-secondary); }
.btn--dark:hover .btn__icon { background: var(--msp-secondary); color: var(--msp-primary); }

.btn--outline-light { border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .05); color: #fff; backdrop-filter: blur(6px); }
.btn--outline-light:hover { border-color: #fff; background: #fff; color: var(--msp-secondary); }

.btn--outline { border-color: var(--msp-divider); color: var(--msp-secondary); }
.btn--outline:hover { border-color: var(--msp-secondary); background: var(--msp-secondary); color: #fff; }

.btn--sm { --btn-h: 46px; padding-inline: 22px; font-size: 14.5px; }
.btn--sm.btn--icon { padding-right: 6px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--sm .btn__icon .icon { width: 16px; height: 16px; }
.btn--block { width: 100%; }
.btn--block.btn--icon { justify-content: space-between; padding-left: 26px; }

/* ── Scroll reveal ──
   Hidden state only exists under .js-motion (set in <head> when motion is allowed), so content
   is visible without JS or with reduced motion. Stagger with style="--d:120" (ms). */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--msp-ease-out), transform .9s var(--msp-ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js-motion [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ── Eyebrow: small label with a green dot ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 400; letter-spacing: .01em; color: var(--msp-secondary);
}
.eyebrow::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--msp-primary);
  box-shadow: 0 0 0 4px rgb(155 213 5 / .2);
}
.eyebrow--light { color: #fff; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: var(--msp-radius-pill); background: var(--msp-primary); color: var(--msp-secondary);
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}

/* ── Form fields ── */
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; color: var(--msp-secondary); }
.field__control {
  width: 100%; min-height: 52px; padding: 12px 18px;
  border: 1px solid transparent; border-radius: var(--msp-radius-sm);
  background: var(--msp-surface); color: var(--msp-secondary); font-weight: 400;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field__control::placeholder { color: var(--msp-muted); opacity: 1; }
.field__control:hover { border-color: var(--msp-divider); }
.field__control:focus { outline: none; border-color: var(--msp-secondary); background: #fff; box-shadow: 0 0 0 4px rgb(155 213 5 / .35); }
select.field__control {
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081119' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
  cursor: pointer;
}
