/* Pro listing pages (parts/business-pro.php). Accent comes from --pro-l / --pro-d / --pro-c set inline per listing. */
.pro{--acc:var(--pro-l);--acc-ink:#fff}
.pro{--bar-line:var(--acc)}.pro[data-acc="coral"]{--bar-line:var(--coral)} /* the phone bar's frame and icon colour, see .pro-bar below */
:root[data-theme="dark"] .pro,:root[data-theme="dim"] .pro{--acc:var(--pro-d);--acc-ink:#1A1411}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .pro{--acc:var(--pro-d);--acc-ink:#1A1411}}
:root[data-theme="contrast"] .pro{--acc:var(--pro-c);--acc-ink:#fff}

.pro-top{padding-top:32px}
.pro-hero{position:relative;height:300px;border-radius:var(--r-xl);background:linear-gradient(135deg,var(--bg-3),var(--bg-2));background-size:cover;background-position:center}
.pro-hero.is-art{background-image:var(--art)}
.pro-logo{position:absolute;left:28px;bottom:-44px;width:104px;height:104px;border-radius:22px;background:#fff;border:4px solid #fff;outline:1px solid rgba(0,0,0,.12);box-shadow:0 6px 20px rgba(0,0,0,.18);overflow:hidden;display:flex;align-items:center;justify-content:center}
.pro-logo img{width:100%;height:100%;object-fit:contain}
.pro-head{padding-top:20px}
.pro-head.has-logo{padding-top:60px}
.pro-head .listing-title{margin-top:12px}
.pro-tagline{margin:8px 0 0;font-size:calc(18px*var(--fs));color:var(--ink-2);max-width:60ch}
.pro-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;align-items:center}
.pro-cta{background:var(--acc);color:var(--acc-ink);border:0;font-weight:700}
.pro-cta:hover{filter:brightness(.92)}
.pro-special{margin-top:22px;padding:16px 18px;border-radius:var(--r-lg);background:var(--butter-bg);border:1px dashed var(--butter-ink);color:var(--ink)}
.pro-special-tag{display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--butter-ink);margin-right:8px}
.pro-special p{margin:6px 0}
.pro-special small{color:var(--ink-2)}
.pro-special a{color:var(--ink);font-weight:700}
.pro-special.has-pic{display:grid;grid-template-columns:200px 1fr;gap:18px;align-items:center}   /* an optional picture, 4:3 like the owner's frame (OPS-1190) */
.pro-special-pic{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
@media (max-width:640px){.pro-special.has-pic{grid-template-columns:1fr;gap:12px}}
.pro-grid{margin-top:8px}
.pro-sec{margin-top:30px}
.pro-h{font-family:var(--serif);font-weight:var(--hw,650);font-size:calc(28px*var(--fs));margin:0 0 12px}
.pro-services{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.pro-group{grid-column:1/-1;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--acc);margin:14px 0 6px}
.pro-svc{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:8px;background:var(--paper);border:1px solid var(--rule);border-radius:var(--r-md);min-width:0}
.pro-svc span{min-width:0;overflow-wrap:anywhere}
.pro-svc small{display:block;color:var(--ink-3);font-size:13px;margin-top:2px}
.pro-svc b{white-space:nowrap}
.pro-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.pro-gallery figure{margin:0}
.pro-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r-md);display:block}
.pro-gallery figcaption{font-size:13px;color:var(--ink-2);margin-top:4px}
.pro-quotes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pro-quote{margin:0;padding:14px 16px;background:var(--paper);border:1px solid var(--rule);border-left:4px solid var(--acc);border-radius:var(--r-md)}
.pro-quote p{margin:0}
.pro-quote cite{display:block;margin-top:6px;font-style:normal;color:var(--ink-3);font-size:14px}
.pro-aside .side-card{position:relative}
@media (min-width:981px){.pro-aside{position:sticky;top:20px;align-self:start}}
.pro-link{color:var(--coral-deep);font-weight:700}
.pro-bar{display:none}

@media (max-width:720px){
  .pro-hero{height:190px;border-radius:var(--r-lg)}
  .pro-logo{left:16px;bottom:-34px;width:78px;height:78px;border-radius:18px}
  .pro-head.has-logo{padding-top:46px}
  .pro-actions{display:none} /* phones: the main button is in the bottom bar (.pro-bar), which always carries it when this row is printed (OPS-1068) */
  .pro-cta{text-align:center}
  .pro-services,.pro-quotes{grid-template-columns:1fr}
  .pro-gallery{grid-template-columns:repeat(3,1fr);gap:6px}
  .pro-bar{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--rule)}
  .pro-bar .btn{flex:1;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px}
  /* The phone bar (OPS-1071, design pass 11/26). One rule for every theme and accent, no exceptions per theme:
     - Words are the theme's own text colour (--ink): readable everywhere, and no tint of an accent ever has to carry words (that is what
       turned Coral pink in the dark themes and made red words too dim to read).
     - Colour lives only in the frame and the icon (--bar-line): the main button, on the right, has a 2px frame in it and is a little wider;
       the other keeps the thin grey border. Nothing is filled: the page's own button (Build Your Stack, Order online) stays the one filled thing.
     - Coral, the default accent, is the site's red, so it uses the site's own red for the theme (--coral, the red of "Orting" in the header). */
  .pro-bar .ghost{color:var(--ink);font-weight:700}
  .pro-bar .ghost svg{color:var(--bar-line)}
  .pro-bar .is-main,.pro-bar .is-main:hover{border-color:var(--bar-line);border-width:2px}
  .pro-bar .is-main:not(:only-child){flex:1.35}
  .pro-bar .ghost,.pro-bar .pro-bar-call{font-size:calc(16px*var(--fs))}
  .pro-bar-call svg{width:18px;height:18px;flex:none}
  body.pro-page{padding-bottom:72px}
  .in-app .pro-bar{padding:5px 12px}.in-app .pro-bar .btn{min-height:44px;padding-block:6px}.in-app body.pro-page{padding-bottom:58px} /* as .call-bar in style.css (OPS-1038) */
}
