/* The general page blocks (client's list, 22 Nov 2026): App/Play buttons,
   FAQ, contact details, map, text + image, buttons, complaint form, video and
   the plain page section. Colours come from base_style.css's variables, so
   each block follows the site's light and dark modes. */
.ps-section { --ps-accent: #ea580c; padding: 3rem 0; color: var(--text-main); }
.ps-inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.ps-narrow .ps-inner { max-width: 48rem; }
.ps-wide-section .ps-inner { max-width: none; }
.ps-space-sm { padding: 1.5rem 0; }
.ps-space-lg { padding: 5rem 0; }
.ps-bg-card { background: var(--bg-surface); }
.ps-bg-dark { background: #0a0a0a; color: #f3f4f6; --text-main: #f3f4f6; --text-muted: #9ca3af; --border-color: #404040; --bg-surface: #171717; }
.ps-bg-brand { background: #ea580c; color: #fff; --text-main: #fff; --text-muted: rgba(255,255,255,.85); --ps-accent: #0a0a0a; --border-color: rgba(255,255,255,.35); }
.ps-align-center { text-align: center; }
.ps-align-right { text-align: right; }

.ps-heading { font-family: inherit; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.05; margin: 0 0 .75rem; color: var(--text-main); }
.ps-eyebrow { color: var(--ps-accent); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; margin: 0 0 .5rem; }
.ps-muted { color: var(--text-muted); }
.ps-intro { font-size: 1rem; margin: 0 0 2rem; max-width: 42rem; }
.ps-align-center .ps-intro { margin-left: auto; margin-right: auto; }
.ps-align-right .ps-intro { margin-left: auto; }
.ps-small { font-size: .8rem; }
.ps-label { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; color: var(--text-muted); margin: 0 0 .25rem; }
.ps-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 1rem; }

/* Rich text typed in the editor */
.ps-rich { line-height: 1.75; }
.ps-rich p { margin: 0 0 1rem; }
.ps-rich ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1rem; }
.ps-rich ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1rem; }
.ps-rich a { color: var(--ps-accent); text-decoration: underline; }
.ps-rich h2, .ps-rich h3 { font-weight: 900; margin: 1.5rem 0 .5rem; line-height: 1.2; }
.ps-rich h2 { font-size: 1.5rem; } .ps-rich h3 { font-size: 1.15rem; }
.ps-rich img { max-width: 100%; height: auto; border-radius: .75rem; }

/* Buttons */
.ps-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: .75rem; font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none !important; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; cursor: pointer; }
.ps-btn-lg { padding: 1.05rem 2.2rem; font-size: .95rem; }
.ps-btn-primary { background: #ea580c; color: #fff !important; }
.ps-btn-primary:hover { background: #0a0a0a; }
.ps-btn-dark { background: #0a0a0a; color: #fff !important; }
.ps-btn-dark:hover { background: #ea580c; }
.ps-btn-outline { border-color: currentColor; color: var(--text-main) !important; background: transparent; }
.ps-btn-outline:hover { border-color: #ea580c; color: #ea580c !important; }
html.dark .ps-btn-primary:hover { background: #fff; color: #0a0a0a !important; }
html.dark .ps-btn-dark { background: #fff; color: #0a0a0a !important; }
html.dark .ps-btn-dark:hover { background: #ea580c; color: #fff !important; }
.ps-bg-brand .ps-btn-primary { background: #0a0a0a; }
.ps-bg-brand .ps-btn-primary:hover { background: #fff; color: #0a0a0a !important; }
.ps-btn-wrap { margin: .5rem 0; }
.ps-btn-wrap.ps-align-left, .ps-btn-wrap.ps-align-center, .ps-btn-wrap.ps-align-right { display: inline-block; margin-right: .5rem; }
.ps-btn-wrap.ps-align-center { display: block; text-align: center; }
.ps-btn-wrap.ps-align-right { display: block; text-align: right; }

/* App Store / Play Store */
.ps-store-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.ps-align-center .ps-store-row { justify-content: center; }
.ps-align-right .ps-store-row { justify-content: flex-end; }
.ps-store { display: inline-flex; align-items: center; gap: .75rem; min-width: 11rem; padding: .6rem 1.25rem; border-radius: .75rem; background: #0a0a0a; color: #fff !important; border: 1px solid #3f3f46; text-decoration: none !important; transition: transform .15s, border-color .2s; }
.ps-store:hover { transform: translateY(-2px); border-color: #ea580c; }
.ps-store i { font-size: 1.75rem; width: 1.75rem; text-align: center; }
.ps-store span { display: flex; flex-direction: column; font-size: 1.15rem; font-weight: 700; line-height: 1.1; text-align: left; }
.ps-store small { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

/* FAQ */
.ps-faq { display: flex; flex-direction: column; gap: .75rem; }
.ps-faq-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 1rem; overflow: hidden; }
.ps-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; font-weight: 800; list-style: none; }
.ps-faq-item summary::-webkit-details-marker { display: none; }
.ps-faq-item summary i { color: var(--ps-accent); transition: transform .2s; flex-shrink: 0; }
.ps-faq-item[open] summary i { transform: rotate(45deg); }
.ps-faq-item summary:focus-visible { outline: 2px solid var(--ps-accent); outline-offset: -2px; }
.ps-faq-answer { padding: 0 1.25rem 1.1rem; color: var(--text-muted); }

/* Contact details */
.ps-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.ps-contact { display: flex; gap: 1rem; padding: 1.25rem; align-items: flex-start; }
.ps-contact-icon { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; background: rgba(234,88,12,.1); color: #ea580c; font-size: 1.1rem; }
.ps-contact-body { min-width: 0; }
.ps-contact-value { font-weight: 800; margin: 0; color: var(--text-main) !important; text-decoration: none; overflow-wrap: anywhere; }
a.ps-contact-value:hover { color: #ea580c !important; }

/* Map */
.ps-map { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-surface); max-height: 70vh; }
.ps-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ps-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.ps-map-foot p { margin: 0; font-weight: 700; }
.ps-map-foot p i { color: #ea580c; margin-right: .35rem; }

/* Text + image */
.ps-split { display: grid; gap: 2rem; align-items: center; }
.ps-split-image img { width: 100%; height: auto; border-radius: 1rem; display: block; object-fit: cover; }
@media (min-width: 768px) {
  .ps-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .ps-split-left .ps-split-image { order: 0; }
  .ps-split:not(.ps-split-left) .ps-split-image { order: 2; }
}

/* Video */
.ps-video-frame { position: relative; width: 100%; background: #000; border-radius: 1rem; overflow: hidden; }
.ps-video-edge .ps-video-frame { border-radius: 0; max-height: 85vh; }
.ps-video-tall { max-width: 24rem; margin: 0 auto; }
.ps-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ps-caption { margin: .75rem 0 0; font-size: .85rem; }

/* Generic section columns */
.ps-cols { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .ps-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .ps-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* A block inside a section takes the section's spacing, not its own. */
.ps-col > .ps-section, .ps-col .ps-section { padding: 0; }
.ps-col .ps-inner { max-width: none; padding: 0; }

/* Complaint form */
.ps-complaint { padding: 1.75rem; }
.ps-form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ps-form-grid { grid-template-columns: 1fr 1fr; } .ps-field.ps-wide { grid-column: 1 / -1; } }
.ps-field label { display: block; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: .4rem; }
.ps-field input, .ps-field select, .ps-field textarea { width: 100%; padding: .75rem 1rem; border-radius: .75rem; border: 1px solid var(--border-color); background: var(--bg-body); color: var(--text-main); font-size: .9rem; }
.ps-field input:focus, .ps-field select:focus, .ps-field textarea:focus { outline: 2px solid #ea580c; outline-offset: 0; border-color: transparent; }
.ps-error { color: #dc2626; font-size: .75rem; font-weight: 700; margin: .3rem 0 0; }
.ps-form .ps-small { margin: 1rem 0; }
.ps-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ps-done { display: flex; gap: 1rem; align-items: flex-start; }
.ps-done > i { color: #16a34a; font-size: 1.75rem; margin-top: .15rem; }
.ps-done-title { font-weight: 900; font-size: 1.15rem; margin: 0 0 .25rem; }
.ps-done p { margin: 0; }
