/* Pingal IT "Woven Trinity" shared brand system.
   Reusable tokens + components for all revamped public pages. Scope every
   consumer page's content in a `.pis` wrapper (plus a page class, e.g.
   `.pis pis-home`, `.pis pis-about`). Page-specific CSS lives in its own
   file (home.css, about.css, ...). */

.pis {
    --pis-ink: #2A2035;
    --pis-ink-2: #3B2A44;
    --pis-blue: #1E7FC2;
    --pis-blue-d: #1668A6;
    --pis-gold: #E3A522;
    --pis-gold-text: #8a6512;
    --pis-red: #C63D2E;
    --pis-band: #F4F6FA;
}

.pis h1, .pis h2, .pis h3, .pis h4 { color: var(--pis-ink); }
.pis .pis-eyebrow {
    text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
    font-size: .8rem; color: var(--pis-gold-text); margin-bottom: .75rem;
}
.pis .pis-band { background: var(--pis-band); }
.pis .pis-ink-bg { background: var(--pis-ink); color: #fff; }
.pis .pis-ink-bg h2, .pis .pis-ink-bg h3 { color: #fff; }
.pis .pis-ink-bg .pis-eyebrow, .pis .pis-cta .pis-eyebrow { color: var(--pis-gold); }
.pis .text-blue { color: var(--pis-blue-d) !important; }
.pis .text-gold { color: var(--pis-gold) !important; }
.pis .text-red  { color: var(--pis-red)  !important; }
.pis .pis-underline {
    display: inline-block; border-bottom: 4px solid var(--pis-gold);
    border-radius: 2px; padding-bottom: 2px;
}

/* Buttons (focus-shadow vars restore Bootstrap's visible keyboard focus ring) */
.pis .btn-brand { background: var(--pis-blue); border-color: var(--pis-blue); color: #fff; --bs-btn-focus-shadow-rgb: 30,127,194; }
.pis .btn-brand:hover, .pis .btn-brand:focus { background: var(--pis-blue-d); border-color: var(--pis-blue-d); color: #fff; }
.pis .btn-gold { background: var(--pis-gold); border-color: var(--pis-gold); color: var(--pis-ink); font-weight: 700; --bs-btn-focus-shadow-rgb: 227,165,34; }
.pis .btn-gold:hover, .pis .btn-gold:focus { filter: brightness(.95); color: var(--pis-ink); }

/* Cards */
.pis .pis-card {
    position: relative; background: #fff; border: 1px solid rgba(43,32,53,.08); border-radius: 16px;
    padding: 28px 24px; height: 100%; transition: transform .25s ease, box-shadow .25s ease;
}
.pis .pis-card:hover { transform: translateY(-6px); box-shadow: 0 1rem 2.25rem rgba(43,32,53,.12); }

/* Icon tiles */
.pis .pis-icn {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 16px;
}
.pis .icn-blue { background: rgba(30,127,194,.12); color: var(--pis-blue); }
.pis .icn-gold { background: rgba(227,165,34,.16); color: #b9831a; }
.pis .icn-red  { background: rgba(198,61,46,.12);  color: var(--pis-red); }
.pis .icn-ink  { background: rgba(59,42,68,.10);   color: var(--pis-ink-2); }

/* Ping dot (tagline / CTA accent) */
.pis .pis-ping { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pis-blue); position: relative; margin-left: 4px; vertical-align: middle; }
.pis .pis-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pis-blue); animation: pis-ping 1.8s ease-out infinite; }
@keyframes pis-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.4); opacity: 0; } }

/* Stats band */
.pis .pis-stat .num { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.pis .pis-stat .lbl { color: rgba(255,255,255,.75); font-size: .95rem; }

/* Initial-letter avatar */
.pis .pis-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex: 0 0 auto; }

/* Tech / pill chips */
.pis .pis-chip {
    display: inline-flex; align-items: center; gap: 8px; background: #fff;
    border: 1px solid rgba(43,32,53,.10); border-radius: 50rem; padding: 10px 18px;
    font-weight: 600; color: var(--pis-ink-2); font-size: .95rem;
}
.pis .pis-chip i { color: var(--pis-blue); font-size: 1.15rem; }

/* CTA band */
.pis .pis-cta { background: linear-gradient(120deg, var(--pis-ink) 0%, #241a2e 45%, var(--pis-blue-d) 130%); color: #fff; position: relative; overflow: hidden; }
.pis .pis-cta h2 { color: #fff; }

/* Shared light "lede" hero band — the soft white->slate gradient used at the
   top of every core page. Page CSS files reference their own hero class here
   so the gradient is defined once. */
.pis .pis-hero,
.pis .pis-about-hero,
.pis .pis-services-hero,
.pis .pis-products-hero,
.pis .pis-prod-hero,
.pis .pis-blog-hero,
.pis .pis-career-hero,
.pis .pis-contact-hero,
.pis .pis-thanks-section { background: linear-gradient(180deg, #fff 0%, var(--pis-band) 100%); position: relative; overflow: hidden; }

/* Shared rich-text / editor content (blog articles, legal pages, job
   descriptions). Defined once so every long-form surface reads the same. */
.pis .rich-text, .pis .editor-content { font-size: 1.05rem; line-height: 1.8; color: #495057; }
.pis .rich-text h2, .pis .rich-text h3, .pis .rich-text h4,
.pis .editor-content h1, .pis .editor-content h2, .pis .editor-content h3, .pis .editor-content h4 { color: var(--pis-ink); font-weight: 700; margin-top: 1.75rem; margin-bottom: 1rem; }
.pis .editor-content h1:first-child, .pis .editor-content h2:first-child, .pis .editor-content h3:first-child { margin-top: 0; }
.pis .rich-text p, .pis .editor-content p { margin-bottom: 1.25rem; }
.pis .rich-text a, .pis .editor-content a { color: var(--pis-blue-d); }
.pis .rich-text ul, .pis .rich-text ol, .pis .editor-content ul, .pis .editor-content ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.pis .editor-content li { margin-bottom: .5rem; }
.pis .rich-text img, .pis .editor-content img { max-width: 100%; height: auto; border-radius: 12px; }

@media (max-width: 768px) {
    .pis .pis-stat .num { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pis .pis-card { transition: none; }
    .pis .pis-card:hover { transform: none; }
    .pis .pis-ping::after { animation: none; }
}
