/* WordPress and WPBakery integration for the compiled design in styles.css.
   Everything is scoped to .cwc-page so the design CSS stays untouched. */

body.cwc-body { margin: 0; }
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
a.sr-only:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 12px 16px; clip: auto; overflow: visible; background: var(--ink); color: var(--ivory); border-radius: 6px; }

/* --- WPBakery rows become the full-width section bands of the design --- */
.cwc-page .vc_row { margin-left: 0; margin-right: 0; }
.cwc-page .vc_row::before { display: none; }
.cwc-page .vc_row:not(.grain)::after { display: none; }
.cwc-page .vc_row.grain::after { content: ""; display: block; clear: none; }
.cwc-page .vc_row > .vc_column_container,
.cwc-page .vc_row > .wpb_column { float: none; width: 100%; position: relative; padding-left: 0; padding-right: 0; }
.cwc-page .vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; width: 100%; }
.cwc-page .vc_column-inner::before, .cwc-page .vc_column-inner::after { display: none; }
.cwc-page .wpb_content_element, .cwc-page .vc_row .wpb_wrapper > .wpb_content_element { margin-bottom: 0; }

/* A row with a single column behaves like .container-lux (centred, 1320px, side padding). */
.cwc-page .vc_row > .vc_column_container:only-child { max-width: 1320px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .cwc-page .vc_row > .vc_column_container:only-child { padding-inline: 2.5rem; } }

/* Row class "cwc-flush": for hero, banner and call-to-action elements that draw their own full-width section. */
.cwc-page .vc_row.cwc-flush > .vc_column_container:only-child { max-width: none; padding-inline: 0; }

/* Space between a heading and the content that follows it inside one column. */
.cwc-page .vc_column-inner > .wpb_wrapper > .cwc-gap-top { margin-top: 4rem; }

/* Decorative glow used on the dark "How we work" band: add class cwc-glow-tr to the row. */
.cwc-page .vc_row.cwc-glow-tr::before { display: block; content: ""; position: absolute; right: -10rem; top: 0; width: 600px; height: 600px; border-radius: 9999px; opacity: 0.6; background: var(--gradient-glow); pointer-events: none; }

/* Button on light backgrounds. */
.cwc-btn-ink { border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); color: var(--ink); font-weight: 600; }
.cwc-btn-ink:hover { border-color: var(--gold); background: var(--paper); }

/* Form messages */
.quote-status[data-state="success"] { color: #067647; font-weight: 600; }
.quote-status[data-state="error"] { color: #b42318; font-weight: 600; }
.glass .quote-status { color: var(--ivory); }
.glass .quote-status[data-state="success"] { color: #7ee2a8; }
.glass .quote-status[data-state="error"] { color: #ffb4a8; }

/* Text added with the standard WPBakery Text Block, and pages without the builder. */
.cwc-prose, .cwc-page .wpb_text_column { font-size: 1.02rem; line-height: 1.75; color: var(--slate); }
.cwc-prose h1, .cwc-prose h2, .cwc-prose h3, .cwc-prose h4,
.cwc-page .wpb_text_column h1, .cwc-page .wpb_text_column h2, .cwc-page .wpb_text_column h3, .cwc-page .wpb_text_column h4 { color: var(--ink); line-height: 1.1; margin: 2rem 0 1rem; }
.cwc-prose h2, .cwc-page .wpb_text_column h2 { font-size: 2.25rem; }
.cwc-prose h3, .cwc-page .wpb_text_column h3 { font-size: 1.6rem; }
.cwc-prose > :first-child, .cwc-page .wpb_text_column .wpb_wrapper > :first-child { margin-top: 0; }
.cwc-prose p, .cwc-page .wpb_text_column p { margin: 0 0 1.1rem; }
.cwc-prose ul, .cwc-page .wpb_text_column ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.1rem; }
.cwc-prose ol, .cwc-page .wpb_text_column ol { list-style: decimal; padding-left: 1.4rem; margin: 0 0 1.1rem; }
.cwc-prose a, .cwc-page .wpb_text_column a { color: var(--gold-hover); text-decoration: underline; text-underline-offset: 3px; }
.cwc-prose img, .cwc-page .wpb_text_column img { max-width: 100%; height: auto; border-radius: 8px; }
.cwc-page .wpb_single_image img { max-width: 100%; height: auto; border-radius: 8px; }

/* Native WPBakery buttons and headings sit comfortably inside the design. */
.cwc-page .vc_btn3 { font-family: var(--font-sans); }
.cwc-page .vc_custom_heading { color: var(--ink); line-height: 1.1; }

/* Centre the video pop-up (Tailwind reset zeroes the dialog's auto margins) */
#video-dialog { position:fixed; inset:0; margin:auto; max-height:92vh; overflow:auto; }
#video-dialog[open] { display:block; }

/* --- Intro with photo and icon points (cwc_intro) --- */
.cwc-intro { display: grid; gap: 2.5rem; }
.cwc-intro-text { font-size: 1.02rem; line-height: 1.75; color: var(--slate); }
.cwc-intro-text p { margin: 0 0 1.1rem; }
.cwc-intro-link { margin-top: 1.75rem; }
.cwc-intro-link a { display: inline-flex; color: var(--ink); }
.cwc-intro-link .link-gold { color: var(--ink) !important; }
.cwc-figure { position: relative; margin: 0; overflow: hidden; border-radius: 0.5rem; background: var(--ink); }
.cwc-figure-img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; object-position: center 20%; }
.cwc-figure-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1.15rem 1.35rem; background: #000; color: #fff; font-size: 0.8rem; font-weight: 600; }
.cwc-figure-tag { color: var(--gold); }
.cwc-points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.cwc-point { display: flex; gap: 1.1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.cwc-point-icon { flex: none; width: 1.6rem; height: 1.6rem; margin-top: 0.15rem; color: var(--gold); }
.cwc-point h3 { margin: 0 0 0.45rem; font-size: 1.12rem; line-height: 1.3; font-weight: 600; color: var(--ink); }
.cwc-point p { margin: 0; font-size: 0.88rem; line-height: 1.85; color: var(--slate); }
@media (min-width: 1024px) {
	.cwc-intro { grid-template-columns: 1fr 1fr; column-gap: 6rem; row-gap: 3.5rem; align-items: start; }
	.cwc-points { margin-top: 0; }
	.cwc-intro-head { padding-top: 0.25rem; }
	.cwc-intro-text { padding-top: 2.2rem; }
}

/* --- FAQ accordion (cwc_faq) --- */
.cwc-faq { display: grid; gap: 3rem; }
.cwc-faq-lead { margin-top: 1.5rem; max-width: 24rem; font-size: 1.02rem; line-height: 1.75; color: var(--slate); }
.cwc-faq-lead p { margin: 0; }
.cwc-faq-contact { margin-top: 2.5rem; padding-top: 1.75rem; max-width: 24rem; border-top: 1px solid var(--border); }
.cwc-faq-contact > p { margin: 0; font-size: 0.85rem; color: var(--slate); }
.cwc-faq-phone { display: flex; align-items: center; gap: 0.7rem; margin: 0.9rem 0 1.5rem; font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.cwc-faq-main { border-top: 1px solid var(--ink); }
.cwc-faq-main > div { counter-reset: cwcfaq; }
.cwc-faq-item { border-bottom: 1px solid var(--border); }
.cwc-faq-item summary { display: flex; align-items: center; gap: 1.25rem; padding: 1.6rem 0; cursor: pointer; list-style: none; }
.cwc-faq-item summary::-webkit-details-marker { display: none; }
.cwc-faq-item summary::before { counter-increment: cwcfaq; content: counter(cwcfaq, decimal-leading-zero); flex: none; width: 1.5rem; font-size: 0.7rem; color: var(--slate); }
.cwc-faq-item summary h3 { flex: 1; margin: 0; font-size: 1.02rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.cwc-faq-icon { position: relative; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 9999px; transition: background-color 0.3s; }
.cwc-faq-icon::before, .cwc-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.3s; }
.cwc-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.cwc-faq-item[open] .cwc-faq-icon { background: var(--gold); }
.cwc-faq-item[open] .cwc-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.cwc-faq-body { padding: 0 3rem 1.75rem 2.75rem; font-size: 0.92rem; line-height: 1.9; color: var(--slate); }
.cwc-faq-body p { margin: 0; }
.cwc-faq-note { display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 0; font-size: 0.8rem; color: var(--slate); }
@media (min-width: 1024px) {
	.cwc-faq { grid-template-columns: 0.8fr 1.2fr; column-gap: 6rem; align-items: start; }
}
@media (max-width: 640px) {
	.cwc-faq-body { padding: 0 0 1.5rem 0; }
}

/* How We Work panels: photo above the heading */
.cwc-method-img { display: block; width: 100%; margin-top: 2rem; aspect-ratio: 3.1 / 1; object-fit: cover; border-radius: 0.375rem; }
@media (max-width: 640px) {
	.cwc-method-img { aspect-ratio: 16 / 9; }
}

/* Areas We Cover dropdown */
.cwc-areas-group + .cwc-areas-group { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.cwc-areas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem 1.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.cwc-areas-grid a { display: block; padding: 0.4rem 0.5rem; border-radius: 0.375rem; font-size: 0.92rem; font-weight: 600; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.cwc-areas-grid a:hover { background: var(--ivory); color: var(--gold-hover); }
.cwc-areas-foot { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Services dropdown: wasp removal towns beneath the Wasp Removal item */
.cwc-svc-wide { grid-column: 1 / -1; margin-top: 0.5rem; padding: 0.5rem 1rem 1rem; background: var(--ivory); border: 1px solid var(--border); border-radius: 0.5rem; }
.cwc-svc-wide > a:hover { background: var(--paper); }
.cwc-svc-sub { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.1rem 1rem; margin: 0.5rem 0 0; padding: 1rem 0 0 0.75rem; border-top: 1px solid var(--border); list-style: none; }
.cwc-svc-sub a { display: block; padding: 0.3rem 0.5rem; border-radius: 0.375rem; font-size: 0.88rem; font-weight: 600; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.cwc-svc-sub a:hover { background: var(--paper); color: var(--gold-hover); }.cwc-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Reusable sections: a row that only holds a reusable section is flush, as the section carries its own row, background and spacing. */
.cwc-page .vc_row:has(> .vc_column_container:only-child > .vc_column-inner > .wpb_wrapper > .cwc-section:only-child) > .vc_column_container:only-child { max-width: none; padding-inline: 0; }

/* Main section spacing (matches the final mockup): about 50px between sections, 25px above and below each one.
   A dark or coloured band keeps 50px inside so its content does not touch the edge. Change the two numbers to adjust the whole site. */
.cwc-page { --cwc-section-gap: 25px; --cwc-section-gap-band: 50px; }
.cwc-page .vc_row[class*="py-24"] { padding-top: var(--cwc-section-gap); padding-bottom: var(--cwc-section-gap); }
.cwc-page .vc_row[class*="py-24"].bg-ink { padding-top: var(--cwc-section-gap-band); padding-bottom: var(--cwc-section-gap-band); }

/* cwc-video-frame-gap: the video's gold frame sits 1.5rem above the image on desktop, so add that to the row's top padding to keep the normal gap above it. */
@media (min-width: 768px) {
  .cwc-page .vc_row[class*="py-24"]:has([data-cwc-video]) { padding-top: calc(var(--cwc-section-gap) + 1.5rem); }
  .cwc-page .vc_row[class*="py-24"]:has(.cwc-frame-offset) { padding-top: calc(var(--cwc-section-gap) + 1.5rem); }
}

/* Info card (Feature element, style "Info card"): bordered card with a short rule, a title and text. */
.cwc-info-card { border: 1px solid var(--border); border-radius: 0.5rem; background: var(--ivory); padding: 2rem; }
.cwc-info-card::before { content: ""; display: block; width: 2.5rem; height: 1px; background: color-mix(in oklab, var(--gold) 45%, transparent); }
.cwc-info-card h3 { margin-top: 1.5rem; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.cwc-info-card p { margin-top: 1rem; line-height: 1.7; color: var(--slate, #5b6470); }

/* Contact page: contact cards, numbered steps, image caption. */
.cwc-contact-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 0.5rem; background: #fff; padding: 2rem; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.cwc-contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cwc-contact-card .cwc-cc-icon { width: 2rem; height: 2rem; color: var(--gold); }
.cwc-contact-card h3 { margin-top: 1.25rem; font-size: 1.5rem; color: var(--ink); }
.cwc-contact-card p { margin-top: 0.75rem; line-height: 1.7; color: var(--slate, #5b6470); }
.cwc-contact-card strong { margin-top: 1.25rem; font-size: 0.95rem; font-weight: 700; color: var(--ink); word-break: break-word; }
.cwc-contact-card strong.is-big { font-size: 1.25rem; }
.cwc-contact-card .cwc-cc-link { margin-top: auto; padding-top: 1.25rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.cwc-steps { display: grid; border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; background: #fff; }
@media (min-width: 768px) { .cwc-steps { grid-template-columns: 1fr 1fr; } .cwc-steps .cwc-step:nth-child(odd) { border-right: 1px solid var(--border); } .cwc-steps .cwc-step:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 767px) { .cwc-steps .cwc-step + .cwc-step { border-top: 1px solid var(--border); } }
.cwc-step { padding: 1.75rem 1.75rem 2rem; }
.cwc-step-num { display: block; font-size: 0.75rem; font-weight: 700; color: var(--gold); }
.cwc-step h3 { margin-top: 1.25rem; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.cwc-step p { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.6; color: var(--slate, #5b6470); }
.cwc-img-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 2rem 1.75rem; background: linear-gradient(to top, rgba(10,10,10,.85), rgba(10,10,10,0)); color: #fff; }
.cwc-img-caption span { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.cwc-img-caption p { margin-top: 0.4rem; font-size: 1.15rem; line-height: 1.3; }
/* Required fields: red asterisk. Labels get a span; placeholder text is an overlay so the asterisk can be coloured. */
.cwc-star { color: #e11d2e; font-weight: 700; }
.cwc-field { position: relative; }
.cwc-field .cwc-ph { position: absolute; left: 1rem; right: 2.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 0.92rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: color-mix(in oklab, var(--slate, #5b6470) 60%, transparent); }
.cwc-field.is-area .cwc-ph { top: 0.8rem; transform: none; }
.cwc-field input:not(:placeholder-shown) ~ .cwc-ph, .cwc-field textarea:not(:placeholder-shown) ~ .cwc-ph, .cwc-field select:valid ~ .cwc-ph { display: none; }
.cwc-field select.cwc-sel:invalid { color: transparent; }
.cwc-field select.cwc-sel option { color: #111; }
/* Photo call-to-action banner (Photo CTA element). */
.cwc-photo-cta { position: relative; display: flex; align-items: center; min-height: 20rem; overflow: hidden; border-radius: 0.5rem; background: #0a0a0a; color: #fff; box-shadow: var(--shadow-lift); }
.cwc-photo-cta .cwc-pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cwc-photo-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 38%, rgba(10,10,10,0) 72%); }
.cwc-photo-cta .cwc-pc-body { position: relative; z-index: 1; max-width: 36rem; padding: 3rem 2rem; }
.cwc-photo-cta h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; color: #fff; }
.cwc-photo-cta .cwc-pc-text { margin-top: 1rem; max-width: 28rem; line-height: 1.7; color: rgba(255,255,255,.78); }
@media (max-width: 767px) { .cwc-photo-cta::after { background: rgba(10,10,10,.78); } }
/* Areas list card (Areas list element, style "Card with map-pin list"). */
.cwc-area-card { border: 1px solid var(--border); border-radius: 0.5rem; background: #fff; padding: 2rem; box-shadow: var(--shadow-soft); }
.cwc-area-card h3 { font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.cwc-area-card > p { margin-top: 0.75rem; line-height: 1.6; color: var(--slate, #5b6470); }
.cwc-area-list { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .cwc-area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cwc-area-list a, .cwc-area-list .cwc-area-item { display: flex; align-items: center; gap: 0.5rem; height: 100%; border: 1px solid var(--border); border-radius: 0.375rem; background: var(--ivory); padding: 0.6rem 0.75rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s; }
.cwc-area-list a:hover { border-color: var(--gold); background: #fff; }
.cwc-area-list .cwc-pin { flex: none; width: 1.1rem; height: 1.1rem; color: var(--gold); }
/* Split hero: photo on top, headline + buttons left, light quote form right (Hero: photo above element, Compact form style). */
.cwc-hero-split { margin-top: -92px; background: #fff; }
.cwc-hs-photo { position: relative; background: #0a0a0a; }
.cwc-hs-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0) 140px); }
.cwc-hs-img { display: block; width: 100%; height: auto; }
.cwc-hs-body { display: grid; gap: 2.5rem; align-items: center; padding-block: 25px; }
@media (min-width: 1024px) { .cwc-hs-body { grid-template-columns: 1.3fr 1px 1fr; gap: 3rem; } }
.cwc-hs-text h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; font-weight: 700; color: var(--ink); }
.cwc-hs-accent { color: var(--gold); font-style: normal; }
.cwc-hs-sub { display: block; margin-top: 0.6rem; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 700; color: var(--ink); }
.cwc-hs-lead { margin-top: 1.25rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.cwc-hs-btns { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.cwc-hs-call { border: 2px solid var(--ink) !important; color: var(--ink) !important; background: #fff !important; }
.cwc-hs-call:hover { background: var(--paper) !important; }
.cwc-hs-divider { display: none; width: 1px; align-self: stretch; background: var(--border); }
@media (min-width: 1024px) { .cwc-hs-divider { display: block; } }
.cwc-compact-form { border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; padding: 1.5rem; box-shadow: var(--shadow-soft); }
.cwc-cf-title { margin-bottom: 1rem; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.cwc-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.cwc-cf-grid > .is-full { grid-column: 1 / -1; }