/* PowerCore public pages — landing, booking form, invitation. */
.pc-landing, .pc-formpage, .pc-booking, .pc-invite {
	--pc-ink: #0a0a0a; --pc-muted: #6b6b6b; --pc-line: #e6e6e6; --pc-card: #f7f7f7; --pc-bad: #b42318; --pc-ok: #1f7a3a; --pc-warn: #8a5a00;
	--pc-ease: cubic-bezier(.2,.7,.2,1);
	color: var(--pc-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.55;
}
.pc-landing *, .pc-formpage *, .pc-booking *, .pc-invite * { box-sizing: border-box; }
body.pc-landing-body, body.pc-invite-body { margin: 0; background: #fff; }

/* Buttons */
.pc-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px;
	background: var(--pc-ink); color: #fff; border: 2px solid var(--pc-ink); border-radius: 10px;
	font-weight: 700; font-size: 16px; letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background .2s var(--pc-ease), color .2s var(--pc-ease), transform .1s var(--pc-ease), box-shadow .2s var(--pc-ease);
}
.pc-btn:hover { background: #262626; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.pc-btn:active { transform: translateY(1px); }
.pc-btn:focus-visible { outline: 3px solid var(--pc-ink); outline-offset: 3px; }
.pc-btn[disabled] { opacity: .6; cursor: progress; }
.pc-btn--outline { background: #fff; color: var(--pc-ink); }
.pc-btn--outline:hover { background: var(--pc-ink); color: #fff; }
.pc-btn--sm { min-height: 38px; padding: 8px 18px; font-size: 14px; }

/* Landing */
.pc-preview-bar { background: var(--pc-ink); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }
.pc-preview-bar a { color: #fff; }
.pc-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--pc-line); position: sticky; top: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); z-index: 10; }
.pc-nav__logo { height: 56px; width: auto; }
.pc-nav nav { display: flex; align-items: center; gap: 24px; }
.pc-nav nav a:not(.pc-btn) { color: var(--pc-ink); text-decoration: none; font-weight: 600; }
.pc-nav nav a:not(.pc-btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.pc-hero { text-align: center; padding: 64px 16px 72px; max-width: 820px; margin: 0 auto; }
.pc-hero__logo { width: 180px; height: auto; margin-bottom: 8px; }
.pc-hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.pc-hero p { font-size: clamp(17px, 2.2vw, 20px); color: var(--pc-muted); margin: 0 0 28px; }
.pc-section { padding: 64px max(16px, calc((100% - 1120px) / 2)); }
.pc-section--alt { background: var(--pc-card); border-top: 1px solid var(--pc-line); border-bottom: 1px solid var(--pc-line); }
.pc-section h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.01em; margin: 0 0 28px; text-align: center; }
.pc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pc-card { background: #fff; border: 1px solid var(--pc-line); border-radius: 14px; padding: 24px; transition: border-color .2s var(--pc-ease), transform .2s var(--pc-ease), box-shadow .2s var(--pc-ease); }
.pc-card:hover { border-color: var(--pc-ink); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.07); }
.pc-card h3 { margin: 0 0 8px; font-size: 18px; }
.pc-card p { margin: 0; color: var(--pc-muted); }
.pc-benefits { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.pc-benefits li { padding-left: 30px; position: relative; font-weight: 600; }
.pc-benefits li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--pc-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }
.pc-contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.pc-contact strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--pc-muted); margin-bottom: 4px; }
.pc-contact a { color: var(--pc-ink); font-weight: 600; }
.pc-footer { text-align: center; padding: 28px 16px; color: var(--pc-muted); font-size: 14px; border-top: 1px solid var(--pc-line); }

/* Booking form */
.pc-booking { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--pc-line); border-radius: 16px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 12px 40px rgba(0,0,0,.05); }
.pc-booking__title { text-align: center; margin: 0 0 8px; font-size: clamp(24px, 3.5vw, 32px); }
.pc-booking__intro { text-align: center; color: var(--pc-muted); margin: 0 0 24px; }
.pc-form { display: flex; flex-direction: column; gap: 16px; }
.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.pc-span-2 { grid-column: span 2; }
.pc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pc-form input, .pc-form select {
	width: 100%; min-height: 48px; padding: 10px 14px; font-size: 16px; color: var(--pc-ink); background: #fff;
	border: 1px solid #cfcfcf; border-radius: 10px; font-family: inherit;
	transition: border-color .15s var(--pc-ease), box-shadow .15s var(--pc-ease);
}
.pc-form input:focus, .pc-form select:focus { outline: none; border-color: var(--pc-ink); box-shadow: 0 0 0 2px rgba(0,0,0,.12); }
.pc-form .has-error input, .pc-form .has-error select { border-color: var(--pc-bad); }
.pc-err { color: var(--pc-bad); font-weight: 500; font-size: 13px; }
.pc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc-form .pc-btn--primary { width: 100%; min-height: 56px; font-size: 18px; }
.pc-form__status { min-height: 1.5em; text-align: center; font-weight: 600; }
.pc-form__status.is-ok { color: var(--pc-ok); }
.pc-form__status.is-warn { color: var(--pc-warn); }
.pc-form__status.is-error { color: var(--pc-bad); }
.pc-callnow { width: 100%; }
.pc-callnow[hidden] { display: none; }

/* Invitation */
.pc-invite { max-width: 440px; margin: 48px auto; padding: 32px 24px; border: 1px solid var(--pc-line); border-radius: 16px; text-align: center; }
.pc-invite__logo { width: 160px; height: auto; }
.pc-invite h1 { font-size: 24px; margin: 8px 0; }
.pc-invite .pc-form { text-align: left; margin-top: 16px; }
.pc-alert { padding: 10px 14px; border-radius: 8px; border: 1px solid var(--pc-line); text-align: left; }
.pc-alert--error { border-color: var(--pc-bad); color: var(--pc-bad); }

@media (max-width: 860px) {
	.pc-cards { grid-template-columns: 1fr 1fr; }
	.pc-contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.pc-nav nav a:not(.pc-btn) { display: none; }
	.pc-nav__logo { height: 44px; }
	.pc-cards, .pc-benefits, .pc-contact, .pc-grid { grid-template-columns: 1fr; }
	.pc-span-2 { grid-column: auto; }
	.pc-section { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.pc-landing *, .pc-booking * { transition: none !important; }
	html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* Multi-service landing additions */
.pc-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--pc-muted); margin: 0 0 12px !important; }
.pc-nav nav a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pc-areas { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pc-areas li { background: #fff; border: 1px solid var(--pc-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.pc-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.pc-footer__links a { color: var(--pc-ink); font-weight: 600; text-decoration: none; }
.pc-footer__links a:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.pc-nav nav { gap: 12px; }
	.pc-nav nav a:not(.pc-btn) { display: none; }
}

/* =====================================================================
   Campaign layout v1.3 — alternating white / photographic sections
   ===================================================================== */
.pc-landing { background: #ffffff; color: #111111; }

/* Photographic sections: exact 60% black overlay, white text (spec §3). */
.powercore-image-section {
	position: relative;
	isolation: isolate;
	background-color: #1a1a1a; /* shown only until the image arrives */
	background-size: cover;
	background-position: var(--pc-pos, 50% 50%);
	background-repeat: no-repeat;
	color: #ffffff;
}
.powercore-image-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.60);
	z-index: 0;
	pointer-events: none;
}
.powercore-image-section > .section-content {
	position: relative;
	z-index: 1;
	color: #ffffff;
}
.powercore-image-section .section-content :is(h1, h2, h3, h4, p, li) { color: #ffffff; }

/* Section frames */
.pc-landing .section-content { max-width: 1120px; margin: 0 auto; }
.pc-landing .pc-hero {
	max-width: none; margin: 0; text-align: center;
	min-height: clamp(520px, 78vh, 760px);
	display: flex; align-items: center; justify-content: center;
	padding: 96px 16px;
}
.pc-landing .pc-hero .section-content { max-width: 860px; }
.pc-landing .pc-hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 18px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.pc-landing .pc-hero .pc-eyebrow { color: #ffffff !important; opacity: .9; }
.pc-lead { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.6; margin: 0 auto 28px; max-width: 760px; }
.pc-band { padding: clamp(72px, 10vw, 120px) 16px; min-height: 420px; display: flex; align-items: center; }
.pc-band .section-content { width: 100%; text-align: center; }
.pc-band h2 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -.01em; margin: 0 0 28px; }

/* White sections (spec §4) */
.pc-white { background: #ffffff; color: #111111; padding: clamp(64px, 9vw, 104px) 16px; }
.pc-white h2 { color: #111111; font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.01em; text-align: center; margin: 0 0 16px; }
.pc-white h3 { color: #111111; }
.pc-white p, .pc-white .pc-card p { color: #444444; }
.pc-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; font-size: 18px; line-height: 1.7; color: #444444; }
.pc-white .pc-card { border-color: #e5e5e5; }

/* Benefits on photo: frosted rows, white text */
.powercore-image-section .pc-benefits { max-width: 880px; text-align: left; }
.powercore-image-section .pc-benefits li { font-size: 17px; }
.powercore-image-section .pc-benefits li::before { background-color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E"); }

/* How it works */
.pc-steps-public { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.pc-steps-public li { border: 1px solid #e5e5e5; border-radius: 14px; padding: 28px 24px; background: #ffffff; transition: border-color .2s var(--pc-ease), transform .2s var(--pc-ease), box-shadow .2s var(--pc-ease); }
.pc-steps-public li:hover { border-color: #111111; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.07); }
.pc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #111111; color: #ffffff; font-weight: 700; margin-bottom: 14px; }
.pc-steps-public h3 { margin: 0 0 8px; font-size: 18px; color: #111111; }
.pc-steps-public p { margin: 0; color: #444444; }

/* Areas on photo */
.pc-areas-title { font-size: 18px; margin: 36px 0 16px; text-transform: uppercase; letter-spacing: .08em; }
.powercore-image-section .pc-areas li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); color: #ffffff; backdrop-filter: blur(2px); }

/* Final CTA */
.pc-final { text-align: center; border-top: 1px solid #e5e5e5; }
.pc-final .pc-contact { margin-top: 48px; padding-top: 32px; border-top: 1px solid #e5e5e5; }
.pc-final .pc-contact a { color: #111111; }

/* Buttons: black on white sections, white on photo sections */
.pc-white .pc-btn--primary, .pc-final .pc-btn--primary { background: #111111; border-color: #111111; color: #ffffff; }
.pc-btn--light { background: #ffffff; color: #111111; border: 2px solid #ffffff; }
.pc-btn--light:hover, .pc-btn--light:focus-visible { background: transparent; color: #ffffff; border-color: #ffffff; box-shadow: none; }
.powercore-image-section .pc-btn:focus-visible { outline-color: #ffffff; }

/* Booking form stays a clean white card (no overlay styling) */
#book .pc-booking { box-shadow: 0 16px 48px rgba(0,0,0,.08); }

/* Tablet */
@media (max-width: 1024px) {
	.pc-steps-public { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Mobile: use the mobile focal point; heights follow content */
@media (max-width: 900px) {
	.powercore-image-section { background-position: var(--pc-pos-m, var(--pc-pos, 50% 50%)); }
	.pc-landing .pc-hero { min-height: 72vh; padding: 72px 20px; }
	.pc-band { min-height: 0; }
}
@media (max-width: 600px) {
	.pc-steps-public { grid-template-columns: 1fr; }
	.powercore-image-section .pc-benefits { grid-template-columns: 1fr; }
	.pc-landing .pc-hero { min-height: 0; padding: 64px 20px 72px; }
	.pc-intro { font-size: 17px; text-align: left; }
}

/* Booking form: call now / callback / consultation choice (v1.10.0) */
.pc-form .pc-choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.pc-form .pc-choice legend { padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.pc-form .pc-choice__opt { position: relative; flex-direction: row; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #cfcfcf; border-radius: 10px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pc-form .pc-choice__opt input { width: 18px; min-height: 0; height: 18px; padding: 0; margin: 2px 0 0; flex: 0 0 18px; accent-color: #111; }
.pc-form .pc-choice__opt span { display: flex; flex-direction: column; gap: 2px; }
.pc-form .pc-choice__opt strong { font-size: 15px; line-height: 1.25; }
.pc-form .pc-choice__opt small { font-size: 13px; font-weight: 500; color: var(--pc-muted); }
.pc-form .pc-choice__opt:has(input:checked) { border-color: var(--pc-ink); box-shadow: inset 0 0 0 1px var(--pc-ink); }
.pc-form .pc-choice__opt:has(input:focus-visible) { outline: 3px solid var(--pc-ink); outline-offset: 2px; }
.pc-form .pc-callback[hidden] { display: none; }
/* Homeowner yes / no: sits beside the ZIP code, same height as a text field. */
.pc-form .pc-yesno { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pc-form .pc-yesno legend { padding: 0; margin: 0 0 6px; font-size: 14px; font-weight: 600; float: left; width: 100%; }
.pc-form .pc-yesno__opts { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-form .pc-yesno__opt { position: relative; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.pc-form .pc-yesno__opt input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: 0 0 18px; accent-color: #111; }
.pc-form .pc-yesno__opt:has(input:checked) { border-color: var(--pc-ink); box-shadow: inset 0 0 0 1px var(--pc-ink); }
.pc-form .pc-yesno__opt:has(input:focus-visible) { outline: 3px solid var(--pc-ink); outline-offset: 2px; }
.pc-form .pc-yesno.has-error .pc-yesno__opt { border-color: var(--pc-bad); }
.pc-form .pc-choice__opt.is-disabled { opacity: .5; cursor: not-allowed; background: var(--pc-card); }
.pc-form .pc-choice__opt.is-disabled small { color: var(--pc-warn); font-weight: 600; }

/* Form-only landing page: just the booking form. */
.pc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pc-formpage { max-width: 760px; margin: 0 auto; padding: clamp(16px, 4vh, 48px) 16px; }
.pc-formpage .pc-booking__title, .pc-formpage .pc-booking__intro { display: none; }

/* Phones and small tablets: the whole form fits one screen, nothing scrolls. */
@media (max-width: 900px) {
	html:has(body.pc-formpage-body), body.pc-formpage-body { height: 100%; overflow: hidden; overscroll-behavior: none; }
	/* Single column is taller: let short phones scroll rather than cut off the button. */
	body.pc-formpage-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
	body.pc-formpage-body { height: 100dvh; }
	.pc-formpage { box-sizing: border-box; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 10px 12px; }
	.pc-formpage .pc-booking { border: 0; box-shadow: none; border-radius: 0; padding: 0; width: 100%; }
	.pc-formpage .pc-form { gap: clamp(6px, 1.4vh, 12px); }
	/* One question per row on phones. */
	.pc-formpage .pc-grid { grid-template-columns: 1fr; gap: clamp(4px, 1vh, 10px) 8px; }
	.pc-formpage .pc-span-2 { grid-column: auto; }
	.pc-formpage .pc-form label { gap: 2px; font-size: 12px; line-height: 1.2; }
	/* 16px text keeps iPhones from zooming in when a field is tapped. */
	.pc-formpage .pc-form input, .pc-formpage .pc-form select { font-size: 16px; min-height: 0; height: clamp(36px, 5.6vh, 46px); padding: 0 10px; }
	.pc-formpage .pc-form .pc-yesno { gap: 2px; }
	.pc-formpage .pc-form .pc-yesno legend { font-size: 12px; line-height: 1.2; margin-bottom: 2px; }
	.pc-formpage .pc-form .pc-yesno__opts { gap: 6px; }
	.pc-formpage .pc-form .pc-yesno__opt { min-height: 0; height: clamp(36px, 5.6vh, 46px); border-radius: 8px; font-size: 15px; gap: 6px; }
	.pc-formpage .pc-form .pc-yesno__opt input { width: 16px; height: 16px; flex-basis: 16px; }
	.pc-formpage .pc-form .pc-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.pc-formpage .pc-form .pc-choice legend { font-size: 12px; margin-bottom: 4px; }
	.pc-formpage .pc-form .pc-choice__opt { padding: 8px 6px; gap: 6px; align-items: center; border-radius: 8px; }
	.pc-formpage .pc-form .pc-choice__opt input { margin: 0; width: 16px; height: 16px; flex-basis: 16px; }
	.pc-formpage .pc-form .pc-choice__opt strong { font-size: 12.5px; line-height: 1.15; }
	.pc-formpage .pc-form .pc-choice__opt small { display: none; }
	.pc-formpage .pc-form .pc-choice__opt.is-disabled small { display: block; font-size: 10.5px; line-height: 1.1; }
	.pc-formpage .pc-form .pc-btn--primary { min-height: clamp(44px, 6.5vh, 54px); font-size: 17px; }
	.pc-formpage .pc-form__status { min-height: 1.2em; font-size: 13px; line-height: 1.25; }
	.pc-formpage .pc-err { font-size: 11px; font-weight: 600; }
}
@media (max-width: 360px) {
	.pc-formpage .pc-form .pc-choice__opt { padding: 7px 5px; gap: 4px; }
	.pc-formpage .pc-form .pc-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pc-formpage .pc-form .pc-choice__opt strong { font-size: 11.5px; }
}
/* Landscape phones: four fields per row so the form still fits the short screen. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
	.pc-formpage { max-width: none; }
	.pc-formpage .pc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.pc-formpage .pc-span-2 { grid-column: span 2; }
}
@media (max-width: 420px) { .pc-form .pc-choice { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .pc-formpage .pc-form .pc-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pc-form .pc-optional { font-weight: 400; color: var(--pc-muted); }

/* Form-only page logo */
.pc-formpage__head { text-align: center; margin: 0 0 16px; }
.pc-formpage__logo { display: inline-block; height: 88px; width: auto; }
@media (max-width: 900px) {
	.pc-formpage__head { margin: 0 0 clamp(4px, 1.2vh, 10px); }
	.pc-formpage__logo { height: clamp(72px, 15vh, 120px); }
}
