/* =====================================================================
   Pug IT Solution — buttons & links
   ---------------------------------------------------------------------
   Shared by the public website and the admin panel.
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
/* display above outranks the browser's own [hidden] rule, so a hidden button stays hidden here. */
.btn[hidden] { display: none; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
/* The one call to action a page is built around. It gets its presence from
   height and structure rather than from a bigger font: a two-line label (the
   action, then what it costs you) and the arrow in its own dark disc. The
   secondary button beside it takes .btn--lg so the row shares one height.
   Both step down at the end of this file so they never run wider than a
   phone. */
.btn--xl {
  height: 72px;
  padding: 0 10px 0 32px;
  gap: 24px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.btn--lg { height: 72px; padding: 0 32px; font-size: 17px; }
.btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-align: left;
}
.btn__sub {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
}
.btn__disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--on-gold);
  color: var(--gold-bright);
  transition: transform 0.25s ease;
}
.btn--xl:hover .btn__disc { transform: translateX(3px); }
.btn--block { width: 100%; }
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: var(--grad-accent);
  color: var(--on-gold);
  box-shadow: 0 14px 34px -18px rgba(201, 162, 39, 0.9);
}
.btn--primary:hover {
  color: var(--on-gold);
  box-shadow: 0 18px 44px -14px rgba(201, 162, 39, 0.75);
  transform: translateY(-2px);
}
.btn--primary:disabled:hover,
.btn--primary[disabled]:hover { transform: none; box-shadow: none; }

.btn--ghost {
  background: rgba(201, 162, 39, 0.05);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-bright);
}
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }


/* ---------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .btn { width: 100%; }
  .row .btn { width: auto; }
  /* The label may wrap here: on a 360px phone the one-line label plus the
     disc is wider than the CTA band, which would clip the arrow. The height
     is a minimum so the pill grows with a wrapped label instead of cramping
     it into the rounded ends. */
  .row .btn--xl { width: 100%; height: auto; min-height: 66px; padding: 10px 8px 10px 22px; gap: 12px; justify-content: space-between; font-size: 17px; white-space: normal; }
  .row .btn--xl .btn__text { min-width: 0; line-height: 1.15; gap: 4px; }
  .row .btn--lg { width: 100%; height: 56px; }
  .btn__disc { width: 48px; height: 48px; }
}
