/*
 * OS Broker — theme styles (front end + editor).
 * Brand tokens live in theme.json; this file adds layout/components.
 */
:root {
	--osb-navy: #8F0A1F;
	--osb-navy-deep: #500711;
	--osb-blue: #C8102E;
	--osb-teal: #C8102E;
	--osb-orange: #C8102E;
	--osb-orange-soft: #F27E8E;
	--osb-ink: #1C1C21;
	--osb-slate: #585863;
	--osb-line: #EBDFE1;
	--osb-mist: #FAF7F7;
	--osb-radius: 18px;
	--osb-shadow: 0 1px 2px rgba(33, 10, 14, .06), 0 8px 24px rgba(33, 10, 14, .06);
	--osb-shadow-lg: 0 2px 4px rgba(33, 10, 14, .06), 0 18px 48px rgba(33, 10, 14, .12);
	--osb-header-h: 76px;
	--osb-display: var(--wp--preset--font-family--display, Space Grotesk, system-ui, sans-serif);
}

html { scroll-behavior: smooth; }
h1, h2, h3, .osb-section-title, .osb-hero__title, .osb-cta__title { text-wrap: balance; }
.osb-section-intro, .osb-hero__lead { text-wrap: pretty; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
[id] { scroll-margin-top: calc(var(--osb-header-h) + 16px); }
::selection { background: rgba(200, 16, 46, .18); }
:focus-visible { outline: 3px solid var(--osb-orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Stack template areas and landing sections without default block gaps */
.wp-site-blocks > * + * { margin-block-start: 0; }
.osb-front > *, .osb-landing > * { margin-block: 0 !important; }
.osb-landing .wp-block-post-content > section,
.osb-landing .wp-block-post-content > .alignfull { margin-block: 0 !important; }

/* ---------- Header ---------- */
.osb-site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.osb-site-header.is-scrolled { border-bottom-color: var(--osb-line); box-shadow: 0 6px 24px rgba(33, 10, 14, .06); }
.admin-bar .osb-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .osb-site-header { top: 0; } }
.osb-header__bar { min-height: var(--osb-header-h); gap: 1.25rem; }
.osb-header__right { gap: 1.75rem; }
.osb-nav { font-family: var(--osb-display); font-weight: 700; font-size: .95rem; }
.osb-nav .wp-block-navigation__container { gap: 1.6rem; }
.osb-nav .wp-block-navigation-item__content { color: var(--osb-navy); text-decoration: none; }
.osb-nav .wp-block-navigation-item__content:hover { color: var(--osb-blue); }
.osb-nav .wp-block-navigation__responsive-container-open,
.osb-nav .wp-block-navigation__responsive-container-close { color: var(--osb-navy); }
.osb-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--osb-navy-deep) !important; color: #fff !important; padding: 1.5rem; }
.osb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; }
.osb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.osb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.4rem; }
.osb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 1.5rem; }
.osb-btn-sm > .wp-block-button__link { padding: .7rem 1.15rem; font-size: .9rem; border-radius: 9px; }

/* ---------- Brand ---------- */
.osb-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--osb-navy); }
.osb-brand:hover { color: var(--osb-navy); }
.osb-brand .osb-mark { flex: none; display: block; }
.osb-brand__word { display: flex; flex-direction: column; line-height: 1; }
.osb-brand__name { font-family: var(--osb-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .07em; }
.osb-brand__sub { font-family: var(--osb-display); font-weight: 700; font-size: .6rem; letter-spacing: .5em; color: var(--osb-slate); margin-top: .32rem; }
.osb-brand--light, .osb-brand--light:hover { color: #fff; }
.osb-brand--light .osb-brand__sub { color: rgba(255, 255, 255, .6); }
.osb-brand--logo img { display: block; max-height: 48px; width: auto; }

/* ---------- Shared section elements ---------- */
.osb-section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.osb-eyebrow {
	display: flex; width: fit-content; align-items: center; gap: .6rem;
	font-family: var(--osb-display); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--osb-teal); margin-block: 0;
}
.osb-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.osb-eyebrow--on-dark { color: var(--osb-orange-soft); }
.osb-section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.75rem) !important; }
.osb-section-title { margin-top: .9rem !important; }
.osb-section-intro { color: var(--osb-slate); font-size: 1.125rem; margin-top: 1rem !important; }
.osb-btn-outline > .wp-block-button__link { background: transparent; color: var(--osb-navy); border: 1.5px solid var(--osb-navy); }
.osb-btn-outline > .wp-block-button__link:hover { background: var(--osb-navy); color: #fff; }
.osb-btn-dark > .wp-block-button__link { background: var(--osb-ink); color: #fff; }
.osb-btn-dark > .wp-block-button__link:hover { background: #000; color: #fff; }

.osb-icon {
	display: inline-grid; place-items: center; flex: none; align-self: flex-start;
	width: 54px; height: 54px; border-radius: 14px; color: #fff;
	background: linear-gradient(135deg, var(--osb-navy) 0%, var(--osb-blue) 100%);
	box-shadow: 0 8px 20px rgba(0, 85, 140, .25);
}
.osb-icon svg { width: 26px; height: 26px; }
.osb-icon--glow { background: rgba(227, 24, 55, .16); color: var(--osb-orange-soft); box-shadow: inset 0 0 0 1px rgba(242, 126, 142, .40); }

/* ---------- Hero ---------- */
.osb-hero {
	position: relative; overflow: hidden; color: #fff;
	padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem);
	background:
		radial-gradient(1100px 600px at 85% 0%, rgba(227, 24, 55, .35), transparent 60%),
		radial-gradient(900px 520px at 0% 110%, rgba(255, 255, 255, .10), transparent 60%),
		linear-gradient(135deg, #500711 0%, #8F0A1F 55%, #A50E25 100%);
}
.osb-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 72%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 72%);
}
.osb-hero > * { position: relative; }
.osb-hero__grid { gap: clamp(2rem, 5vw, 4rem); }
.osb-hero__title { color: #fff; margin-top: 1.15rem !important; max-width: 19ch; }
.osb-hero__lead { font-size: var(--wp--preset--font-size--large); color: rgba(255, 255, 255, .84); max-width: 46ch; margin-top: 1.4rem !important; }
.osb-hero__ctas { margin-top: 2.1rem !important; gap: .9rem; }
.osb-btn-ghost > .wp-block-button__link { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.osb-btn-ghost > .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.osb-hero__micro { margin-top: 1.1rem !important; font-size: .9rem; color: rgba(255, 255, 255, .68); }
.osb-hero__art { margin: 0; }
.osb-hero__art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

/* ---------- Trust strip ---------- */
.osb-trust { background: #fff; border-bottom: 1px solid var(--osb-line); padding-block: 1.35rem; }
.osb-trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.25rem; }
.osb-trust__list li { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; font-size: .9rem; color: var(--osb-navy); }
@media (min-width: 700px) and (max-width: 1099px) { .osb-trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; } }
@media (min-width: 1100px) { .osb-trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem 1.5rem; } .osb-trust__list li { font-size: .88rem; line-height: 1.35; } }
.osb-trust__list li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--osb-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Services ---------- */
.osb-services { background: var(--osb-mist); }
.osb-cards.is-layout-grid { gap: 1.5rem; }
@media (min-width: 1140px) {
	.osb-cards.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1139.98px) {
	.osb-cards.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.osb-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--osb-line); border-radius: var(--osb-radius);
	padding: clamp(1.6rem, 3vw, 2.1rem); box-shadow: var(--osb-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.osb-card:hover { transform: translateY(-4px); box-shadow: var(--osb-shadow-lg); border-color: #E6CDD2; }
.osb-card__title { margin-top: 1.35rem !important; font-size: 1.3rem; }
.osb-card__lead { margin-top: .55rem !important; color: var(--osb-navy); font-weight: 600; }
.osb-checklist { list-style: none; padding: 0; margin: 1.1rem 0 0 !important; display: grid; gap: .7rem; }
.osb-checklist li { position: relative; margin: 0; padding-left: 1.85rem; color: var(--osb-slate); font-size: .97rem; line-height: 1.55; }
.osb-checklist li::before { content: ""; position: absolute; left: 0; top: .18em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(200, 16, 46, .10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / .7rem no-repeat; }
.osb-checklist strong { color: var(--osb-ink); font-weight: 650; }
.osb-card__link { margin-top: auto !important; padding-top: 1.4rem; font-family: var(--osb-display); font-weight: 800; }
.osb-card__link a { color: var(--osb-blue); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.osb-card__link a::after { content: ""; width: 1em; height: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.osb-card__link a:hover::after { transform: translateX(3px); }
.osb-card__link a:hover { color: var(--osb-navy); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- How it works ---------- */
.osb-process { background: #fff; }
.osb-steps { position: relative; }
.osb-steps.is-layout-grid { gap: 1.5rem; }
@media (min-width: 1080px) {
	.osb-steps.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.osb-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, #E8C7CD 0 8px, transparent 8px 16px); }
}
@media (min-width: 700px) and (max-width: 1079px) { .osb-steps.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; } }
@media (max-width: 699px) { .osb-steps.is-layout-grid { row-gap: 2.75rem; } }
.osb-step {
	position: relative; z-index: 1; display: flex; flex-direction: column;
	margin-top: 22px !important; padding: 2.4rem 1.5rem 1.5rem;
	background: #fff; border: 1px solid var(--osb-line); border-radius: var(--osb-radius); box-shadow: var(--osb-shadow);
}
.osb-step__num {
	position: absolute; top: -22px; left: 1.5rem; margin: 0 !important;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--osb-navy); color: #fff; box-shadow: 0 0 0 6px #fff;
	font-family: var(--osb-display); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.osb-step__title { margin-top: 0 !important; font-size: 1.2rem; }
.osb-step > p:not([class]) { margin: .7rem 0 1.25rem !important; color: var(--osb-slate); font-size: .97rem; }
.osb-step__outcome {
	margin-top: auto !important; padding: .85rem 1rem; font-size: .92rem; color: var(--osb-ink);
	background: var(--osb-mist); border-left: 3px solid var(--osb-teal); border-radius: 0 10px 10px 0;
}
.osb-step__outcome strong { color: var(--osb-teal); }
.osb-center-ctas { margin-top: 3rem !important; }

/* ---------- Why choose us ---------- */
.osb-why {
	color: rgba(255, 255, 255, .85);
	background:
		radial-gradient(900px 520px at 12% 0%, rgba(227, 24, 55, .30), transparent 60%),
		linear-gradient(160deg, #500711 0%, #8F0A1F 60%, #A50E25 100%);
}
.osb-why .osb-section-title, .osb-why h3 { color: #fff; }
.osb-why .osb-section-intro { color: rgba(255, 255, 255, .76); }
.osb-tiles.is-layout-grid { gap: 1.25rem; }
@media (min-width: 900px) { .osb-tiles.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.osb-tile {
	padding: 1.75rem; border-radius: var(--osb-radius);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.osb-tile:hover { background: rgba(255, 255, 255, .08); border-color: rgba(242, 126, 142, .50); transform: translateY(-3px); }
.osb-tile__title { margin-top: 1.2rem !important; font-size: 1.15rem; }
.osb-tile > p:not([class]) { margin-top: .55rem !important; color: rgba(255, 255, 255, .76); font-size: .98rem; }
.osb-audience { margin-top: 3rem !important; gap: .75rem 1rem; align-items: center; }
.osb-audience__label { margin: 0 !important; font-family: var(--osb-display); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.osb-audience__list { list-style: none; margin: 0 !important; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.osb-audience__list li { margin: 0; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 600; font-size: .92rem; }

/* ---------- CTA band ---------- */
.osb-cta-band { background: #fff; padding-block: clamp(3.5rem, 7vw, 5rem) 0; }
.osb-cta {
	position: relative; overflow: hidden; gap: 1.5rem 2rem;
	padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 5vw, 3.5rem); border-radius: 24px;
	background: linear-gradient(120deg, #C8102E 0%, #E31837 55%, #F27E8E 100%);
	color: #fff; box-shadow: 0 24px 60px rgba(200, 16, 46, .30);
}
.osb-cta::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 42px solid rgba(255, 255, 255, .15); pointer-events: none; }
.osb-cta > * { position: relative; z-index: 1; }
.osb-cta__text { max-width: 640px; }
.osb-cta__title { margin: 0 !important; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.osb-cta__text-p { margin-top: .6rem !important; color: rgba(255, 255, 255, .92); font-size: 1.08rem; }
.osb-cta-band + .osb-faq { padding-top: clamp(3.5rem, 7vw, 5.5rem); }

/* ---------- FAQ ---------- */
.osb-faq { background: #fff; }
.osb-faq__grid { gap: clamp(2rem, 6vw, 5rem); }
@media (min-width: 782px) { .osb-faq__intro { position: sticky; top: calc(var(--osb-header-h) + 2rem); align-self: flex-start; } }
.osb-faq__cta { margin-top: 1.75rem !important; }
.osb-faq__list > * { margin-block: 0 !important; }
.osb-faq__item { border-bottom: 1px solid var(--osb-line); }
.osb-faq__item:first-child { border-top: 1px solid var(--osb-line); }
.osb-faq__item > summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 1.35rem 3.25rem 1.35rem 0;
	font-family: var(--osb-display); font-weight: 700; font-size: 1.08rem; line-height: 1.4; color: var(--osb-navy);
}
.osb-faq__item > summary::-webkit-details-marker { display: none; }
.osb-faq__item > summary::marker { content: ""; }
.osb-faq__item > summary::after {
	content: ""; position: absolute; right: .25rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
	background: var(--osb-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C21' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat; transition: transform .2s ease, background-color .2s ease;
}
.osb-faq__item[open] > summary::after { transform: rotate(45deg); background-color: rgba(200, 16, 46, .12); }
.osb-faq__item > summary:hover { color: var(--osb-blue); }
.osb-faq__item > p { margin: 0 0 1.4rem !important; max-width: 64ch; color: var(--osb-slate); }

/* ---------- Contact ---------- */
.osb-contact { background: var(--osb-mist); }
.osb-contact__grid { gap: clamp(2rem, 5vw, 4rem); }
.osb-badge {
	display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem !important;
	padding: .55rem 1rem; border-radius: 999px; background: rgba(0, 118, 129, .1);
	color: var(--osb-teal); font-weight: 700; font-size: .92rem;
}
.osb-badge::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.osb-next__title { margin-top: 2.25rem !important; font-size: 1.1rem; }
.osb-next { list-style: none; counter-reset: osb-next; padding: 0; margin: 1rem 0 0 !important; display: grid; gap: 1rem; }
.osb-next li { counter-increment: osb-next; position: relative; min-height: 2rem; margin: 0; padding-left: 2.9rem; color: var(--osb-slate); }
.osb-next li::before {
	content: counter(osb-next); position: absolute; left: 0; top: -.1rem;
	display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--osb-navy); color: #fff; font-family: var(--osb-display); font-weight: 800; font-size: .9rem; line-height: 1;
}
.osb-next strong { color: var(--osb-ink); }
.osb-cd-title { margin: 2.25rem 0 0 !important; font-weight: 700; color: var(--osb-navy); }
.osb-contact-details { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .7rem; }
.osb-contact-details--panel { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.osb-contact-details--panel .osb-cd { display: flex; flex-direction: column; gap: .15rem; margin: 0; padding: .85rem 1rem; background: #fff; border: 1px solid var(--osb-line); border-radius: 12px; }
.osb-cd__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--osb-slate); }
.osb-cd a { font-weight: 600; text-decoration: none; word-break: break-word; }
.osb-cd-empty { margin-top: 2rem !important; padding: .9rem 1rem; border: 1px dashed #DEC3C9; border-radius: 10px; background: #fff; font-size: .9rem; color: var(--osb-slate); }

/* ---------- Quote form ---------- */
.osb-form-card { background: #fff; border: 1px solid var(--osb-line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--osb-shadow-lg); }
.osb-form { display: grid; gap: 1.6rem; margin: 0; }
.osb-form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.osb-form__legend { margin-bottom: 1rem; padding: 0; font-family: var(--osb-display); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--osb-teal); }
.osb-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.osb-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; margin: 0; }
.osb-field--wide { grid-column: 1 / -1; }
.osb-field > label, .osb-field--checkboxes > legend { font-weight: 600; font-size: .9rem; color: var(--osb-navy); }
.osb-req { color: #C2410C; }
.osb-field input, .osb-field select, .osb-field textarea {
	box-sizing: border-box; width: 100%; margin: 0;
	font: inherit; font-size: 1rem; line-height: 1.4; color: var(--osb-ink);
	background-color: #fff; border: 1.5px solid var(--osb-line); border-radius: 10px; padding: .8rem .95rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.osb-field textarea { min-height: 132px; resize: vertical; }
.osb-field select {
	-webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 2.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C21' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px;
}
.osb-field input::placeholder, .osb-field textarea::placeholder { color: #AB8E95; }
.osb-field input:focus, .osb-field select:focus, .osb-field textarea:focus { outline: none; border-color: var(--osb-blue); box-shadow: 0 0 0 4px rgba(0, 85, 140, .15); }
.osb-help { font-size: .82rem; color: var(--osb-slate); }
.osb-invalid input, .osb-invalid select, .osb-invalid textarea { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.osb-field--checkboxes { border: 0; padding: 0; }
.osb-field--checkboxes > legend { margin-bottom: .6rem; padding: 0; }
.osb-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.osb-chip { position: relative; cursor: pointer; }
.osb-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.osb-chip span {
	display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem;
	border: 1.5px solid var(--osb-line); border-radius: 999px; background: #fff;
	font-size: .9rem; font-weight: 600; color: var(--osb-navy); transition: all .15s ease;
}
.osb-chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #BC9FA6; background: #fff center / 10px no-repeat; transition: all .15s ease; }
.osb-chip:hover span { border-color: #D8BDC3; }
.osb-chip input:checked + span { border-color: var(--osb-teal); background: rgba(200, 16, 46, .08); }
.osb-chip input:checked + span::before { border-color: var(--osb-teal); background-color: var(--osb-teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.osb-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200, 16, 46, .2); }
.osb-consent { font-size: .9rem; color: var(--osb-slate); }
.osb-consent label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.osb-consent input { flex: none; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--osb-teal); }
.osb-consent.osb-invalid { color: #B42318; }
.osb-submit {
	width: 100%; border: 0; cursor: pointer; border-radius: 12px; padding: 1.05rem 1.5rem;
	font-family: var(--osb-display); font-weight: 800; font-size: 1.08rem;
	background: var(--osb-orange); color: var(--osb-navy); box-shadow: 0 10px 24px rgba(255, 130, 0, .3);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.osb-submit:hover { background: #E31837; color: var(--osb-navy); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 130, 0, .35); }
.osb-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.osb-form__secure { display: flex; align-items: flex-start; gap: .5rem; margin: -.6rem 0 0; font-size: .85rem; color: var(--osb-slate); }
.osb-form__secure svg { flex: none; margin-top: .2rem; color: var(--osb-teal); }
.osb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.osb-notice { margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: 12px; font-size: .95rem; }
.osb-notice--success { background: #E7F5F2; color: #0B5F57; border: 1px solid #A9DCD3; }
.osb-notice--error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.editor-styles-wrapper .osb-ssr-preview { pointer-events: none; }

/* ---------- Footer ---------- */
.osb-footer { background: var(--osb-navy-deep); color: rgba(255, 255, 255, .72); padding-block: clamp(3.5rem, 7vw, 5rem) 0; font-size: .95rem; }
.osb-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.osb-footer a:hover { color: var(--osb-orange-soft); }
.osb-footer__grid { gap: clamp(1.5rem, 4vw, 3rem); }
.osb-footer__about > p { margin-top: 1rem !important; max-width: 40ch; }
.osb-footer__tagline { font-family: var(--osb-display); font-weight: 700; color: var(--osb-orange-soft); }
.osb-footer .osb-footer__heading { margin: 0 0 1rem !important; color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.osb-footer__links { list-style: none; padding: 0; margin: 0 !important; display: grid; gap: .6rem; }
.osb-footer__links li { margin: 0; }
.osb-contact-details--footer { margin-top: 0; gap: .6rem; }
.osb-contact-details--footer .osb-cd { display: flex; flex-direction: column; margin: 0; }
.osb-contact-details--footer .osb-cd__label { color: rgba(255, 255, 255, .5); font-size: .68rem; }
.osb-footer__note { margin-top: 1rem !important; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.osb-footer .osb-cd-empty { margin-top: 0 !important; background: transparent; color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .25); }
.osb-footer .osb-cd-empty a { color: var(--osb-orange-soft); }
.osb-footer__bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-block: 1.5rem; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.osb-footer__bottom p { margin: 0; }

/* ---------- Generic pages ---------- */
.osb-page { padding-block: clamp(3rem, 7vw, 5rem); }
.osb-page__title { margin-bottom: 1.5rem; }
.osb-meta { color: var(--osb-slate); font-size: .9rem; }
.osb-post-list { display: grid; gap: 2rem; }
.osb-post-list > li { padding-bottom: 2rem; border-bottom: 1px solid var(--osb-line); }
.osb-post-list__title a { color: var(--osb-navy); text-decoration: none; }
.osb-404__ctas { margin-top: 2rem !important; }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.osb-hero__title { max-width: none; }
	.osb-hero__art { max-width: 440px; margin-inline: auto; }
	.osb-trust__list { justify-content: flex-start; }
	.osb-header__right { gap: .9rem; }
}
@media (max-width: 640px) {
	.osb-form__grid { grid-template-columns: 1fr; }
	.osb-cta .wp-block-buttons, .osb-cta .wp-block-button, .osb-cta .wp-block-button__link { width: 100%; }
}
@media (max-width: 480px) {
	:root { --osb-header-h: 66px; }
	.osb-brand .osb-mark { width: 34px; height: 34px; }
	.osb-brand__name { font-size: 1.1rem; }
	.osb-brand__sub { display: none; }
	.osb-btn-sm > .wp-block-button__link { padding: .6rem .8rem; font-size: .82rem; }
}

/* ---------- Europe coverage ---------- */
.osb-europe { background: var(--osb-mist); }
.osb-countries { list-style: none; padding: 0; margin: 2.2rem auto 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 980px; }
.osb-countries li { margin: 0; }
.osb-country { padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--osb-line); color: var(--osb-ink); font-weight: 600; font-size: .95rem; box-shadow: var(--osb-shadow); }
.osb-country--home { background: var(--osb-red, #C8102E); background: var(--osb-orange); border-color: transparent; color: #fff; }
.osb-europe__note { margin-top: 2rem !important; color: var(--osb-slate); }
.osb-europe__note a { font-weight: 700; }

/* grid counts for 4 cards / 5 steps */
@media (min-width: 1140px) { .osb-steps--five.is-layout-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.osb-hero__title .osb-accent { color: #F9B3BE; }
.osb-process__art { margin: 2.4rem 0 1rem !important; }
.osb-process__art img { width: 100%; height: auto; }

/* ---------- Facility ---------- */
.osb-facility { background: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem; }
.osb-facility__grid { gap: 0 !important; margin-bottom: 0 !important; align-items: stretch !important; background: linear-gradient(135deg, #500711 0%, #8F0A1F 70%, #A50E25 100%); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(80, 7, 17, .18); }
.osb-facility__photo { position: relative; min-height: 320px; }
.osb-facility__img { height: 100%; margin: 0 !important; }
.osb-facility__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.osb-facility__panel { padding: clamp(2.2rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3.4rem); }
.osb-facility__title { color: #fff; margin-top: 1rem !important; max-width: 22ch; }
.osb-facility__lead { color: #EFD2D7; margin-top: 1rem !important; max-width: 52ch; }
.osb-facility__stats { gap: 2.4rem; margin-top: 1.8rem !important; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1.6rem; }
.osb-facility__num { font-family: var(--osb-display); font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0 !important; }
.osb-facility__label { color: #D8A8B0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: .15rem 0 0 !important; }
.osb-facility__cta { margin-top: 2rem !important; }
.osb-btn-white > .wp-block-button__link { background: #fff; color: var(--osb-orange); }
.osb-btn-white > .wp-block-button__link:hover { background: #FFE3E8; color: var(--osb-orange); }
@media (max-width: 781px) {
	.osb-facility__photo { min-height: 240px; }
	.osb-facility__grid { flex-wrap: wrap !important; }
}
