/* ==========================================================================
   BlueWave Global — Core design system
   1. Fonts          5. Buttons         9. Reusable components
   2. Tokens         6. Forms          10. WordPress core
   3. Base           7. Header         11. Utilities
   4. Typography     8. Footer         12. Responsive
   ========================================================================== */

/* 1. Fonts
   -------------------------------------------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/sora-500.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/sora-800.woff2') format('woff2'); }

/* 2. Tokens
   -------------------------------------------------------------------------- */
:root {
	--bw-navy: #06223d;
	--bw-navy-deep: #04182c;
	--bw-navy-800: #0a2b4c;
	--bw-navy-700: #103a63;
	--bw-blue: #0b63e5;
	--bw-blue-dark: #0a4fb8;
	--bw-blue-soft: #e9f2ff;
	--bw-aqua: #16c8b8;
	--bw-aqua-soft: #e2faf7;
	--bw-sky: #f4f8fc;
	--bw-sky-deep: #eaf1f9;
	--bw-white: #ffffff;
	--bw-ink: #0d1b2a;
	--bw-body: #44576b;
	--bw-muted: #6c7f92;
	--bw-line: #e3eaf2;
	--bw-line-strong: #d3deea;
	--bw-star: #f5a524;

	--bw-font-head: 'Sora', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	--bw-font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

	--bw-radius-sm: 8px;
	--bw-radius: 14px;
	--bw-radius-lg: 22px;
	--bw-radius-xl: 30px;
	--bw-pill: 999px;

	--bw-shadow-sm: 0 2px 6px rgba(6, 34, 61, 0.06);
	--bw-shadow: 0 14px 40px -18px rgba(6, 34, 61, 0.22);
	--bw-shadow-lg: 0 34px 80px -32px rgba(6, 34, 61, 0.35);

	--bw-container: 1200px;
	--bw-gutter: 24px;
	--bw-section-y: clamp(64px, 7.5vw, 108px);

	--bw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--bw-header-h: 84px;
}

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

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

body {
	margin: 0;
	font-family: var(--bw-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--bw-body);
	background: var(--bw-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--bw-blue); text-decoration: none; transition: color 0.2s var(--bw-ease); }
a:hover { color: var(--bw-blue-dark); }

:focus-visible {
	outline: 3px solid rgba(11, 99, 229, 0.55);
	outline-offset: 3px;
	border-radius: 4px;
}

input, button, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(11, 99, 229, 0.16); color: var(--bw-ink); }

/* 4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.55em;
	font-family: var(--bw-font-head);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.022em;
	color: var(--bw-ink);
	text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 4.7vw, 4.15rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.95rem, 3.1vw, 2.85rem); }
h3 { font-size: clamp(1.28rem, 1.7vw, 1.5rem); }
h4 { font-size: 1.12rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.92rem; }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--bw-ink); }

ul, ol { padding-left: 1.25em; }

blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 26px;
	border-left: 3px solid var(--bw-blue);
	font-family: var(--bw-font-head);
	font-size: 1.2rem;
	line-height: 1.55;
	color: var(--bw-ink);
	font-style: normal;
}
blockquote cite { display: block; margin-top: 12px; font-family: var(--bw-font-body); font-size: 0.85rem; font-style: normal; color: var(--bw-muted); }

code, kbd, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--bw-sky);
	border-radius: 6px;
}
code { padding: 2px 6px; }
pre { padding: 20px; overflow: auto; border: 1px solid var(--bw-line); }

hr { border: 0; border-top: 1px solid var(--bw-line); margin: 2.5em 0; }

/* Content links inside long-form copy */
.bw-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 5. Buttons
   -------------------------------------------------------------------------- */
.bw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: var(--bw-pill);
	border: 1px solid transparent;
	font-family: var(--bw-font-body);
	font-size: 0.94rem;
	font-weight: 600;
	letter-spacing: 0.005em;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.22s var(--bw-ease), box-shadow 0.22s var(--bw-ease), background-color 0.22s var(--bw-ease), border-color 0.22s var(--bw-ease), color 0.22s var(--bw-ease);
}
.bw-btn svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform 0.22s var(--bw-ease); }
.bw-btn:hover { transform: translateY(-2px); }
.bw-btn:hover svg { transform: translateX(3px); }
.bw-btn:active { transform: translateY(0); }

.bw-btn--primary {
	background: var(--bw-blue);
	color: #fff;
	box-shadow: 0 14px 28px -14px rgba(11, 99, 229, 0.65);
}
.bw-btn--primary:hover { background: var(--bw-blue-dark); color: #fff; box-shadow: 0 18px 34px -14px rgba(11, 99, 229, 0.7); }

.bw-btn--ghost {
	background: transparent;
	color: var(--bw-ink);
	border-color: var(--bw-line-strong);
}
.bw-btn--ghost:hover { border-color: var(--bw-navy); background: var(--bw-white); color: var(--bw-ink); }

.bw-btn--light {
	background: #fff;
	color: var(--bw-navy);
	box-shadow: var(--bw-shadow-sm);
}
.bw-btn--light:hover { background: var(--bw-blue-soft); color: var(--bw-blue-dark); }

.bw-btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.32);
}
.bw-btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.bw-btn--sm { padding: 11px 20px; font-size: 0.86rem; }
.bw-btn--lg { padding: 17px 32px; font-size: 1rem; }
.bw-btn--block { width: 100%; }

.bw-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bw-blue);
}
.bw-link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s var(--bw-ease); }
.bw-link-arrow:hover svg { transform: translateX(4px); }

/* 6. Forms
   -------------------------------------------------------------------------- */
.bw-field { display: block; margin-bottom: 18px; }
.bw-field > span,
.bw-label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--bw-ink);
}
.bw-field .req { color: var(--bw-blue); }

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='number'],
input[type='date'],
select,
textarea {
	width: 100%;
	padding: 13px 16px;
	background: #fff;
	border: 1px solid var(--bw-line-strong);
	border-radius: 10px;
	font-size: 0.94rem;
	color: var(--bw-ink);
	transition: border-color 0.2s var(--bw-ease), box-shadow 0.2s var(--bw-ease);
	appearance: none;
}
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7f92' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 42px;
}
textarea { min-height: 132px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--bw-blue);
	box-shadow: 0 0 0 4px rgba(11, 99, 229, 0.13);
}

::placeholder { color: #8d9cad; opacity: 1; }

.bw-form-note { font-size: 0.78rem; color: var(--bw-muted); margin: 12px 0 0; }
.bw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.bw-form-grid .bw-field--full { grid-column: 1 / -1; }

/* Notices */
.bw-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: var(--bw-radius-sm);
	font-size: 0.9rem;
	margin-bottom: 22px;
	border: 1px solid transparent;
}
.bw-notice svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.bw-notice--success { background: #ecfdf3; border-color: #bbf0ce; color: #14532d; }
.bw-notice--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.bw-notice--info { background: var(--bw-blue-soft); border-color: #c9ddfc; color: var(--bw-navy-800); }
.bw-notice p { margin: 0; }

/* 7. Header
   -------------------------------------------------------------------------- */
.bw-topbar {
	background: var(--bw-navy);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.79rem;
	letter-spacing: 0.01em;
}
.bw-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
}
.bw-topbar__note { display: flex; align-items: center; gap: 10px; margin: 0; }
.bw-topbar__note svg { width: 14px; height: 14px; color: var(--bw-aqua); }
.bw-topbar__meta { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.bw-topbar__meta a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.8); }
.bw-topbar__meta a:hover { color: #fff; }
.bw-topbar__meta svg { width: 13px; height: 13px; opacity: 0.75; }
.bw-topbar__track { color: #fff !important; font-weight: 600; }
.bw-topbar__lang { display: flex; align-items: center; }
.bw-topbar__track svg { opacity: 1; color: var(--bw-aqua); }

/* The header wrapper must not clip the sticky header's scroll range. */
.bw-header-wrap { display: contents; }

.bw-site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--bw-line);
	transition: box-shadow 0.25s var(--bw-ease);
}
.admin-bar .bw-site-header { top: 32px; }
.bw-site-header.is-stuck { box-shadow: 0 18px 40px -30px rgba(6, 34, 61, 0.5); }

.bw-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--bw-header-h);
	transition: min-height 0.25s var(--bw-ease);
}
.is-stuck .bw-header__inner { min-height: 72px; }

/* Brand */
.bw-brand {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	text-decoration: none !important;
	line-height: 1.05;
	flex: 0 0 auto;
}
.bw-brand__name {
	font-family: var(--bw-font-head);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: var(--bw-navy);
}
.bw-brand__global { color: var(--bw-blue); font-weight: 800; margin-left: 4px; }
.bw-brand__tag {
	font-size: 0.59rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--bw-muted);
	padding-left: 1px;
}
.bw-brand:hover .bw-brand__name { color: var(--bw-navy); }
.bw-brand img { max-height: 52px; width: auto; }

/* Primary navigation */
.bw-nav { margin-left: auto; }
.bw-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bw-nav li { position: relative; }
.bw-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 8px;
	white-space: nowrap;
	border-radius: var(--bw-pill);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--bw-ink);
}
.bw-nav a:hover { color: var(--bw-blue); background: var(--bw-sky); }
.bw-nav .current-menu-item > a,
.bw-nav .current-menu-parent > a,
.bw-nav .current_page_item > a,
.bw-nav .current_page_parent > a { color: var(--bw-blue); font-weight: 600; }
.bw-nav .menu-item-has-children > a::after {
	content: '';
	width: 8px;
	height: 8px;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.55;
	transition: transform 0.2s var(--bw-ease);
}
.bw-nav .menu-item-has-children:hover > a::after,
.bw-nav .menu-item-has-children:focus-within > a::after { transform: rotate(225deg) translateY(-2px); }

/* Dropdowns */
.bw-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 246px;
	display: block;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--bw-line);
	border-radius: var(--bw-radius);
	box-shadow: 0 24px 60px -24px rgba(6, 34, 61, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--bw-ease), transform 0.2s var(--bw-ease), visibility 0.2s;
	z-index: 20;
}
.bw-nav .sub-menu::before {
	content: '';
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}
.bw-nav li:hover > .sub-menu,
.bw-nav li:focus-within > .sub-menu,
.bw-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.bw-nav .sub-menu li { width: 100%; }
.bw-nav .sub-menu a {
	display: flex;
	width: 100%;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 500;
	white-space: normal;
}
.bw-nav .sub-menu a:hover { background: var(--bw-sky); }
.bw-nav .sub-menu .menu-item-has-children > a::after { margin-left: auto; transform: rotate(-45deg); }

/* Header actions */
.bw-header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.bw-header__contact { display: flex; align-items: center; gap: 11px; color: var(--bw-ink); }
.bw-header__contact:hover { color: var(--bw-ink); }
.bw-header__contact-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bw-blue-soft);
	color: var(--bw-blue);
}
.bw-header__contact-icon svg { width: 18px; height: 18px; }
.bw-header__contact-label { font-size: 0.84rem; font-weight: 600; color: var(--bw-navy); white-space: nowrap; }
.bw-header__cta { padding: 12px 18px; font-size: 0.9rem; }

/* Mobile toggle */
.bw-nav-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	background: var(--bw-navy);
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}
.bw-nav-toggle span {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transform: translateX(-50%);
	transition: transform 0.25s var(--bw-ease), opacity 0.2s, top 0.25s var(--bw-ease);
}
.bw-nav-toggle span:nth-child(1) { top: 16px; }
.bw-nav-toggle span:nth-child(2) { top: 22px; }
.bw-nav-toggle span:nth-child(3) { top: 28px; }
.is-nav-open .bw-nav-toggle span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.is-nav-open .bw-nav-toggle span:nth-child(2) { opacity: 0; }
.is-nav-open .bw-nav-toggle span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.bw-mobile-nav {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(400px, 92vw);
	background: #fff;
	z-index: 120;
	display: flex;
	flex-direction: column;
	padding: 26px 26px 34px;
	transform: translateX(102%);
	visibility: hidden;
	transition: transform 0.32s var(--bw-ease), visibility 0.32s;
	overflow-y: auto;
	box-shadow: -30px 0 80px -30px rgba(6, 34, 61, 0.4);
}
.is-nav-open .bw-mobile-nav { transform: translateX(0); visibility: visible; }
.bw-mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.bw-mobile-nav__close {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--bw-line);
	background: #fff;
	cursor: pointer;
	color: var(--bw-navy);
}
.bw-mobile-nav__close svg { width: 18px; height: 18px; }
.bw-mobile-nav ul { list-style: none; margin: 0 0 24px; padding: 0; }
.bw-mobile-nav li { border-bottom: 1px solid var(--bw-line); }
.bw-mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 2px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--bw-ink);
}
.bw-mobile-nav .sub-menu { display: none; margin: 0; padding: 0 0 12px 16px; }
.bw-mobile-nav .sub-menu li { border-bottom: 0; }
.bw-mobile-nav .sub-menu a { padding: 9px 0; font-size: 0.9rem; font-weight: 500; color: var(--bw-body); }
.bw-mobile-nav .menu-item-has-children > a::after {
	content: '';
	width: 9px;
	height: 9px;
	border-right: 1.6px solid var(--bw-muted);
	border-bottom: 1.6px solid var(--bw-muted);
	transform: rotate(45deg);
	transition: transform 0.2s var(--bw-ease);
	flex: 0 0 auto;
}
.bw-mobile-nav .menu-item-has-children.is-open > a::after { transform: rotate(225deg); }
.bw-mobile-nav .is-open > .sub-menu { display: block; }
.bw-mobile-nav__foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--bw-line); }
.bw-mobile-nav__foot .bw-btn { display: flex; width: 100%; margin-bottom: 16px; justify-content: center; }
.bw-mobile-nav__foot .bw-btn--primary { color: #fff; }
.bw-mobile-nav__foot .bw-btn--primary:hover { color: #fff; }
.bw-mobile-nav__foot a { color: var(--bw-ink); }
.bw-mobile-nav__contact { font-size: 0.88rem; line-height: 1.9; color: var(--bw-body); }
.bw-mobile-nav__contact a { display: inline; padding: 0; font-weight: 600; color: var(--bw-navy); font-size: 0.88rem; }

.bw-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(4, 24, 44, 0.55);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	z-index: 110;
}
.is-nav-open .bw-nav-overlay { opacity: 1; visibility: visible; }
body.is-nav-open { overflow: hidden; }

/* 8. Footer
   -------------------------------------------------------------------------- */
.bw-footer {
	position: relative;
	background: var(--bw-navy-deep);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.91rem;
	overflow: hidden;
}
.bw-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(11, 99, 229, 0.28), transparent 70%);
	pointer-events: none;
}
.bw-footer a { color: rgba(255, 255, 255, 0.74); }
.bw-footer a:hover { color: #fff; }
.bw-footer__main {
	position: relative;
	display: grid;
	grid-template-columns: 1.5fr 0.9fr 0.9fr 1.25fr;
	gap: 48px;
	padding: clamp(56px, 6vw, 82px) 0 48px;
}
.bw-footer .bw-brand__name { color: #fff; }
.bw-footer .bw-brand__global { color: var(--bw-aqua); }
.bw-footer .bw-brand__tag { color: rgba(255, 255, 255, 0.45); }
.bw-footer__about { margin: 22px 0 24px; max-width: 34ch; line-height: 1.75; }
.bw-footer__heading {
	margin: 6px 0 20px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
}
.bw-footer ul { list-style: none; margin: 0; padding: 0; }
.bw-footer__links li { margin-bottom: 11px; }
.bw-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.bw-footer__links a::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--bw-aqua);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s, transform 0.2s;
}
.bw-footer__links a:hover::before { opacity: 1; transform: translateX(0); }

.bw-footer__contact li {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
	line-height: 1.6;
}
.bw-footer__contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--bw-aqua); }
.bw-footer__contact strong { display: block; color: #fff; font-weight: 600; }

.bw-socials { display: flex; gap: 10px; }
.bw-socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.8);
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.bw-socials svg { width: 16px; height: 16px; }
.bw-socials a:hover { background: var(--bw-blue); border-color: var(--bw-blue); color: #fff; transform: translateY(-2px); }

.bw-footer__newsletter {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 32px;
	align-items: center;
	padding: 30px 34px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--bw-radius-lg);
	margin-bottom: 48px;
}
.bw-footer__newsletter h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.bw-footer__newsletter p { margin: 0; font-size: 0.87rem; }
.bw-newsletter-form { display: flex; gap: 10px; }
.bw-newsletter-form input[type='email'] {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.bw-newsletter-form input[type='email']::placeholder { color: rgba(255, 255, 255, 0.45); }
.bw-newsletter-form input[type='email']:focus { background: rgba(255, 255, 255, 0.1); border-color: var(--bw-aqua); box-shadow: 0 0 0 4px rgba(22, 200, 184, 0.16); }
.bw-newsletter-form .bw-btn { flex: 0 0 auto; }

.bw-footer__bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.81rem;
	color: rgba(255, 255, 255, 0.5);
}
.bw-footer__bottom p { margin: 0; }
.bw-footer__legal { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bw-footer__widgets { padding-bottom: 10px; }
.bw-footer .widget { margin-bottom: 26px; }
.bw-footer .widget-title { color: #fff; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* 9. Reusable components
   -------------------------------------------------------------------------- */
.bw-wrap { width: 100%; max-width: var(--bw-container); margin-inline: auto; padding-inline: var(--bw-gutter); }
.bw-section { padding-block: var(--bw-section-y); position: relative; }
.bw-section--tint { background: var(--bw-sky); }
.bw-section--navy { background: var(--bw-navy); color: rgba(255, 255, 255, 0.72); }
.bw-section--navy h2, .bw-section--navy h3, .bw-section--navy h4 { color: #fff; }
.bw-section--tight { padding-block: clamp(48px, 5vw, 72px); }
.bw-section--flush-top { padding-top: 0; }

.bw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: var(--bw-font-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--bw-blue);
}
.bw-eyebrow::before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 2px;
	background: var(--bw-aqua);
	border-radius: 2px;
}
.bw-section--navy .bw-eyebrow,
.bw-why .bw-eyebrow,
.bw-cta .bw-eyebrow,
.bw-page-hero .bw-eyebrow,
.bw-contact-band__info .bw-eyebrow { color: #8fc4ff; }
.bw-why .bw-eyebrow::before,
.bw-cta .bw-eyebrow::before,
.bw-page-hero .bw-eyebrow::before,
.bw-contact-band__info .bw-eyebrow::before { background: var(--bw-aqua); }
.bw-eyebrow--center { justify-content: center; }

.bw-section-head { max-width: 660px; margin-bottom: clamp(38px, 4.4vw, 56px); }
.bw-section-head--center { margin-inline: auto; text-align: center; }
.bw-section-head h2 { margin-bottom: 14px; }
.bw-section-head .bw-lead,
.bw-section-head > p:not(.bw-eyebrow) { color: var(--bw-body); font-size: 1.03rem; margin: 0; }
.bw-section--navy .bw-section-head > p { color: rgba(255, 255, 255, 0.66); }

.bw-section-head__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px 40px;
	flex-wrap: wrap;
	max-width: none;
	margin-bottom: clamp(34px, 4vw, 52px);
}
.bw-section-head__row > .bw-btn { margin-bottom: 4px; }
.bw-section-head__row .bw-section-head { margin-bottom: 0; }

.bw-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: var(--bw-pill);
	background: var(--bw-blue-soft);
	color: var(--bw-blue-dark);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.bw-chip svg { width: 13px; height: 13px; }
.bw-chip--aqua { background: var(--bw-aqua-soft); color: #0b7d72; }
.bw-chip--soft { background: var(--bw-sky); color: var(--bw-body); }
.bw-chip--light { background: rgba(255, 255, 255, 0.12); color: #fff; }
.bw-chip--amber { background: #fff5e5; color: #9a5b00; }

.bw-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--bw-blue-soft);
	color: var(--bw-blue);
	flex: 0 0 auto;
}
.bw-icon svg { width: 24px; height: 24px; }
.bw-icon--aqua { background: var(--bw-aqua-soft); color: #0d9488; }
.bw-icon--dark { background: rgba(255, 255, 255, 0.08); color: var(--bw-aqua); }
.bw-icon--sm { width: 40px; height: 40px; border-radius: 11px; }
.bw-icon--sm svg { width: 19px; height: 19px; }

.bw-card {
	background: #fff;
	border: 1px solid var(--bw-line);
	border-radius: var(--bw-radius-lg);
	box-shadow: 0 1px 2px rgba(6, 34, 61, 0.03);
}
.bw-grid { display: grid; gap: 24px; }
.bw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bw-check-list { list-style: none; margin: 0; padding: 0; }
.bw-check-list li {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 7px 0;
	font-size: 0.95rem;
}
.bw-check-list svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; color: var(--bw-blue); }
.bw-section--navy .bw-check-list svg { color: var(--bw-aqua); }

/* Breadcrumbs */
.bw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 0.82rem; }
.bw-crumbs li { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.62); }
.bw-crumbs a { color: rgba(255, 255, 255, 0.78); }
.bw-crumbs a:hover { color: #fff; }
.bw-crumbs li + li::before { content: '/'; opacity: 0.4; }

/* Page hero (inner pages) */
.bw-page-hero {
	position: relative;
	padding: clamp(54px, 6vw, 92px) 0 clamp(48px, 5vw, 76px);
	background:
		radial-gradient(ellipse 70% 90% at 90% -10%, rgba(11, 99, 229, 0.4), transparent 60%),
		linear-gradient(135deg, var(--bw-navy) 0%, var(--bw-navy-deep) 100%);
	color: rgba(255, 255, 255, 0.72);
	overflow: hidden;
}
.bw-page-hero::after {
	content: '';
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02);
	pointer-events: none;
}
.bw-page-hero h1 { color: #fff; margin: 10px 0 14px; max-width: 18ch; }
.bw-page-hero strong,
.bw-page-hero h2,
.bw-page-hero h3 { color: #fff; }
.bw-page-hero p { max-width: 60ch; color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; margin: 0; }
.bw-page-hero .bw-crumbs { margin-bottom: 22px; }
.bw-page-hero .bw-eyebrow { color: #8fc4ff; }
.bw-page-hero__inner { position: relative; z-index: 1; }
.bw-page-hero--center { text-align: center; }
.bw-page-hero--center h1, .bw-page-hero--center p { margin-inline: auto; }
.bw-page-hero--center .bw-crumbs { justify-content: center; }

/* Entry content (default page/post) */
.bw-entry { padding-block: clamp(48px, 6vw, 84px); }
.bw-entry__inner { max-width: 800px; margin-inline: auto; }
.bw-entry__inner h2 { margin-top: 1.6em; }
.bw-entry__inner h3 { margin-top: 1.4em; }
.bw-entry__inner img { border-radius: var(--bw-radius); margin-block: 1.6em; }
.bw-entry__inner ul, .bw-entry__inner ol { margin-bottom: 1.4em; }
.bw-entry__inner li { margin-bottom: 0.5em; }

/* 10. WordPress core
   -------------------------------------------------------------------------- */
.alignleft { float: left; margin: 0 28px 20px 0; }
.alignright { float: right; margin: 0 0 20px 28px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: min(1100px, calc(100vw - 48px)); max-width: none; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.8rem; color: var(--bw-muted); margin-top: 8px; }
.sticky { position: relative; }
.bypostauthor { position: relative; }
.wp-block-image img { border-radius: var(--bw-radius); }
.wp-block-quote { border-left: 3px solid var(--bw-blue); padding-left: 24px; }
.wp-block-button__link { font-family: var(--bw-font-body); font-weight: 600; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--bw-line); padding: 10px 14px; text-align: left; }
.wp-block-table th { background: var(--bw-sky); color: var(--bw-ink); font-size: 0.85rem; }
.wp-block-separator { border-top: 1px solid var(--bw-line); }

/* Comments */
.bw-comments { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--bw-line); }
.bw-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.bw-comments .comment-body {
	padding: 24px;
	margin-bottom: 18px;
	background: var(--bw-sky);
	border-radius: var(--bw-radius);
}
.bw-comments .comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bw-comments .comment-author img { border-radius: 50%; }
.bw-comments .comment-metadata { font-size: 0.78rem; color: var(--bw-muted); }
.bw-comments .reply a { font-size: 0.8rem; font-weight: 600; }
.bw-comments .children { list-style: none; padding-left: 30px; margin: 0; }
.comment-form label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--bw-ink); }
.comment-form p { margin-bottom: 16px; }

/* 11. Utilities
   -------------------------------------------------------------------------- */
.bw-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.bw-text-center { text-align: center; }
.bw-mt-0 { margin-top: 0; }
.bw-mb-0 { margin-bottom: 0; }
.bw-mt-32 { margin-top: 32px; }
.bw-mt-48 { margin-top: 48px; }
.bw-flex { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bw-divider-wave {
	display: block;
	width: 100%;
	height: auto;
	color: var(--bw-white);
	line-height: 0;
	pointer-events: none;
}
.bw-muted { color: var(--bw-muted); }
.bw-small { font-size: 0.82rem; }

/* Subtle reveal on scroll (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
	.bw-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--bw-ease), transform 0.7s var(--bw-ease); }
	.bw-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* 12. Responsive shell
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.bw-header__contact small { display: none; }
	.bw-header__contact { gap: 0; }
	.bw-header__contact-icon { display: none; }
	.bw-header__contact strong { font-size: 0.86rem; }
}


@media (max-width: 1023px) {
	:root { --bw-header-h: 76px; }
	.bw-nav { display: none; }
	.bw-nav-toggle { display: block; }
	.bw-header__inner { justify-content: space-between; gap: 16px; }
	.bw-footer__main { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
	.bw-footer__col--contact { grid-column: 1 / -1; }
	.bw-footer__newsletter { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 782px) {
	.admin-bar .bw-site-header { top: 46px; }
	.bw-topbar__note span:not(.bw-topbar__note-text) { display: none; }
	.bw-topbar__trackitem { display: none; }
	.bw-grid--3, .bw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bw-section-head__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	:root { --bw-gutter: 20px; }
	.bw-topbar__note { display: none; }
	.bw-topbar__inner { justify-content: flex-end; min-height: 40px; }
	.bw-grid--2, .bw-grid--3, .bw-grid--4 { grid-template-columns: 1fr; }
	.bw-brand__name { font-size: 1.3rem; }
	.bw-header__cta { display: none; }
	.bw-form-grid { grid-template-columns: 1fr; }
	.bw-footer__main { grid-template-columns: 1fr 1fr; gap: 34px; }
	.bw-footer__col--brand { grid-column: 1 / -1; }
	.bw-footer__newsletter { padding: 24px; }
	.bw-newsletter-form { flex-direction: column; }
	.bw-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
	.alignleft, .alignright { float: none; margin: 0 0 20px; }
}

/* 13. Navigation extras & fixed helpers
   -------------------------------------------------------------------------- */
.bw-submenu-toggle {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 52px;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--bw-muted);
	cursor: pointer;
	z-index: 2;
}
.bw-submenu-toggle svg { transition: transform 0.25s var(--bw-ease); }
.menu-item.is-open > .bw-submenu-toggle svg { transform: rotate(180deg); }

.bw-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 80;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--bw-navy);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(6, 34, 61, 0.5);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) rotate(-45deg);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.bw-to-top svg { width: 19px; height: 19px; }
.bw-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) rotate(-45deg); }
.bw-to-top:hover { background: var(--bw-blue); }

[hidden] { display: none !important; }
.js-track-message { margin-top: 14px; }

@media (max-width: 1023px) {
	.bw-mobile-nav li { position: relative; }
	.bw-mobile-nav .menu-item-has-children > a { padding-right: 56px; }
	.bw-mobile-nav .menu-item-has-children > a::after { display: none; }
	.bw-submenu-toggle { display: flex; height: 54px; }
	.bw-mobile-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 16px; min-width: 0; }
}

/* Footer widget defaults */
.bw-footer__widgets { padding-top: 8px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,0.08); }
.bw-footer .widget { margin-bottom: 28px; }
.bw-footer .widget-title { margin: 0 0 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.bw-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.bw-footer .widget li { margin-bottom: 9px; font-size: 0.88rem; }
.bw-footer .widget a { color: rgba(255,255,255,0.74); }
.bw-footer .widget a:hover { color: #fff; }
.bw-footer .widget p { font-size: 0.88rem; }
