/* Professional support desk — catalog + product syllabus.
   Distinct from /trainings: brass, serif, Discuss-pricing join path. */
:root {
  --ps-bg: #0b0908;
  --ps-bg-2: #14110e;
  --ps-ink: #f6efe4;
  --ps-muted: #c4b7a6;
  --ps-dim: #8f8374;
  --ps-brass: #c4a574;
  --ps-brass-deep: #8a6a3e;
  --ps-rule: rgba(196, 165, 116, 0.32);
  --ps-paper: #f3eadc;
  --ps-paper-ink: #1c1612;
  --ps-paper-muted: #5c5348;
  --ps-wa: #25d366;
  --ps-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --ps-sans: "Source Sans 3", "Source Sans Pro", Inter, system-ui, sans-serif;
}

.ps-page {
  padding: 6.6rem 0 5.8rem;
  color: var(--ps-ink);
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(196, 165, 116, 0.12), transparent 55%),
    linear-gradient(180deg, #0b0908 0%, #120f0c 42%, #0b0908 100%);
  font-family: var(--ps-sans);
}

.ps-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.32rem 0.85rem;
  border: 1px solid var(--ps-rule);
  border-radius: 999px;
  color: var(--ps-brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ps-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  margin: 1.35rem 0 2.2rem;
}

.ps-hero-copy h1 {
  font-family: var(--ps-serif);
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0.7rem 0 0.85rem;
  max-width: 16ch;
}

.ps-hero-copy p {
  margin: 0;
  max-width: 48ch;
  color: var(--ps-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ps-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ps-dim);
  font-size: 0.88rem;
}

.ps-hero-meta li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--ps-brass);
  vertical-align: 0.1rem;
}

.ps-hero-frame {
  position: relative;
  min-height: 280px;
}

.ps-hero-frame img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--ps-rule);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.ps-hero-frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: rgba(12, 10, 8, 0.78);
  border: 1px solid var(--ps-rule);
  color: var(--ps-paper);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.ps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.ps-actions a,
.ps-chip-cta,
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.ps-btn-primary,
.ps-actions .btn-primary {
  background: linear-gradient(180deg, #e8c48a, #c4a574);
  color: #1a1208;
}

.ps-btn-secondary,
.ps-actions .btn-secondary {
  background: transparent;
  border-color: var(--ps-rule);
  color: var(--ps-paper);
}

.ps-btn-wa {
  background: var(--ps-wa);
  color: #06210d;
}

.ps-btn-print {
  display: none;
}

.ps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}

.ps-filters button {
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ps-rule);
  background: transparent;
  color: var(--ps-muted);
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
}

.ps-filters button.is-on,
.ps-filters button[aria-pressed="true"] {
  background: rgba(196, 165, 116, 0.16);
  color: var(--ps-paper);
  border-color: var(--ps-brass);
}

.ps-section {
  margin: 2.6rem 0;
}

.ps-section h2,
.ps-product-head h1 {
  font-family: var(--ps-serif);
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}

.ps-section p.lead {
  color: var(--ps-muted);
  max-width: 68ch;
  margin: 0 0 1.2rem;
  line-height: 1.65;
}

.ps-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.ps-product {
  display: flex;
  flex-direction: column;
  background: #161310;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.ps-product:hover {
  border-color: var(--ps-brass);
  transform: translateY(-2px);
}

.ps-product img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #1c1814;
}

.ps-product-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.1rem;
  flex: 1;
}

.ps-cat {
  color: var(--ps-brass);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps-product h3 {
  font-family: var(--ps-serif);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.ps-product p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.ps-product-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ps-rule);
  font-size: 0.86rem;
}

.ps-fee {
  color: var(--ps-paper);
  font-weight: 700;
}

.ps-open {
  color: var(--ps-brass);
  font-weight: 700;
}

.ps-note {
  font-size: 0.88rem;
  color: var(--ps-dim);
  margin: 0.7rem 0 0;
  line-height: 1.55;
}

.ps-note a {
  color: var(--ps-brass);
}

.ps-back {
  display: inline-flex;
  margin: 0 0 1rem;
  color: var(--ps-brass);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.ps-product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.ps-product-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--ps-rule);
}

.ps-product-head p {
  color: var(--ps-muted);
  line-height: 1.65;
  max-width: 52ch;
}

.ps-syllabus-wrap {
  display: grid;
  gap: 1rem;
}

.ps-syllabus-panel {
  background: #161310;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.25rem 1.3rem 1.35rem;
}

.ps-syllabus-panel h2 {
  font-family: var(--ps-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.ps-syllabus-panel p {
  margin: 0 0 0.7rem;
  color: var(--ps-muted);
  line-height: 1.65;
}

.ps-price-box {
  border-color: var(--ps-brass);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.14), #161310);
}

.ps-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 0.4rem;
}

.ps-platforms,
.ps-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ps-muted);
  line-height: 1.55;
}

.ps-syllabus-panel .ps-list {
  color: var(--ps-muted);
}

.ps-faq details {
  background: #161310;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin: 0.45rem 0;
}

.ps-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.ps-faq details p {
  margin: 0.55rem 0 0;
  color: var(--ps-muted);
  line-height: 1.6;
}

.ps-cta {
  margin-top: 2.2rem;
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--ps-rule);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.12), rgba(10, 8, 6, 0.4));
}

.ps-cta h2 {
  margin-top: 0;
}

.ps-sticky {
  display: none;
}

.ps-hidden {
  display: none !important;
}

.ps-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--ps-muted);
}

@media (max-width: 980px) {
  .ps-hero,
  .ps-product-hero,
  .ps-catalog {
    grid-template-columns: 1fr;
  }
  .ps-hero-frame img,
  .ps-product-hero img {
    height: 240px;
  }
}

@media (max-width: 720px) {
  .ps-page {
    padding: 6.2rem 0 6.4rem;
  }
  .ps-actions a,
  .ps-pay-row .ps-btn {
    width: 100%;
  }
  .ps-syllabus-panel {
    padding: 1.05rem 1rem;
  }
  .ps-sticky {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(10, 8, 6, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .ps-sticky a {
    flex: 1;
    min-height: 44px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
  }
  .ps-sticky .wa {
    background: #25d366;
    color: #06210d;
  }
  .ps-sticky .mail {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media print {
  .ps-sticky {
    display: none !important;
  }
}
