/* Payment Solutions Inc. — custom styles (Bootstrap handles layout/utilities) */

:root {
  --psi-navy: #1b2a5e;
  --psi-gold: #b7823f;
  --psi-gold-dark: #8e6229;
  --psi-cream: #f4f1e8;
  --psi-cream-dark: #d8c39a;
  --psi-cream-mid: #cdb68a;
  --psi-cream-accent: #c89a5a;
  --psi-gray: #8e8f97;
  --psi-text: #31333b;
  --psi-text-dark: #3a3c44;
  --psi-text-muted: #6e7079;
  --psi-label: #7a6a50;
  --psi-body: #22242a;
  --psi-accent: #b7823f;
}

@keyframes psi-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Base */
html,
body {
  background: #faf7f1;
}

body {
  font-family: "EB Garamond", Georgia, serif;
  color: var(--psi-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--psi-cream-dark);
}

a {
  color: var(--psi-gold);
  text-decoration: none;
}

a:hover {
  color: var(--psi-gold-dark);
}
img{max-width: 100%;}
/* Layout */
.psi-page {
  --psi-accent: #b7823f;
}

.psi-main {
  animation: psi-rise 0.5s ease both;
}

.psi-container {
  max-width: 1100px;
}

.psi-container-narrow {
  max-width: 900px;
}

.psi-max-680 { max-width: 680px; }
.psi-max-620 { max-width: 620px; }
.psi-max-640 { max-width: 640px; }
.psi-max-820 { max-width: 820px; }

/* Header */
.psi-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 233, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(183, 130, 63, 0.18);
}

.psi-brand {
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--psi-navy);
  font-weight: 600;
}
.psi-brand img{width:70px;}
.psi-brand-accent {
  color: var(--psi-gold);
}

.psi-nav {
  font-size: 19px;
  gap: 30px;
}

.psi-nav-link {
  color: var(--psi-text-muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.psi-nav-link:hover {
  color: var(--psi-navy);
}

.psi-nav-link--active {
  color: var(--psi-navy);
  border-bottom-color: var(--psi-accent);
}

/* Sections */
.psi-section {
  padding: 110px 0;
}

.psi-section--hero {
  background: var(--psi-cream);
  padding: 120px 0 70px;
}
.psi-section--hero img{max-width: 240px;}
.psi-section--cream {
  background: var(--psi-cream);
}

.psi-section--white {
  background: #fff;
}

.psi-section--tan {
  background: var(--psi-cream);
}

.psi-section--gray {
  background: var(--psi-cream);
  padding: 110px 0 120px;
}

.psi-section--cta-band {
  padding: 100px 0;
}

.psi-section--compact {
  padding: 100px 0;
}

.psi-section--page-hero {
  background: var(--psi-cream);
  padding: 120px 0 110px;
}

/* Typography */
.psi-eyebrow {
  margin-bottom: 22px;
  font-size: 15px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--psi-gold);
}

.psi-eyebrow--muted {
  color: var(--psi-gray);
}

.psi-display {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 4.625rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--psi-navy);
  letter-spacing: -0.01em;
}

.psi-page-title {
  margin: 0;
  display: inline-block;
  font-size: clamp(2.5rem, 5vw, 3.875rem);
  font-weight: 500;
  color: var(--psi-gold);
  border-bottom: 3px solid var(--psi-gold);
  padding-bottom: 14px;
}

.psi-heading {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.875rem);
  font-weight: 500;
  color: var(--psi-gold);
}

.psi-heading--navy {
  color: var(--psi-navy);
}

.psi-heading--centered {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  border-bottom: 3px solid var(--psi-gold);
  padding-bottom: 14px;
}

.psi-heading--centered-navy {
  color: var(--psi-navy);
}

.psi-heading--centered-loans {
  border-bottom-color: var(--psi-gold-dark);
}

.psi-heading--underlined {
  padding-bottom: 18px;
  border-bottom: 4px solid var(--psi-gold);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.psi-subheading {
  margin: 0;
  font-size: clamp(1.75rem, 2.3vw, 2.4rem);
  font-weight: 500;
  color: var(--psi-navy);
  line-height: 1.2;
}

.psi-lead {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.6rem);
  line-height: 1.6;
  color: var(--psi-text);
  text-wrap: pretty;
}

.psi-body-lg {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  color: var(--psi-cream-accent);
  text-wrap: pretty;
}

.psi-body-txt {
  margin: 0;
  font-size: 30px;
  line-height: 1.5;
  color: var(--psi-navy);
  text-wrap: pretty;
}
.psi-body-md {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  color: var(--psi-text);
  text-wrap: pretty;
}
.psi-footer-logo {text-align: right; margin-bottom: 15px;}
.psi-footer-logo img{max-width: 120px;}
.psi-accent-text {
  color: var(--psi-gold);
}

.psi-accent-lead {
  margin: 0;
  font-size: 23px;
  line-height: 1.6;
  color: var(--psi-gold);
}

.psi-font-display {
  font-family: "Archivo Black", "Arial Black", sans-serif;
}

/* Hero */
.psi-hero-lead {
  margin: 34px auto 0;
  max-width: 620px;
}

.psi-hero-rule {
  margin-top: 110px;
  height: 7px;
  background: var(--psi-gold);
}

/* Buttons & links */
.psi-btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-radius: 50px;
  box-shadow: 6px 12px 10px rgba(0, 0, 0, 0.1);
}

.psi-btn--primary {
  background: var(--psi-cream-mid);
  color: #fff;
}

.psi-btn--primary:hover {
  background: var(--psi-gold);
  color: #fff;
}
.psi-btn--primary-dark {
  background: #3a3c44;
  color: var(--psi-cream);
}

.psi-btn--primary-dark:hover {
  background: #000000;
  color: var(--psi-cream);
}

.psi-btn--outline {
  border: 1px solid rgba(27, 42, 94, 0.3);
  color: var(--psi-navy);
  background: transparent;
}

.psi-btn--outline:hover {
  border-color: var(--psi-gold);
  color: var(--psi-gold);
}

.psi-btn--sm {
  padding: 14px 30px;
}

.psi-link-arrow {
  border-bottom: 2px solid var(--psi-gold);
  padding-bottom: 6px;
  font-size: 22px;
  color: var(--psi-navy);
}

.psi-link-arrow:hover {
  color: var(--psi-gold);
}

.psi-card-link {
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* Cards & articles */
.psi-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.psi-card-number {
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--psi-gold);
}

.psi-card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--psi-navy);
  padding-bottom: 14px;
  border-bottom: 4px solid var(--psi-gold);
}

.psi-step-card {
  background: var(--psi-cream-dark);
  padding: 25px;
  gap: 16px;
  margin-bottom: 15px;
  border-radius: 10px;
}

.psi-step-number {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--psi-gold-dark);
}

.psi-step-text {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  color:#fff;
  text-wrap: pretty;
  text-align: center;
}

.psi-loan-card {
  background: var(--psi-cream-mid);
  padding: 36px 30px;
  gap: 18px;
  height: 100%;
}

.psi-loan-card-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--psi-gold-dark);
  padding-bottom: 12px;
}

.psi-loan-card-body {
  margin: 0;
  font-size: 24px;
  line-height: 1.65;
  color: #fff;
}

.psi-loan-card-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
}

/* POS showcase */
.poscards {
  border-bottom: 1px solid #cfcdc7;
  padding-bottom: 35px;
}

.posimg {
  position: relative;
}

.posimg-download {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgb(209 202 189);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.posimg-download:hover {
  background: var(--psi-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 42, 94, 0.35);
}

.posimg-download:focus-visible {
  outline: 2px solid var(--psi-gold);
  outline-offset: 2px;
}

.posimg-download img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.glightbox-download {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 100001;
}

@media (max-width: 767.98px) {
  .glightbox-download {
    right: 16px;
    bottom: 16px;
    width: 34px;
    height: 34px;
    padding: 7px;
  }
}

.posimg-link {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  isolation: isolate;
}

.posimg-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 42, 94, 0.05) 0%,
    rgba(27, 42, 94, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.posimg-link:hover::before,
.posimg-link:focus-visible::before {
  opacity: 1;
}

.posimg-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.posimg-link:hover img,
.posimg-link:focus-visible img {
  transform: scale(1.07);
}

.posimg-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--psi-gold);
  box-shadow:
    0 10px 28px rgba(27, 42, 94, 0.35),
    0 0 0 0 rgba(183, 130, 63, 0.45);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55) rotate(-18deg);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.posimg-zoom::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  background-color: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3Cline x1='10.5' y1='8' x2='10.5' y2='13'/%3E%3Cline x1='8' y1='10.5' x2='13' y2='10.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3Cline x1='10.5' y1='8' x2='10.5' y2='13'/%3E%3Cline x1='8' y1='10.5' x2='13' y2='10.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.posimg-zoom::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.85);
}

.posimg-link:hover .posimg-zoom,
.posimg-link:focus-visible .posimg-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  animation: posimg-zoom-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.posimg-link:hover .posimg-zoom::after,
.posimg-link:focus-visible .posimg-zoom::after {
  animation: posimg-ring-pulse 1.6s ease-out infinite;
}

@keyframes posimg-zoom-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55) rotate(-18deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

@keyframes posimg-ring-pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.85);
  }
  70% {
    opacity: 0;
    transform: scale(1.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .posimg-link img,
  .posimg-link::before,
  .posimg-zoom {
    transition: none;
  }

  .posimg-link:hover .posimg-zoom,
  .posimg-link:focus-visible .posimg-zoom,
  .posimg-link:hover .posimg-zoom::after,
  .posimg-link:focus-visible .posimg-zoom::after {
    animation: none;
  }
}
.psi-pos-title {
  margin: 0 0 28px;
  font-size: 31px;
  font-weight: 500;
  color: var(--psi-navy);
}

.psi-screenshot {
  aspect-ratio: 4 / 3;
  background-image: repeating-linear-gradient(135deg, #efe9dc 0 10px, #f7f3ea 10px 20px);
  border: 1px solid rgba(27, 42, 94, 0.14);
}

.psi-screenshot-label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--psi-gray);
}

.psi-pos-blurb {
  margin: 24px auto 0;
  max-width: 640px;
}

.psi-hardware-list {
  margin: 60px auto 0;
  max-width: 620px;
  font-size: 26px;
  line-height: 1.5;
  color: var(--psi-navy);
}

/* Portfolio list */
.psi-portfolio-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.psi-portfolio-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 26px;
  line-height: 1.5;
  color: var(--psi-text-dark);
  border-bottom: 1px solid rgba(183, 130, 63, 0.25);
  padding-bottom: 12px;
}

.psi-portfolio-bullet {
  color: var(--psi-gold);
  font-size: 18px;
}

/* Decorative arcs */
.psi-deco {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}

.psi-deco--about {
  width: 340px;
  height: 340px;
}

.psi-deco2 {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
}


.psi-deco--loans {
  width: 300px;
  height: 300px;
  opacity: 0.55;
}

.psi-deco-arc {
  position: absolute;
  border-top: 2px solid var(--psi-cream-accent);
  border-left: 2px solid var(--psi-cream-accent);
}

.psi-deco-arc--loans {
  border-color: var(--psi-gold-dark);
}

.psi-deco-arc-1 { inset: 0 0 40px 40px; border-top-left-radius: 120px; }
.psi-deco-arc-2 { inset: 14px 0 26px 54px; border-top-left-radius: 110px; }
.psi-deco-arc-3 { inset: 28px 0 12px 68px; border-top-left-radius: 100px; }
.psi-deco-arc-4 { inset: 42px 0 -2px 82px; border-top-left-radius: 90px; }
.psi-deco-arc-5 { inset: 56px 0 -16px 96px; border-top-left-radius: 80px; }

.psi-deco-arc-loans-1 { inset: 0 0 40px 40px; border-top-left-radius: 110px; }
.psi-deco-arc-loans-2 { inset: 16px 0 24px 56px; border-top-left-radius: 100px; }
.psi-deco-arc-loans-3 { inset: 32px 0 8px 72px; border-top-left-radius: 90px; }
.psi-deco-arc-loans-4 { inset: 48px 0 -8px 88px; border-top-left-radius: 80px; }

.psi-content-offset {
  max-width: 1000px;
  margin-left: max(0px, calc((100% - 1100px) / 2));
}

/* Loans section */
.psi-loans-tagline {
  margin: 44px 0 40px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--psi-navy);
  letter-spacing: -0.01em;
}

.psi-loans-highlight {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  color: var(--psi-cream-mid);
}

.psi-loans-rule {
  margin-top: 64px;
  height: 7px;
  background: var(--psi-gold-dark);
}

/* Contact */
.psi-contact-title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 500;
  color: #c9a227;
  line-height: 1.1;
}

.psi-contact-lead {
  margin: 28px 0 0;
  color: var(--psi-navy);
}

.psi-contact-block {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.psi-contact-company {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 500;
  color: var(--psi-navy);
}

.psi-contact-dl {
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 21px;
  color: #c9a227;
}

.psi-contact-row {
  gap: 14px;
}

.psi-contact-dt {
  width: 100px;
  color: #000;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 5px;
}

.psi-contact-link {
  color: #c9a227;
}

.psi-contact-link:hover {
  color: #000;
}

/* Form */
.psi-form {
  background:#fff;
  padding: 44px 40px;
  gap: 22px;
  border-radius: 35px;
  box-shadow: -14px 2px 30px rgba(0, 0, 0, 0.1);
}

.psi-form-title {
  margin: 0;
  font-size: 30px;
  font-weight:700;
  color: var(--psi-navy);
}

.psi-form-label {
  gap: 8px;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psi-label);
}

.psi-form-control {
  font-family: "EB Garamond", serif;
  font-size: 20px;
  padding: 12px 14px;
  border: 1px solid #c9a227;
  background: #fff;
  color: var(--psi-body);
  letter-spacing: normal;
  text-transform: none;
  border-radius: 8px;
}

.psi-form-control:focus {
  outline: none;
  border-color: var(--psi-gold);
  box-shadow: none;
}

.psi-form-legend {
  padding: 0;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psi-label);
}

.psi-checkbox-label {
  gap: 9px;
  font-size: 18px;
  color: var(--psi-text-dark);
  border: 1px solid #c9a227;
  padding: 9px 15px;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.psi-checkbox-label:hover {
  border-color: var(--psi-gold);
}

.psi-checkbox-label input {
  accent-color: var(--psi-navy);
  width: 16px;
  height: 16px;
}

.psi-form-success {
  margin: 0;
  font-size: 19px;
  color: var(--psi-navy);
  border-left: 3px solid var(--psi-gold);
  padding-left: 14px;
}
.psi-form-note{font-size: 20px;}

/* Footer */
.psi-footer {
  background: var(--psi-gray);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.psi-footer-brand {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #eae7e0;
}

.psi-footer-contact {
  margin: 0;
  font-size: 30px;
  color: #fff;
  line-height: 1.5;
}

.psi-footer-link {
  color: #fff;
}

.psi-footer-link:hover {
  color: var(--psi-cream);
}

.psi-footer-nav {
  gap: 26px;
  font-size: 19px;
}

.psi-footer-nav-link {
  color: #f1efea;
}

.psi-footer-nav-link:hover {
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .psi-section--hero {
    padding: 100px 0 80px;
  }

  .psi-hero-rule {
    margin-top: 70px;
  }

  .psi-content-offset {
    margin-left: 0;
  }

  .psi-deco {
    opacity: 0.35;
  }
}

@media (max-width: 767.98px) {
  .psi-header .container-xl {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .psi-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .psi-nav-link{font-size: 16px;}
  .psi-form {
    padding: 32px 24px;
  }
  .psi-section--page-hero{padding: 50px 0;}

  .psi-footer-logo{text-align:left;}
  .psi-footer-contact{font-size: 20px;}
  .psi-deco2, .psi-deco--about{width: 140px; height: 140px;}
  .psi-contact-row{flex-direction: column;    gap: 0px;}

}
