/*
Theme Name: Castle & Carriage
Theme URI: https://castleandcarriage.ca
Author: CVD Group
Description: Custom theme for Castle & Carriage Service Management — white-glove property care. Every page is built from editable blocks (text, buttons, photos, price tables, FAQs) with the original design available as patterns. Includes a Projects post type with division filters, quote and monthly service-list forms (emailed + saved under Requests), the Property Pal chat bubble, and Customizer settings for business details.
Version: 2.5.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: castle-carriage
*/

/* ==========================================================================
   Fonts (bundled, SIL Open Font License — no external requests)
   ========================================================================== */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Old Standard TT'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/old-standard-tt-latin-400-italic.woff2') format('woff2'); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #0a0a0a;
	--ink-2: #1a1a1a;
	--ink-3: #262626;
	--white: #ffffff;
	--grey-bg: #f3f3f3;
	--grey-ph: #e8e8e8;
	--line: #e2e2e2;
	--line-dark: #2e2e2e;
	--muted: #5c5c5c;
	--muted-dark: #a3a3a3;
	--grey-head: #8f8f8f;
	--num: #c4c4c4;

	--f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
	--f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-script: 'Old Standard TT', 'Bodoni 72', Georgia, serif;

	--wrap: 1300px;
	--gutter: clamp(16px, 4vw, 48px);
	--r-lg: 18px;
	--r-md: 12px;
	--r-pill: 999px;
	--sec: clamp(72px, 9vw, 128px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 16px/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cc-dark :focus-visible, .cc-footer :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }

.screen-reader-text, .cc-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.cc-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.cc-skip:focus { left: 8px; }

.cc-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cc-section { padding: var(--sec) 0; }
.cc-section--tight { padding: calc(var(--sec) * .6) 0; }
.cc-section--flush { padding: 0 0 var(--sec); }
.cc-dark { background: var(--ink); color: #fff; }
.cc-grey-bg { background: var(--grey-bg); }

/* ==========================================================================
   Type
   ========================================================================== */
.cc-display {
	font-family: var(--f-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: .92;
	letter-spacing: .005em;
}
.cc-display--hero { font-size: clamp(48px, 7.4vw, 104px); margin-bottom: 28px; }
.cc-display--xl { font-size: clamp(52px, 8vw, 112px); }
.cc-display--lg { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 24px; }
.cc-display--md { font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.cc-display--sm { font-size: clamp(22px, 2vw, 28px); line-height: 1; }
.cc-display--xs { font-size: 20px; line-height: 1.05; }
.cc-grey { color: var(--grey-head); }
.cc-block { display: block; }
.cc-script { font-family: var(--f-script); font-style: italic; color: var(--muted); font-size: 17px; margin-bottom: 14px; letter-spacing: .01em; }
.cc-dark .cc-script { color: var(--muted-dark); }
.cc-script--lg { font-size: clamp(20px, 2vw, 24px); color: var(--ink); margin: 8px 0 28px; }
.cc-lead { font-size: clamp(16px, 1.4vw, 19px); color: #3a3a3a; line-height: 1.6; max-width: 34em; }
.cc-body { color: #3a3a3a; max-width: 36em; }
.cc-dark .cc-body, .cc-dark .cc-lead { color: #c9c9c9; }
.cc-muted { color: var(--muted); font-size: 14px; }
.cc-label { font: 600 13px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cc-h3 { font-size: 22px; margin: 6px 0 8px; }
.cc-h3 a { text-decoration: none; }
.cc-meta { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.cc-fine { font-size: 13px; color: var(--muted); max-width: 72em; margin: 32px 0 0; }
.cc-eyebrow { font: 500 12px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.cc-prose { max-width: 760px; }
.cc-prose > * + * { margin-top: 1em; }
.cc-prose h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 36px; line-height: 1; margin-top: 1.4em; }
.cc-prose h3 { font-size: 22px; margin-top: 1.2em; }
.cc-prose ul { list-style: disc; padding-left: 1.2em; }
.cc-prose ol { list-style: decimal; padding-left: 1.2em; }
.cc-prose a { text-underline-offset: 3px; }

/* ==========================================================================
   Buttons, chips, badges
   ========================================================================== */
.cc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
	font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
	border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn--dark { background: var(--ink); color: #fff; }
.cc-btn--dark:hover { background: #2a2a2a; }
.cc-btn--outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.cc-btn--outline:hover { background: var(--ink); color: #fff; }
.cc-btn--light { background: #fff; color: var(--ink); }
.cc-btn--light:hover { background: #e9e9e9; }
.cc-btn--ghost { border-color: #fff; color: #fff; }
.cc-btn--ghost:hover { background: #fff; color: var(--ink); }
.cc-btn--block { width: 100%; }
.cc-btn--lg { min-height: 56px; padding: 0 40px; font-size: 16px; }
.cc-arrow { flex: none; }

.cc-link { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-body); text-decoration: none; }
.cc-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.cc-badge {
	display: inline-block; background: var(--ink); color: #fff; border-radius: var(--r-pill);
	font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; margin-bottom: 22px;
}
.cc-pill { display: inline-block; border: 1px solid var(--ink); border-radius: var(--r-pill); font: 500 12px/1 var(--f-body); padding: 7px 12px; white-space: nowrap; }
.cc-pill--dark { border-color: #555; color: #ddd; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; padding: 9px 14px; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.cc-topbar { background: var(--ink); color: #d4d4d4; font: 500 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.cc-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.cc-topbar__msg { display: flex; align-items: center; gap: 12px; margin: 0; }
.cc-topbar__badge { white-space: nowrap; flex: none; background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 5px 10px; font-weight: 700; }
.cc-topbar__right { display: flex; align-items: center; gap: 16px; }
.cc-topbar__phone { text-decoration: none; color: #bdbdbd; }
.cc-topbar__pass { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #555; border-radius: var(--r-pill); padding: 8px 14px; text-decoration: none; color: #fff; font-weight: 700; }
.cc-topbar__pass:hover { border-color: #fff; }

.cc-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.admin-bar .cc-header { top: 32px; }
.cc-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.cc-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.cc-logo { display: block; flex: none; }
.cc-logo__img { width: 112px; height: auto; }
.cc-nav { display: flex; align-items: center; gap: 28px; }
.cc-nav ul { display: flex; gap: 26px; }
.cc-nav li a { display: inline-block; padding: 8px 0; font: 500 14.5px var(--f-body); text-decoration: none; border-bottom: 2px solid transparent; }
.cc-nav li a:hover { border-bottom-color: #bbb; }
.cc-nav .current-menu-item > a, .cc-nav .current_page_item > a { border-bottom-color: var(--ink); font-weight: 600; }
.cc-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.cc-burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.cc-nav-open .cc-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cc-nav-open .cc-burger span:nth-child(2) { opacity: 0; }
.cc-nav-open .cc-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Page heads
   ========================================================================== */
.cc-pagehead { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.cc-crumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.cc-crumb a { text-decoration: none; }
.cc-crumb a:hover { text-decoration: underline; }
.cc-pagehead__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cc-pagehead__row--end { align-items: end; }
.cc-pagehead__row .cc-lead { margin: 0; }
.cc-pagehead .cc-photo--banner { margin-top: 40px; }

.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cc-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid #cfcfcf; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.cc-chip:hover { border-color: var(--ink); }
.cc-chip__sq { width: 12px; height: 12px; border: 1.4px solid var(--ink); border-radius: 3px; }

/* ==========================================================================
   Photo placeholders
   ========================================================================== */
.cc-photo { position: relative; overflow: hidden; background: var(--grey-ph); border-radius: var(--r-lg); min-height: 220px; }
.cc-photo.is-dark { background: var(--ink-3); }
.cc-photo.has-img { background: #ddd; }
.cc-photo.has-img img, .cc-photo.has-img iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.cc-photo__label { position: absolute; left: 22px; bottom: 20px; font: 500 11px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #6f6f6f; }
.cc-photo.is-dark .cc-photo__label { color: #8a8a8a; }
.cc-photo--tall { min-height: 560px; }
.cc-photo--banner { min-height: clamp(280px, 38vw, 520px); }
.cc-photo--wide { min-height: 420px; margin-bottom: 32px; }
.cc-photo--portrait { aspect-ratio: 4 / 5; min-height: 0; }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.cc-hero { padding: clamp(48px, 6vw, 84px) 0 0; }
.cc-hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.cc-hero .cc-lead { margin-bottom: 36px; }
.cc-chatmock { background: var(--grey-bg); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.cc-chatmock__head { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; margin: -28px -28px 20px; padding: 18px 22px; border-radius: 24px 24px 0 0; }
.cc-chatmock__head strong, .cc-pal__head strong { display: block; font-size: 14px; }
.cc-chatmock__head small, .cc-pal__head small { color: #a8a8a8; font-size: 11.5px; }
.cc-chatmock__body { display: flex; flex-direction: column; gap: 12px; }
.cc-chatmock__input { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 6px 6px 18px; font-size: 13px; color: #8a8a8a; }
.cc-chatmock__input b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

.cc-msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.cc-msg--bot { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.cc-msg--me { background: var(--ink); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.cc-msg a { font-weight: 600; }
.cc-pal__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pal__chips > * { border: 1px solid #cfcfcf; background: #fff; border-radius: var(--r-pill); padding: 7px 12px; font-size: 12.5px; cursor: pointer; }
.cc-pal__chips button:hover { border-color: var(--ink); }

.cc-trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); padding: 28px 0 36px; }
.cc-trust strong { display: block; font-size: 14px; }
.cc-trust span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Split heads + two-col layouts
   ========================================================================== */
.cc-split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.cc-split-head__aside { max-width: 420px; }
.cc-split-head__aside p { color: inherit; opacity: .8; }
.cc-dark .cc-split-head__aside p { color: #c9c9c9; opacity: 1; }
.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.cc-two--center { align-items: center; }

/* ==========================================================================
   Home — service cards
   ========================================================================== */
.cc-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc-svc-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.cc-svc-card__photo { border-radius: 0; min-height: 200px; }
.cc-svc-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cc-svc-card__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cc-svc-card__num { font-family: var(--f-display); color: #6b6b6b; font-size: 18px; }
.cc-rule-list { flex: 1; margin-bottom: 24px; }
.cc-rule-list li { font-size: 13.5px; color: #cfcfcf; padding: 10px 0; border-top: 1px solid var(--line-dark); }

/* Why */
.cc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 28px 0 36px; }
.cc-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.cc-checks svg { flex: none; margin-top: 2px; }

/* To-do */
.cc-todo { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.cc-todo__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.cc-todo__count { font-size: 12px; color: #a6a6a6; }
.cc-todo__list { display: flex; flex-direction: column; gap: 10px; }
.cc-todo__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 10px; padding: 0 14px; }
.cc-todo__item label { display: flex; align-items: center; gap: 14px; flex: 1; padding: 14px 0; cursor: pointer; font-size: 14px; }
.cc-todo__item input { appearance: none; width: 16px; height: 16px; border: 1.4px solid #8a8a8a; border-radius: 4px; display: grid; place-items: center; margin: 0; cursor: pointer; flex: none; }
.cc-todo__item input:checked { background: #fff; border-color: #fff; }
.cc-todo__item input:checked::after { content: ''; width: 8px; height: 4px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.cc-todo__item.is-done span { color: #8c8c8c; text-decoration: line-through; }
.cc-todo__item.is-picked { border-color: #6a6a6a; }
.cc-todo__tag { font-style: normal; font-size: 11px; color: #bcbcbc; border: 1px solid #4a4a4a; border-radius: var(--r-pill); padding: 4px 9px; white-space: nowrap; }
.cc-todo__add { display: flex; gap: 8px; margin-top: 10px; }
.cc-todo__add input { flex: 1; background: transparent; border: 1px dashed #4a4a4a; border-radius: 10px; padding: 14px; color: #fff; font-size: 14px; }
.cc-todo__add input::placeholder { color: #8a8a8a; }
.cc-todo__add select { background: var(--ink-2); color: #fff; border: 1px solid #4a4a4a; border-radius: 10px; padding: 0 10px; }
.cc-todo__note { font-size: 12px; color: #9a9a9a; margin: 18px 0 0; }

/* Property Pass card */
.cc-passcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.35); }
.cc-passcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.cc-passcard small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cc-passcard__head strong { font-size: 15px; }
.cc-passcard__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.cc-passcard__tiles div { background: var(--grey-bg); border-radius: 10px; padding: 14px; }
.cc-passcard__tiles small { letter-spacing: 0; text-transform: none; font-size: 11.5px; margin-bottom: 4px; }
.cc-passcard__tiles strong { font-size: 13.5px; }
.cc-passcard__ai { background: var(--ink); color: #fff; border-radius: 14px; padding: 18px; }
.cc-passcard__aihead { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #aaa; margin-bottom: 10px; }
.cc-passcard__ai p { font-size: 13.5px; margin-bottom: 14px; }
.cc-passcard__btns { display: flex; gap: 8px; }
.cc-passcard__btns span { border: 1px solid #555; border-radius: var(--r-pill); padding: 7px 12px; font-size: 12px; }
.cc-passcard__btns .is-on { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }

/* CTA band */
.cc-cta__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cc-cta .cc-display--xl { margin-bottom: 20px; max-width: 12em; }
.cc-cta .cc-body { margin: 0; }
.cc-cta .cc-btns { flex: none; }

/* ==========================================================================
   Services page
   ========================================================================== */
.cc-svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding: clamp(56px, 6vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.cc-svc-row:first-child { border-top: 0; padding-top: 24px; }
.cc-svc-row__photo { min-height: 420px; align-self: start; position: sticky; top: 120px; }
.cc-bignum { display: block; font-family: var(--f-display); color: var(--num); font-size: clamp(44px, 4.5vw, 64px); line-height: 1; margin-bottom: 8px; }
.cc-svc-row .cc-display--md { margin-bottom: 18px; }
.cc-svc-row .cc-lead { margin-bottom: 28px; }
.cc-svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-bottom: 36px; }
.cc-svc-groups > div { border-top: 1px solid var(--line); padding: 18px 0 20px; }
.cc-svc-groups p { font-size: 14px; color: var(--muted); margin: 0; }

.cc-feebox { display: flex; align-items: center; gap: 28px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px 34px; max-width: 520px; }
.cc-feebox strong { font-size: 56px; line-height: 1; }
.cc-feebox p { margin: 0; color: #d2d2d2; font-size: 15px; }
.cc-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc-rate-card { background: #fff; border-radius: var(--r-lg); padding: 30px; }
.cc-rate-card .cc-muted { margin: 8px 0 18px; }
.cc-rate-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cc-rate-card th, .cc-rate-card td { border-top: 1px solid var(--line); padding: 12px 0; text-align: left; font-weight: 400; }
.cc-rate-card td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }

/* ==========================================================================
   About page
   ========================================================================== */
.cc-story { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.cc-std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.cc-std { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 28px; }
.cc-std__num { display: block; font-family: var(--f-display); font-size: 26px; color: #6b6b6b; margin-bottom: 34px; }
.cc-std .cc-display--xs { margin-bottom: 10px; }
.cc-std p { font-size: 13.5px; color: #b6b6b6; margin: 0; }
.cc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.cc-steps li { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.cc-steps__num { display: block; font-family: var(--f-display); font-size: 40px; line-height: 1; margin-bottom: 24px; }
.cc-steps h3 { font-size: 15px; margin-bottom: 6px; }
.cc-steps p { font-size: 13.5px; color: var(--muted); margin: 0; }
.cc-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc-team figure { margin: 0; }
.cc-team figcaption { margin-top: 14px; }
.cc-team strong { display: block; font-size: 15px; }
.cc-team span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Projects page
   ========================================================================== */
.cc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.cc-filter button { border: 1px solid #cfcfcf; background: #fff; border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer; }
.cc-filter button:hover { border-color: var(--ink); }
.cc-filter button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cc-featured { display: grid; grid-template-columns: 1.6fr 1fr; background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 32px; }
.cc-featured > .cc-photo { border-radius: 0; min-height: 380px; }
.cc-featured__body { padding: 36px; display: flex; flex-direction: column; }
.cc-featured__body .cc-pill { align-self: flex-start; margin-bottom: 18px; }
.cc-featured__body .cc-display--md { margin-bottom: 16px; }
.cc-featured__body .cc-display--md a { text-decoration: none; }
.cc-featured__body p { color: #b9b9b9; font-size: 14.5px; }
.cc-featured__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: auto 0 0; padding-top: 24px; }
.cc-featured__meta div { border-top: 1px solid #3a3a3a; padding-top: 12px; }
.cc-featured__meta dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; }
.cc-featured__meta dd { margin: 4px 0 0; font-size: 14px; }
.cc-featured__meta--light div { border-color: var(--line); }
.cc-featured__meta--light dt { color: var(--muted); }
.cc-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
.cc-proj__img { position: relative; display: block; }
.cc-proj__img .cc-photo { min-height: 0; aspect-ratio: 4 / 3; }
.cc-tag { position: absolute; right: 12px; bottom: 16px; background: #fff; border-radius: var(--r-pill); padding: 5px 10px; font-size: 11.5px; font-weight: 500; }
.cc-proj__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.cc-proj__meta h3 { font-size: 15.5px; }
.cc-proj__meta a { text-decoration: none; }
.cc-proj__meta span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cc-empty { color: var(--muted); margin-top: 24px; }

/* ==========================================================================
   Service requests
   ========================================================================== */
.cc-steps-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.cc-steps-bar ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cc-steps-bar li { display: flex; gap: 16px; }
.cc-steps-bar .cc-display { font-size: 40px; line-height: .95; }
.cc-steps-bar strong { font-size: 15px; }
.cc-steps-bar p { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.cc-req { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.cc-formcard { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 32px); }
.cc-formcard .cc-display--sm { margin-bottom: 22px; }

/* Forms */
.cc-formcard label, .cc-form label { display: block; font: 600 13px var(--f-body); margin-bottom: 18px; }
.cc-formcard input:not([type=file]), .cc-formcard select,
.cc-form input:not([type=checkbox]), .cc-form textarea {
	display: block; width: 100%; margin-top: 8px; min-height: 48px; padding: 12px 14px;
	border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; font-weight: 400; font-size: 15px;
}
.cc-form textarea { min-height: 130px; resize: vertical; }
.cc-formcard input:focus, .cc-formcard select:focus, .cc-form input:focus, .cc-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.cc-drop__zone { position: relative; display: grid; place-items: center; margin-top: 8px; min-height: 84px; border: 1.5px dashed #bdbdbd; border-radius: 10px; font-weight: 400; font-size: 13.5px; color: var(--muted); text-align: center; padding: 12px; }
.cc-drop__zone.is-over { border-color: var(--ink); background: var(--grey-bg); }
.cc-drop__zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cc-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.cc-form legend { font: 600 13px var(--f-body); margin-bottom: 10px; }
.cc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-checkpills { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-checkpills label { margin: 0; font-weight: 400; font-size: 14px; }
.cc-checkpills input { position: absolute; opacity: 0; }
.cc-checkpills span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #cfcfcf; border-radius: var(--r-pill); background: #fff; cursor: pointer; }
.cc-checkpills span::before { content: ''; width: 14px; height: 14px; border: 1.4px solid #777; border-radius: 3px; background: #fff; }
.cc-checkpills input:checked + span { border-color: var(--ink); }
.cc-checkpills input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.cc-checkpills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-form__submit { display: flex; align-items: center; gap: 20px; }
.cc-form__submit p { margin: 0; max-width: 340px; }
.cc-notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 14.5px; }
.cc-notice.is-ok { background: #e9f6ec; color: #1b5e2b; border: 1px solid #b9e0c3; }
.cc-notice.is-err { background: #fdecec; color: #8a1f1f; border: 1px solid #f2c0c0; }

/* FAQ */
.cc-faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.cc-faq { border-top: 1.5px solid var(--ink); }
.cc-faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.cc-faq summary { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after { content: '+'; font-weight: 400; font-size: 20px; line-height: 1; }
.cc-faq details[open] summary::after { content: '–'; }
.cc-faq p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.cc-infocards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.cc-infocards li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.cc-infocards small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cc-infocards a, .cc-infocards span { font-size: 17px; font-weight: 500; text-decoration: none; word-break: break-word; }
.cc-contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.cc-quote { background: var(--grey-bg); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.cc-quote .cc-display--md { margin-bottom: 32px; }
.cc-contact__side { display: flex; flex-direction: column; gap: 20px; }
.cc-map { flex: 1; min-height: 360px; border-radius: 24px; }
.cc-urgent { background: var(--ink); color: #fff; border-radius: 24px; padding: 30px; }
.cc-urgent .cc-display--sm { margin-bottom: 14px; }
.cc-urgent p { margin: 0; color: #cfcfcf; }

/* ==========================================================================
   Blog list
   ========================================================================== */
.cc-postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.cc-postcard .cc-photo { aspect-ratio: 4/3; min-height: 0; }
.cc-pagination { grid-column: 1 / -1; }
.cc-pagination .nav-links { display: flex; gap: 8px; }
.cc-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none; }
.cc-pagination .current { background: var(--ink); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.cc-footer { background: var(--ink); color: #cfcfcf; padding: 72px 0 28px; }
.cc-footer__top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.cc-footer__logo img { width: 160px; }
.cc-footer__cols { display: flex; gap: 72px; }
.cc-footer__h { font: 500 11px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.cc-footer li { margin-bottom: 10px; font-size: 14px; }
.cc-footer a { text-decoration: none; }
.cc-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cc-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; }

/* ==========================================================================
   Property Pal bubble
   ========================================================================== */
.cc-pal { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cc-pal__bubble { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border: 1px solid #333; border-radius: var(--r-pill); padding: 8px 22px 8px 8px; cursor: pointer; box-shadow: 0 14px 30px rgba(0,0,0,.28); text-align: left; }
.cc-pal__label strong { display: block; font-size: 14px; }
.cc-pal__label small { font-size: 11.5px; color: #a8a8a8; }
.cc-pal__avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; flex: none; }
.cc-pal__avatar i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.cc-pal__panel { width: min(360px, calc(100vw - 40px)); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); border: 1px solid var(--line); }
.cc-pal__head { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 16px 18px; }
.cc-pal__head > div { flex: 1; }
.cc-pal__close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.cc-pal__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--grey-bg); height: 320px; overflow-y: auto; }
.cc-pal__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.cc-pal__input input { flex: 1; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; font-size: 14px; }
.cc-pal__input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cc-pal.is-open .cc-pal__label { display: none; }
.cc-pal.is-open .cc-pal__bubble { padding-right: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.cc-svc-grid { grid-template-columns: repeat(3, 1fr); }
	.cc-trust { grid-template-columns: repeat(3, 1fr); }
	.cc-nav ul { gap: 18px; }
	.cc-nav { gap: 20px; }
	.cc-topbar__msg span:not(.cc-topbar__badge) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
}

@media (max-width: 960px) {
	.cc-burger { display: block; }
	.cc-nav {
		position: fixed; inset: 0; top: 0; z-index: -1; background: #fff;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
		padding: calc(var(--cc-hdr, 180px) + 24px) var(--gutter) 40px; transform: translateY(-100%); transition: transform .3s ease; overflow-y: auto;
	}
	.cc-nav-open .cc-nav { transform: none; }
	.cc-nav-open { overflow: hidden; }
	.cc-nav ul { flex-direction: column; gap: 0; }
	.cc-nav li a { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: 34px; font-weight: 400; padding: 10px 0; border: 0; }
	.cc-nav .current-menu-item > a { font-weight: 400; text-decoration: underline; text-underline-offset: 6px; }

	.cc-hero__grid, .cc-two, .cc-pagehead__row, .cc-story, .cc-faq-wrap, .cc-req, .cc-contact, .cc-svc-row, .cc-featured { grid-template-columns: 1fr; }
	.cc-hero__visual { max-width: 520px; }
	.cc-split-head, .cc-cta__inner { flex-direction: column; align-items: flex-start; }
	.cc-svc-grid, .cc-std-grid, .cc-rates, .cc-proj-grid, .cc-postlist { grid-template-columns: repeat(2, 1fr); }
	.cc-steps, .cc-team, .cc-infocards { grid-template-columns: repeat(2, 1fr); }
	.cc-svc-row__photo { position: relative; top: auto; min-height: 280px; }
	.cc-photo--tall { min-height: 380px; }
	.cc-featured > .cc-photo { min-height: 260px; }
	.cc-steps-bar ol { grid-template-columns: 1fr; gap: 20px; }
	.cc-footer__top { flex-direction: column; }
}

@media (max-width: 782px) {
	.admin-bar .cc-header { top: 46px; }
}

@media (max-width: 640px) {
	.cc-topbar__inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
	.cc-topbar__msg span:not(.cc-topbar__badge) { white-space: normal; max-width: none; line-height: 1.5; }
	.cc-topbar__phone { display: none; }
	.cc-header__inner { min-height: 70px; }
	.cc-logo__img { width: 92px; }
	.cc-svc-grid, .cc-std-grid, .cc-rates, .cc-proj-grid, .cc-postlist, .cc-steps, .cc-infocards, .cc-svc-groups, .cc-checks, .cc-form__row, .cc-trust { grid-template-columns: 1fr; }
	.cc-team { grid-template-columns: 1fr 1fr; }
	.cc-feebox { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
	.cc-form__submit { flex-direction: column; align-items: stretch; }
	.cc-btns .cc-btn { flex: 1 1 auto; }
	.cc-footer__cols { gap: 40px; }
	.cc-footer__bottom { flex-direction: column; }
	.cc-pal { right: 12px; bottom: 12px; }
	.cc-pal__label { display: none; }
	.cc-pal__bubble { padding: 8px; }
	.cc-hero__visual { display: none; }
	.cc-display { line-height: .96; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Block editor content (v2) — maps core blocks onto the design
   ========================================================================== */
.cc-content > .alignfull, .cc-content > * { margin-top: 0; margin-bottom: 0; }
.cc-content p:last-child { margin-bottom: 0; }
.wp-block-group { box-sizing: border-box; }
.cc-content figure, .cc-content .wp-block-image { margin: 0; }
.cc-content h1.cc-display--xl, .cc-content h2.cc-display--xl { margin-bottom: 0; }
.cc-cta h2.cc-display--xl { margin-bottom: 20px; }
.cc-svc-row .wp-block-heading.cc-display--md { margin-bottom: 18px; }
.cc-content .wp-block-heading.cc-display--lg { margin-bottom: 24px; }
.cc-content .cc-display--hero { margin-bottom: 28px; }
mark.has-inline-color { background: transparent; }
.cc-display mark { color: var(--grey-head); }

/* Lists typed by editors keep bullets; design lists don't. */
.cc-content ul.wp-block-list:not(.cc-rule-list):not(.cc-checks) { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.cc-content ol.wp-block-list { list-style: decimal; padding-left: 1.25em; margin: 0 0 1em; }
.cc-checks.wp-block-list { padding: 0; }
.cc-checks li { position: relative; display: block; padding-left: 30px; }
.cc-checks li::before {
	content: ''; position: absolute; left: 0; top: 15px; width: 18px; height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.5 10.2l2.4 2.4 4.6-4.8' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M6.5 10.2l2.4 2.4 4.6-4.8' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cc-checks + .wp-block-buttons { margin-top: 0; }

/* Buttons (core/button block styles) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button[class*="is-style-cc-"] .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--f-body); text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.wp-block-button[class*="is-style-cc-"] .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-cc-dark .wp-block-button__link { background: var(--ink); color: #fff; }
.wp-block-button.is-style-cc-dark .wp-block-button__link:hover { background: #2a2a2a; }
.wp-block-button.is-style-cc-outline .wp-block-button__link { background: #fff; color: var(--ink); border-color: var(--ink); }
.wp-block-button.is-style-cc-outline .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.wp-block-button.is-style-cc-light .wp-block-button__link { background: #fff; color: var(--ink); }
.wp-block-button.is-style-cc-light .wp-block-button__link:hover { background: #e9e9e9; }
.wp-block-button.is-style-cc-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.wp-block-button.is-style-cc-ghost .wp-block-button__link:hover { background: #fff; color: var(--ink); }
.wp-block-button.is-style-cc-link .wp-block-button__link { min-height: 0; padding: 0; background: none; color: inherit; border: 0; border-radius: 0; font-size: 14px; }
.wp-block-button.is-style-cc-link .wp-block-button__link:hover { transform: none; text-decoration: underline; text-underline-offset: 4px; }
.wp-block-button.is-style-cc-chip .wp-block-button__link { min-height: 0; padding: 10px 16px; background: #fff; color: var(--ink); border: 1px solid #cfcfcf; font-weight: 500; font-size: 13.5px; }
.wp-block-button.is-style-cc-chip .wp-block-button__link::before { content: ''; width: 12px; height: 12px; border: 1.4px solid var(--ink); border-radius: 3px; }
.wp-block-button.is-style-cc-chip .wp-block-button__link:hover { border-color: var(--ink); transform: none; }
.wp-block-button.has-arrow .wp-block-button__link::after {
	content: ''; width: 14px; height: 14px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cc-chips { margin-top: 36px; gap: 10px; }

/* Badge paragraph */
p.cc-badge { width: fit-content; }

/* Photos as image blocks */
.cc-content .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.cc-svc-card__photo img { border-radius: 0 !important; aspect-ratio: 3 / 2; height: auto !important; }
.cc-photo-tall { height: 100%; }
.cc-photo-tall img { min-height: 560px; }
.cc-banner { margin-top: 40px !important; }
.cc-banner img { aspect-ratio: 13 / 5; height: auto !important; }
.cc-svc-row__photo { align-self: start; position: sticky; top: 120px; }
.cc-svc-row__photo img { aspect-ratio: 4 / 3; height: auto !important; }
.cc-headshot img { aspect-ratio: 4 / 5; height: auto !important; }
.cc-map { flex: 1; min-height: 360px; display: flex; }
.cc-map img { flex: 1; border-radius: 24px !important; }

/* Hero trust row */
.cc-trust p { margin: 0; font-size: 14px; }
.cc-trust p.cc-trust__sub { font-size: 13px; color: var(--muted); }

/* Service cards */
.cc-svc-card__num { margin: 0; font-family: var(--f-display); color: #6b6b6b; font-size: 18px; }
.cc-svc-card__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cc-svc-card__body .wp-block-buttons { margin-top: auto; }
.cc-split-head__aside .wp-block-buttons { margin-top: 8px; }

/* Services rows */
.cc-svc-row__body .cc-bignum { margin: 0 0 8px; }
.cc-svc-row__body .cc-badge { margin-bottom: 22px; }
.cc-svc-groups .wp-block-heading { margin-bottom: 6px; }
.cc-feebox__amt { margin: 0; font-family: var(--f-display); font-size: 56px; line-height: 1; color: #fff; }

/* Rates tables */
.cc-rate-table { margin: 0; }
.cc-rate-table table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 14px; }
.cc-rate-table td { border: 0; border-top: 1px solid var(--line); padding: 12px 0; text-align: left; }
.cc-rate-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.cc-rate-card p.cc-muted { margin: 8px 0 18px; }

/* About */
.cc-std__num, .cc-steps__num { margin: 0 0 34px; }
.cc-steps__num { font-family: var(--f-display); font-size: 40px; line-height: 1; margin-bottom: 24px; }
.cc-std__num { display: block; font-family: var(--f-display); font-size: 26px; color: #6b6b6b; }
.cc-step { background: #fff; border-radius: var(--r-lg); padding: 28px; }
.cc-step h3 { font-size: 15px; margin-bottom: 6px; }
.cc-step p:last-child { font-size: 13.5px; color: var(--muted); margin: 0; }
.cc-std p:last-child { font-size: 13.5px; color: #b6b6b6; margin: 0; }
.cc-member p { margin: 0; }
.cc-member .cc-headshot { margin-bottom: 14px; }
.cc-member__name { font-size: 15px; }
.cc-member__title { font-size: 13px; color: var(--muted); }
.cc-story .cc-body p { color: #3a3a3a; }

/* Projects */
.cc-projects .cc-filter { margin: 0 0 32px; }

/* Service requests steps bar */
.cc-steps-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.cc-stepbar-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cc-stepbar { display: flex; gap: 16px; }
.cc-stepbar p.cc-stepbar__num { margin: 0; font-family: var(--f-display); font-size: 40px; line-height: .95; }
.cc-stepbar p { margin: 0; font-size: 15px; }
.cc-stepbar p.cc-stepbar__text { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* FAQ (details blocks) */
.cc-faq .wp-block-details { border-bottom: 1px solid var(--line); padding: 24px 0; margin: 0; }
.cc-faq .wp-block-details summary { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.cc-faq .wp-block-details p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* Contact info cards */
.cc-infocards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.cc-infocard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.cc-infocard p { margin: 0; }
.cc-infocard__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px !important; }
.cc-infocard__value { font-size: 17px; font-weight: 500; word-break: break-word; }
.cc-infocard__value a { text-decoration: none; }
.cc-urgent p a { color: #fff; }

@media (max-width: 960px) {
	.cc-svc-row__photo { position: relative; top: auto; }
	.cc-photo-tall img { min-height: 380px; }
	.cc-stepbar-list { grid-template-columns: 1fr; gap: 20px; }
	.cc-infocards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.cc-infocards { grid-template-columns: 1fr; }
	.cc-content .wp-block-buttons > .wp-block-button { flex: 1 1 auto; }
	.cc-content .wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; }
	.cc-content .wp-block-buttons > .wp-block-button.is-style-cc-link, .cc-chips > .wp-block-button { flex: 0 0 auto !important; }
	.cc-chips .wp-block-button__link, .cc-content .is-style-cc-link .wp-block-button__link { width: auto !important; }
}
.cc-feebox p.cc-feebox__amt { font-family: var(--f-display); font-size: 56px; line-height: 1; color: #fff; }
.cc-std p.cc-std__num { font-family: var(--f-display); font-size: 26px; color: #6b6b6b; margin: 0 0 34px; }
.cc-steps p.cc-steps__num { font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--ink); margin: 0 0 24px; }
.cc-cta__inner > .wp-block-buttons { flex: none; flex-wrap: nowrap; }
@media (max-width: 640px) { .cc-cta__inner > .wp-block-buttons { flex-wrap: wrap; width: 100%; } }
@media (max-width: 960px) { .cc-map { min-height: 0; } .cc-map img { aspect-ratio: 4 / 3; height: auto !important; } }

/* Toggles */
.cc-topbar--no-msg .cc-topbar__inner { justify-content: flex-end; }
.cc-hero__visual:not(:has(*)) { display: none; }
.cc-hero__grid:not(:has(.cc-hero__visual *)) { grid-template-columns: minmax(0, 1fr); }
.cc-hero__grid:not(:has(.cc-hero__visual *)) .cc-hero__copy { max-width: 980px; }

/* ==========================================================================
   v2.2 — Rates (live), Book a Bin, Property Pal answers
   ========================================================================== */
.cc-rate-table-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.cc-rate-table-t td { border-top: 1px solid var(--line); padding: 12px 0; text-align: left; }
.cc-rate-table-t td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.cc-rate-card__cta { margin: 18px 0 0; }
.cc-rates { scroll-margin-top: 120px; }

.cc-book-anchor { position: relative; top: -120px; }
.cc-bookbin { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cc-bookbin__main { background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.cc-step-block { border: 0; margin: 0; padding: 0 0 32px; }
.cc-step-block + .cc-step-block { border-top: 1px solid var(--line); padding-top: 28px; }
.cc-step-block:last-child { padding-bottom: 0; }
.cc-step-block legend { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-display); text-transform: uppercase; font-size: 24px; line-height: 1; margin-bottom: 20px; padding: 0; }
.cc-step-num { color: var(--num); }
.cc-legend-sm { font: 600 13px var(--f-body); margin: 6px 0 10px; }
.cc-hint { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 1em; }
.cc-opt { font-weight: 400; color: var(--muted); }

.cc-bincards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cc-bincard { position: relative; cursor: pointer; display: block; }
.cc-bincard input { position: absolute; opacity: 0; inset: 0; }
.cc-bincard__in { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.cc-bincard:hover .cc-bincard__in { border-color: #9a9a9a; }
.cc-bincard input:checked + .cc-bincard__in { background: var(--ink); border-color: var(--ink); color: #fff; }
.cc-bincard input:focus-visible + .cc-bincard__in { outline: 2px solid var(--ink); outline-offset: 3px; }
.cc-bincard__size { font-size: 30px; line-height: 1; }
.cc-bincard__price { font-weight: 700; font-size: 18px; }
.cc-bincard__for { font-size: 13.5px; }
.cc-bincard__inc { font-size: 12px; color: var(--muted); margin-top: auto; }
.cc-bincard input:checked + .cc-bincard__in .cc-bincard__inc { color: #b9b9b9; }
.cc-bincard.is-disabled { cursor: not-allowed; opacity: .4; }

.cc-radiopills { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-radiopills label { margin: 0; font-weight: 400; font-size: 14px; cursor: pointer; }
.cc-radiopills input { position: absolute; opacity: 0; }
.cc-radiopills span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #cfcfcf; border-radius: 999px; background: #fff; }
.cc-radiopills span::before { content: ''; width: 14px; height: 14px; border: 1.4px solid #777; border-radius: 50%; background: #fff; flex: none; }
.cc-radiopills input:checked + span { border-color: var(--ink); }
.cc-radiopills input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff; }
.cc-radiopills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.cc-bookbin label { display: block; font: 600 13px var(--f-body); margin-bottom: 16px; }
.cc-bookbin .cc-radiopills label, .cc-bookbin .cc-bincard { margin-bottom: 0; }
.cc-bookbin input[type=text], .cc-bookbin input[type=tel], .cc-bookbin input[type=email], .cc-bookbin input[type=date], .cc-bookbin select, .cc-bookbin textarea {
	display: block; width: 100%; margin-top: 8px; min-height: 48px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; font-weight: 400; font-size: 15px;
}
.cc-bookbin input:focus, .cc-bookbin select:focus, .cc-bookbin textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.cc-form__row--3 { grid-template-columns: repeat(3, 1fr); }

.cc-estimate { position: sticky; top: 110px; background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; }
.cc-estimate .cc-display--sm { margin-bottom: 18px; }
.cc-estimate__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 0; border-top: 1px solid var(--line-dark); color: #d6d6d6; }
.cc-estimate__lines li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }
.cc-estimate__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1.5px solid #fff; padding-top: 14px; margin: 4px 0 8px; font-size: 14px; }
.cc-estimate__total strong { font-family: var(--f-display); font-weight: 400; font-size: 38px; line-height: 1; }
.cc-estimate__note { font-size: 12.5px; color: #a8a8a8; margin-bottom: 20px; }
.cc-estimate .cc-btn--dark { background: #fff; color: var(--ink); }
.cc-estimate .cc-btn--dark:hover { background: #e9e9e9; }
.cc-estimate .cc-muted { color: #a8a8a8; font-size: 12.5px; margin: 14px 0 0; }
.cc-form-error { background: #fdecec; color: #8a1f1f; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }

.cc-booked { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 48px); max-width: 860px; }
.cc-booked .cc-display--md { margin-bottom: 24px; }
.cc-booked__sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 24px; }
.cc-booked__sum div { border-top: 1px solid var(--line); padding-top: 10px; }
.cc-booked__sum .is-wide { grid-column: 1 / -1; }
.cc-booked__sum dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cc-booked__sum dd { margin: 4px 0 0; font-weight: 600; }

/* Pal answers */
.cc-msg { white-space: pre-line; }
.cc-msg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; white-space: normal; }
.cc-msg__actions a { display: inline-block; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; text-decoration: none; }
.cc-msg__actions a:hover { background: #333; }
.cc-msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.cc-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9a; animation: ccDot 1s infinite ease-in-out; }
.cc-msg--typing i:nth-child(2) { animation-delay: .15s; }
.cc-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ccDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 1100px) {
	.cc-bookbin { grid-template-columns: 1fr; }
	.cc-estimate { position: static; }
}
@media (max-width: 640px) {
	.cc-form__row--3 { grid-template-columns: 1fr; }
	.cc-bincards { grid-template-columns: 1fr 1fr; }
	.cc-booked__sum { grid-template-columns: 1fr 1fr; }
}
.cc-rate-card .cc-rate-table-t td:first-child { font-weight: 400; text-align: left; padding-left: 0; white-space: normal; }

/* ==========================================================================
   Services dropdown (primary menu, 2 levels)
   ========================================================================== */
.cc-nav li.menu-item-has-children { position: relative; }
.cc-nav li.menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.cc-nav li.menu-item-has-children > a::after {
	content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.cc-nav .current-menu-ancestor > a, .cc-nav .current-menu-parent > a { border-bottom-color: var(--ink); font-weight: 600; }
.cc-nav .sub-menu {
	display: block; position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 290px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .25);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.cc-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.cc-nav li.menu-item-has-children:hover > .sub-menu,
.cc-nav li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cc-nav li.menu-item-has-children:hover > a::after,
.cc-nav li.menu-item-has-children:focus-within > a::after { transform: translateY(1px) rotate(225deg); }
.cc-nav .sub-menu li { display: block; }
.cc-nav .sub-menu li a { display: block; padding: 10px 14px; border: 0; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.cc-nav .sub-menu li a:hover, .cc-nav .sub-menu li a:focus-visible { background: var(--grey-bg); border: 0; }
.cc-nav .sub-menu .current-menu-item > a { border: 0; background: var(--grey-bg); font-weight: 600; }
.cc-nav .sub-menu .cc-menu-sub > a { padding-left: 34px; position: relative; color: #3a3a3a; }
.cc-nav .sub-menu .cc-menu-sub > a::before { content: '↳'; position: absolute; left: 16px; color: var(--grey-head); }

@media (max-width: 960px) {
	.cc-nav li.menu-item-has-children > a::after { display: none; }
	.cc-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		min-width: 0; padding: 0 0 12px; background: transparent; border-left: 1px solid var(--line); margin-left: 4px; border-radius: 0;
	}
	.cc-nav .sub-menu::before { display: none; }
	.cc-nav .sub-menu li a { font-family: var(--f-body); text-transform: none; font-size: 16px; font-weight: 500; padding: 7px 0 7px 16px; border-radius: 0; white-space: normal; }
	.cc-nav .sub-menu .cc-menu-sub > a { padding-left: 38px; }
	.cc-nav .sub-menu .cc-menu-sub > a::before { left: 18px; }
	.cc-nav .sub-menu li a:hover { background: transparent; text-decoration: underline; }
}

/* Property Pal™ mark */
.cc-tm { font-size: .55em; font-weight: 500; line-height: 0; vertical-align: super; margin-left: 1px; letter-spacing: 0; }
