@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap");

html {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge/IE */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body {
  font-family: var(--pc-font-family);
  background-color: #fff;
  color: var(--pc-dark);
}

main {
  background-color: #fff;
  background-clip: content-box;
}

@media (min-width: 992px) {
  html.pc-footer-reveal main {
    position: relative;
    z-index: 1;
    padding-bottom: var(--pc-footer-h, 460px);
    pointer-events: none;
  }

  html.pc-footer-reveal main > * {
    pointer-events: auto;
  }

  html.pc-footer-reveal footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
}

.text-muted-pc {
  color: var(--pc-text-muted);
}

/* Red asterisk  */
.pc-required::after {
  content: " *";
  color: #dc3545;
}

.btn-pc-primary {
  position: relative;
  background: var(--pc-orange-light);
  border: 1px solid var(--pc-orange-light);
  color: var(--pc-white);
  border-radius: var(--pc-radius-pill);
  font-weight: 500;
}

.btn-pc-primary::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--pc-orange-light);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.btn-pc-primary:hover,
.btn-pc-primary:focus,
.btn-pc-primary:focus-visible {
  background: var(--pc-orange-light) !important;
  border-color: var(--pc-orange-light) !important;
  color: var(--pc-white) !important;
  box-shadow: none;
}

.btn-pc-primary:hover::after,
.btn-pc-primary:focus-visible::after {
  opacity: 100;
}

.btn-pc-primary:disabled {
  background: var(--pc-orange-light);
  border-color: var(--pc-orange-light);
  color: var(--pc-white);
  opacity: 0.85;
}

.btn-pc-dark {
  background-color: var(--pc-dark);
  border-color: var(--pc-dark);
  color: var(--pc-white);
  border-radius: var(--pc-radius-pill);
  font-weight: 600;
}

.btn-pc-dark:hover,
.btn-pc-dark:focus-visible {
  background-color: #000;
  border-color: #000;
  color: var(--pc-white);
}

.section-pc {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pc-orange);
  outline-offset: 2px;
}

/* ============ Global page loader ============ */
.pc-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 8, 6, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s linear 0s;
}

.pc-loader-overlay.pc-loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}

.pc-loader-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .25);
  border-top-color: var(--pc-orange-light);
  animation: pc-loader-spin .7s linear infinite;
}

.pc-loader-text {
  color: var(--pc-white);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .03em;
}

@keyframes pc-loader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pc-loader-spinner {
    animation-duration: 1.6s;
  }
}
