/* Programama visual layer. Loaded after the legacy Deski theme. */
:root {
  --pg-ink: #07120f;
  --pg-ink-soft: #13221e;
  --pg-muted: #5f6b67;
  --pg-line: rgba(7, 18, 15, 0.12);
  --pg-cream: #f6f0e5;
  --pg-cream-2: #fbf7ef;
  --pg-card: #fffaf1;
  --pg-green: #d9ff67;
  --pg-green-dark: #9ecb28;
  --pg-blue: #8bd6ff;
  --pg-orange: #ff9f43;
  --pg-radius-lg: 34px;
  --pg-radius-md: 22px;
  --pg-shadow: 0 28px 80px rgba(7, 18, 15, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pg-cream-2);
  color: var(--pg-ink);
}

body .main-page-wrapper {
  background: var(--pg-cream-2);
  padding-top: 0;
}

body .font-gordita,
body .font-rubik {
  font-family: "Gordita", "Rubik", Arial, sans-serif !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: var(--pg-ink);
  font-family: "Gordita", "Rubik", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}

body p {
  color: var(--pg-muted);
}

body a {
  color: inherit;
}

.pg-shell {
  background: var(--pg-cream-2);
}

.pg-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.pg-navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(246, 240, 229, 0.92);
  border-bottom: 1px solid rgba(7, 18, 15, 0.08);
  backdrop-filter: blur(16px);
}

.pg-navbar-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  min-height: 82px;
}

.pg-logo img {
  max-width: 178px;
}

.pg-nav-links {
  align-items: center;
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pg-nav-links a {
  color: rgba(7, 18, 15, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.pg-nav-links a:hover {
  color: var(--pg-ink);
}

.pg-btn,
body .theme-btn-nine,
body .theme-btn-two,
body .theme-btn-one {
  align-items: center;
  background: var(--pg-green);
  border: 1px solid rgba(7, 18, 15, 0.16);
  border-radius: 999px;
  color: var(--pg-ink) !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 400;
  justify-content: center;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 52px;
  padding: 0 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: auto;
}

.pg-btn:hover,
body .theme-btn-nine:hover,
body .theme-btn-two:hover,
body .theme-btn-one:hover {
  background: #efffb8;
  box-shadow: 0 14px 32px rgba(7, 18, 15, 0.16);
  transform: translateY(-2px);
}

.pg-btn-dark {
  background: var(--pg-ink);
  color: #fff !important;
}

.pg-btn-dark:hover {
  background: #1b2b26;
}

.pg-mobile-toggle {
  display: none;
}

.pg-section {
  padding: 110px 0;
}

.pg-section-tight {
  padding: 78px 0;
}

.pg-hero {
  background: var(--pg-ink);
  border-radius: 0 0 46px 46px;
  color: #fff;
  overflow: hidden;
  padding: 70px 0 70px;
  position: relative;
}

.pg-hero:before {
  background: radial-gradient(circle at 78% 18%, rgba(217, 255, 103, 0.28), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(139, 214, 255, 0.22), transparent 32%);
  content: "";
  inset: 0;
  position: absolute;
}

.pg-hero .pg-container {
  position: relative;
  z-index: 1;
}

.pg-grid {
  display: grid;
  gap: 30px;
}

.pg-grid-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
}

.pg-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pg-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pg-align-center {
  align-items: center;
}

.pg-eyebrow,
.programama-eyebrow {
  background: rgba(217, 255, 103, 0.14);
  border: 1px solid rgba(217, 255, 103, 0.22);
  border-radius: 999px;
  color: var(--pg-green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 22px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.pg-eyebrow-dark {
  background: rgba(7, 18, 15, 0.08);
  border-color: rgba(7, 18, 15, 0.1);
  color: var(--pg-ink);
}

.pg-hero h1,
.programama-hero .hero-heading {
  color: #fff;
  font-size: clamp(56px, 7vw, 82px);
  line-height: 0.98;
  margin: 0 0 28px;
  max-width: 920px; 
}

.pg-hero h1 span,
.programama-hero .hero-heading span {
  color: var(--pg-green);
}

.pg-hero p,
.programama-hero .hero-sub-heading {
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  line-height: 1.55;
  max-width: 710px;
}

.pg-hero-actions,
.programama-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.pg-link,
.programama-secondary-link {
  color: inherit;
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.pg-link-light,
.programama-hero .programama-secondary-link {
  color: #fff;
}

.pg-visual-card,
.programama-hero-card,
.programama-platform-preview {
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--pg-radius-lg);
  box-shadow: none;
  padding: 22px;
}

.pg-pipeline {
  display: grid;
  gap: 16px;
}

.pg-pipeline-row,
.programama-screen-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: #fff;
  padding: 22px;
}

.pg-pipeline-row strong,
.pg-pipeline-row span,
.programama-screen-card strong,
.programama-screen-card span {
  display: block;
}

.pg-pipeline-row span,
.programama-screen-card span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-pipeline-row strong,
.programama-screen-card strong {
  color: #fff;
  font-weight: 100;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-top: 8px;
}

.pg-video-frame,
.programama-video-frame {
  background: #020806;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
}

.pg-video-frame video,
.programama-video-frame video {
  display: block;
  width: 100%;
}

.pg-section-heading {
  margin-bottom: 52px;
  max-width: 920px;
}

.pg-section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-section-heading h2,
.programama-section h2,
.programama-trust h2 {
  color: var(--pg-ink);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  margin: 0 0 22px;
}

.pg-section-heading p,
.programama-section p,
.programama-trust p {
  font-size: 18px;
  line-height: 1.65;
}

.pg-card,
.programama-step-card,
.programama-feature-card,
.programama-calculator-card,
.contact-style-two .address-info {
  background: var(--pg-card);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius-lg);
  box-shadow: none;
  color: var(--pg-ink);
  height: 100%;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-card:hover,
.programama-step-card:hover,
.programama-feature-card:hover {
  box-shadow: var(--pg-shadow);
  transform: translateY(-4px);
}

.pg-card h3,
.programama-step-card h3,
.programama-feature-card h3 {
  font-size: 28px;
  line-height: 1.08;
  margin: 0 0 18px;
}

.pg-card p,
.programama-step-card p,
.programama-feature-card p {
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
}

.pg-card-kicker {
  color: var(--pg-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pg-metrics {
  background: var(--pg-ink);
  border-radius: var(--pg-radius-lg);
  color: #fff;
  padding: 38px;
}

.pg-metric {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 26px;
}

.pg-metric:first-child {
  border-left: 0;
  padding-left: 0;
}

.pg-metric strong {
  color: var(--pg-green);
  display: block;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.9;
}

.pg-metric span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 15px;
  margin-top: 14px;
}

.pg-dark-panel,
.programama-trust-panel {
  background: var(--pg-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pg-radius-lg);
  color: rgba(255, 255, 255, 0.74);
  padding: 52px;
}

.pg-dark-panel h2,
.programama-trust-panel h2 {
  color: #fff;
}

.pg-dark-panel p,
.programama-trust-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.pg-trust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.programama-trust-item,
.pg-trust-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #fff;
  padding: 24px;
}

.programama-trust-item span,
.pg-trust-item span {
  color: var(--pg-green);
  display: block;
  font-size: 26px;
}

.pg-timeline {
  display: grid;
  gap: 20px;
}

.pg-timeline-item {
  align-items: flex-start;
  background: var(--pg-card);
  border: 1px solid var(--pg-line);
  border-radius: 28px;
  display: grid;
  gap: 24px;
  grid-template-columns: 110px 1fr;
  padding: 28px;
}

.pg-timeline-marker {
  color: var(--pg-ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-timeline-item h3 {
  font-size: 30px;
  line-height: 1.08;
  margin: 0 0 10px;
}

.pg-timeline-item p {
  margin: 0;
}

.programama-calculator {
  background: var(--pg-cream);
  padding: 110px 0;
}

.programama-calculator-card {
  background: var(--pg-ink);
  color: #fff;
}

.programama-range-header label,
.programama-range-header output {
  color: #fff;
}

.programama-range-scale,
.programama-revenue-result small {
  color: rgba(255, 255, 255, 0.58);
}

.programama-revenue-result {
  background: var(--pg-green);
  color: var(--pg-ink);
}

.programama-revenue-result span,
.programama-revenue-result strong,
.programama-revenue-result small {
  color: var(--pg-ink);
}

.programama-niche-input,
.programama-evaluation-form .form-control,
.pg-form input,
.pg-form textarea,
.pg-form select {
  background: #fffdf7;
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  color: var(--pg-ink);
  min-height: 56px;
  padding: 0 18px;
}

.pg-form textarea {
  min-height: 140px;
  padding-top: 16px;
}

.pg-form label,
.programama-evaluation-form label,
.programama-niche-label {
  color: var(--pg-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pg-contact-hero,
.pg-legal-hero {
  background: var(--pg-ink);
  border-radius: 0 0 42px 42px;
  color: #fff;
  padding: 88px 0 72px;
}

.pg-contact-hero h1,
.pg-legal-hero h1 {
  color: #fff;
  font-size: clamp(52px, 7vw, 96px);
  letter-spacing: -0.08em;
  line-height: 0.94;
  margin: 0;
}

.pg-contact-hero p,
.pg-legal-hero p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 20px;
  margin-top: 22px;
  max-width: 760px;
}

.pg-legal-body {
  background: var(--pg-card);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius-lg);
  margin: 70px auto;
  max-width: 920px;
  padding: 54px;
}

.pg-legal-body h3 {
  font-size: 36px;
}

.pg-legal-body p,
.pg-legal-body li {
  color: var(--pg-ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.pg-auth-shell {
  background: var(--pg-ink);
  min-height: 100vh;
  padding: 28px;
}

.pg-auth-grid {
  background: var(--pg-cream-2);
  border-radius: 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - 56px);
  overflow: hidden;
}

.pg-auth-story {
  background: var(--pg-ink);
  color: #fff;
  padding: 48px;
}

.pg-auth-story h1 {
  color: #fff;
  font-size: clamp(44px, 5vw, 74px);
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.pg-auth-story p,
.pg-auth-story li {
  color: rgba(255, 255, 255, 0.68);
}

.pg-auth-card {
  align-self: center;
  margin: 0 auto;
  max-width: 560px;
  padding: 52px;
  width: 100%;
}

.pg-auth-card h2 {
  font-size: 48px;
  line-height: 1;
}

.pg-auth-card .input-group-meta input {
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  height: 58px;
  padding: 0 18px;
}

.pg-auth-card .input-group-meta label {
  color: var(--pg-ink);
  font-weight: 800;
}

.pg-footer {
  background: var(--pg-ink);
  color: rgba(255, 255, 255, 0.66);
  margin-top: 0;
  padding: 76px 0 34px;
}

.pg-footer h5,
.pg-footer strong {
  color: #fff;
}

.pg-footer p,
.pg-footer a,
.pg-footer li {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.pg-footer a:hover {
  color: var(--pg-green);
}

.pg-footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}

.pg-footer ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.pg-footer li + li {
  margin-top: 10px;
}

.pg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 58px;
  padding-top: 24px;
}

.programama-modal .modal-content {
  background: var(--pg-card);
  border-radius: 28px;
}

.fancy-short-banner-nine.programama-final-cta {
  background: var(--pg-cream);
}

@media (max-width: 991px) {
  .pg-navbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }

  .pg-nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .pg-grid-2,
  .pg-grid-3,
  .pg-grid-4,
  .pg-footer-grid,
  .pg-auth-grid {
    grid-template-columns: 1fr;
  }

  .pg-hero {
    padding: 72px 0 54px;
  }

  .pg-section {
    padding: 78px 0;
  }

  .pg-metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 22px 0 0;
  }

  .pg-metric:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .pg-trust-grid,
  .programama-trust-panel .row {
    grid-template-columns: 1fr;
  }

  .pg-auth-shell {
    padding: 0;
  }

  .pg-auth-grid {
    border-radius: 0;
  }
}

@media (max-width: 575px) {
  .pg-container {
    padding: 0 18px;
  }

  .pg-hero h1,
  .programama-hero .hero-heading {
    font-size: 50px;
  }

  .pg-dark-panel,
  .programama-trust-panel,
  .pg-card,
  .programama-step-card,
  .programama-feature-card,
  .programama-calculator-card,
  .pg-legal-body,
  .pg-auth-card,
  .pg-auth-story {
    padding: 28px;
  }

  .pg-timeline-item {
    grid-template-columns: 1fr;
  }

  .pg-footer-bottom {
    flex-direction: column;
  }
}

/* Partner logo infinite strip (Index) */
.pg-section-logo-strip {
  padding: 48px 0;
}

.pg-logo-marquee {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  overflow: hidden;
  width: 100%;
}

.pg-logo-marquee-track {
  animation: pg-logo-marquee-scroll 45s linear infinite;
  display: flex;
  width: max-content;
}

.pg-logo-marquee-item {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  padding: 8px 40px;
}

.pg-logo-marquee-item img {
  display: block;
  height: auto;
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
  width: auto;
}

@keyframes pg-logo-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-logo-marquee {
    mask-image: none;
  }

  .pg-logo-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    max-width: 1240px;
    width: 100%;
  }

  .pg-logo-marquee-item:nth-child(n + 8) {
    display: none;
  }
}

@media (max-width: 575px) {
  .pg-logo-marquee-item {
    padding: 8px 28px;
  }

  .pg-logo-marquee-item img {
    max-height: 48px;
    max-width: 140px;
  }
}

/* Portal-specific extensions */
.pg-portal-list {
  display: grid;
  gap: 24px;
}

.pg-portal-card {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 210px 1fr;
}

.pg-portal-logo {
  align-items: center;
  background: #08120f;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  min-height: 132px;
}

.pg-portal-logo img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.pg-portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.pg-portal-pill {
  background: rgba(7, 18, 15, 0.07);
  border: 1px solid var(--pg-line);
  border-radius: 999px;
  color: var(--pg-ink-soft);
  font-size: 13px;
  padding: 8px 12px;
}

.pg-portal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pg-wizard {
  background: var(--pg-card);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius-lg);
  padding: 36px;
}

.pg-wizard .nav-tabs {
  border: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 34px;
}

.pg-wizard .nav-tabs .nav-link {
  align-items: center;
  background: rgba(7, 18, 15, 0.08);
  border: 0;
  border-radius: 999px;
  color: var(--pg-ink);
  display: flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.pg-wizard .nav-tabs .nav-link.active {
  background: var(--pg-green);
}

.pg-wizard-step {
  background: #fffdf7;
  border: 1px solid var(--pg-line);
  border-radius: 26px;
  padding: 28px;
}

.pg-select-card {
  background: #fffdf7;
  border: 1px solid var(--pg-line);
  border-radius: 24px;
  cursor: pointer;
  height: 100%;
  text-align: center;
  padding: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pg-select-card:hover,
.pg-select-card.card-check {
  border-color: rgba(7, 18, 15, 0.35);
  box-shadow: 0 16px 38px rgba(7, 18, 15, 0.12);
  transform: translateY(-2px);
}

.pg-select-card.card-check {
  background: #f0ffd1;
}

.pg-select-card img {
  border-radius: 18px;
  display: block;
  height: 160px;
  object-fit: contain;
  width: 100%;
}

.pg-select-card .card-right {
  color: var(--pg-ink);
  display: none;
  font-size: 13px;
  font-weight: 800;
  margin-top: 14px;
}

.pg-modal .modal-content,
.programama-modal .modal-content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
}

.pg-modal .modal-header {
  border-bottom: 1px solid var(--pg-line);
}

.pg-modal .modal-footer {
  border-top: 1px solid var(--pg-line);
}

@media (max-width: 767px) {
  .pg-portal-card {
    grid-template-columns: 1fr;
  }

  .pg-wizard {
    padding: 24px;
  }
}
