/* Paste into: Appearance > Editor > Styles > (⋮ menu) > Additional CSS
   Change the colours here to re-brand the whole page. */

:root {
	--re-navy: #0f2a44;
	--re-gold: #c9a227;
	--re-cream: #f7f5f0;
	--re-text: #1d2530;
	/* Hero photo: replace with your own image URL from the Media Library */
	--re-hero-img: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=70");
}

/* Remove theme gaps between full-width sections */
.wp-block-post-content > .alignfull { margin-block: 0 !important; }

.re-section { padding: clamp(48px, 8vw, 96px) 20px; color: var(--re-text); }
.re-alt { background: var(--re-cream); }
.re-section h2 { margin-bottom: 0.4em; }
.re-section h2 + .wp-block-columns { margin-top: 2em; }
.re-section h3 { font-weight: 600; }
.re-section-sub { opacity: 0.75; margin-bottom: 2.5em; }

/* Hero */
.re-hero {
	background: linear-gradient(rgba(15, 42, 68, 0.88), rgba(15, 42, 68, 0.88)), var(--re-hero-img) center / cover no-repeat;
	color: #fff;
}
.re-hero h1, .re-hero h2, .re-hero p, .re-hero li { color: #fff; }
.re-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 0.2em 0 0.4em; }
.re-hero-cols { gap: clamp(24px, 5vw, 64px); align-items: center; }
.re-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; color: var(--re-gold) !important; font-weight: 700; }
.re-lead { font-size: 1.15rem; opacity: 0.92; }
.re-ticks { list-style: none; padding-left: 0; }
.re-ticks li { padding-left: 1.8em; position: relative; margin: 0.5em 0; }
.re-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--re-gold); font-weight: 700; }
.re-call a { color: var(--re-gold); font-weight: 700; }

/* Lead form */
.re-form-card { background: #fff; color: var(--re-text); border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.re-form-card .re-form-title { color: var(--re-navy) !important; font-size: 1.5rem; margin: 0 0 4px; }
.re-form-card .re-form-sub { color: #5a6573 !important; margin: 0 0 18px; font-size: 0.95rem; }
.re-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; color: var(--re-text); }
.re-form input[type=text], .re-form input[type=tel], .re-form input[type=email], .re-form select {
	display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 12px;
	border: 1px solid #cfd6de; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--re-text);
}
.re-form input:focus, .re-form select:focus { outline: 2px solid var(--re-gold); border-color: var(--re-gold); }
.re-form .re-consent { font-weight: 400; font-size: 0.78rem; line-height: 1.4; display: flex; gap: 8px; align-items: flex-start; }
.re-form .re-consent a { color: var(--re-navy); }
.re-form button {
	width: 100%; padding: 16px; border: 0; border-radius: 8px; cursor: pointer;
	background: var(--re-gold); color: var(--re-navy); font: inherit; font-weight: 800; font-size: 1.05rem;
}
.re-form button:hover { filter: brightness(1.05); }
.re-form button:disabled { opacity: 0.6; cursor: wait; }
.re-form-error { color: #b42318 !important; font-size: 0.9rem; margin-top: 10px; }
.re-hp { position: absolute !important; left: -9999px !important; }

/* Stats bar */
.re-stats { background: var(--re-navy); padding: 28px 20px; }
.re-stats h3 { color: var(--re-gold); font-size: 2rem; margin: 0; }
.re-stats p { color: #fff; opacity: 0.85; margin: 0; }

/* Cards (steps + testimonials) */
.re-card { background: #fff; border: 1px solid #e6e2d8; border-radius: 14px; padding: 28px; }
.re-step-num {
	width: 44px; height: 44px; border-radius: 50%; background: var(--re-navy); color: var(--re-gold);
	display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0;
}
.re-quote p:first-child { font-size: 1.05rem; font-style: italic; }
.re-quote-name { font-weight: 700; color: var(--re-navy); margin-bottom: 0; }

/* FAQ */
.re-faq { background: #fff; border-radius: 10px; padding: 18px 22px; margin-top: 12px !important; border: 1px solid #e6e2d8; }
.re-faq summary { font-weight: 700; cursor: pointer; color: var(--re-navy); }

/* Buttons inside our sections */
.re-section .wp-element-button { background: var(--re-gold); color: var(--re-navy); font-weight: 800; border-radius: 8px; }
.re-section .is-style-outline .wp-element-button { background: transparent; color: #fff; border: 2px solid #fff; }

.re-section .re-btn-dark .wp-element-button { color: var(--re-navy); border-color: var(--re-navy); }

/* Pricing plans */
.re-plans { align-items: stretch !important; }
.re-plan { position: relative; }
.re-plan h3 { margin-top: 0; }
.re-price { font-size: 2.2rem; font-weight: 800; color: var(--re-navy); margin: 0.2em 0; }
.re-price span { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.re-featured { border: 2px solid var(--re-gold); box-shadow: 0 16px 40px rgba(15, 42, 68, 0.12); }
.re-badge {
	position: absolute; top: -14px; left: 28px; margin: 0; padding: 4px 12px; border-radius: 999px;
	background: var(--re-gold); color: var(--re-navy); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}

/* "Sample page" strip on the demo page (delete the block for a real client) */
.re-demo-bar { background: var(--re-gold); padding: 10px 20px; }
.re-demo-bar p { margin: 0; color: var(--re-navy); font-weight: 600; font-size: 0.9rem; }
.re-demo-bar a { color: var(--re-navy); font-weight: 800; }

/* "Who you'll work with" */
.re-about { background: var(--re-navy); }
.re-about h2, .re-about p { color: #fff; }
.re-about p { font-size: 1.1rem; opacity: 0.92; }
.re-about strong { color: var(--re-gold); }
.re-avatar { margin: 0 auto; text-align: center; }
.re-avatar img {
	width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
	border: 4px solid var(--re-gold); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Privacy policy */
.re-policy h2 { font-size: 1.4rem; margin-top: 1.6em !important; }
.re-policy a { color: var(--re-navy); }
.re-policy-date { opacity: 0.6; font-size: 0.9rem; }

/* Thank-you page */
.re-check {
	width: 72px; height: 72px; margin: 0 auto !important; border-radius: 50%; background: var(--re-gold);
	color: var(--re-navy) !important; font-size: 2.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.re-next li { margin: 0.6em 0; font-size: 1.05rem; }

/* Footer */
.re-footer { background: #0a1d30; padding: 24px 20px; }
.re-footer p { color: #b8c2cc; font-size: 0.85rem; margin: 0; }
.re-footer a { color: #fff; }

/* Sticky Call / Valuation bar, phones only */
.re-mobile-bar { display: none; }

/* Phones: get the form on screen sooner */
@media (max-width: 781px) {
	.re-hero.re-section { padding-top: 32px; padding-bottom: 40px; }
	.re-hero h1 { font-size: 1.9rem; }
	.re-hero .re-lead { font-size: 1rem; }
	.re-ticks li { margin: 0.25em 0; }
	.re-call { display: none; }
	.re-form-card { padding: 20px; }
	.re-stats .wp-block-columns { flex-wrap: wrap !important; gap: 16px 0; }
	.re-stats .wp-block-columns > .wp-block-column.wp-block-column { flex-basis: 50% !important; }
	.re-stats h3 { font-size: 1.6rem; }
	.re-footer { padding-bottom: 88px; }
	.re-mobile-bar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; gap: 8px; padding: 10px 12px;
		background: var(--re-navy); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
	}
	.re-mobile-bar a {
		flex: 1; text-align: center; padding: 14px 8px; border-radius: 8px; font-weight: 800; text-decoration: none;
	}
	.re-mobile-call { border: 2px solid #fff; color: #fff; }
	.re-mobile-cta { background: var(--re-gold); color: var(--re-navy); }
}
