/*
Theme Name: Omega Roofing v2
Theme URI: https://omegaroofing.com.au/
Author: Geekheads
Author URI: https://geekheads.au/
Description: Lightweight custom theme for Omega Roofing. No jQuery, Bootstrap or icon fonts. Works with Yoast SEO and Contact Form 7.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: orv2
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #082c4b;
	--navy-900: #051d33;
	--navy-700: #0d3a61;
	--red: #d7141e;
	--red-600: #bb111a;
	--red-tint: #fdeced;
	--ink: #0e1b28;
	--text: #33414f;
	--muted: #5b6876;
	--line: #dfe5eb;
	--alt: #f2f5f8;
	--white: #fff;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 10px 30px rgba(8, 44, 75, .10);
	--shadow-lg: 0 24px 60px rgba(5, 29, 51, .22);
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: 8px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 20, 30, .28); }
.btn-red:hover { background: var(--red-600); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--red-600); }
.btn-white:hover { background: var(--navy-900); color: #fff; }
.btn-outline-white { color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red-600); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--red-600); text-decoration: none; }
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico, .card:hover .link-arrow .ico { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #cfdbe6; font-size: .86rem; }
.topbar-inner { display: flex; align-items: center; gap: 26px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item .ico { color: var(--red); }
.topbar a { color: #fff; }
.topbar-phone { margin-left: auto; font-weight: 700; text-decoration: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(5, 29, 51, .10); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo img { width: auto; height: 56px; }
.site-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { display: block; padding: 28px 12px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: .98rem; }
.menu > li > a:hover, .menu > li:focus-within > a { color: var(--red-600); }
.sub-toggle { background: none; border: 0; padding: 4px; margin-left: -10px; color: var(--muted); cursor: pointer; }
.sub-toggle .ico { width: 18px; height: 18px; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--red); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .16s ease; }
.sub-wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.sub-open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub a:hover { background: var(--alt); color: var(--red-600); }
.nav-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.header-phone small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.header-phone .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.nav-toggle { display: none; margin-left: auto; background: var(--navy); color: #fff; border: 0; border-radius: 8px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 29, 51, .94) 0%, rgba(5, 29, 51, .82) 45%, rgba(5, 29, 51, .45) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 20px 84px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); text-transform: none; margin-bottom: 18px; }
.hero .lead { font-size: 1.2rem; color: #dbe5ee; max-width: 560px; margin-bottom: 28px; }
.hero .rating { margin-bottom: 22px; }
.hero-form { color: var(--text); }
.hero-form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.hero-form > p { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: #fff; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; }

.rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-size: .92rem; }
.rating:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.rating-stars { display: inline-flex; color: #fbbc04; }
.rating-stars .ico { width: 17px; height: 17px; }
.site-footer .rating, .contact-card .rating { margin: 6px 0 18px; }
.contact-card .rating { background: var(--alt); border-color: var(--line); color: var(--ink); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(1) contrast(1.1); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 29, 51, .96) 0%, rgba(8, 44, 75, .85) 55%, rgba(8, 44, 75, .55) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.page-hero-inner { position: relative; z-index: 1; padding: 56px 20px 64px; max-width: var(--wrap); }
.page-hero h1 { color: #fff; max-width: 880px; margin: 10px 0 14px; }
.page-hero .lead { font-size: 1.15rem; color: #d6e1eb; max-width: 760px; margin-bottom: 26px; }
.crumbs { font-size: .9rem; color: #b9c8d6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs span { margin: 0 4px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lead-dark { font-size: 1.25rem; color: var(--ink); font-weight: 600; }

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: #fff; font-size: 1.05rem; }
.trust-item span { color: #b9c8d6; font-size: .9rem; }
.trust-ico { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: var(--red); color: #fff; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-bottom-color: var(--red); color: var(--text); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-body h3, .card-body .h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-meta { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }

/* Alternating blocks */
.blocks .block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.blocks .block + .block { margin-top: 88px; }
.block-flip .block-media { order: 2; }
.block-media { position: relative; }
.block-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 4px solid var(--red); border-radius: var(--radius-lg); z-index: 0; }
.block-flip .block-media::before { inset: 22px 22px -22px -22px; }
.block-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.block-sub { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.blocks .block-text { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: center; }
.block-text .eyebrow { display: none; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 28px; }
.step-num { position: absolute; top: 18px; right: 22px; font-size: 3.4rem; font-weight: 900; color: var(--alt); line-height: 1; }
.step-ico { width: 54px; height: 54px; padding: 13px; border-radius: 12px; background: var(--red-tint); color: var(--red); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: var(--red) repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 20px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #ffe3e4; font-size: 1.08rem; }

/* Quote section */
.quote { background: var(--navy-900); color: #d6e1eb; }
.quote h2 { color: #fff; }
.quote a { color: #fff; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.quote-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.quote-points li { display: flex; gap: 12px; align-items: flex-start; }
.quote-points strong { color: #fff; }
.quote-points .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 2px; }
.quote-mini { padding: 64px 0; background: var(--navy); }
.services-more { text-align: center; margin-top: 40px; }
.quote-mini-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.quote-mini h2 { margin: 0; }
.quote-mini .btn-dark { background: #fff; color: var(--navy); }

/* Form card + Contact Form 7 */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--red); color: var(--text); }
.form-card h2 { color: var(--ink); }
.wpcf7 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wpcf7 .col-12 { grid-column: 1 / -1; }
.wpcf7 .col-md-6 { grid-column: auto; }
.hero-form .wpcf7 .row { grid-template-columns: 1fr; gap: 12px; }
.wpcf7 p { margin: 0; }
.wpcf7 .form-group { margin: 0; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d3dd; border-radius: 8px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.wpcf7 textarea { min-height: 120px; height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(8, 44, 75, .15); }
.wpcf7 ::placeholder { color: #6b7886; }
.wpcf7 input[type="submit"] { width: 100%; min-height: 54px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font: inherit; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; cursor: pointer; box-shadow: 0 8px 20px rgba(215, 20, 30, .28); }
.wpcf7 input[type="submit"]:hover { background: var(--red-600); }
/* Field states: red when invalid, green once filled in correctly. */
.wpcf7 .wpcf7-form-control:not([type="submit"]).wpcf7-not-valid,
.wpcf7 .wpcf7-form-control:not([type="submit"])[aria-invalid="true"],
.wpcf7 .wpcf7-form-control:not([type="submit"]):user-invalid { border-color: var(--red); background: #fff7f7; box-shadow: 0 0 0 3px rgba(215, 20, 30, .12); }
.wpcf7 .wpcf7-form-control:not([type="submit"]):not(.wpcf7-not-valid):not([aria-invalid="true"]):not(:placeholder-shown):user-valid,
.wpcf7 .wpcf7-form-control:not([type="submit"])[aria-invalid="false"]:not(:placeholder-shown) { border-color: #1e8e3e; background: #f6fbf7; box-shadow: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--red-600); }
/* Status message: hidden until there's something to say, never yellow. */
.wpcf7 form .wpcf7-response-output { margin: 14px 0 0; border: 0; border-radius: 8px; padding: 12px 14px; font-size: .95rem; font-weight: 600; }
.wpcf7 form .wpcf7-response-output:empty, .wpcf7 form.init .wpcf7-response-output { display: none; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border: 0; background: #fdeced; color: var(--red-600); }
.wpcf7 form.sent .wpcf7-response-output { border: 0; background: #e8f5ec; color: #1e6b34; }
.wpcf7-spinner { display: none; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.contact-card { background: var(--alt); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 22px; }
.contact-card h2 { font-size: 1.5rem; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 700; text-decoration: none; margin-bottom: 14px; }
.contact-line .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--red); color: #fff; }
p.contact-line { font-weight: 500; color: var(--text); }
.contact-img { border-radius: var(--radius-lg); width: 100%; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 29, 51, .9); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox button { position: absolute; background: #fff; color: var(--navy); border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close { top: -56px; right: 0; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Prose (privacy, posts) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.post-thumb { margin: 0 0 30px; }
.post-thumb img { border-radius: var(--radius-lg); }
.post-cta { margin-top: 2em; padding: 20px 24px; background: var(--red-tint); border-left: 4px solid var(--red); border-radius: 8px; font-weight: 600; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-weight: 700; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; }

/* ---------- SEO sections from inc/or-seo.php ---------- */
.row { display: flex; flex-wrap: wrap; gap: 32px; }
.col-lg-7 { flex: 1 1 56%; min-width: 0; }
.col-lg-5 { flex: 1 1 36%; min-width: 0; }
.col-lg-4 { flex: 1 1 calc(33.333% - 32px); min-width: 240px; }
.col-md-6 { min-width: 240px; }
.or-faq, .or-local, .or-areas { padding: 88px 0; }
.or-local { background: var(--alt); }
.or-areas { background: #fff; }
.or-faq { background: var(--alt); }
.orv2-home .or-faq, .orv2-roof-repairs-sydney .or-faq, .orv2-roofing-services .or-faq { background: #fff; }
.heading-layout1 { margin-bottom: 36px; }
.or-faq .heading-layout1, .or-areas .heading-layout1 { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.heading-layout1 h2::before { content: ""; display: block; width: 46px; height: 4px; background: var(--red); border-radius: 2px; margin: 0 auto 16px; }
.heading-layout1.text-left h2::before { margin-left: 0; }
.heading-layout1 p { color: var(--muted); font-size: 1.08rem; }
.or-faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.or-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; transition: box-shadow .2s ease; }
.orv2-home .or-faq-item, .orv2-roof-repairs-sydney .or-faq-item, .orv2-roofing-services .or-faq-item { background: var(--alt); border-color: transparent; }
.or-faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.or-faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 20px 64px 20px 24px; }
.or-faq-item summary::-webkit-details-marker { display: none; }
.or-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--red-tint); color: var(--red); font-size: 22px; font-weight: 700; line-height: 30px; text-align: center; }
.or-faq-item[open] summary::after { content: "\2212"; background: var(--red); color: #fff; }
.or-faq-item summary h3 { display: inline; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: 0; }
.or-faq-answer { padding: 0 24px 22px; }
.or-faq-answer p { margin: 0; color: var(--text); }
.or-faq-answer a, .or-local a, .or-areas a { color: var(--red-600); }
.or-local p { font-size: 1.05rem; }
.or-local-box { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.or-local-box h3, .or-area-group h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; }
.or-local-box ul { padding-left: 20px; margin-bottom: 22px; }
.or-local-box li { margin-bottom: 6px; }
.or-all-areas { margin: 0; font-weight: 700; }
.or-areas .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.or-areas .row > div { min-width: 0; }
.or-area-group { background: var(--alt); border-radius: var(--radius-lg); padding: 26px 28px; height: 100%; }
.or-area-group ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 18px; }
.or-area-group li { margin-bottom: 8px; break-inside: avoid; }
.or-area-group a { text-decoration: none; font-weight: 600; color: var(--ink); }
.or-area-group a:hover { color: var(--red-600); text-decoration: underline; }
.or-areas > .container > p.or-all-areas, .or-areas p.or-all-areas { text-align: center; margin-top: 30px; font-weight: 500; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c8d6; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 72px 20px 56px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-licence { color: #fff; font-weight: 600; }
.footer-licence a { color: #fff; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 0; }
.footer-title::after { content: ""; display: block; width: 32px; height: 3px; background: var(--red); margin-top: 10px; border-radius: 2px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #d6e1eb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 700; }
.footer-contact .ico { color: var(--red); width: 18px; height: 18px; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: var(--red); }
.social .ico { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding: 20px; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.menu > li > a { padding: 28px 9px; font-size: .95rem; }
}
@media (max-width: 1024px) {
	body { font-size: 16.5px; }
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.header-inner { min-height: 72px; }
	.logo img { height: 48px; }
	.site-nav { position: fixed; top: 112px; left: 0; right: 0; bottom: 0; background: #fff; padding: 12px 20px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; margin: 0; }
	.nav-open .site-nav { transform: none; }
	.nav-open { overflow: hidden; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.menu > li > a { padding: 16px 4px; flex: 1; font-size: 1.1rem; }
	.sub-toggle { margin: 0; padding: 12px; }
	.sub, .sub-wide { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 12px 8px; grid-template-columns: 1fr; }
	.has-sub:hover > .sub { display: none; }
	.has-sub.sub-open > .sub { display: block; }
	.nav-cta { display: block; margin-top: 20px; }
	.nav-cta .btn { width: 100%; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 20px 64px; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(2) { border-right: 0; }
	.trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.card-grid { grid-template-columns: 1fr 1fr; }
	.intro-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.blocks .block { gap: 48px; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1025px) { .hide-lg { display: none; } }
@media (max-width: 760px) {
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
	.section, .or-faq, .or-local, .or-areas { padding: 60px 0; }
	.topbar { font-size: .8rem; }
	.hide-sm { display: none; }
	.topbar-inner { gap: 12px; }
	.blocks .block { grid-template-columns: 1fr; gap: 36px; }
	.blocks .block + .block { margin-top: 64px; }
	.block-flip .block-media { order: 0; }
	.block-media::before { inset: 14px -10px -14px 14px; }
	.block-flip .block-media::before { inset: 14px -10px -14px 14px; }
	.card-grid, .gallery-grid { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 16px 4px; }
	.trust-item:last-child { border-bottom: 0; }
	.wpcf7 .row { grid-template-columns: 1fr; }
	.form-card { padding: 24px 20px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
	.footer-bottom-inner { flex-direction: column; }
	.or-area-group ul { columns: 2; }
	.page-hero-inner { padding: 40px 20px 48px; }
	/* Top bar: one tidy line (the call button lives in the bottom bar). */
	.topbar-inner { justify-content: center; min-height: 34px; white-space: nowrap; }
	.topbar-phone { display: none; }
	/* Header */
	.header-inner { min-height: 62px; gap: 12px; }
	.logo img { height: 40px; }
	.nav-toggle { width: 44px; height: 44px; }
	/* Home hero: get to the form fast, the bottom bar carries Call + Quote. */
	.hero .hero-grid { padding: 40px 16px 32px; gap: 24px; }
	.hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); margin-bottom: 12px; }
	.hero .lead { font-size: 1.02rem; line-height: 1.55; margin-bottom: 0; }
	.hero .rating { margin-bottom: 14px; padding: 6px 12px; font-size: .82rem; gap: 8px; }
	.hero .rating-stars .ico { width: 14px; height: 14px; }
	.hero .btn-row { display: none; }
	.ticks { margin-top: 16px; gap: 8px 16px; font-size: .9rem; }
	.ticks .ico { width: 20px; height: 20px; }
	.hero-form { padding: 22px 18px; }
	.hero-form h2 { font-size: 1.35rem; }
	/* Inner page hero */
	.page-hero .page-hero-inner { padding: 26px 16px 30px; }
	.page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin: 8px 0 10px; }
	.page-hero .lead { font-size: 1rem; margin-bottom: 18px; }
	.crumbs { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.page-hero .btn-row { flex-wrap: nowrap; gap: 10px; }
	.page-hero .btn-row .btn { flex: 1 1 0; min-height: 48px; padding: 10px 8px; font-size: .95rem; }
	.page-hero .ticks { display: none; }
	.page-hero .btn-red .ico { display: none; }
	.page-hero .btn-row .btn { white-space: nowrap; }
	/* Type and spacing */
	body { font-size: 16px; }
	h2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
	.container { padding: 0 16px; }
	.section-head { margin-bottom: 30px; }
	.cta-inner { padding: 36px 16px; }
	.cta-band .btn-row { width: 100%; }
	.cta-band .btn-row .btn, .quote-mini .btn-row .btn { flex: 1 1 0; padding: 10px 8px; }
	.quote-mini { padding: 40px 0; }
	.quote-mini h2 { font-size: 1.5rem; }
	.or-faq-item summary { padding: 16px 54px 16px 16px; }
	.or-faq-item summary h3 { font-size: 1rem; }
	.or-faq-item summary::after { right: 14px; }
	.or-faq-answer { padding: 0 16px 18px; }
	.or-local-box, .or-area-group, .contact-card { padding: 22px 18px; }
	.step { padding: 26px 20px 22px; }
	.card-body { padding: 20px; }
	.trust-item { padding: 14px 4px; }
	.trust-ico { width: 40px; height: 40px; padding: 9px; }
	.quote-grid { gap: 24px; }
	.quote-points { display: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(5, 29, 51, .18); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 800; font-size: 1.02rem; text-decoration: none; color: #fff; }
	.mobile-bar { padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
	.mobile-bar-call { background: var(--navy); }
	.mobile-bar-quote { background: var(--red); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* External links and downloads (same behaviour as Camden Wealth Advisers).
 * main.js adds .ext-link or .dl-link; add class="no-external-icon" to opt a link out. */
a.ext-link::after, a.dl-link::after { content: ""; display: inline-block; width: .75em; height: .75em; margin-left: 5px; position: relative; top: -1px; vertical-align: middle; background: currentColor; }
a.ext-link::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E") no-repeat center / contain; }
a.dl-link::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E") no-repeat center / contain; }
