/* Program pages stylesheet (for-clinics.html, for-salons.html only).
   Page-scoped by design, does not touch css/style.css or the other five pages.
   Palette derived from index.html's light system so this reads as the same brand. */

:root {
  --pg-ink:          #14181d;
  --pg-body:         #3a4149;
  --pg-muted:        #6b7480;
  --pg-line:         #dfe3e8;
  --pg-line-soft:    #edf0f3;
  --pg-bg:           #ffffff;
  --pg-surface:      #f7f8f9;
  --pg-surface-warm: #f8f6f2;
  --pg-primary:      #1a5276;
  --pg-primary-dark: #123c56;
  --pg-primary-soft: #eef3f8;
  --pg-affirm:       #1f6f4a;
  --pg-radius:       4px;
  --pg-shadow:       0 1px 2px rgba(20,24,29,0.05);
  --pg-max:          1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.pg {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--pg-body);
  background: var(--pg-bg);
}

.pg-container { max-width: var(--pg-max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .pg-eyebrow, .pg-btn, .pg-header, .pg-nav, .pg-faq summary {
  font-family: 'Inter', sans-serif;
}

h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--pg-ink); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--pg-ink); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--pg-ink); }

p { max-width: 68ch; }
a { color: var(--pg-primary); }
a:hover { color: var(--pg-primary-dark); }

.pg-eyebrow {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pg-muted);
  margin-bottom: 0.6rem;
}

:focus-visible { outline: 2px solid var(--pg-primary); outline-offset: 3px; }

/* Header */
.pg-header {
  background: #fff;
  border-bottom: 1px solid var(--pg-line);
  position: sticky; top: 0; z-index: 20;
}
.pg-header__inner {
  max-width: var(--pg-max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 20px;
}
.pg-wordmark { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--pg-ink); text-decoration: none; }
.pg-tagline { font-size: 0.78rem; color: var(--pg-muted); }
@media (max-width: 900px) { .pg-tagline { display: none; } }
.pg-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pg-nav a:not(.pg-btn) { font-size: 0.85rem; color: var(--pg-body); text-decoration: none; }
.pg-nav a:not(.pg-btn):hover { color: var(--pg-ink); }

/* Buttons */
.pg-btn {
  display: inline-block;
  font-weight: 600; font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--pg-radius);
  text-decoration: none;
  background: var(--pg-primary); color: #fff;
  border: 1px solid var(--pg-primary);
}
.pg-btn:hover { background: var(--pg-primary-dark); border-color: var(--pg-primary-dark); color: #fff; }

/* Sections */
.pg-section { padding: var(--space-3xl, 4.5rem) 0; }
.pg-section--surface { background: var(--pg-surface); }
.pg-section--warm { background: var(--pg-surface-warm); }
.pg-section--tint { background: var(--pg-primary-soft); }
.pg-section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.pg-section-head p { margin: 0 auto; color: var(--pg-muted); }

.pg-hero { padding: 4rem 0 3.5rem; }
.pg-hero h1 { max-width: 18ch; margin-bottom: 1.1rem; }
.pg-hero__desc { font-size: 1.1rem; max-width: 56ch; margin-bottom: 1.6rem; }
.pg-hero__trust { font-size: 0.85rem; color: var(--pg-muted); margin-top: 0.9rem; }

.pg-proof {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--pg-line); margin-top: 2.5rem;
}
.pg-proof li {
  list-style: none;
  flex: 1 1 200px;
  padding: 1rem 1.2rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--pg-muted);
  border-right: 1px solid var(--pg-line);
}
.pg-proof li:last-child { border-right: none; }

.pg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 800px) { .pg-grid-2 { grid-template-columns: 1fr; } }

.pg-frame { background: var(--pg-surface); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1.5rem; }
.pg-frame img { width: 100%; border-radius: var(--pg-radius); display: block; }
.pg-hero__image { margin-bottom: 2rem; padding: 2rem; }
.pg-hero__image img { max-width: 560px; margin: 0 auto; }

.pg-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.pg-card {
  background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius);
  padding: 1.5rem; box-shadow: var(--pg-shadow);
}
.pg-card__label { font-family: 'Inter', sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pg-primary); display: block; margin-bottom: 0.5rem; }
.pg-card p { font-size: 0.92rem; }

.pg-note {
  max-width: 760px; margin: 2rem auto 0; padding: 1.1rem 1.4rem;
  background: #fff; border: 1px solid var(--pg-line); border-left: 3px solid var(--pg-primary);
  border-radius: 0 var(--pg-radius) var(--pg-radius) 0; font-size: 0.92rem;
}

.pg-stack { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.pg-stack__item { display: grid; grid-template-columns: 1.4fr 2fr; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid var(--pg-line); }
.pg-stack__item:last-of-type { border-bottom: 1px solid var(--pg-line); }
.pg-stack__item h3 { font-size: 1rem; }
.pg-stack__item p { font-size: 0.92rem; color: var(--pg-body); }
@media (max-width: 700px) { .pg-stack__item { grid-template-columns: 1fr; gap: 0.4rem; } }
.pg-stack__close { max-width: 780px; margin: 1.5rem auto 0; font-size: 0.92rem; color: var(--pg-muted); }

.pg-lease-box {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 2.5rem; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius);
}
.pg-lease-box h2 { margin-bottom: 1rem; }
.pg-lease-box p { margin: 0 auto 0.75rem; color: var(--pg-body); }
.pg-lease-box p.pg-muted-note { font-size: 0.85rem; color: var(--pg-muted); }

.pg-guarantee { max-width: 780px; margin: 0 auto; list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.pg-guarantee li { display: flex; gap: 1rem; align-items: flex-start; }
.pg-guarantee li::before {
  content: ''; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 0.15rem;
  border-radius: 50%; background: var(--pg-affirm);
}
.pg-guarantee h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.pg-guarantee p { font-size: 0.92rem; }

.pg-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; counter-reset: pgstep; }
.pg-steps li { counter-increment: pgstep; }
.pg-steps li::before {
  content: counter(pgstep);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: #fff; background: var(--pg-primary); border-radius: 50%;
}
.pg-steps h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.pg-steps p { font-size: 0.9rem; }

.pg-apply-card {
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius); padding: 2.2rem; text-align: center;
}
.pg-apply-card ul { text-align: left; max-width: 440px; margin: 0 auto 1.6rem; color: var(--pg-body); font-size: 0.92rem; padding-left: 1.1rem; }
.pg-apply-card .pg-form-note { font-size: 0.82rem; color: var(--pg-muted); margin-top: 1rem; }

.pg-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.pg-faq details { border-top: 1px solid var(--pg-line); padding: 1rem 0; }
.pg-faq details:last-child { border-bottom: 1px solid var(--pg-line); }
.pg-faq summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; color: var(--pg-ink); list-style: none; position: relative; padding-right: 1.5rem; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; position: absolute; right: 0; color: var(--pg-primary); font-weight: 400; }
.pg-faq details[open] summary::after { content: '\2212'; }
.pg-faq .pg-faq-a { font-size: 0.92rem; padding-top: 0.7rem; max-width: 66ch; }

.pg-footer { background: var(--pg-surface); border-top: 1px solid var(--pg-line); padding: 2.5rem 0; }
.pg-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
@media (max-width: 700px) { .pg-footer-grid { grid-template-columns: 1fr; } }
.pg-footer p { font-size: 0.85rem; color: var(--pg-muted); }
.pg-footer-col__title { font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pg-muted); display: block; margin-bottom: 0.6rem; }
.pg-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.pg-footer-col a { font-size: 0.88rem; text-decoration: none; }
.pg-footer-bottom { border-top: 1px solid var(--pg-line); padding-top: 1.2rem; font-size: 0.8rem; color: var(--pg-muted); }

.pg-confirm { font-size: 0.78rem; color: #a15c00; }
