/*
Theme Name: CB Senior Care Final
Theme URI: https://cbseniorhomecare.com
Author: CB Senior Home Care & Placement
Description: Version 3.0 — a refined, responsive senior-care website with a clean hero, editable conversation prompt, verified-review integration, founder credibility section and improved visual hierarchy.
Version: 3.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: cb-senior-care-final
*/

:root {
  --cb-plum: #54254f;
  --cb-plum-dark: #351b36;
  --cb-forest: #315d3f;
  --cb-sage: #6f8b73;
  --cb-sage-dark: #315d3f;
  --cb-sage-soft: #eef3ed;
  --cb-gold: #c99536;
  --cb-ivory: #fbfaf7;
  --cb-cream: #f6f1e8;
  --cb-cream-deep: #f6f1e8;
  --cb-ink: #1f2530;
  --cb-muted: #5c6570;
  --cb-line: #e8e2d8;
  --cb-white: #ffffff;
  --cb-shadow-sm: 0 12px 30px rgba(37, 27, 36, .07);
  --cb-shadow-md: 0 24px 64px rgba(37, 27, 36, .11);
  --cb-radius: 16px;
  --cb-radius-lg: 22px;
  --cb-max: 1180px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--cb-gold); outline-offset: 3px; }
.wp-site-blocks { overflow: clip; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* Header */
.cb-topbar { font-size: .88rem; }
.cb-topbar a { color: inherit; font-weight: 800; }
.cb-header { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(14px); border-bottom: 1px solid rgba(31,37,48,.08); }
.admin-bar .cb-header { top: 32px; }
.cb-brand-lockup { gap: 12px; }
.cb-brand-lockup .wp-block-site-title { max-width: 270px; }
.cb-header .wp-block-navigation-item__content { font-weight: 700; font-size: .96rem; }
.cb-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.cb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1rem; }
.cb-nav-contact a { background: var(--cb-plum); color: #fff !important; border-radius: 12px; padding: .72rem 1rem !important; }

/* Global */
.cb-section { padding: clamp(64px, 8vw, 112px) 20px; }
.cb-section-tight { padding: clamp(44px, 6vw, 78px) 20px; }
.cb-wrap { width: min(var(--cb-max), calc(100% - 40px)); margin-inline: auto; }
.cb-kicker { margin: 0 0 12px; color: var(--cb-forest); font-size: .77rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.cb-section-title { max-width: 760px; margin: 0 auto 18px; text-align: center; text-wrap: balance; }
.cb-section-intro { max-width: 760px; margin: 0 auto; text-align: center; color: var(--cb-muted); }
.cb-inline-link { font-weight: 850; color: var(--cb-plum); }
.cb-divider { width: 72px; height: 2px; background: var(--cb-gold); border: 0; margin: 24px auto 0; }

/* Hero */
.cb-v2-hero { background: linear-gradient(115deg, #fff 0%, #fff 50%, #f8f4ed 100%); border-bottom: 1px solid var(--cb-line); }
.cb-v2-hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); min-height: 0; align-items: center; max-width: 1600px; margin-inline: auto; }
.cb-v2-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 88px) clamp(30px, 4.5vw, 68px) clamp(52px, 6vw, 82px) max(24px, calc((100vw - var(--cb-max))/2)); }
.cb-v2-hero-copy h1 { margin: 0 0 22px; max-width: 650px; color: var(--cb-plum-dark); font-size: clamp(2.9rem, 4.7vw, 5rem); line-height: 1; letter-spacing: -.043em; text-wrap: balance; }
.cb-v2-hero-copy .cb-lede { max-width: 640px; margin: 0; color: var(--cb-muted); font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.7; }
.cb-v2-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.cb-v2-hero-actions .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.cb-v2-hero-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; max-width: 620px; color: var(--cb-muted); font-size: .92rem; line-height: 1.55; }
.cb-v2-hero-note::before { content: "✓"; color: var(--cb-forest); font-weight: 900; }
.cb-v2-hero-media { display: flex; align-items: center; justify-content: center; min-width: 0; padding: clamp(22px, 3vw, 42px) clamp(20px, 3vw, 46px) clamp(22px, 3vw, 42px) 0; }
.cb-v2-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 776 / 365; object-fit: contain; object-position: center; border-radius: 18px 0 0 18px; box-shadow: 0 24px 60px rgba(37, 27, 36, .10); }

/* Trust strip */
.cb-trust-strip-v2 { background: #fff; border-bottom: 1px solid var(--cb-line); }
.cb-trust-grid-v2 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: stretch; }
.cb-trust-item-v2 { display: flex; gap: 14px; align-items: center; min-height: 94px; padding: 18px 28px; border-right: 1px solid var(--cb-line); }
.cb-trust-item-v2:last-child { border-right: 0; }
.cb-trust-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 42px; background: var(--cb-sage-soft); color: var(--cb-forest); font-weight: 900; }
.cb-trust-item-v2 strong { display: block; color: var(--cb-ink); line-height: 1.25; }
.cb-trust-item-v2 span { display: block; margin-top: 4px; color: var(--cb-muted); font-size: .88rem; }
.cb-stars { color: var(--cb-gold); letter-spacing: .08em; }

/* Two main services */
.cb-two-paths { background: var(--cb-ivory); }
.cb-two-paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin-top: 42px; }
.cb-path-v2 { position: relative; min-height: 300px; padding: clamp(32px, 4vw, 54px); border: 1px solid var(--cb-line); border-radius: var(--cb-radius-lg); overflow: hidden; }
.cb-path-v2::after { content:""; position:absolute; inset:auto -50px -80px auto; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.35); }
.cb-path-v2.placement { background: linear-gradient(135deg, #f5edf4, #fff 70%); }
.cb-path-v2.homecare { background: linear-gradient(135deg, #edf4ed, #fff 70%); }
.cb-path-v2 > * { position: relative; z-index: 1; }
.cb-path-icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px; color: #fff; font-size: 1.8rem; }
.placement .cb-path-icon { background: var(--cb-plum); }
.homecare .cb-path-icon { background: var(--cb-forest); }
.cb-path-v2 h3 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.5vw, 2.35rem); }
.cb-path-v2 p { max-width: 520px; color: var(--cb-muted); }
.cb-path-v2 .cb-inline-link { display: inline-block; margin-top: 10px; }

/* Google reviews */
.cb-google-section { background: #fff; }
.cb-google-shell { display: grid; grid-template-columns: .72fr 2.28fr; gap: 38px; align-items: center; }
.cb-google-summary { padding-right: 28px; border-right: 1px solid var(--cb-line); }
.cb-google-summary h2 { margin: 0 0 10px; }
.cb-google-summary p { color: var(--cb-muted); }
.cb-google-embed { min-height: 180px; }
.cb-google-empty { padding: 30px; border: 1px solid var(--cb-line); border-radius: var(--cb-radius); background: var(--cb-ivory); }
.cb-google-empty p { margin: 0 0 14px; }
.cb-google-empty a { font-weight: 850; }

/* 3 steps */
.cb-process-v2 { background: var(--cb-sage-soft); }
.cb-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px; margin-top: 46px; }
.cb-process-step { position: relative; padding-left: 74px; }
.cb-process-number { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-plum); color: #fff; font-weight: 900; box-shadow: var(--cb-shadow-sm); }
.cb-process-step:nth-child(2) .cb-process-number { background: var(--cb-forest); }
.cb-process-step:nth-child(3) .cb-process-number { background: var(--cb-gold); color: var(--cb-plum-dark); }
.cb-process-step h3 { margin: 0 0 8px; font-size: 1.34rem; }
.cb-process-step p { margin: 0; color: var(--cb-muted); font-size: .96rem; }

/* Four categories */
.cb-care-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 50px; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); }
.cb-care-item { padding: 34px 28px; border-right: 1px solid var(--cb-line); }
.cb-care-item:last-child { border-right: 0; }
.cb-care-icon { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--cb-plum); background: var(--cb-cream); font-size: 1.35rem; }
.cb-care-item:nth-child(even) .cb-care-icon { color: var(--cb-forest); background: var(--cb-sage-soft); }
.cb-care-item h3 { margin: 0 0 10px; font-size: 1.25rem; }
.cb-care-item p { margin: 0; color: var(--cb-muted); font-size: .94rem; }

/* Professional section */
.cb-pro-v2 { background: linear-gradient(105deg, #f4f0ea 0%, #fff 58%); }
.cb-pro-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(44px, 7vw, 86px); align-items: center; }
.cb-pro-photo { min-height: 430px; border-radius: var(--cb-radius-lg); background-image: linear-gradient(to top, rgba(53,27,54,.58), rgba(53,27,54,0) 55%), url('assets/images/professional-partners.jpg'); background-size: cover; background-position: center; position: relative; overflow: hidden; box-shadow: var(--cb-shadow-md); }
.cb-pro-photo::before { content:"Professional Referral Support"; position:absolute; inset:auto 30px 28px; color:#fff; font-family:Georgia,serif; font-weight:700; font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.02; text-shadow:0 2px 16px rgba(0,0,0,.3); }
.cb-pro-copy h2 { margin: 0 0 18px; font-size: clamp(2.3rem, 4vw, 4rem); color: var(--cb-plum-dark); }
.cb-pro-copy > p { color: var(--cb-muted); font-size: 1.06rem; }
.cb-pro-benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin: 28px 0 32px; }
.cb-pro-benefit { border-top: 2px solid var(--cb-gold); padding-top: 14px; font-size: .93rem; font-weight: 750; }

/* Areas and FAQ */
.cb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cb-info-panel { padding: clamp(30px, 4vw, 48px); background: var(--cb-ivory); border: 1px solid var(--cb-line); border-radius: var(--cb-radius-lg); }
.cb-area-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.cb-area-chip { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid #cfd9d0; border-radius: 999px; background: #fff; color: var(--cb-forest); font-weight: 800; font-size: .9rem; }
.cb-faq-list details { border-bottom: 1px solid var(--cb-line); }
.cb-faq-list details:first-child { border-top: 1px solid var(--cb-line); }
.cb-faq-list summary { list-style: none; cursor: pointer; padding: 17px 34px 17px 0; position: relative; font-weight: 850; }
.cb-faq-list summary::-webkit-details-marker { display: none; }
.cb-faq-list summary::after { content:"+"; position:absolute; right:0; color:var(--cb-plum); font-size:1.35rem; }
.cb-faq-list details[open] summary::after { content:"−"; }
.cb-faq-list details p { margin: 0; padding: 0 28px 18px 0; color: var(--cb-muted); }

/* Final CTA */
.cb-final-cta { position: relative; overflow: hidden; background: var(--cb-forest); color: #fff; }
.cb-final-cta::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 12% 45%, rgba(255,255,255,.12), transparent 32%), radial-gradient(circle at 92% 20%, rgba(201,149,54,.22), transparent 28%); }
.cb-final-cta-inner { position:relative; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.cb-final-cta h2 { margin:0; max-width:720px; color:#fff; font-size:clamp(2.2rem,4vw,4rem); }
.cb-final-cta p { margin:12px 0 0; color:rgba(255,255,255,.82); }
.cb-final-actions { display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }

/* Footer */
.cb-footer-v2 { background: var(--cb-plum-dark); color:#fff; }
.cb-footer-v2 a { color:#fff; }
.cb-footer-grid { display:grid; grid-template-columns:1.35fr .75fr .75fr 1fr; gap:46px; }
.cb-footer-brand p { color:rgba(255,255,255,.72); }
.cb-footer-v2 h3 { color:#fff; font-size:1rem; text-transform:uppercase; letter-spacing:.08em; }
.cb-footer-v2 ul { list-style:none; padding:0; margin:0; }
.cb-footer-v2 li { margin:.62rem 0; }
.cb-footer-v2 li a { color:rgba(255,255,255,.75); }
.cb-footer-bottom { margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14); display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; color:rgba(255,255,255,.65); font-size:.82rem; }

/* Mobile sticky actions */
.cb-mobile-actionbar { display:none; }


/* Compatibility styles for the interior page templates included with Version 1 */
.cb-page-hero { background: linear-gradient(135deg, var(--cb-cream), #fff); border-bottom: 1px solid var(--cb-line); }
.cb-content-card { border: 1px solid var(--cb-line); border-radius: var(--cb-radius); box-shadow: var(--cb-shadow-sm); }
.cb-checklist { list-style: none; padding-left: 0; }
.cb-checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.cb-checklist li::before { content: "✓"; position: absolute; left: 0; top: .15rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-sage-soft); color: var(--cb-forest); font-size: .8rem; font-weight: 900; }
.cb-step { position: relative; padding-left: 72px; min-height: 62px; }
.cb-step-number { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-plum); color: #fff; font-weight: 850; box-shadow: var(--cb-shadow-sm); }
.cb-step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 54px; bottom: -24px; width: 2px; background: var(--cb-line); }
.cb-review-placeholder { border: 2px dashed rgba(84,37,79,.22); background: rgba(255,255,255,.58); }
.cb-cta { position: relative; overflow: hidden; }
.cb-cta::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cb-cta > * { position: relative; z-index: 1; }
.cb-legal { opacity: .78; font-size: .88rem; }

/* Existing page/form support */
.cb-card { height:100%; border:1px solid var(--cb-line); border-radius:var(--cb-radius); box-shadow:var(--cb-shadow-sm); }
.cb-form { max-width:820px; margin:auto; }
.cb-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.cb-field label { display:block; font-weight:800; margin-bottom:7px; color:var(--cb-ink); }
.cb-field input,.cb-field select,.cb-field textarea { width:100%; border:1px solid #cfc7ba; border-radius:10px; padding:13px 14px; background:#fff; color:var(--cb-ink); font:inherit; }
.cb-field input:focus,.cb-field select:focus,.cb-field textarea:focus { border-color:var(--cb-plum); box-shadow:0 0 0 3px rgba(84,37,79,.12); outline:0; }
.cb-field-full { grid-column:1 / -1; }
.cb-notice { border-left:4px solid var(--cb-gold); background:#fffaf0; padding:16px 18px; }
.cb-success { border-left:4px solid var(--cb-forest); background:#f1f8f2; padding:16px 18px; }
.cb-error { border-left:4px solid #a33a3a; background:#fff2f2; padding:16px 18px; }

@media (max-width: 1040px) {
  .cb-v2-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .cb-v2-hero-copy { padding: 70px 24px 46px; }
  .cb-v2-hero-media { padding: 0 24px 38px; }
  .cb-v2-hero-photo { width: min(100%, 980px); height: auto; aspect-ratio: 776 / 365; object-fit: contain; border-radius: 18px; }
  .cb-care-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cb-care-item:nth-child(2) { border-right:0; }
  .cb-care-item:nth-child(-n+2) { border-bottom:1px solid var(--cb-line); }
  .cb-google-shell { grid-template-columns: 1fr; }
  .cb-google-summary { border-right:0; border-bottom:1px solid var(--cb-line); padding:0 0 24px; }
  .cb-pro-grid { grid-template-columns: 1fr; }
  .cb-pro-photo { min-height: 330px; }
  .cb-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .cb-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .admin-bar .cb-header { top:46px; }
  .cb-topbar { display:none; }
  .cb-header { padding-top:10px!important; padding-bottom:10px!important; }
  .cb-header .wp-block-site-logo img { width:52px!important; }
  .cb-header .wp-block-site-title { font-size:1.05rem!important; }
  .cb-v2-hero-copy h1 { font-size: clamp(2.65rem, 12vw, 4.1rem); }
  .cb-v2-hero-media { padding: 0 16px 28px; }
  .cb-v2-hero-photo { width: 100%; height: auto; aspect-ratio: 776 / 365; object-fit: contain; object-position: center; border-radius: 14px; }
  .cb-v2-hero-actions { flex-direction:column; align-items:stretch; }
  .cb-v2-hero-actions .wp-block-button, .cb-v2-hero-actions .wp-block-button__link { width:100%; }
  .cb-trust-grid-v2 { grid-template-columns:1fr; }
  .cb-trust-item-v2 { border-right:0; border-bottom:1px solid var(--cb-line); min-height:78px; padding:16px 20px; }
  .cb-trust-item-v2:last-child { border-bottom:0; }
  .cb-two-paths-grid,.cb-process-grid,.cb-info-grid { grid-template-columns:1fr; }
  .cb-process-grid { gap:30px; }
  .cb-care-grid { grid-template-columns:1fr; }
  .cb-care-item,.cb-care-item:nth-child(2) { border-right:0; border-bottom:1px solid var(--cb-line); }
  .cb-care-item:last-child { border-bottom:0; }
  .cb-pro-benefits { grid-template-columns:1fr; }
  .cb-final-cta-inner { align-items:flex-start; flex-direction:column; }
  .cb-final-actions { width:100%; }
  .cb-final-actions .wp-block-button, .cb-final-actions .wp-block-button__link { width:100%; }
  .cb-footer-grid { grid-template-columns:1fr 1fr; }
  .cb-footer-brand { grid-column:1 / -1; }
  .cb-mobile-actionbar { display:grid; grid-template-columns:1fr 1fr; position:fixed; z-index:999; left:0; right:0; bottom:0; background:#fff; border-top:1px solid var(--cb-line); box-shadow:0 -10px 30px rgba(31,37,48,.12); }
  .cb-mobile-actionbar a { min-height:58px; display:flex; align-items:center; justify-content:center; font-weight:900; }
  .cb-mobile-actionbar a:first-child { background:var(--cb-plum); color:#fff; }
  .cb-mobile-actionbar a:last-child { color:var(--cb-plum); }
  body { padding-bottom:58px; }
  .cb-form-grid { grid-template-columns:1fr; }
  .cb-field-full { grid-column:auto; }
}

@media (max-width: 520px) {
  .cb-v2-hero-photo { width: 100%; height: auto; aspect-ratio: 776 / 365; object-fit: contain; object-position: center; }
  .cb-path-v2 { min-height:0; padding:30px 24px; }
  .cb-section,.cb-section-tight { padding-left:16px; padding-right:16px; }
  .cb-wrap { width:min(var(--cb-max), calc(100% - 32px)); }
  .cb-footer-grid { grid-template-columns:1fr; }
}

/* ============================================================
   Version 3.0 — final homepage refinements
   ============================================================ */
.cb-center { text-align:center; }
.cb-top-space { margin-top:24px; }
.cb-gold-button { background:var(--cb-gold)!important; color:var(--cb-plum-dark)!important; }
.cb-white-outline { border-color:#fff!important; color:#fff!important; }

/* Refined typography and vertical rhythm */
body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color:var(--cb-ink); }
h1,h2,h3,h4,h5,h6 { font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; }
.cb-section { padding:clamp(70px,7.5vw,108px) 20px; }
.cb-section-title { font-size:clamp(2.25rem,4vw,4rem); letter-spacing:-.025em; }
.cb-section-intro { font-size:1.08rem; line-height:1.7; }

/* New hero: balanced at desktop and switches to stacked layout on laptops. */
.cb-v3-hero { background:linear-gradient(115deg,#fff 0%,#fff 48%,#f7f2ea 100%); border-bottom:1px solid var(--cb-line); }
.cb-v3-hero-grid { display:grid; grid-template-columns:minmax(390px,.78fr) minmax(620px,1.22fr); align-items:stretch; max-width:1600px; margin-inline:auto; min-height:480px; }
.cb-v3-hero-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(52px,5.2vw,76px) clamp(30px,4vw,58px) clamp(50px,5vw,72px) max(24px,calc((100vw - var(--cb-max))/2)); }
.cb-v3-hero-copy h1 { max-width:620px; margin:0 0 20px; color:var(--cb-plum-dark); font-size:clamp(3.1rem,4.7vw,4.75rem); line-height:1.01; letter-spacing:-.043em; text-wrap:balance; }
.cb-v3-hero-copy .cb-lede { max-width:600px; margin:0; color:var(--cb-muted); font-size:clamp(1.04rem,1.25vw,1.22rem); line-height:1.68; }
.cb-v3-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.cb-v3-hero-actions .wp-block-button__link { min-height:52px; display:inline-flex; align-items:center; justify-content:center; border-radius:11px; }
.cb-v3-hero-assurances { display:grid; grid-template-columns:1fr 1fr; gap:18px; max-width:650px; margin-top:23px; }
.cb-v3-hero-assurances p { position:relative; margin:0; padding-left:28px; color:var(--cb-muted); font-size:.87rem; line-height:1.45; }
.cb-v3-hero-assurances p::before { content:"✓"; position:absolute; left:0; top:1px; width:19px; height:19px; display:grid; place-items:center; border:1px solid #a8bba9; border-radius:50%; color:var(--cb-forest); font-size:.72rem; font-weight:900; }
.cb-v3-hero-media { position:relative; min-width:0; overflow:hidden; background:#eee8de; }
.cb-v3-hero-media picture { display:block; height:100%; }
.cb-v3-hero-photo { display:block; width:100%; height:100%; min-height:480px; object-fit:cover; object-position:52% center; }
.cb-hero-question { position:absolute; z-index:3; top:1.5%; right:2.5%; width:min(295px,40%); min-height:178px; padding:24px 26px 20px; display:flex; flex-direction:column; justify-content:center; border:1px solid rgba(201,149,54,.55); border-radius:28px; background:#ffffff; box-shadow:0 18px 44px rgba(45,29,39,.15); color:var(--cb-ink); font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; font-weight:700; font-size:clamp(1rem,1.28vw,1.25rem); line-height:1.25; text-align:center; }
.cb-hero-question::after { content:""; position:absolute; right:24px; bottom:-16px; width:31px; height:26px; background:#fff; clip-path:polygon(0 0,100% 0,100% 100%); transform:skewX(-18deg); border-right:1px solid rgba(201,149,54,.55); }
.cb-hero-question a { display:block; position:relative; z-index:2; margin-top:3px; color:var(--cb-plum); font-style:italic; text-decoration:underline; text-decoration-thickness:1px; }
/* The source photo contained a small, nonessential caption in the lower-left. This cover keeps it off the public design. */
.cb-photo-cleanup { position:absolute; z-index:2; left:0; bottom:0; width:19%; height:12%; background:linear-gradient(100deg,rgba(237,231,222,.98),rgba(237,231,222,.94) 68%,rgba(237,231,222,0)); pointer-events:none; }

/* Trust strip: no ratings or review counts are fabricated. */
.cb-trust-strip-v3 { background:#fff; border-bottom:1px solid var(--cb-line); box-shadow:0 12px 30px rgba(37,27,36,.035); }
.cb-trust-grid-v3 { display:grid; grid-template-columns:1.06fr 1fr 1.22fr; }
.cb-trust-item-v3 { min-height:96px; display:flex; align-items:center; gap:15px; padding:19px 28px; border-right:1px solid var(--cb-line); }
.cb-trust-item-v3:last-child { border-right:0; }
.cb-trust-mark-v3 { width:48px; height:48px; flex:0 0 48px; display:grid; place-items:center; border-radius:50%; background:var(--cb-sage-soft); color:var(--cb-forest); font-size:.8rem; font-weight:900; letter-spacing:-.02em; }
.cb-google-trust .cb-trust-mark-v3 { color:#4285f4; background:#fff; border:1px solid var(--cb-line); font-size:1.45rem; }
.cb-trust-item-v3 strong { display:block; line-height:1.25; }
.cb-trust-item-v3 span,.cb-trust-item-v3 a { display:block; margin-top:4px; color:var(--cb-muted); font-size:.87rem; }
.cb-trust-item-v3 a { color:var(--cb-plum); font-weight:800; }

/* Two services retain prominence with less visual weight and fewer rounded containers. */
.cb-path-v3 { position:relative; min-height:275px; padding:clamp(32px,4vw,50px); border:1px solid var(--cb-line); border-radius:16px; overflow:hidden; }
.cb-path-v3.placement { background:linear-gradient(135deg,#f6eff5,#fff 72%); }
.cb-path-v3.homecare { background:linear-gradient(135deg,#eef4ee,#fff 72%); }
.cb-path-v3 h3 { margin:0 0 12px; font-size:clamp(1.75rem,2.4vw,2.25rem); }
.cb-path-v3 p { max-width:530px; color:var(--cb-muted); }
.cb-path-v3 .cb-inline-link { display:inline-block; margin-top:10px; }

/* Reviews: open, premium and plugin-ready. */
.cb-google-section { background:#fff; border-top:1px solid #f4f0ea; border-bottom:1px solid #f4f0ea; }
.cb-google-shell { display:grid; grid-template-columns:.82fr 2.18fr; gap:48px; align-items:center; }
.cb-google-summary { padding-right:42px; border-right:1px solid var(--cb-line); }
.cb-google-summary h2 { margin:0 0 12px; }
.cb-google-summary p { color:var(--cb-muted); }
.cb-google-embed { min-height:190px; }
.cb-google-empty { min-height:190px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:10px; padding:34px; border:1px solid var(--cb-line); border-radius:14px; background:linear-gradient(135deg,var(--cb-ivory),#fff); }
.cb-google-empty::before { content:"Google Reviews"; color:var(--cb-plum-dark); font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; font-size:1.7rem; font-weight:700; }
.cb-google-empty p { margin:0; color:var(--cb-muted); }
.cb-google-empty .cb-review-button { display:inline-flex; margin-top:8px; padding:.78rem 1.1rem; border-radius:10px; background:var(--cb-plum); color:#fff; font-weight:850; }

/* Process and simplified service categories. */
.cb-process-v3 { background:var(--cb-sage-soft); }
.cb-care-section { background:#fff; }
.cb-care-grid-v3 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:46px; border-top:1px solid var(--cb-line); border-bottom:1px solid var(--cb-line); }
.cb-care-item-v3 { padding:36px 28px; border-right:1px solid var(--cb-line); }
.cb-care-item-v3:last-child { border-right:0; }
.cb-care-item-v3 h3 { margin:0 0 10px; font-size:1.25rem; }
.cb-care-item-v3 p { margin:0; color:var(--cb-muted); font-size:.94rem; }
.cb-care-item-v3 .cb-care-icon { width:48px; height:48px; margin-bottom:20px; border-radius:50%; display:grid; place-items:center; color:#fff; background:var(--cb-plum); font-family:Inter,ui-sans-serif,sans-serif; font-size:.78rem; font-weight:900; letter-spacing:.04em; }
.cb-care-item-v3:nth-child(even) .cb-care-icon { background:var(--cb-forest); color:#fff; }
.cb-care-item-v3:nth-child(3) .cb-care-icon { background:var(--cb-gold); color:var(--cb-plum-dark); }

/* Professional section is shorter and more focused. */
.cb-pro-v3 { background:linear-gradient(105deg,#f5f1eb 0%,#fff 62%); }
.cb-pro-grid-v3 { display:grid; grid-template-columns:.76fr 1.24fr; gap:clamp(44px,6vw,82px); align-items:center; }
.cb-pro-v3 .cb-pro-photo { min-height:365px; border-radius:18px; }
.cb-pro-v3 .cb-pro-copy h2 { font-size:clamp(2.35rem,3.7vw,3.7rem); }
.cb-pro-list { display:grid; grid-template-columns:1fr 1fr; gap:12px 28px; list-style:none; padding:0; margin:26px 0 32px; }
.cb-pro-list li { position:relative; padding-left:26px; color:var(--cb-ink); font-weight:720; font-size:.94rem; }
.cb-pro-list li::before { content:"✓"; position:absolute; left:0; color:var(--cb-gold); font-weight:900; }

/* Founder credibility section: no fabricated portrait or credentials. */
.cb-founder-section { background:var(--cb-plum-dark); color:#fff; }
.cb-founder-grid { display:grid; grid-template-columns:190px 1.25fr .75fr; gap:clamp(30px,5vw,68px); align-items:center; }
.cb-founder-monogram { width:180px; height:220px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); border-radius:18px; background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.035)); box-shadow:0 24px 60px rgba(0,0,0,.15); }
.cb-founder-monogram span { width:112px; height:112px; display:grid; place-items:center; border:1px solid rgba(201,149,54,.7); border-radius:50%; color:var(--cb-gold); font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; font-size:2.8rem; }
.cb-founder-copy h2 { margin:0 0 18px; color:#fff; font-size:clamp(2.2rem,3.8vw,3.7rem); }
.cb-founder-copy p { color:rgba(255,255,255,.78); }
.cb-founder-copy .cb-kicker,.cb-founder-promise .cb-kicker { color:#e5c98f; }
.cb-founder-copy .cb-inline-link { color:#fff; }
.cb-founder-signoff { margin:24px 0 16px; }
.cb-founder-signoff strong { color:#fff; font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; font-size:1.35rem; }
.cb-founder-signoff span { color:rgba(255,255,255,.68); }
.cb-founder-promise { padding:30px; border-left:2px solid var(--cb-gold); background:rgba(255,255,255,.055); }
.cb-founder-promise blockquote { margin:0; color:#fff; font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif; font-size:clamp(1.35rem,2vw,1.75rem); line-height:1.35; }

/* Less card fatigue in the lower homepage. */
.cb-info-panel { border-radius:14px; box-shadow:none; }
.cb-final-cta h2 { letter-spacing:-.025em; }

@media (max-width:1180px) {
  .cb-v3-hero-grid { grid-template-columns:minmax(350px,.82fr) minmax(560px,1.18fr); }
  .cb-v3-hero-copy h1 { font-size:clamp(3rem,4.6vw,4.15rem); }
  .cb-hero-question { right:4.5%; width:min(235px,36%); }
  .cb-founder-grid { grid-template-columns:150px 1fr; }
  .cb-founder-monogram { width:150px; height:190px; }
  .cb-founder-promise { grid-column:2; }
}

@media (max-width:1040px) {
  .cb-v3-hero-grid { grid-template-columns:1fr; }
  .cb-v3-hero-copy { padding:64px 24px 42px; }
  .cb-v3-hero-copy h1 { max-width:760px; font-size:clamp(3.1rem,7vw,4.6rem); }
  .cb-v3-hero-media { margin:0 24px 34px; border-radius:18px; min-height:auto; }
  .cb-v3-hero-photo { width:100%; height:auto; min-height:0; aspect-ratio:2150/917; object-fit:contain; object-position:center; }
  .cb-hero-question { top:1.5%; right:2.5%; width:min(295px,40%); }
  .cb-google-shell { grid-template-columns:1fr; }
  .cb-google-summary { padding:0 0 28px; border-right:0; border-bottom:1px solid var(--cb-line); }
  .cb-care-grid-v3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cb-care-item-v3:nth-child(2) { border-right:0; }
  .cb-care-item-v3:nth-child(-n+2) { border-bottom:1px solid var(--cb-line); }
  .cb-pro-grid-v3 { grid-template-columns:1fr; }
  .cb-pro-v3 .cb-pro-photo { min-height:330px; }
}

@media (max-width:780px) {
  .cb-v3-hero-copy { padding:50px 20px 30px; }
  .cb-v3-hero-copy h1 { font-size:clamp(2.65rem,11.5vw,4.1rem); }
  .cb-v3-hero-actions { flex-direction:column; align-items:stretch; }
  .cb-v3-hero-actions .wp-block-button,.cb-v3-hero-actions .wp-block-button__link { width:100%; }
  .cb-v3-hero-assurances { grid-template-columns:1fr; gap:10px; }
  .cb-v3-hero-media { margin:0 16px 28px; border-radius:14px; }
  .cb-v3-hero-photo { border-radius:14px; }
  .cb-hero-question { top:2%; right:2%; width:46%; min-height:132px; padding:14px 15px 12px; border-radius:20px; font-size:.88rem; }
  .cb-photo-cleanup { width:22%; height:13%; }
  .cb-trust-grid-v3 { grid-template-columns:1fr; }
  .cb-trust-item-v3 { min-height:78px; border-right:0; border-bottom:1px solid var(--cb-line); padding:16px 20px; }
  .cb-trust-item-v3:last-child { border-bottom:0; }
  .cb-care-grid-v3 { grid-template-columns:1fr; }
  .cb-care-item-v3,.cb-care-item-v3:nth-child(2) { border-right:0; border-bottom:1px solid var(--cb-line); }
  .cb-care-item-v3:last-child { border-bottom:0; }
  .cb-pro-list { grid-template-columns:1fr; }
  .cb-founder-grid { grid-template-columns:1fr; }
  .cb-founder-monogram { width:120px; height:145px; }
  .cb-founder-monogram span { width:82px; height:82px; font-size:2rem; }
  .cb-founder-promise { grid-column:auto; }
}

@media (max-width:520px) {
  .cb-v3-hero-copy { padding:42px 16px 24px; }
  .cb-v3-hero-media { margin:0 0 24px; border-radius:0; }
  .cb-v3-hero-photo { aspect-ratio:1.55/1; object-fit:cover; object-position:52% center; border-radius:0; }
  .cb-hero-question { top:2%; right:2%; left:auto; width:50%; min-height:108px; font-size:.76rem; line-height:1.2; }
  .cb-hero-question::after { right:18px; }
  .cb-photo-cleanup { width:25%; height:14%; }
  .cb-path-v3 { min-height:0; padding:30px 24px; }
  .cb-founder-section { padding-left:16px; padding-right:16px; }
}
