/* ==========================================================================
   OrganiClean theme styles
   Quiet luxury in the spirit of a coastal Maine inn: warm ivory, navy ink,
   brand teal as the signature accent, serif headings, generous space, and
   photographs that fade softly into the page.
   Colours and fonts are set as CSS variables in inc/enqueue.php.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--oc-radius: 6px;
	--oc-radius-pill: 999px;
	--oc-max: 1240px;
	--oc-narrow: 760px;
	--oc-gutter: clamp(20px, 4vw, 48px);
	--oc-space-1: 8px;
	--oc-space-2: 16px;
	--oc-space-3: 24px;
	--oc-space-4: 40px;
	--oc-space-5: 64px;
	--oc-space-6: clamp(72px, 10vw, 140px);
	--oc-ease: cubic-bezier(.22, .61, .36, 1);
	--oc-header-h: 124px;
	--oc-bar-h: 84px;
	--oc-feather: 7%;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--oc-ivory);
	color: var(--oc-navy);
	font-family: var(--oc-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--oc-deep-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s var(--oc-ease); }
a:hover { color: var(--oc-navy); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--oc-font-heading);
	font-weight: 600;
	color: var(--oc-navy);
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); line-height: 1.25; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

::selection { background: var(--oc-teal); color: var(--oc-navy); }

:focus-visible {
	outline: 2px solid var(--oc-deep-teal);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text,
.oc-skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.oc-skip-link:focus {
	position: fixed; z-index: 1000; top: 12px; left: 12px;
	background: var(--oc-navy); color: var(--oc-ivory);
	padding: 10px 18px; border-radius: var(--oc-radius-pill);
}

/* ---------- Layout ---------- */
.oc-container { width: 100%; max-width: calc(var(--oc-max) + 2 * var(--oc-gutter)); margin-inline: auto; padding-inline: var(--oc-gutter); }
.oc-container--narrow { max-width: calc(var(--oc-narrow) + 2 * var(--oc-gutter)); }
.oc-section { padding-block: var(--oc-space-6); }
.oc-center { text-align: center; }
.oc-main { display: block; }
.oc-main:focus { outline: none; }
.oc-elementor-content { width: 100%; }

/* ---------- Brand details ---------- */

/* Eyebrow: a quiet italic serif note, like a line on an inn's menu card. */
.oc-eyebrow {
	font-family: var(--oc-font-heading);
	font-style: italic;
	font-weight: 500;
	font-size: 1.12rem;
	letter-spacing: .01em;
	color: var(--oc-deep-teal);
	margin: 0 0 .7em;
}
.oc-eyebrow--light { color: var(--oc-ivory); opacity: .92; }

/* Divider from the Brand Guidelines: two fine rules with a teal dot. */
.oc-divider {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 22px;
}
.oc-divider::before,
.oc-divider::after {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--oc-slate-light);
}
.oc-divider span {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--oc-teal);
}

.oc-lead { font-size: 1.2rem; line-height: 1.65; }
.oc-tagline,
.oc-brand-line {
	font-family: var(--oc-font-heading);
	font-style: italic;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	color: var(--oc-deep-teal);
	text-align: center;
	margin: 0;
}
.oc-brand-line--light { color: var(--oc-ivory); }

/* ---------- Buttons and links ---------- */
.oc-btn {
	--oc-btn-bg: var(--oc-teal);
	--oc-btn-fg: var(--oc-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: var(--oc-radius-pill);
	background: var(--oc-btn-bg);
	color: var(--oc-btn-fg);
	font-family: var(--oc-font-body);
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s var(--oc-ease), color .3s var(--oc-ease), border-color .3s var(--oc-ease);
}
.oc-btn .oc-icon { width: 18px; height: 18px; transition: transform .3s var(--oc-ease); }
.oc-btn:hover { --oc-btn-bg: var(--oc-deep-teal); --oc-btn-fg: var(--oc-ivory); color: var(--oc-btn-fg); }
.oc-btn:hover .oc-icon { transform: translateX(3px); }
.oc-btn--outline { --oc-btn-bg: transparent; border-color: var(--oc-navy); }
.oc-btn--outline:hover { --oc-btn-bg: var(--oc-navy); --oc-btn-fg: var(--oc-ivory); }
.oc-btn--light { --oc-btn-bg: var(--oc-ivory); --oc-btn-fg: var(--oc-navy); }
.oc-btn--light:hover { --oc-btn-bg: var(--oc-teal); --oc-btn-fg: var(--oc-navy); }
.oc-btn--block { width: 100%; }
.oc-btn[disabled] { opacity: .65; cursor: progress; }

.oc-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.oc-center .oc-btn-row { justify-content: center; }

.oc-link {
	display: inline-block;
	font-weight: 500;
	color: var(--oc-deep-teal);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size .35s var(--oc-ease), color .25s var(--oc-ease);
}
.oc-link:hover { background-size: 35% 1px; color: var(--oc-navy); }
.oc-link--light { color: var(--oc-ivory); }
.oc-link--light:hover { color: var(--oc-teal); }

/* Keep theme buttons independent of Elementor Kit button styles, which
   target every <button> on the page. */
button.oc-btn.oc-btn {
	background: var(--oc-btn-bg);
	color: var(--oc-btn-fg);
	border: 1px solid transparent;
	border-radius: var(--oc-radius-pill);
	padding: 14px 30px;
	font-family: var(--oc-font-body);
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .04em;
	box-shadow: none;
}
button.oc-btn.oc-btn:hover,
button.oc-btn.oc-btn:focus { background: var(--oc-deep-teal); color: var(--oc-ivory); }
button.oc-menu-toggle.oc-menu-toggle,
button.oc-menu-toggle.oc-menu-toggle:hover,
button.oc-menu-toggle.oc-menu-toggle:focus {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	padding: 10px 4px;
}

/* ---------- Header ---------- */
.oc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 246, 238, .96);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(199, 208, 216, .6);
	transition: background-color .4s var(--oc-ease), border-color .4s var(--oc-ease), box-shadow .4s var(--oc-ease);
}
.admin-bar .oc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .oc-header { top: 0; } }

.oc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--oc-bar-h);
}
.oc-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.oc-header__brand .custom-logo-link img,
.oc-header__brand .oc-logo-light img { max-height: 56px; width: auto; }
.oc-logo-light { display: none; }

.oc-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--oc-navy);
	text-decoration: none;
}
.oc-wordmark__mark {
	display: inline-grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: #000;
	color: var(--oc-teal);
	font-family: var(--oc-font-heading);
	font-size: 1.1rem;
	letter-spacing: -.04em;
}
.oc-wordmark__text {
	font-family: var(--oc-font-heading);
	font-variant: small-caps;
	font-size: 1.55rem;
	letter-spacing: .06em;
	line-height: 1;
}
.oc-wordmark--stacked { flex-direction: column; align-items: flex-start; gap: 12px; color: var(--oc-ivory); }
.oc-wordmark--stacked .oc-wordmark__mark { width: 64px; height: 64px; font-size: 1.5rem; }

/* Utility row: service region or seasonal line, phone and client portal */
.oc-utility {
	max-height: 44px;
	overflow: hidden;
	border-bottom: 1px solid rgba(199, 208, 216, .55);
	font-size: .86rem;
	transition: max-height .45s var(--oc-ease), opacity .3s var(--oc-ease), border-color .3s var(--oc-ease);
}
.oc-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.oc-utility__note {
	margin: 0;
	font-family: var(--oc-font-heading);
	font-style: italic;
	font-size: 1rem;
	color: var(--oc-deep-teal);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oc-utility__links { display: flex; align-items: center; gap: 28px; flex: 0 0 auto; }
.oc-utility__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--oc-navy); text-decoration: none; letter-spacing: .02em; }
.oc-utility__links a:hover { color: var(--oc-deep-teal); }
.oc-utility__links .oc-icon { width: 15px; height: 15px; color: var(--oc-deep-teal); }
.oc-header.is-scrolled .oc-utility { max-height: 0; opacity: 0; border-bottom-color: transparent; }

/* Navigation */
.oc-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.oc-nav__list,
.oc-nav__list ul { list-style: none; margin: 0; padding: 0; }
.oc-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 32px); }
.oc-nav__list > li { position: relative; }
.oc-nav__list a {
	display: block;
	padding: 10px 0;
	color: var(--oc-navy);
	text-decoration: none;
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: .02em;
	white-space: nowrap;
}
.oc-nav__list > li > a { position: relative; }
.oc-nav__list > li > a::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 4px;
	height: 1px;
	background: var(--oc-teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--oc-ease);
}
.oc-nav__list > li > a:hover::after,
.oc-nav__list > li.current-menu-item > a::after,
.oc-nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.oc-nav__list .menu-item-has-children > a { padding-right: 16px; }
.oc-nav__list .menu-item-has-children > a::before {
	content: "";
	position: absolute; right: 0; top: 50%;
	width: 6px; height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.oc-nav__list .sub-menu {
	position: absolute;
	top: 100%; left: -24px;
	min-width: 260px;
	padding: 14px 0;
	background: var(--oc-ivory);
	border: 1px solid var(--oc-slate-light);
	border-radius: var(--oc-radius);
	box-shadow: 0 24px 48px -28px rgba(23, 50, 77, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s var(--oc-ease), transform .25s var(--oc-ease), visibility .25s;
}
.oc-nav__list li:hover > .sub-menu,
.oc-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.oc-nav__list .sub-menu a { padding: 9px 24px; font-size: .93rem; }
.oc-nav__list .sub-menu a:hover { color: var(--oc-deep-teal); background: var(--oc-ivory-deep); }
.oc-nav__mobile-extras { display: none; }

.oc-header__actions { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.oc-header__phone { display: none; align-items: center; padding: 8px; color: var(--oc-navy); }
.oc-header__phone .oc-icon { width: 20px; height: 20px; }
.oc-header__cta { min-height: 46px; padding: 11px 24px; }

.oc-menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 4px;
	background: none;
	border: 0;
	color: var(--oc-navy);
	--oc-toggle: var(--oc-navy);
	font: inherit;
	font-size: .92rem;
	cursor: pointer;
}
.oc-menu-toggle__bars { display: grid; gap: 6px; width: 24px; }
.oc-menu-toggle__bars span { height: 1px; background: currentColor; transition: transform .3s var(--oc-ease); }
.oc-menu-toggle[aria-expanded="true"] .oc-menu-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.oc-menu-toggle[aria-expanded="true"] .oc-menu-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Header over the home page hero */
.oc-header-over-hero .oc-header {
	position: fixed;
	left: 0; right: 0;
	background: linear-gradient(to bottom, rgba(23, 50, 77, .38), rgba(23, 50, 77, 0)) no-repeat border-box;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-nav__list > li > a,
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-header__phone,
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-utility__links a,
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-utility__note,
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-menu-toggle,
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-wordmark { color: var(--oc-ivory); }
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-utility__links .oc-icon { color: var(--oc-teal); }
.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-utility { border-bottom-color: rgba(250, 246, 238, .22); }
.oc-header-over-hero.oc-has-light-logo .oc-header:not(.is-scrolled) .custom-logo-link { display: none; }
.oc-header-over-hero.oc-has-light-logo .oc-header:not(.is-scrolled) .oc-logo-light { display: block; }
.oc-header-over-hero .oc-header.is-scrolled {
	background: rgba(250, 246, 238, .97);
	border-bottom-color: rgba(199, 208, 216, .6);
	box-shadow: 0 10px 30px -24px rgba(23, 50, 77, .4);
}
.oc-header-over-hero.admin-bar .oc-header { top: 32px; }
@media (max-width: 782px) { .oc-header-over-hero.admin-bar .oc-header { top: 46px; } }

/* ---------- Hero ---------- */
.oc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	color: var(--oc-ivory);
	isolation: isolate;
}
.oc-hero__media { position: absolute; inset: 0; z-index: -1; }
/* Until a photograph is chosen, the hero rests on Deep Teal. */
.oc-hero--no-image .oc-hero__media { background: radial-gradient(ellipse at 20% 30%, rgba(137, 203, 203, .22), transparent 60%), var(--oc-deep-teal); }
.oc-hero--no-image .oc-hero__overlay { display: none; }
.oc-hero__img,
.oc-hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.oc-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, var(--oc-navy) 0%, rgba(23, 50, 77, .55) 45%, rgba(23, 50, 77, .15) 100%);
	opacity: .5;
}
.oc-hero--center .oc-hero__overlay { background: radial-gradient(ellipse at center, var(--oc-navy) 0%, rgba(23, 50, 77, .35) 70%); }
.oc-hero--feather::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 22%;
	background: linear-gradient(to bottom, rgba(250, 246, 238, 0), var(--oc-ivory));
	pointer-events: none;
	z-index: 0;
}
.oc-hero__content { position: relative; z-index: 1; padding-block: calc(var(--oc-header-h) + 40px) 120px; }
.oc-hero__inner { max-width: 660px; }
.oc-hero--center .oc-hero__inner { margin-inline: auto; text-align: center; }
.oc-hero--center .oc-btn-row { justify-content: center; }
.oc-hero__title {
	color: var(--oc-ivory);
	font-size: clamp(2.8rem, 6vw, 4.6rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -.015em;
	margin-bottom: .35em;
	text-shadow: 0 2px 30px rgba(23, 50, 77, .25);
}
.oc-hero__text {
	font-size: clamp(1.08rem, 1.6vw, 1.25rem);
	line-height: 1.6;
	max-width: 34em;
	margin-bottom: 2em;
	color: var(--oc-ivory);
	text-shadow: 0 1px 18px rgba(23, 50, 77, .3);
}
.oc-hero--center .oc-hero__text { margin-inline: auto; }

/* The single orchestrated moment: the hero settles in on load. */
@media (prefers-reduced-motion: no-preference) {
	.oc-hero__img { animation: oc-settle 2.4s var(--oc-ease) both; }
	.oc-hero .oc-hero__inner > * { animation: oc-rise 1.1s var(--oc-ease) both; }
	.oc-hero .oc-hero__inner > *:nth-child(2) { animation-delay: .12s; }
	.oc-hero .oc-hero__inner > *:nth-child(3) { animation-delay: .24s; }
	.oc-hero .oc-hero__inner > *:nth-child(4) { animation-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) {
	.oc-hero__video { display: none; }
	html { scroll-behavior: auto; }
}
@keyframes oc-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes oc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Feathered photographs ---------- */
.oc-feather {
	-webkit-mask-image:
		linear-gradient(to right, transparent 0, #000 var(--oc-feather), #000 calc(100% - var(--oc-feather)), transparent 100%),
		linear-gradient(to bottom, transparent 0, #000 var(--oc-feather), #000 calc(100% - var(--oc-feather)), transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent 0, #000 var(--oc-feather), #000 calc(100% - var(--oc-feather)), transparent 100%),
		linear-gradient(to bottom, transparent 0, #000 var(--oc-feather), #000 calc(100% - var(--oc-feather)), transparent 100%);
	mask-composite: intersect;
}
.oc-feather--soft { --oc-feather: 6%; }
.oc-feather--medium { --oc-feather: 12%; }
.oc-feather--strong { --oc-feather: 20%; }

/* Any Elementor image can be feathered: add the CSS class oc-feather (Advanced tab). */
.elementor-widget-image.oc-feather img,
.elementor-widget.oc-feather .elementor-widget-container { display: block; }

.oc-figure { margin: 0; }
.oc-figure img { width: 100%; height: 100%; object-fit: cover; }
.oc-figure--portrait { aspect-ratio: 4 / 5; }
.oc-figure--landscape { aspect-ratio: 3 / 2; }
.oc-figure--wide { aspect-ratio: 16 / 9; }
.oc-figure--square { aspect-ratio: 1; }
.oc-figure--original { aspect-ratio: auto; }
.oc-figure figcaption {
	margin-top: 12px;
	font-family: var(--oc-font-heading);
	font-style: italic;
	font-size: 1rem;
	color: var(--oc-slate);
}
.oc-figure--portrait,
.oc-figure--landscape,
.oc-figure--wide,
.oc-figure--square { overflow: hidden; }

/* ---------- Section heading ---------- */
.oc-heading { max-width: 760px; }
.oc-heading--center { margin-inline: auto; text-align: center; }
.oc-heading__title { margin-bottom: .3em; }
.oc-heading__text { font-size: 1.15rem; line-height: 1.7; margin: 0; }
.oc-heading--center .oc-heading__text { max-width: 36em; margin-inline: auto; }
.oc-heading--light .oc-heading__title,
.oc-heading--light .oc-heading__text { color: var(--oc-ivory); }
.oc-heading--light .oc-eyebrow { color: var(--oc-teal); }
.oc-heading--light .oc-divider::before,
.oc-heading--light .oc-divider::after { background: rgba(250, 246, 238, .35); }

/* ---------- Service card ---------- */
.oc-service-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.oc-service-card__media { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 26px; }
.oc-service-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--oc-ease);
}
.oc-service-card:hover .oc-service-card__media img { transform: scale(1.035); }
.oc-service-card__title { margin-bottom: .45em; }
.oc-service-card__title a { color: inherit; text-decoration: none; }
.oc-service-card__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.oc-service-card__text { margin-bottom: 1.1em; max-width: 30em; }
.oc-service-card .oc-link { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.oc-testimonials {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(32px, 5vw, 64px);
}
.oc-testimonial { margin: 0; padding-top: 28px; border-top: 1px solid var(--oc-slate-light); }
.oc-testimonial__quote {
	margin: 0 0 22px;
	font-family: var(--oc-font-heading);
	font-size: clamp(1.25rem, 1.8vw, 1.45rem);
	line-height: 1.5;
	color: var(--oc-navy);
}
.oc-testimonial__quote p { margin: 0 0 .6em; }
.oc-testimonial__quote p:first-child::before { content: "\201C"; color: var(--oc-teal); margin-right: 2px; }
.oc-testimonial__quote p:last-child::after { content: "\201D"; color: var(--oc-teal); margin-left: 2px; }
.oc-testimonial__by { display: grid; gap: 2px; font-size: .95rem; }
.oc-testimonial__name { font-weight: 500; }
.oc-testimonial__detail { color: var(--oc-slate); }

/* ---------- FAQs ---------- */
.oc-faqs { border-top: 1px solid var(--oc-slate-light); }
.oc-faq { border-bottom: 1px solid var(--oc-slate-light); }
.oc-faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 26px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--oc-font-heading);
	font-size: clamp(1.2rem, 1.7vw, 1.4rem);
	font-weight: 500;
	color: var(--oc-navy);
}
.oc-faq__q::-webkit-details-marker { display: none; }
.oc-faq__icon { position: relative; flex: 0 0 18px; height: 18px; }
.oc-faq__icon::before,
.oc-faq__icon::after {
	content: "";
	position: absolute; left: 0; right: 0; top: 50%;
	height: 1px;
	background: var(--oc-deep-teal);
	transition: transform .3s var(--oc-ease);
}
.oc-faq__icon::after { transform: rotate(90deg); }
.oc-faq[open] .oc-faq__icon::after { transform: rotate(0deg); }
.oc-faq__a { padding: 0 0 26px; max-width: 46em; }
.oc-faq__a > :last-child { margin-bottom: 0; }

/* ---------- Towns ---------- */
.oc-towns {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 3 200px;
	column-gap: 40px;
}
.oc-towns li {
	break-inside: avoid;
	padding: 10px 0;
	border-bottom: 1px solid var(--oc-slate-light);
	font-family: var(--oc-font-heading);
	font-size: 1.2rem;
}

/* ---------- Request a Quote form ---------- */
.oc-quote {
	--oc-field-bg: var(--oc-white);
	--oc-field-border: var(--oc-slate-light);
	--oc-quote-fg: var(--oc-navy);
	color: var(--oc-quote-fg);
}
.oc-quote--dark {
	--oc-field-bg: rgba(250, 246, 238, .08);
	--oc-field-border: rgba(250, 246, 238, .35);
	--oc-quote-fg: var(--oc-ivory);
	background: var(--oc-deep-teal);
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--oc-radius);
}
.oc-quote__title { color: inherit; margin-bottom: .25em; }
.oc-quote__intro { max-width: 36em; margin-bottom: 2em; }

.oc-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 24px;
}
.oc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.oc-field--full { grid-column: 1 / -1; }
.oc-field > label,
.oc-field > legend {
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: .02em;
	padding: 0;
	margin-bottom: 0;
}
.oc-choices > legend { margin-bottom: 12px; }
.oc-req { color: var(--oc-deep-teal); margin-left: 3px; }
.oc-quote--dark .oc-req { color: var(--oc-teal); }

.oc-form input[type="text"],
.oc-form input[type="email"],
.oc-form input[type="tel"],
.oc-form select,
.oc-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--oc-field-border);
	border-radius: var(--oc-radius);
	background: var(--oc-field-bg);
	color: var(--oc-quote-fg);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .25s var(--oc-ease), box-shadow .25s var(--oc-ease);
	-webkit-appearance: none;
	appearance: none;
}
.oc-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E5A5A' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
}
.oc-quote--dark select option { color: var(--oc-navy); }
.oc-form textarea { min-height: 120px; resize: vertical; }
.oc-form input:focus,
.oc-form select:focus,
.oc-form textarea:focus {
	outline: none;
	border-color: var(--oc-deep-teal);
	box-shadow: 0 0 0 3px rgba(137, 203, 203, .45);
}
.oc-form ::placeholder { color: var(--oc-slate); opacity: .8; }
.oc-quote--dark ::placeholder { color: var(--oc-ivory); opacity: .6; }

.oc-choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.oc-choices--inline { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }
.oc-choices--inline > legend { width: 100%; }
.oc-choice { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .98rem; line-height: 1.45; }
.oc-choice input {
	flex: 0 0 auto;
	width: 20px; height: 20px;
	margin: 1px 0 0;
	accent-color: var(--oc-deep-teal);
}
.oc-quote--dark .oc-choice input { accent-color: var(--oc-teal); }
.oc-choice--consent { font-size: .92rem; }

.oc-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oc-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.oc-form__note { margin: 0; font-size: .9rem; max-width: 30em; }
.oc-quote--dark .oc-form__note a { color: var(--oc-teal); }

.oc-field.has-error input,
.oc-field.has-error select,
.oc-field.has-error textarea { border-color: #a33a2b; }
.oc-field__error { font-size: .86rem; color: #a33a2b; }
.oc-quote--dark .oc-field__error { color: #ffd2c8; }
.oc-quote--dark .oc-field.has-error input,
.oc-quote--dark .oc-field.has-error select { border-color: #ffd2c8; }

.oc-form__status:empty { display: none; }
.oc-form__status { margin-bottom: 20px; font-size: .98rem; }
.oc-form__status.is-error { color: #a33a2b; }
.oc-quote--dark .oc-form__status.is-error { color: #ffd2c8; }

.oc-quote__thanks {
	padding: clamp(28px, 4vw, 48px) 0;
	text-align: center;
}
.oc-quote__thanks-title {
	font-family: var(--oc-font-heading);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	color: inherit;
	margin-bottom: .4em;
}
.oc-quote__thanks p { max-width: 32em; margin-inline: auto; }

.oc-notice {
	max-width: var(--oc-narrow);
	margin: 24px auto;
	padding: 18px 22px;
	border-left: 3px solid var(--oc-teal);
	background: var(--oc-white);
}
.oc-admin-note {
	padding: 14px 18px;
	border: 1px dashed var(--oc-slate-light);
	color: var(--oc-slate);
	font-size: .92rem;
}

/* ---------- Page layout (non-Elementor pages) ---------- */
.oc-page-hero { padding-block: clamp(72px, 9vw, 120px) clamp(32px, 4vw, 56px); text-align: center; }
.oc-page-hero__title { margin-bottom: 0; }
.oc-page-hero__lead { margin-top: 18px; font-size: 1.15rem; }
.oc-prose { padding-bottom: var(--oc-space-6); }
.oc-prose > * { max-width: 68ch; }
.oc-prose h2 { margin-top: 1.6em; }
.oc-prose h3 { margin-top: 1.4em; }
.oc-prose img { border-radius: var(--oc-radius); }
.oc-prose blockquote {
	margin: 2em 0;
	padding-left: 24px;
	border-left: 2px solid var(--oc-teal);
	font-family: var(--oc-font-heading);
	font-size: 1.35rem;
	font-style: italic;
}
.oc-single__media { margin-block: 0 48px; }
.oc-single__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.oc-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 56px 40px;
}
.oc-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; }
.oc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.oc-card__title { font-size: 1.5rem; }
.oc-card__title a { color: inherit; text-decoration: none; }
.oc-card__text p { margin-bottom: .9em; }
.oc-pagination { margin-top: 64px; text-align: center; }
.oc-pagination .page-numbers { display: inline-block; padding: 6px 12px; text-decoration: none; }
.oc-pagination .current { color: var(--oc-navy); border-bottom: 1px solid var(--oc-teal); }
.oc-post-nav { padding-bottom: 64px; }
.oc-post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.oc-post-nav a { text-decoration: none; display: grid; }
.oc-404 { padding-block: clamp(120px, 16vw, 200px); }
.oc-404 .oc-btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.oc-footer { background: var(--oc-navy); color: rgba(250, 246, 238, .86); font-size: .95rem; }
.oc-footer a { color: rgba(250, 246, 238, .86); text-decoration: none; }
.oc-footer a:hover { color: var(--oc-teal); }
.oc-footer .oc-btn,
.oc-footer .oc-btn:hover { color: var(--oc-btn-fg); }

.oc-footer__invite { background: var(--oc-deep-teal); color: var(--oc-ivory); text-align: center; }
.oc-footer__invite-inner { padding-block: clamp(64px, 8vw, 104px); display: grid; justify-items: center; gap: 6px; }
.oc-footer__invite-title {
	font-family: var(--oc-font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.12;
	color: var(--oc-ivory);
	margin: 0 0 28px;
}

.oc-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 48px;
	padding-block: 80px 64px;
}
.oc-footer__logo-img { max-width: 150px; height: auto; margin-bottom: 22px; }
.oc-footer__support { max-width: 22em; margin-top: 20px; font-family: var(--oc-font-heading); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--oc-ivory); }
.oc-footer__title {
	font-family: var(--oc-font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--oc-ivory);
	margin-bottom: 18px;
}
.oc-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.oc-footer__contact a,
.oc-footer__contact span { display: inline-flex; align-items: flex-start; gap: 10px; }
.oc-footer__contact .oc-icon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--oc-teal); }

.oc-social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 12px; }
.oc-social a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(250, 246, 238, .3);
	border-radius: 50%;
}
.oc-social a:hover { border-color: var(--oc-teal); }
.oc-social .oc-icon { width: 18px; height: 18px; }

.oc-footer__base { border-top: 1px solid rgba(250, 246, 238, .14); }
.oc-footer__base-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 32px;
	padding-block: 26px;
	font-size: .86rem;
}
.oc-footer__tagline {
	margin: 0;
	font-family: var(--oc-font-heading);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--oc-teal);
}
.oc-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.oc-footer__copy { margin: 0; color: rgba(250, 246, 238, .7); }

/* ---------- Comments ---------- */
.oc-comments { padding-bottom: 80px; }
.oc-comments__list { padding-left: 1.2em; }

/* ---------- Block editor alignment helpers ---------- */
.alignwide { max-width: var(--oc-max); margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Elementor harmony ---------- */
.elementor-widget-heading .elementor-heading-title { text-wrap: balance; }
.elementor-button { letter-spacing: .04em; }
.elementor-widget-text-editor { line-height: 1.75; }

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
	:root { --oc-header-h: 76px; --oc-bar-h: 76px; }
	.oc-utility { display: none; }
	.oc-menu-toggle { display: inline-flex; }
	.oc-header__phone { display: inline-flex; }

	.oc-nav {
		position: fixed;
		inset: 0;
		z-index: 40;
		display: block;
		padding: calc(var(--oc-header-h) + 24px) var(--oc-gutter) 40px;
		background: var(--oc-ivory);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity .35s var(--oc-ease), visibility .35s;
	}
	.oc-nav.is-open { opacity: 1; visibility: visible; }
	.admin-bar .oc-nav { top: 46px; }
	.oc-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.oc-nav__list > li { border-bottom: 1px solid var(--oc-slate-light); }
	.oc-nav__list a,
	.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-nav__list > li > a { color: var(--oc-navy); }
	.oc-nav__list > li > a {
		padding: 18px 0;
		font-family: var(--oc-font-heading);
		font-size: 1.6rem;
	}
	.oc-nav__list > li > a::after { display: none; }
	.oc-nav__list .menu-item-has-children > a::before { display: none; }
	.oc-nav__list .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 14px 4px;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.oc-nav__list .sub-menu a { padding: 8px 0; font-size: 1rem; }
	.oc-nav__mobile-extras { display: grid; gap: 18px; margin-top: 32px; }
	.oc-nav__phone,
	.oc-nav__portal { display: inline-flex; align-items: center; gap: 10px; color: var(--oc-navy); text-decoration: none; }
	.oc-header { z-index: 60; }
	.oc-header__brand,
	.oc-header__actions { position: relative; z-index: 61; }
	body.oc-menu-open { overflow: hidden; }
	body.oc-menu-open .oc-header { background: var(--oc-ivory); }
	body.oc-menu-open .oc-menu-toggle,
	body.oc-menu-open .oc-header__phone,
	body.oc-menu-open .oc-wordmark { color: var(--oc-navy) !important; }
	body.oc-menu-open.oc-has-light-logo .custom-logo-link { display: block !important; }
	body.oc-menu-open.oc-has-light-logo .oc-logo-light { display: none !important; }

}

@media (max-width: 1024px) {
	.oc-footer__grid { grid-template-columns: 1fr 1fr; }
	.oc-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.oc-header__cta { display: none; }
	.oc-form__grid,
	.oc-choices__grid { grid-template-columns: 1fr; }
	.oc-form__footer .oc-btn { width: 100%; }
	.oc-hero__content { padding-block: calc(var(--oc-header-h) + 24px) 96px; }
	.oc-hero .oc-btn-row { flex-direction: column; align-items: flex-start; }
	.oc-hero--center .oc-btn-row { align-items: center; }
	.oc-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
	.oc-footer__base-inner { flex-direction: column; align-items: flex-start; }
	.oc-header__brand .custom-logo-link img,
	.oc-header__brand .oc-logo-light img { max-height: 44px; }
	.oc-wordmark__text { font-size: 1.3rem; }
	.oc-wordmark__mark { width: 38px; height: 38px; font-size: .95rem; }
}

@media print {
	.oc-header, .oc-footer, .oc-menu-toggle { display: none !important; }
	body { background: #fff; }
}

/* ---------- Guard against site-wide Elementor Kit colours ----------
   Elementor Site Settings can colour every heading and link. These rules keep
   text readable on photographs and dark sections whatever is set there. */
body .oc-hero .oc-hero__title,
body .oc-hero .oc-hero__text { color: var(--oc-ivory); }
body .oc-link--light { color: var(--oc-ivory); }
body .oc-link--light:hover { color: var(--oc-teal); }
body .oc-heading--light .oc-heading__title,
body .oc-heading--light .oc-heading__text,
body .oc-quote--dark .oc-quote__title,
body .oc-quote--dark .oc-quote__thanks-title { color: var(--oc-ivory); }
body .oc-footer a { color: rgba(250, 246, 238, .86); }
body .oc-footer a:hover { color: var(--oc-teal); }
body .oc-footer .oc-footer__title { color: var(--oc-ivory); }
body .oc-footer .oc-btn { color: var(--oc-btn-fg); }
body .oc-nav__list a { color: var(--oc-navy); }
body .oc-nav__list .sub-menu a:hover { color: var(--oc-deep-teal); }
body.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-nav__list > li > a,
body.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-utility__links a { color: var(--oc-ivory); }
body .oc-btn { color: var(--oc-btn-fg); }
body .oc-utility__links a,
body .oc-header__phone,
body .oc-nav__phone,
body .oc-nav__portal { color: var(--oc-navy); }
body .oc-wordmark { color: var(--oc-navy); }
body .oc-footer .oc-wordmark { color: var(--oc-ivory); }
body.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-wordmark,
body.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-header__phone { color: var(--oc-ivory); }
body .oc-service-card__title a,
body .oc-card__title a { color: inherit; }
@media (max-width: 1380px) {
	body.oc-header-over-hero .oc-header:not(.is-scrolled) .oc-nav__list > li > a,
	body .oc-nav__list a { color: var(--oc-navy); }
}
