/*
Theme Name: Coastal City Digital
Theme URI: https://coastalcitydigital.com
Author: Coastal City Digital
Description: Custom theme for Coastal City Digital — web design & development, automated customer service and digital marketing. On activation it creates editable Home, About Us, Services and Contact pages, the main menu, and a Contact Form 7 form (requires the Contact Form 7 plugin).
Version: 1.0.0
Requires at least: 6.3
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: coastalcitydigital
*/

/* ---------- Tokens ---------- */
:root {
	--ocd-navy: #060a2b;
	--ocd-midnight: #0d1145;
	--ocd-panel: #111651;
	--ocd-cyan: #00d2ff;
	--ocd-violet: #8a5cff;
	--ocd-magenta: #e046e6;
	--ocd-text: #1c2140;
	--ocd-muted: #5a6086;
	--ocd-light: #f4f6ff;
	--ocd-line: #e2e6f6;
	--ocd-white: #fff;
	--ocd-grad: linear-gradient(90deg, var(--ocd-cyan), var(--ocd-violet) 55%, var(--ocd-magenta));
	--ocd-radius: 14px;
	--ocd-max: 1200px;
	--ocd-head: "Space Grotesk", system-ui, sans-serif;
	--ocd-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ocd-shadow: 0 18px 50px -20px rgba(13, 17, 69, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--ocd-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ocd-text);
	background: var(--ocd-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #3a3fd8; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ocd-magenta); }
h1, h2, h3, h4 { font-family: var(--ocd-head); line-height: 1.2; color: var(--ocd-midnight); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--ocd-navy); }
.ocd-container { width: 100%; max-width: var(--ocd-max); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--ocd-cyan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.ocd-btn,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .85em 1.6em;
	border-radius: 999px;
	font-family: var(--ocd-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.ocd-btn-glow,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wpcf7-submit {
	background: var(--ocd-grad);
	color: #fff;
	box-shadow: 0 8px 26px -8px rgba(138, 92, 255, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.ocd-btn-glow:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wpcf7-submit:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -8px rgba(224, 70, 230, .8);
}
.ocd-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(6, 10, 43, .35); backdrop-filter: blur(4px); }
.ocd-btn-ghost:hover { color: var(--ocd-navy); background: #fff; border-color: #fff; }
.ocd-btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ocd-midnight);
	border: 2px solid var(--ocd-violet);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ocd-midnight); border-color: var(--ocd-midnight); color: #fff; }
.wp-block-buttons { gap: 12px; margin: 1.6em 0 0; }

/* ---------- Top bar & header ---------- */
.ocd-topbar { background: #03051d; color: #b9c0ec; font-size: .85rem; }
.ocd-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.ocd-topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.ocd-topbar a:hover { color: var(--ocd-cyan); }

.ocd-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6, 10, 43, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 210, 255, .18);
	transition: box-shadow .2s ease;
}
.admin-bar .ocd-site-header { top: 32px; }
.ocd-site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.ocd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.ocd-text-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.ocd-logo-text { font-family: var(--ocd-head); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.ocd-logo-text strong { font-weight: 700; margin-left: 4px; background: var(--ocd-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.custom-logo { max-height: 56px; width: auto; }

.ocd-primary-nav { display: flex; align-items: center; gap: 28px; }
.ocd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.ocd-menu a {
	display: block;
	padding: 8px 14px;
	color: #dfe3ff;
	text-decoration: none;
	font-family: var(--ocd-head);
	font-weight: 500;
	border-radius: 8px;
	position: relative;
}
.ocd-menu a::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
	background: var(--ocd-grad);
	transform: scaleX(0); transition: transform .2s ease;
}
.ocd-menu a:hover, .ocd-menu .current-menu-item > a, .ocd-menu .current_page_item > a { color: #fff; }
.ocd-menu a:hover::after, .ocd-menu .current-menu-item > a::after, .ocd-menu .current_page_item > a::after { transform: scaleX(1); }
.ocd-menu .sub-menu { display: none; }

.ocd-menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.ocd-burger, .ocd-burger::before, .ocd-burger::after { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.ocd-burger { position: relative; }
.ocd-burger::before, .ocd-burger::after { content: ""; position: absolute; left: 0; }
.ocd-burger::before { top: -8px; }
.ocd-burger::after { top: 8px; }
.ocd-menu-toggle[aria-expanded="true"] .ocd-burger { background: transparent; }
.ocd-menu-toggle[aria-expanded="true"] .ocd-burger::before { transform: translateY(8px) rotate(45deg); }
.ocd-menu-toggle[aria-expanded="true"] .ocd-burger::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) & banners (inner pages) ---------- */
.ocd-hero, .ocd-page-banner {
	position: relative;
	background-color: var(--ocd-navy);
	background-size: cover;
	background-position: right center;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}
.ocd-hero { min-height: clamp(480px, 36vw, 640px); display: flex; align-items: center; }
.ocd-hero-overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 10, 43, .92) 0%, rgba(6, 10, 43, .72) 38%, rgba(6, 10, 43, .15) 70%, rgba(6, 10, 43, 0) 100%),
		linear-gradient(0deg, rgba(6, 10, 43, .55), rgba(6, 10, 43, 0) 40%);
}
.ocd-hero-inner { padding-top: 70px; padding-bottom: 80px; }
.ocd-hero-inner > * { max-width: 640px; }
.ocd-hero-eyebrow, .ocd-eyebrow {
	font-family: var(--ocd-head);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 1em;
}
.ocd-hero-eyebrow { color: var(--ocd-cyan); }
.ocd-hero-title { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.8rem); margin-bottom: .45em; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.ocd-hero-text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #d9ddfb; margin-bottom: 2em; }
.ocd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ocd-page-banner { min-height: clamp(300px, 24vw, 400px); display: flex; align-items: center; }
.ocd-page-banner-inner { padding-top: 56px; padding-bottom: 60px; }
.ocd-page-banner-inner > * { max-width: 680px; }
.ocd-page-title { color: #fff; margin-bottom: .3em; }
.ocd-page-subtitle { color: #d9ddfb; font-size: 1.12rem; margin-bottom: 1.5em; }
.ocd-breadcrumb { font-size: .85rem; color: #aab2e6; margin-bottom: 14px; }
.ocd-breadcrumb a { color: var(--ocd-cyan); text-decoration: none; }

/* ---------- Page content layout ---------- */
.ocd-main { display: block; }
.ocd-entry { padding: 80px 0 0; }
.ocd-entry > * { max-width: var(--ocd-max); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.ocd-entry > * + * { margin-top: 0; }
.ocd-entry > .alignfull { max-width: none; }
.ocd-entry > .alignfull > * { max-width: var(--ocd-max); margin-left: auto; margin-right: auto; }
.ocd-entry > :last-child:not(.alignfull) { margin-bottom: 90px; }
.ocd-entry > .wp-block-group,
.ocd-entry > .wp-block-columns { margin-bottom: 90px; }
.ocd-entry .wp-block-group__inner-container > * { max-width: var(--ocd-max); margin-left: auto; margin-right: auto; }

.ocd-eyebrow { background: var(--ocd-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6em; display: inline-block; }
.lead { font-size: 1.2rem; color: var(--ocd-midnight); }

.ocd-intro { text-align: center; }
.ocd-intro > *, .ocd-intro .wp-block-group__inner-container > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.ocd-intro .wp-block-buttons { justify-content: center; }

/* Split image/text */
.wp-block-columns.ocd-split { gap: 64px; align-items: center; }
.ocd-glow-img { margin: 0; }
.ocd-glow-img img {
	border-radius: 18px;
	box-shadow: 0 0 0 1px rgba(0, 210, 255, .25), 0 30px 60px -25px rgba(138, 92, 255, .6);
}

/* Bands */
.alignfull.ocd-services-overview,
.alignfull.ocd-values {
	background: var(--ocd-light);
	padding: 90px 24px;
	text-align: center;
}
.ocd-services-overview > .wp-block-heading, .ocd-values > .wp-block-heading { margin-bottom: 1.2em; }

/* Cards */
.wp-block-columns.ocd-cards { gap: 22px; text-align: left; margin-top: 10px; }
.ocd-cards > .wp-block-column {
	background: #fff;
	border: 1px solid var(--ocd-line);
	border-radius: var(--ocd-radius);
	padding: 30px 26px;
	box-shadow: var(--ocd-shadow);
	position: relative;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.ocd-cards > .wp-block-column::before {
	content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ocd-grad);
}
.ocd-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(13, 17, 69, .45); }
.ocd-cards p { color: var(--ocd-muted); font-size: .97rem; }
.ocd-cards .wp-block-buttons { margin-top: auto; padding-top: 6px; }
.ocd-cards .wp-block-button__link { font-size: .9rem; padding: .7em 1.2em; }

/* Lists */
.ocd-entry ul.wp-block-list li { margin-bottom: .55em; }
ul.ocd-checklist { list-style: none; padding-left: 0; }
ul.ocd-checklist li { position: relative; padding-left: 34px; }
ul.ocd-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: .1em;
	width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff;
	background: var(--ocd-grad);
}
ul.ocd-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.ocd-tags li { margin: 0 !important; padding: 8px 16px; border-radius: 999px; background: var(--ocd-light); border: 1px solid var(--ocd-line); font-size: .92rem; font-weight: 500; color: var(--ocd-midnight); }

/* Process steps */
.ocd-steps { counter-reset: ocdstep; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 1.4em; }
.ocd-steps > .wp-block-group__inner-container { display: contents; }
.ocd-step {
	counter-increment: ocdstep;
	position: relative;
	padding: 64px 24px 22px;
	border-radius: var(--ocd-radius);
	background: linear-gradient(160deg, var(--ocd-midnight), var(--ocd-navy));
	color: #c9cff5;
	border: 1px solid rgba(0, 210, 255, .2);
	overflow: hidden;
}
.ocd-step::before {
	content: counter(ocdstep, decimal-leading-zero);
	position: absolute; top: 18px; left: 24px;
	font-family: var(--ocd-head); font-weight: 700; font-size: 1.6rem;
	background: var(--ocd-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ocd-step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 92, 255, .35), transparent 70%); }
.ocd-step h4 { color: #fff; margin-bottom: .4em; }
.ocd-step p { font-size: .95rem; margin: 0; }
.ocd-process { text-align: center; }
.ocd-process > p { max-width: 760px; margin-left: auto; margin-right: auto; }
.ocd-process .ocd-step { text-align: left; }

/* Services page */
.ocd-service { padding-top: 30px; border-top: 1px solid var(--ocd-line); }
.ocd-service:first-of-type { border-top: 0; }
.ocd-process-title { margin-top: 1.6em; }
.ocd-inline-cta {
	margin-top: 40px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
	padding: 26px 30px;
	border-radius: var(--ocd-radius);
	background: var(--ocd-light);
	border: 1px solid var(--ocd-line);
	border-left: 4px solid var(--ocd-violet);
}
.ocd-inline-cta > .wp-block-group__inner-container { display: contents; }
.ocd-inline-cta-text { margin: 0; font-family: var(--ocd-head); font-weight: 600; font-size: 1.15rem; color: var(--ocd-midnight); flex: 1 1 320px; }
.ocd-inline-cta .wp-block-buttons { margin: 0; }
.ocd-jump .wp-block-button__link { font-size: .9rem; padding: .6em 1.2em; }

/* CTA band (end of every page) */
.alignfull.ocd-cta-band {
	position: relative;
	margin-top: 0;
	margin-bottom: 0 !important;
	padding: 90px 24px;
	text-align: center;
	color: #d9ddfb;
	background: radial-gradient(ellipse at 20% 0%, rgba(0, 210, 255, .25), transparent 55%), radial-gradient(ellipse at 85% 100%, rgba(224, 70, 230, .3), transparent 55%), var(--ocd-navy);
	overflow: hidden;
}
.ocd-cta-band h2 { color: #fff; }
.ocd-cta-band p { max-width: 700px; margin-left: auto; margin-right: auto; font-size: 1.12rem; }
.ocd-cta-band .wp-block-buttons { justify-content: center; }

/* ---------- Contact page ---------- */
.wp-block-columns.ocd-contact-layout { gap: 56px; align-items: flex-start; }
.ocd-contact-layout > .wp-block-column:first-child { flex: 1 1 46%; }
.ocd-contact-layout > .wp-block-column:last-child { flex: 1 1 54%; }
.ocd-contact-card {
	margin: 28px 0 36px;
	padding: 26px 28px 14px;
	border-radius: var(--ocd-radius);
	background: linear-gradient(160deg, var(--ocd-midnight), var(--ocd-navy));
	color: #c9cff5;
}
.ocd-contact-card h3 { color: #fff; }
.ocd-contact-list { list-style: none; margin: 0; padding: 0; }
.ocd-contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.ocd-contact-list small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ocd-cyan); }
.ocd-contact-list a { color: #fff; text-decoration: none; font-weight: 500; }
.ocd-contact-list a:hover { color: var(--ocd-cyan); }
.ocd-ci-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 210, 255, .12); border: 1px solid rgba(0, 210, 255, .3); color: var(--ocd-cyan); }
.ocd-contact-layout .ocd-steps { grid-template-columns: 1fr; gap: 14px; }
.ocd-contact-layout .ocd-step { padding: 20px 22px 18px 76px; }
.ocd-contact-layout .ocd-step::before { top: 18px; left: 22px; }
.ocd-admin-hint { font-size: .85rem; padding: 10px 12px; border: 1px dashed var(--ocd-cyan); border-radius: 8px; color: inherit; }

.ocd-form-card {
	position: sticky;
	top: 110px;
	padding: 36px 34px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--ocd-line);
	box-shadow: 0 30px 80px -30px rgba(13, 17, 69, .45);
}
.ocd-form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: var(--ocd-grad); }
.ocd-form-note { font-size: .85rem; color: var(--ocd-muted); }

/* Contact Form 7 */
.wpcf7 form { margin: 0; }
.ocd-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ocd-cf7 .ocd-field { margin: 0 0 18px; }
.ocd-cf7 label, .ocd-cf7 legend { display: block; font-family: var(--ocd-head); font-weight: 600; font-size: .92rem; color: var(--ocd-midnight); }
.ocd-cf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.ocd-cf7 input[type="text"], .ocd-cf7 input[type="email"], .ocd-cf7 input[type="tel"], .ocd-cf7 textarea {
	width: 100%;
	padding: 13px 15px;
	font: inherit; font-size: 1rem;
	color: var(--ocd-text);
	background: var(--ocd-light);
	border: 1.5px solid var(--ocd-line);
	border-radius: 10px;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ocd-cf7 textarea { min-height: 120px; resize: vertical; }
.ocd-cf7 input:focus, .ocd-cf7 textarea:focus { outline: none; background: #fff; border-color: var(--ocd-violet); box-shadow: 0 0 0 4px rgba(138, 92, 255, .15); }
.ocd-services-field { border: 0; padding: 0; }
.ocd-services-field legend { margin-bottom: 8px; padding: 0; }
.ocd-services-field .wpcf7-checkbox { display: grid; gap: 10px; margin-top: 0; }
.ocd-services-field .wpcf7-list-item { margin: 0; display: block; }
.ocd-services-field .wpcf7-list-item label {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 14px;
	border: 1.5px solid var(--ocd-line);
	border-radius: 10px;
	font-family: var(--ocd-body); font-weight: 500; font-size: .98rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.ocd-services-field .wpcf7-list-item label:hover { border-color: var(--ocd-violet); }
.ocd-services-field .wpcf7-list-item label:has(input:checked) { border-color: var(--ocd-violet); background: rgba(138, 92, 255, .07); }
.ocd-services-field input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ocd-violet); }
.ocd-submit-row { margin: 6px 0 0; }
.wpcf7-submit { width: 100%; padding: 1em 1.6em; font-size: 1.05rem; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }
.wpcf7-not-valid-tip { font-size: .85rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; border-radius: 10px; padding: 12px 14px; }

/* ---------- Footer ---------- */
.ocd-site-footer { background: #03051d; color: #aeb5e2; font-size: .95rem; }
.ocd-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.ocd-site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.ocd-footer-about p { margin: 18px 0 22px; }
.ocd-footer-menu { list-style: none; margin: 0; padding: 0; display: block; }
.ocd-footer-menu li { margin-bottom: 10px; }
.ocd-footer-menu a { color: #aeb5e2; text-decoration: none; padding: 0; }
.ocd-footer-menu a::after { display: none; }
.ocd-footer-menu a:hover { color: var(--ocd-cyan); }
.ocd-site-footer .ocd-contact-list a { color: #fff; }
.ocd-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.ocd-footer-bottom p { margin: 0; }

/* Posts (fallback) */
.ocd-posts { padding-top: 60px; padding-bottom: 80px; }
.ocd-post { padding: 24px 0; border-bottom: 1px solid var(--ocd-line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.ocd-footer-grid { grid-template-columns: 1fr 1fr; }
	.ocd-primary-nav { gap: 16px; }
	.ocd-menu a { padding: 8px 10px; }
}
@media (max-width: 900px) {
	.ocd-menu-toggle { display: block; }
	.ocd-primary-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 8px;
		padding: 16px 24px 24px;
		background: var(--ocd-navy);
		border-bottom: 1px solid rgba(0, 210, 255, .2);
		display: none;
	}
	.ocd-primary-nav.is-open { display: flex; }
	.ocd-menu { flex-direction: column; }
	.ocd-menu a { padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
	.ocd-menu a::after { display: none; }
	.ocd-header-cta { margin-top: 8px; }
	.ocd-hero { background-position: 70% center; }
	.ocd-hero-overlay { background: linear-gradient(90deg, rgba(6, 10, 43, .9), rgba(6, 10, 43, .65)); }
	.wp-block-columns.ocd-split, .wp-block-columns.ocd-contact-layout { gap: 36px; }
	.ocd-split-reverse { flex-direction: column-reverse; }
	.ocd-form-card { position: relative; top: 0; }
	.ocd-entry { padding-top: 56px; }
	.ocd-entry > .wp-block-group, .ocd-entry > .wp-block-columns { margin-bottom: 64px; }
	.ocd-topbar-tag { display: none; }
}
@media (max-width: 781px) {
	.ocd-split-reverse { flex-direction: column-reverse !important; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ocd-container, .ocd-entry > * { padding-left: 16px; padding-right: 16px; }
	.alignfull.ocd-services-overview, .alignfull.ocd-values, .alignfull.ocd-cta-band { padding: 64px 16px; }
	.ocd-cf7-row { grid-template-columns: 1fr; }
	.ocd-form-card { padding: 28px 20px; }
	.ocd-footer-grid { grid-template-columns: 1fr; }
	.ocd-hero-actions .ocd-btn { width: 100%; }
	.ocd-inline-cta { padding: 22px 20px; }
	.ocd-topbar a { margin: 0 14px 0 0; }
	.admin-bar .ocd-site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Tablet / iPad (portrait & landscape) ---------- */
@media (min-width: 601px) and (max-width: 1100px) {
	/* 4-up card rows become a 2×2 grid instead of squeezing */
	.wp-block-columns.ocd-cards { flex-wrap: wrap !important; }
	.wp-block-columns.ocd-cards > .wp-block-column { flex: 1 1 calc(50% - 11px) !important; flex-basis: calc(50% - 11px) !important; }
	.ocd-steps { grid-template-columns: repeat(2, 1fr); }
	.ocd-hero { min-height: 460px; }
	.ocd-hero-inner > * { max-width: 560px; }
}
@media (min-width: 782px) and (max-width: 1024px) {
	/* side-by-side image/text and contact columns stay readable on iPad landscape */
	.wp-block-columns.ocd-split { gap: 36px; }
	.wp-block-columns.ocd-contact-layout { flex-wrap: wrap !important; }
	.ocd-contact-layout > .wp-block-column { flex-basis: 100% !important; }
	.ocd-form-card { position: relative; top: 0; }
}
@media (max-width: 781px) {
	.wp-block-columns.ocd-cards > .wp-block-column { flex-basis: 100% !important; }
	.ocd-inline-cta .wp-block-buttons, .ocd-inline-cta .wp-block-button, .ocd-inline-cta .wp-block-button__link { width: 100%; }
}
@media (max-width: 600px) {
	.ocd-steps { grid-template-columns: 1fr; }
	.ocd-hero { min-height: 0; }
	.ocd-hero-inner { padding-top: 56px; padding-bottom: 64px; }
	.ocd-page-banner { min-height: 0; }
	.ocd-logo-text { font-size: 1.1rem; }
	.ocd-header-inner { min-height: 68px; }
	.ocd-entry > :last-child:not(.alignfull) { margin-bottom: 60px; }
}

/* ---------- Review fixes ---------- */
/* Hero: keep the left side calm behind the headline */
.ocd-hero-overlay {
	background:
		linear-gradient(90deg, rgba(6, 10, 43, .95) 0%, rgba(6, 10, 43, .86) 42%, rgba(6, 10, 43, .35) 64%, rgba(6, 10, 43, 0) 82%),
		linear-gradient(0deg, rgba(6, 10, 43, .55), rgba(6, 10, 43, 0) 40%);
}
@media (max-width: 1024px) {
	/* Tablet & phone: form first on the Contact page, details below */
	.wp-block-columns.ocd-contact-layout { flex-direction: column-reverse; flex-wrap: nowrap !important; }
	.ocd-contact-layout > .wp-block-column { flex-basis: auto !important; width: 100%; }
	/* iPad portrait: stack image/text sections */
	.wp-block-columns.ocd-split { flex-wrap: wrap !important; }
	.wp-block-columns.ocd-split > .wp-block-column { flex-basis: 100% !important; }
	.ocd-glow-img img { max-width: 720px; margin: 0 auto; width: 100%; }
}
@media (max-width: 900px) {
	.ocd-hero-overlay { background: linear-gradient(90deg, rgba(6, 10, 43, .92), rgba(6, 10, 43, .74)); }
}

/* ---------- FAQ (home) ---------- */
.ocd-faq { text-align: center; }
.ocd-faq > *, .ocd-faq .wp-block-group__inner-container > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.ocd-faq .wp-block-details {
	text-align: left;
	border: 1px solid var(--ocd-line);
	border-radius: 12px;
	background: #fff;
	margin-bottom: 12px;
	box-shadow: 0 10px 30px -22px rgba(13, 17, 69, .5);
}
.ocd-faq .wp-block-details summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 56px 18px 22px;
	font-family: var(--ocd-head);
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--ocd-midnight);
	position: relative;
}
.ocd-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ocd-faq .wp-block-details summary::after {
	content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ocd-grad); color: #fff; font-size: 1.1rem; line-height: 1;
}
.ocd-faq .wp-block-details[open] summary::after { content: "–"; }
.ocd-faq .wp-block-details p { padding: 0 22px 18px; margin: 0; color: var(--ocd-muted); }
.ocd-process .wp-block-buttons { justify-content: center; margin-top: 2em; }

/* ---------- Feature grids (Services page detail blocks) ---------- */
.ocd-features {
	margin-top: 44px;
	padding: 38px 36px 14px;
	border-radius: 18px;
	background: linear-gradient(160deg, var(--ocd-midnight), var(--ocd-navy));
	color: #c9cff5;
	position: relative;
	overflow: hidden;
}
.ocd-features::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ocd-grad); }
.ocd-features > h3, .ocd-features .wp-block-group__inner-container > h3 { color: #fff; font-size: 1.5rem; }
.ocd-features > p { color: #c9cff5; }
.wp-block-columns.ocd-feature-row { gap: 22px; margin-bottom: 22px; }
.ocd-feature-row > .wp-block-column {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(0, 210, 255, .22);
	border-radius: 14px;
	padding: 24px 24px 8px;
}
.ocd-feature-row h4 {
	color: #fff;
	background: var(--ocd-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-size: 1.15rem;
}
.ocd-feature-row p { font-size: .97rem; }
@media (max-width: 600px) {
	.ocd-features { padding: 28px 18px 6px; }
}
