/* =============================================================
 * Phase 3 design system — about / profile / contact + shared components.
 * Namespaced (.p3-*, .about3-*, .profile3-*, .contact3-*) so nothing
 * leaks into header, footer, forms, shop or completed service pages.
 * Loaded conditionally via head-meta.php ($includeAboutProfileContactCss).
 * ============================================================= */
.p3-page{
  --p3-navy:#0f265c;--p3-navy-2:#1e3a8a;--p3-blue:#2563eb;--p3-blue-d:#1d4ed8;
  --p3-green:#059669;--p3-ink:#334155;--p3-muted:#64748b;--p3-bg:#f8fafc;
  --p3-bg-2:#f1f5f9;--p3-border:#e2e8f0;--p3-radius:14px;
  --p3-shadow:0 1px 3px rgba(15,23,42,.08);--p3-shadow-2:0 8px 24px rgba(15,23,42,.10);
}
.p3-page section{scroll-margin-top:var(--site-header-offset,90px)}
.p3-wrap{width:min(1160px,92%);margin-inline:auto}
.p3-page h2{color:var(--p3-navy);font-weight:800;font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.25;margin:0 0 .5rem}
.p3-page h3{color:var(--p3-navy-2)}
.p3-eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--p3-blue);margin-bottom:.5rem}
.p3-lead{color:var(--p3-muted);font-size:1.02rem;line-height:1.65;max-width:72ch;margin:0 0 1.4rem}
.p3-sec{padding:clamp(2.2rem,4.5vw,3.4rem) 0}
.p3-sec--tint{background:var(--p3-bg)}
.p3-sec--tint2{background:var(--p3-bg-2)}
.p3-sec__head{margin-bottom:1.6rem}

/* ---- Buttons ---- */
.p3-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.4rem;border-radius:10px;font-weight:700;font-size:.98rem;text-decoration:none;border:2px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease}
.p3-btn:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.p3-btn--primary{background:var(--p3-blue);color:#fff}
.p3-btn--primary:hover{background:var(--p3-blue-d);transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,99,235,.28)}
.p3-btn--ghost{background:transparent;color:var(--p3-blue-d);border-color:#c7d7f5}
.p3-btn--ghost:hover{background:#eef4ff}
.p3-btn--wa{background:#25d366;color:#08331b}
.p3-btn--wa:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,211,102,.30)}
/* On dark backgrounds */
.p3-hero .p3-btn--primary,.p3-cta .p3-btn--primary{background:#fff;color:var(--p3-blue-d)}
.p3-hero .p3-btn--primary:hover,.p3-cta .p3-btn--primary:hover{box-shadow:0 8px 20px rgba(0,0,0,.18)}
.p3-hero .p3-btn--ghost,.p3-cta .p3-btn--ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.55)}
.p3-hero .p3-btn--ghost:hover,.p3-cta .p3-btn--ghost:hover{background:rgba(255,255,255,.16)}

/* ---- Hero (shared) ---- */
.p3-hero{position:relative;color:#fff;background:linear-gradient(135deg,var(--p3-navy) 0%,var(--p3-blue-d) 100%);padding:clamp(2.4rem,5vw,3.6rem) 0}
.p3-hero__badge{display:inline-flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.4rem 1rem;font-size:.82rem;font-weight:600;letter-spacing:.02em;margin-bottom:1rem}
.p3-hero__title{font-size:clamp(1.7rem,3.6vw,2.7rem);line-height:1.18;font-weight:800;margin:.2rem 0 .8rem}
.p3-hero__lead{font-size:clamp(1rem,1.4vw,1.12rem);line-height:1.6;opacity:.96;max-width:62ch;margin:0 0 1.4rem}
.p3-hero__cta{display:flex;flex-wrap:wrap;gap:.8rem}
.p3-hero__trust{display:flex;align-items:flex-start;gap:.5rem;font-size:.9rem;opacity:.92;margin:1.1rem 0 0}
.p3-hero__trust i{color:#6ee7b7;margin-top:.15rem}

/* ---- Breadcrumb spacing tweak (uses global .breadcrumb-bar) ---- */
.p3-page .breadcrumb-bar{background:var(--p3-bg);border-bottom:1px solid var(--p3-border)}

/* ---- Card grids (who-we-serve, support, principles) ---- */
.p3-cardgrid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.p3-card{background:#fff;border:1px solid var(--p3-border);border-radius:var(--p3-radius);padding:1.3rem;box-shadow:var(--p3-shadow)}
.p3-card__icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:11px;background:#eef4ff;color:var(--p3-blue);font-size:1.2rem;margin-bottom:.8rem}
.p3-card h3{font-size:1.08rem;font-weight:700;margin:0 0 .4rem;color:var(--p3-navy-2)}
.p3-card p{color:var(--p3-muted);font-size:.95rem;line-height:1.55;margin:0}

/* Compact chip list (who we serve) */
.p3-chips{display:flex;flex-wrap:wrap;gap:.6rem}
.p3-chip{display:inline-flex;align-items:center;gap:.5rem;background:#fff;border:1px solid var(--p3-border);border-radius:999px;padding:.55rem 1rem;font-size:.92rem;font-weight:600;color:var(--p3-navy-2);box-shadow:var(--p3-shadow)}
.p3-chip i{color:var(--p3-blue)}

/* Bulleted feature list */
.p3-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem .9rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.p3-list li{position:relative;padding-left:1.7rem;color:var(--p3-ink);font-size:.96rem;line-height:1.5}
.p3-list li::before{content:"\f00c";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;left:0;top:.1rem;color:var(--p3-green);font-size:.82rem}

/* ---- Shared: preliminary-review CTA band ---- */
.p3-cta{background:linear-gradient(135deg,var(--p3-navy) 0%,var(--p3-blue-d) 100%);color:#fff}
.p3-cta__inner{padding:clamp(2.2rem,4.5vw,3.2rem) 0}
.p3-cta h2{color:#fff;margin-bottom:.6rem}
.p3-cta p{color:#e0e7ff;line-height:1.6;max-width:66ch;margin:0 0 1.3rem}
.p3-cta__buttons{display:flex;flex-wrap:wrap;gap:.8rem}
.p3-cta__note{font-size:.85rem;color:#c7d2fe;max-width:80ch;margin:1.2rem 0 0;border-top:1px solid rgba(255,255,255,.18);padding-top:1rem}

/* ---- Shared: advisory disclaimer ---- */
.p3-disclaimer{background:#fffbeb;border:1px solid #fde3b3;border-left:5px solid #f59e0b;border-radius:12px;padding:1.1rem 1.3rem;color:#7c4a03;font-size:.95rem;line-height:1.6}
.p3-disclaimer strong{color:#92400e}
.p3-disclaimer i{color:#f59e0b;margin-right:.4rem}

/* ---- Shared: authority card (Dr. Sudhir Pawar preview) ---- */
.p3-authority{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:center;background:#fff;border:1px solid var(--p3-border);border-radius:16px;padding:1.75rem;box-shadow:var(--p3-shadow-2)}
@media(min-width:768px){.p3-authority{grid-template-columns:auto 1fr}}
.p3-authority__media{text-align:center}
.p3-authority__media img{width:100%;max-width:220px;height:auto;border-radius:12px;box-shadow:var(--p3-shadow-2);display:block;margin:0 auto}
.p3-authority__seal{display:inline-grid;place-items:center;width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,var(--p3-blue),var(--p3-navy));color:#fff;font-size:2.4rem;margin:0 auto}
.p3-authority__name{font-size:1.4rem;font-weight:800;color:var(--p3-navy);margin:0 0 .25rem}
.p3-authority__role{font-size:.98rem;font-weight:600;color:var(--p3-blue-d);margin:0 0 .8rem}
.p3-authority__bio{color:var(--p3-ink);line-height:1.7;margin:0 0 1rem}
.p3-authority__links{display:flex;flex-wrap:wrap;gap:.8rem}

/* ---- Shared: contact methods grid ---- */
.p3-methods{display:grid;gap:1.2rem;grid-template-columns:1fr}
@media(min-width:576px){.p3-methods{grid-template-columns:1fr 1fr}}
.p3-method{background:#fff;border:1px solid var(--p3-border);border-radius:var(--p3-radius);padding:1.4rem;box-shadow:var(--p3-shadow);display:flex;flex-direction:column;gap:.5rem}
.p3-method__icon{width:46px;height:46px;display:grid;place-items:center;border-radius:11px;background:#eef4ff;color:var(--p3-navy);font-size:1.2rem}
.p3-method h3{font-size:1.1rem;font-weight:700;color:var(--p3-navy-2);margin:.3rem 0 0}
.p3-method p{color:var(--p3-muted);font-size:.95rem;line-height:1.55;margin:0}
.p3-method a.p3-method__link{color:var(--p3-blue);font-weight:600;text-decoration:none;word-break:break-word}
.p3-method a.p3-method__link:hover{text-decoration:underline}
.p3-method__actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto;padding-top:.6rem}
.p3-method__hours{list-style:none;margin:0;padding:0;color:var(--p3-muted);font-size:.95rem;line-height:1.8}

/* ============ ABOUT PAGE ============ */
.about3-who{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}
@media(min-width:992px){.about3-who{grid-template-columns:1.7fr 1fr}}
.about3-who__text p{color:var(--p3-ink);line-height:1.8;margin:0 0 1rem;font-size:1.02rem}
.about3-who__aside{background:#fff;border:1px solid var(--p3-border);border-radius:16px;padding:1.6rem;box-shadow:var(--p3-shadow-2)}
.about3-who__aside h3{font-size:1.1rem;color:var(--p3-navy);margin:0 0 .8rem}
.about3-who__aside .p3-list{grid-template-columns:1fr}

/* ============ PROFILE PAGE ============ */
.profile3-hero__grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:992px){.profile3-hero__grid{grid-template-columns:1.2fr .8fr}}
.profile3-hero__photo{text-align:center}
.profile3-hero__photo img{width:100%;max-width:360px;height:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.32);display:block;margin:0 auto}
.profile3-hero__seal{display:inline-grid;place-items:center;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:3.4rem;margin:0 auto}
.profile3-quicklinks{background:var(--p3-bg);border-bottom:1px solid var(--p3-border)}
.profile3-quicklinks ul{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;margin:0;padding:.9rem 0;justify-content:center}
.profile3-quicklinks a{color:var(--p3-blue);text-decoration:none;font-weight:600;padding:.4rem .9rem;border-radius:8px;font-size:.92rem}
.profile3-quicklinks a:hover{background:#eef4ff}
.profile3-narrative{max-width:900px}
.profile3-narrative p{color:var(--p3-ink);line-height:1.8;font-size:1.02rem;margin:0 0 1.1rem}
.profile3-highlights{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:1rem}
.profile3-highlight{background:#fff;border:1px solid var(--p3-border);border-left:4px solid var(--p3-blue);border-radius:12px;padding:1.1rem 1.2rem;box-shadow:var(--p3-shadow)}
.profile3-highlight h3{font-size:1.02rem;margin:0 0 .3rem;color:var(--p3-navy-2)}
.profile3-highlight p{color:var(--p3-muted);font-size:.93rem;line-height:1.5;margin:0}
.profile3-roles{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.profile3-roles{grid-template-columns:1fr 1fr}}
.profile3-role{background:#fff;border:1px solid var(--p3-border);border-radius:12px;border-left:4px solid var(--p3-blue);padding:1.5rem;box-shadow:var(--p3-shadow)}
.profile3-role h3{font-size:1.2rem;margin:0 0 .6rem;color:var(--p3-navy)}
.profile3-role p{color:var(--p3-ink);line-height:1.7;margin:0 0 .6rem}
.profile3-role ul{margin:0;padding-left:1.2rem;color:var(--p3-muted)}
.profile3-role li{margin-bottom:.35rem;line-height:1.5}

/* Books / publications */
.profile3-books{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.profile3-books{grid-template-columns:repeat(3,1fr)}}
.profile3-book{background:#fff;border:1px solid var(--p3-border);border-radius:12px;padding:1.5rem;box-shadow:var(--p3-shadow);display:flex;flex-direction:column}
.profile3-book img{width:100%;max-width:220px;height:auto;border-radius:8px;margin:0 auto 1.2rem;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.profile3-book__ph{width:100%;max-width:220px;aspect-ratio:3/4;border-radius:8px;margin:0 auto 1.2rem;background:linear-gradient(135deg,#eef4ff,#dbeafe);display:grid;place-items:center;color:var(--p3-blue);font-size:2.4rem}
.profile3-book h3{color:var(--p3-navy);margin:0 0 .3rem;font-size:1.2rem}
.profile3-book .profile3-book__sub{color:var(--p3-blue-d);font-weight:600;margin:0 0 .8rem}
.profile3-book p{color:var(--p3-muted);line-height:1.6;font-size:.94rem;margin:0}
.profile3-book--soon{border-style:dashed;opacity:.85}

/* Photos with public figures */
.profile3-photos{display:grid;grid-template-columns:1fr;gap:1.75rem}
@media(min-width:768px){.profile3-photos{grid-template-columns:1fr 1fr}}
.profile3-photo-card{margin:0;text-align:center}
.profile3-photo-card img{width:100%;max-width:340px;height:auto;border-radius:12px;box-shadow:var(--p3-shadow-2);display:block;margin:0 auto}
.profile3-photo-card figcaption{margin-top:.9rem;font-size:.92rem;color:var(--p3-muted);line-height:1.55}

/* Book covers (ICA) */
.profile3-covers{display:grid;grid-template-columns:1fr;gap:1.75rem;margin-bottom:1.4rem}
@media(min-width:768px){.profile3-covers{grid-template-columns:1fr 1fr}}
.profile3-cover{margin:0;text-align:center}
.profile3-cover img{width:100%;max-width:260px;height:auto;border-radius:10px;box-shadow:var(--p3-shadow-2);border:1px solid var(--p3-border);display:block;margin:0 auto}
.profile3-cover figcaption{margin-top:.6rem;font-size:.85rem;color:var(--p3-muted);font-weight:600}

/* ============ CONTACT PAGE ============ */
.contact3-grid{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:start}
@media(min-width:992px){.contact3-grid{grid-template-columns:1fr 1fr;gap:3rem}}
.contact3-note{background:#eef4ff;border:1px solid #cddcfa;border-radius:12px;padding:1rem 1.2rem;color:#1e3a8a;font-size:.93rem;line-height:1.6;margin:1.5rem 0}
.contact3-note i{color:var(--p3-blue);margin-right:.4rem}
.contact3-map{width:100%;height:340px;border-radius:12px;overflow:hidden;box-shadow:var(--p3-shadow-2);background:#e5e7eb;margin-top:1.5rem}
.contact3-map iframe{width:100%;height:100%;border:0;display:block}
.contact3-address{background:#fff;border:1px solid var(--p3-border);border-radius:var(--p3-radius);padding:1.4rem;box-shadow:var(--p3-shadow)}
.contact3-address h3{font-size:1.1rem;color:var(--p3-navy-2);margin:0 0 .6rem;display:flex;align-items:center;gap:.5rem}
.contact3-address h3 i{color:var(--p3-blue)}
.contact3-address p{color:var(--p3-muted);line-height:1.7;margin:0 0 1rem}

@media (prefers-reduced-motion:reduce){
  .p3-btn{transition:none}
}
