/* ==========================================================================
   Sea Maritime — theme styles
   Tokens come from theme.json (var(--wp--preset--*)); this file adds the
   component layer used by the page sections.
   ========================================================================== */

:root {
	--smg-radius-sm: 10px;
	--smg-radius: 14px;
	--smg-radius-lg: 22px;
	--smg-shadow-soft: 0 1px 2px rgba(11, 27, 43, .06), 0 4px 14px rgba(11, 27, 43, .06);
	--smg-shadow: 0 18px 40px -18px rgba(11, 27, 43, .28), 0 2px 6px rgba(11, 27, 43, .05);
	--smg-shadow-lg: 0 40px 80px -30px rgba(4, 18, 31, .45);
	--smg-ease: cubic-bezier(.2, .7, .2, 1);
	--smg-topbar-h: 40px;
	--smg-header-h: 76px;
	--smg-ink: var(--wp--preset--color--ink, #0B1B2B);
	--smg-slate: var(--wp--preset--color--slate, #4B5D73);
	--smg-navy: var(--wp--preset--color--navy, #0A2540);
	--smg-midnight: var(--wp--preset--color--midnight, #04121F);
	--smg-action: var(--wp--preset--color--action, #1668C7);
	--smg-brand: var(--wp--preset--color--brand, #004080);
	--smg-sky: var(--wp--preset--color--sky, #7CC6F4);
	--smg-foam: var(--wp--preset--color--foam, #E7F1FB);
	--smg-mist: var(--wp--preset--color--mist, #F3F6FA);
	--smg-line: var(--wp--preset--color--line, #DCE4EE);
	--smg-amber: var(--wp--preset--color--amber, #F2A516);
	--smg-gutter: var(--wp--style--root--padding-left, clamp(1rem, 4vw, 2rem));
}

/* ---------- Icons ---------- */
:root {
	--smg-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13 5.5l6.5 6.5-6.5 6.5'/%3E%3C/svg%3E");
	--smg-i-check-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--smg-i-check-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237CC6F4' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--smg-i-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 24'%3E%3Cpath d='M0 24V13.6C0 5.9 4.3 1.3 11.6 0l1.3 3.2C8.6 4.6 6.6 7.1 6.4 11H12v13Zm17 0V13.6C17 5.9 21.3 1.3 28.6 0l1.3 3.2c-4.3 1.4-6.3 3.9-6.5 7.8H29v13Z'/%3E%3C/svg%3E");
	--smg-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 260' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M0 40 C 90 10, 170 70, 260 40 S 430 10, 520 40'/%3E%3Cpath d='M0 62 C 90 32, 170 92, 260 62 S 430 32, 520 62'/%3E%3Cpath d='M0 84 C 90 54, 170 114, 260 84 S 430 54, 520 84'/%3E%3Cpath d='M0 106 C 90 76, 170 136, 260 106 S 430 76, 520 106'/%3E%3Cpath d='M0 128 C 90 98, 170 158, 260 128 S 430 98, 520 128'/%3E%3Cpath d='M0 150 C 90 120, 170 180, 260 150 S 430 120, 520 150'/%3E%3Cpath d='M0 172 C 90 142, 170 202, 260 172 S 430 142, 520 172'/%3E%3Cpath d='M0 194 C 90 164, 170 224, 260 194 S 430 164, 520 194'/%3E%3Cpath d='M0 216 C 90 186, 170 246, 260 216 S 430 186, 520 216'/%3E%3C/svg%3E");
	--smg-ico-gear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M19.4 13.5a7.6 7.6 0 0 0 0-3l2-1.5-2-3.4-2.3.9a7.5 7.5 0 0 0-2.6-1.5L14 2.6h-4l-.5 2.4a7.5 7.5 0 0 0-2.6 1.5l-2.3-.9-2 3.4 2 1.5a7.6 7.6 0 0 0 0 3l-2 1.5 2 3.4 2.3-.9a7.5 7.5 0 0 0 2.6 1.5l.5 2.4h4l.5-2.4a7.5 7.5 0 0 0 2.6-1.5l2.3.9 2-3.4Z'/%3E%3C/svg%3E");
}
.smg-ico-anchor { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Cpath d='M12 7.2V21'/%3E%3Cpath d='M8 10.5h8'/%3E%3Cpath d='M4.5 13.5a7.5 7.5 0 0 0 15 0'/%3E%3Cpath d='m4.5 13.5-1.6 2.2M19.5 13.5l1.6 2.2'/%3E%3C/svg%3E"); }
.smg-ico-lifebuoy { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.8'/%3E%3Cpath d='m5.6 5.6 3.7 3.7M14.7 14.7l3.7 3.7M18.4 5.6l-3.7 3.7M9.3 14.7l-3.7 3.7'/%3E%3C/svg%3E"); }
.smg-ico-users { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.3'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17.2' cy='9' r='2.6'/%3E%3Cpath d='M16.3 14.2c2.7.4 4.7 2.7 4.7 5.8'/%3E%3C/svg%3E"); }
.smg-ico-box { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 20.5 7.3v9.4L12 21.2 3.5 16.7V7.3Z'/%3E%3Cpath d='M3.5 7.3 12 11.8l8.5-4.5'/%3E%3Cpath d='M12 11.8v9.4'/%3E%3Cpath d='m7.8 5 8.4 4.6'/%3E%3C/svg%3E"); }
.smg-ico-basket { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 9.5h17l-1.6 9.6a2 2 0 0 1-2 1.7H7.1a2 2 0 0 1-2-1.7Z'/%3E%3Cpath d='m8.5 9.5 2.6-5.8M15.5 9.5l-2.6-5.8'/%3E%3Cpath d='M9 13.5v3.5M12 13.5v3.5M15 13.5v3.5'/%3E%3C/svg%3E"); }
.smg-ico-waves { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8c1.7 0 1.7-1.6 3.4-1.6S7.1 8 8.8 8s1.6-1.6 3.3-1.6S13.8 8 15.5 8s1.7-1.6 3.4-1.6S20.3 8 22 8'/%3E%3Cpath d='M2 13c1.7 0 1.7-1.6 3.4-1.6S7.1 13 8.8 13s1.6-1.6 3.3-1.6 1.7 1.6 3.4 1.6 1.7-1.6 3.4-1.6S20.3 13 22 13'/%3E%3Ccircle cx='8' cy='18.4' r='1.4'/%3E%3Ccircle cx='12.6' cy='20.2' r='.9'/%3E%3Ccircle cx='16.4' cy='17.6' r='1.9'/%3E%3C/svg%3E"); }
.smg-ico-shield { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 19.5 5.6v5.9c0 4.6-3.1 8.4-7.5 9.7-4.4-1.3-7.5-5.1-7.5-9.7V5.6Z'/%3E%3Cpath d='M12 8.6v6M9 11.6h6'/%3E%3C/svg%3E"); }
.smg-ico-document { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2.8H7a2 2 0 0 0-2 2v14.4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7.8Z'/%3E%3Cpath d='M14 2.8v5h5'/%3E%3Cpath d='M8.5 12.5h7M8.5 16h4.5'/%3E%3C/svg%3E"); }
.smg-ico-ship { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.8 14.2h18.4l-2.4 4.4a2 2 0 0 1-1.8 1.1H7a2 2 0 0 1-1.8-1.1Z'/%3E%3Cpath d='M5.6 14.2V10h9l2.6 4.2'/%3E%3Cpath d='M8.4 10V6.5h3.3V10'/%3E%3C/svg%3E"); }
.smg-ico-globe { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18Z'/%3E%3C/svg%3E"); }
.smg-ico-clock { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.2V12l3.2 2'/%3E%3C/svg%3E"); }
.smg-ico-phone { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 3.8h3.2l1.6 4.1-2.1 1.3a11.4 11.4 0 0 0 6.7 6.7l1.3-2.1 4.1 1.6v3.2a1.6 1.6 0 0 1-1.7 1.6A16.6 16.6 0 0 1 3.6 5.5a1.6 1.6 0 0 1 1.6-1.7Z'/%3E%3C/svg%3E"); }
.smg-ico-mail { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.2'/%3E%3Cpath d='m3.6 6.8 8.4 6.1 8.4-6.1'/%3E%3C/svg%3E"); }
.smg-ico-pin { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.4a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.6' r='2.5'/%3E%3C/svg%3E"); }
.smg-ico-compass { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.6 8.4-2.1 5.1-5.1 2.1 2.1-5.1Z'/%3E%3C/svg%3E"); }
.smg-ico-handshake { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='m14 14 2.5 2.5a1.4 1.4 0 0 0 2-2l-3.8-3.8a3 3 0 0 0-4.2 0l-.9.9a1.4 1.4 0 0 1-2-2l2.8-2.8a5 5 0 0 1 6 0l.6.4a3 3 0 0 0 1.6.5H21'/%3E%3Cpath d='M21 4v10h-2'/%3E%3Cpath d='M3 4v10h2l5 5a1.4 1.4 0 0 0 2-2'/%3E%3Cpath d='M3 5h8'/%3E%3C/svg%3E"); }
.smg-ico-check { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.smg-ico-shieldcheck { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 19.5 5.6v5.9c0 4.6-3.1 8.4-7.5 9.7-4.4-1.3-7.5-5.1-7.5-9.7V5.6Z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.6'/%3E%3C/svg%3E"); }
.smg-ico-bolt { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.8 4.8 13.5H12l-1 7.7 8.2-10.7H12Z'/%3E%3C/svg%3E"); }
.smg-ico-route { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.2'/%3E%3Ccircle cx='18' cy='6' r='2.2'/%3E%3Cpath d='M8.2 18H15a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h6.8'/%3E%3C/svg%3E"); }
.smg-ico-chat { --smg-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 11.6a8.2 8.2 0 0 1-12.1 7.2L3.6 20.2l1.5-4.2a8.2 8.2 0 1 1 15.1-4.4Z'/%3E%3Cpath d='M8.4 11.6h.01M12 11.6h.01M15.6 11.6h.01' stroke-width='2.8'/%3E%3C/svg%3E"); }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--smg-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss03";
	overflow-x: hidden;
}
::selection { background: #CFE5FB; color: var(--smg-ink); }
img { height: auto; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull,
.wp-block-post-content > .wp-block-cover.alignfull { margin-block-start: 0; margin-block-end: 0; }
.smg-main { margin-block-start: 0; }
p:empty { display: none; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
strong { font-weight: 650; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
.screen-reader-text:focus { background: #fff; color: var(--smg-ink); z-index: 100000; }

/* Skip link */
.skip-link.screen-reader-text:focus {
	top: 8px; left: 8px; padding: .75rem 1rem; border-radius: 8px; box-shadow: var(--smg-shadow);
}

/* ---------- Typography helpers ---------- */
.smg-eyebrow,
.is-style-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--smg-action);
	margin-bottom: 0;
}
.smg-eyebrow::before,
.is-style-eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.smg-eyebrow--light,
.smg-section--navy .smg-eyebrow,
.smg-section--navy .is-style-eyebrow,
.wp-block-cover .smg-eyebrow { color: var(--smg-sky); }

.smg-lead,
.is-style-lead {
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height: 1.6;
	color: var(--smg-slate);
}
.smg-muted { color: var(--smg-slate); }
.smg-small { font-size: var(--wp--preset--font-size--small) !important; }

/* ---------- Sections ---------- */
.smg-section {
	padding-block: var(--wp--preset--spacing--80);
	position: relative;
}
.smg-section--tight { padding-block: var(--wp--preset--spacing--70); }
.smg-section--flush-top { padding-top: 0; }
.smg-section--mist { background: var(--smg-mist); }
.smg-section--foam { background: linear-gradient(180deg, var(--smg-foam), #fff); }
.smg-section--navy {
	background:
		radial-gradient(1100px 520px at 85% -10%, rgba(22, 104, 199, .38), transparent 62%),
		radial-gradient(800px 480px at -10% 110%, rgba(124, 198, 244, .12), transparent 60%),
		linear-gradient(180deg, #0A2540 0%, #061A2E 100%);
	color: rgba(255, 255, 255, .76);
}
.smg-section--navy :where(h1, h2, h3, h4) { color: #fff; }
.smg-section--navy .smg-lead,
.smg-section--navy .is-style-lead { color: rgba(255, 255, 255, .72); }
.smg-section--navy a:not(.wp-block-button__link) { color: #fff; }

.smg-section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem) !important; }
.smg-section-head > * + * { margin-top: 1rem; }
.smg-section-head h2 { font-size: var(--wp--preset--font-size--xx-large); letter-spacing: -.03em; line-height: 1.08; margin-top: 1rem !important; }
.smg-section-head--center { margin-inline: auto !important; text-align: center; }
.smg-section-head--center .smg-eyebrow { justify-content: center; }
.smg-section-head--split {
	max-width: none;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 1rem 4rem;
	align-items: end;
}
.smg-section-head--split > * { margin: 0 !important; }
.smg-section-head--split .smg-eyebrow { grid-column: 1; }
.smg-section-head--split h2 { grid-column: 1; }
.smg-section-head--split .smg-lead { grid-column: 2; grid-row: 2; }

/* ---------- Grids ---------- */
.smg-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.smg-grid.smg-grid > * { margin: 0; min-width: 0; }
.smg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.smg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.smg-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.smg-section-head--split { grid-template-columns: minmax(0, 1fr); }
	.smg-section-head--split .smg-lead { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
	.smg-grid--2, .smg-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: .75rem; }
:where(.wp-block-button) .wp-block-button__link {
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--smg-ease), box-shadow .25s ease;
}
.wp-block-button:not(.is-style-outline):not(.is-style-outline-light):not(.is-style-light) > .wp-block-button__link {
	box-shadow: 0 10px 24px -12px rgba(22, 104, 199, .75);
}
.wp-block-button > .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.smg-arrow > .wp-block-button__link,
.smg-arrow .wp-block-button__link { display: inline-flex; align-items: center; gap: .6em; }
.wp-block-button.smg-arrow > .wp-block-button__link::after,
.smg-arrow .wp-block-button__link::after {
	content: "";
	width: 1em; height: 1em;
	background: currentColor;
	-webkit-mask: var(--smg-i-arrow) center / contain no-repeat;
	mask: var(--smg-i-arrow) center / contain no-repeat;
	transition: transform .25s var(--smg-ease);
}
.smg-arrow .wp-block-button__link:hover::after { transform: translateX(3px); }

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: transparent;
	color: var(--smg-navy);
	border: 1.5px solid rgba(10, 37, 64, .28);
	padding: calc(.95em - 1.5px) calc(1.5em - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--smg-navy);
	border-color: var(--smg-navy);
	color: #fff;
}
.wp-block-button.is-style-light > .wp-block-button__link {
	background: #fff;
	color: var(--smg-navy);
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: var(--smg-foam); color: var(--smg-navy); }
.wp-block-button.is-style-outline-light > .wp-block-button__link {
	background: rgba(255, 255, 255, .04);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .45);
	padding: calc(.95em - 1.5px) calc(1.5em - 1.5px);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.wp-block-button.is-style-outline-light > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
	color: #fff;
}
.smg-link-arrow a,
a.smg-link-arrow {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}
.smg-link-arrow a::after,
a.smg-link-arrow::after {
	content: "";
	width: .95em; height: .95em;
	background: currentColor;
	-webkit-mask: var(--smg-i-arrow) center / contain no-repeat;
	mask: var(--smg-i-arrow) center / contain no-repeat;
	transition: transform .25s var(--smg-ease);
}
.smg-link-arrow a:hover::after,
a.smg-link-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
header.wp-block-template-part,
.smg-site-header {
	position: sticky;
	top: calc(var(--smg-topbar-h) * -1);
	z-index: 90;
}
.admin-bar header.wp-block-template-part { top: calc(32px - var(--smg-topbar-h)); }
@media (max-width: 782px) {
	.admin-bar header.wp-block-template-part { top: calc(46px - var(--smg-topbar-h)); }
}
@media (max-width: 600px) {
	.admin-bar header.wp-block-template-part { top: calc(var(--smg-topbar-h) * -1); }
}

.smg-topbar {
	background: var(--smg-midnight);
	color: rgba(255, 255, 255, .7);
	font-size: .8125rem;
	line-height: 1.2;
}
.smg-topbar__row {
	min-height: var(--smg-topbar-h);
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.smg-topbar p { margin: 0 !important; }
.smg-topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.smg-topbar a:hover { color: var(--smg-sky); }
.smg-topbar__links {
	display: flex !important;
	align-items: center;
	gap: 1.75rem;
	margin: 0 !important;
}
.smg-topbar__links > * { margin: 0 !important; }
.smg-topbar__label { color: rgba(255, 255, 255, .5); margin-right: .35rem; }
.smg-live,
.smg-topbar__live {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: .01em;
}
.smg-live::before,
.smg-topbar__live::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #22C55E;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
	animation: smg-pulse 2.4s infinite;
}
@keyframes smg-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
	70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.smg-live::before, .smg-topbar__live::before { animation: none; }
}

.smg-header {
	/* No backdrop-filter here: it would trap the fixed mobile menu overlay inside the header. */
	background: #fff;
	border-bottom: 1px solid var(--smg-line);
	transition: box-shadow .3s ease, background-color .3s ease;
}
.is-scrolled .smg-header { box-shadow: 0 12px 30px -18px rgba(4, 18, 31, .35); }
.smg-header__row {
	min-height: var(--smg-header-h);
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: nowrap !important;
}
.smg-header__row > * { margin: 0 !important; }
.smg-logo { margin: 0 !important; flex: none; }
.smg-logo img { display: block; width: 218px !important; height: auto; max-width: none; }
.smg-logo a { display: block; }
.smg-header__nav {
	display: flex !important;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2.25rem);
	flex-wrap: nowrap !important;
	margin: 0 !important;
}
.smg-header__nav > * { margin: 0 !important; }
.smg-header__cta .wp-block-button__link { padding: .8em 1.2em; font-size: .875rem; white-space: nowrap; }

/* Navigation */
.smg-nav .wp-block-navigation__container { gap: clamp(1rem, 2.1vw, 2rem); }
.smg-nav .wp-block-navigation-item__content {
	color: var(--smg-ink);
	text-decoration: none;
	padding-block: .5rem;
	transition: color .2s ease;
}
.smg-nav .wp-block-navigation-item__content:hover,
.smg-nav .current-menu-item > .wp-block-navigation-item__content,
.smg-nav .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--smg-action); }
.smg-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { position: relative; }
.smg-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	border-radius: 2px;
	background: var(--smg-action);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--smg-ease);
}
.smg-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.smg-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.smg-nav .wp-block-navigation__submenu-icon { margin-left: .3rem; width: .7em; height: .7em; }
.smg-nav .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid var(--smg-line) !important;
	border-radius: var(--smg-radius) !important;
	box-shadow: var(--smg-shadow) !important;
	padding: .5rem !important;
	min-width: 290px !important;
	margin-top: .6rem;
}
.smg-nav .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: -.9rem; height: .9rem;
}
.smg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: .6rem .85rem !important;
	border-radius: 8px;
	font-weight: 500;
	font-size: .9rem;
	color: var(--smg-ink);
}
.smg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--smg-mist);
	color: var(--smg-action);
}
.smg-nav .smg-nav-mobile-only { display: none !important; }

/* Mobile overlay menu */
.smg-nav .wp-block-navigation__responsive-container-open { color: var(--smg-navy); }
.smg-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
.smg-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--smg-midnight) !important;
	color: #fff !important;
	padding: 1.25rem var(--smg-gutter) 2rem !important;
}
.smg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem !important;
	align-items: flex-start !important;
}
.smg-nav .is-menu-open .wp-block-navigation__container { gap: 1.1rem !important; align-items: flex-start !important; }
.smg-nav .is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	font-size: 1.35rem;
	font-weight: 700;
	padding: 0 !important;
}
.smg-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.smg-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: .75rem 0 .25rem 1rem !important;
	min-width: 0 !important;
	margin: 0 !important;
	gap: .6rem !important;
}
.smg-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .75) !important;
}
.smg-nav .is-menu-open .smg-nav-mobile-only { display: flex !important; }
.smg-nav .is-menu-open .smg-nav-mobile-only .wp-block-navigation-item__content {
	margin-top: 1rem;
	background: var(--smg-action);
	border-radius: 10px;
	padding: .85rem 1.25rem !important;
	font-size: 1rem;
}
.smg-nav .wp-block-navigation__responsive-container-close { color: #fff; top: 1.25rem; right: var(--smg-gutter); }
.smg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.smg-nav .is-menu-open .wp-block-navigation__container,
.smg-nav .is-menu-open .wp-block-navigation-item,
.smg-nav .is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
.smg-nav .is-menu-open .wp-block-navigation__submenu-container {
	border-left: 1px solid rgba(255, 255, 255, .16) !important;
	border-radius: 0 !important;
	padding: .2rem 0 .2rem 1rem !important;
	margin-top: .8rem !important;
}
.smg-nav .is-menu-open .wp-block-navigation-item__content:focus { outline: none; }
.smg-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--smg-sky); outline-offset: 4px; border-radius: 4px; }
.smg-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

@media (max-width: 1180px) {
	.smg-topbar__hide-md { display: none !important; }
	.smg-logo img { width: 196px !important; }
}
@media (max-width: 781px) {
	:root { --smg-header-h: 66px; --smg-topbar-h: 36px; }
	.smg-header__cta { display: none !important; }
	.smg-topbar__hide-sm { display: none !important; }
	.smg-topbar__links { gap: 1rem; }
	.smg-logo img { width: 176px !important; }
}
@media (max-width: 420px) {
	.smg-topbar__hide-xs .smg-topbar__label { display: none; }
	.smg-topbar { font-size: .78rem; }
	.smg-logo img { width: 160px !important; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.smg-hero.wp-block-cover {
	min-height: min(92vh, 880px) !important;
	align-items: stretch;
	padding: clamp(6.5rem, 12vw, 9.5rem) var(--smg-gutter) clamp(1.5rem, 3vw, 2.5rem);
	color: #fff;
}
.smg-hero > .wp-block-cover__image-background { object-position: 60% 50%; }
.smg-hero > .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
}
.smg-hero__inner {
	flex: 1;
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(3rem, 7vw, 5.5rem);
	width: 100%;
}
.smg-hero__inner > * { margin: 0 !important; }
.smg-hero__content { max-width: 780px; margin-block: auto 0 !important; }
.smg-hero__content > * + * { margin-top: 1.4rem !important; }
.smg-hero__title {
	color: #fff !important;
	font-size: var(--wp--preset--font-size--huge) !important;
	line-height: 1.02 !important;
	letter-spacing: -.035em !important;
	font-weight: 800;
	margin-top: 1.25rem !important;
}
.smg-hero__lead {
	font-size: clamp(1.0625rem, 1.5vw, 1.3rem) !important;
	line-height: 1.6;
	color: rgba(255, 255, 255, .84);
	max-width: 620px;
}
.smg-hero .wp-block-buttons { margin-top: 2rem !important; }
.smg-hero__coverage {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--smg-radius);
	overflow: hidden;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}
.smg-hero__coverage.smg-hero__coverage > * { margin: 0; }
.smg-cov {
	background: rgba(4, 18, 31, .5);
	padding: 1.1rem 1.35rem 1.2rem !important;
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: .9rem;
	row-gap: .2rem;
	align-items: center;
	transition: background-color .25s ease;
}
.smg-cov:hover { background: rgba(10, 37, 64, .62); }
.smg-cov > * { margin: 0 !important; }
.smg-cov__code {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 10px;
	background: rgba(124, 198, 244, .16);
	border: 1px solid rgba(124, 198, 244, .35);
	color: var(--smg-sky);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: .8rem !important;
	letter-spacing: .06em;
}
.smg-cov__country {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1rem !important;
	color: #fff;
	line-height: 1.3;
}
.smg-cov__ports { font-size: .84rem !important; color: rgba(255, 255, 255, .68); line-height: 1.45; }

@media (max-width: 900px) {
	.smg-hero__coverage { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
	.smg-hero.wp-block-cover { min-height: 0 !important; padding-top: 4.5rem; }
	.smg-hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.smg-hero .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; }
}

/* ---------- Stats band ---------- */
.smg-stats-band {
	background: #fff;
	border-bottom: 1px solid var(--smg-line);
	padding-block: clamp(2rem, 4vw, 3rem);
}
.smg-stats {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.smg-stats.smg-stats > * { margin: 0; }
.smg-stat { padding: .25rem clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--smg-line); }
.smg-stat:first-child { border-left: 0; padding-left: 0; }
.smg-stat > * { margin: 0 !important; }
.smg-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: clamp(2.1rem, 3.6vw, 3rem) !important;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--smg-navy);
	font-variant-numeric: tabular-nums;
}
.smg-stat__num strong, .smg-stat__num em { color: var(--smg-action); font-style: normal; font-weight: 800; }
.smg-stat__label { margin-top: .6rem !important; color: var(--smg-slate); font-size: .95rem !important; line-height: 1.45; }
@media (max-width: 860px) {
	.smg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
	.smg-stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Cards ---------- */
.smg-card,
.is-style-card {
	position: relative;
	display: flex !important;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--smg-line);
	border-radius: var(--smg-radius);
	padding: clamp(1.5rem, 2.4vw, 2rem) !important;
	transition: transform .35s var(--smg-ease), box-shadow .35s ease, border-color .35s ease;
}
.smg-card > *, .is-style-card > * { margin: 0 !important; }
.smg-card > * + *, .is-style-card > * + * { margin-top: .75rem !important; }
.smg-card:hover { transform: translateY(-4px); box-shadow: var(--smg-shadow); border-color: transparent; }
.smg-card__title { font-size: 1.2rem !important; line-height: 1.3; letter-spacing: -.015em; }
.smg-card__text { color: var(--smg-slate); font-size: .975rem !important; line-height: 1.6; }
.smg-card__link { margin-top: auto !important; padding-top: 1.1rem; font-size: .9rem !important; }
.smg-card__link a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-decoration: none;
	color: var(--smg-action);
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}
.smg-card__link a::after {
	content: "";
	width: .95em; height: .95em;
	background: currentColor;
	-webkit-mask: var(--smg-i-arrow) center / contain no-repeat;
	mask: var(--smg-i-arrow) center / contain no-repeat;
	transition: transform .25s var(--smg-ease);
}
.smg-card:hover .smg-card__link a::after { transform: translateX(3px); }
/* whole card clickable */
.smg-card--link .smg-card__link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

/* Icon tile (set by .smg-ico-* modifier classes) */
[class*="smg-ico-"]::before {
	content: "";
	display: block;
	flex: none;
	width: 52px; height: 52px;
	border-radius: 14px;
	background-color: var(--smg-foam);
	background-image: var(--smg-ico);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
	margin-bottom: 1.35rem;
	transition: background-color .35s ease, transform .35s var(--smg-ease);
}
.smg-card:hover[class*="smg-ico-"]::before { background-color: #D6E8FA; transform: scale(1.04); }

/* Detailed service cards (services overview) */
.smg-card--service-lg { padding: clamp(1.75rem, 3vw, 2.5rem) !important; }
.smg-card--service-lg .smg-card__title { font-size: var(--wp--preset--font-size--large) !important; }
.smg-card--service-lg .is-style-checklist { margin-top: 1.25rem !important; }

/* ---------- Lists ---------- */
.is-style-checklist,
.smg-checklist { list-style: none; padding-left: 0 !important; }
.is-style-checklist li,
.smg-checklist li {
	position: relative;
	padding-left: 2rem;
	line-height: 1.5;
}
.is-style-checklist li + li,
.smg-checklist li + li { margin-top: .7rem; }
.is-style-checklist li::before,
.smg-checklist li::before {
	content: "";
	position: absolute;
	left: 0; top: .1em;
	width: 1.3rem; height: 1.3rem;
	border-radius: 50%;
	background: var(--smg-foam) var(--smg-i-check-blue) center / .8rem no-repeat;
}
.smg-section--navy .is-style-checklist li::before { background-color: rgba(124, 198, 244, .16); background-image: var(--smg-i-check-sky); }
.is-style-checklist.smg-checklist--cols { columns: 2; column-gap: 2.5rem; }
.is-style-checklist.smg-checklist--cols li { break-inside: avoid; margin-top: 0; margin-bottom: .7rem; }
@media (max-width: 640px) { .is-style-checklist.smg-checklist--cols { columns: 1; } }

.is-style-plain { list-style: none; padding-left: 0 !important; }
.is-style-chips {
	list-style: none;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.is-style-chips li {
	margin: 0 !important;
	font-size: .85rem;
	line-height: 1.2;
	padding: .45rem .8rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--smg-line);
	color: var(--smg-ink);
	font-weight: 500;
}
.smg-section--navy .is-style-chips li,
.smg-country .is-style-chips li {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .92);
}
.is-style-chips li.smg-chip--more,
.is-style-chips li:last-child:where(:not(:first-child)) em { font-style: normal; }

/* ---------- Process steps ---------- */
.smg-steps {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.smg-steps.smg-steps > * { margin: 0; }
.smg-step {
	position: relative;
	padding-top: 1.75rem !important;
	border-top: 1px solid var(--smg-line);
}
.smg-step::before {
	content: "";
	position: absolute;
	top: -1px; left: 0;
	width: 64px; height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--smg-action), var(--smg-sky));
}
.smg-step > * { margin: 0 !important; }
.smg-step > * + * { margin-top: .65rem !important; }
.smg-step__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: .8rem !important;
	letter-spacing: .16em;
	color: var(--smg-action);
}
.smg-step h3 { font-size: 1.25rem !important; }
.smg-step p:not(.smg-step__num) { color: var(--smg-slate); font-size: .975rem; }
@media (max-width: 1000px) { .smg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; } }
@media (max-width: 600px) { .smg-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Coverage / countries ---------- */
.smg-map-wrap { margin-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem) !important; }
.smg-country {
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--smg-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem) !important;
	display: flex !important;
	flex-direction: column;
	transition: border-color .3s ease, transform .35s var(--smg-ease), background-color .3s;
}
.smg-country:hover { border-color: rgba(124, 198, 244, .45); transform: translateY(-3px); }
.smg-country > * { margin: 0 !important; }
.smg-country > * + * { margin-top: .6rem !important; }
.smg-country__code {
	align-self: flex-start;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: .72rem !important;
	letter-spacing: .14em;
	color: var(--smg-midnight);
	background: var(--smg-sky);
	border-radius: 6px;
	padding: .3rem .55rem;
	line-height: 1;
}
.smg-country h3 { font-size: 1.5rem !important; margin-top: 1rem !important; color: #fff; }
.smg-country__meta { color: rgba(255, 255, 255, .62); font-size: .92rem !important; }
.smg-country .is-style-chips { margin-top: 1.25rem !important; }
.smg-country .smg-country__note { color: rgba(255, 255, 255, .7); font-size: .95rem !important; }

/* ---------- Split (text + media) ---------- */
.smg-split { gap: clamp(2rem, 6vw, 5.5rem) !important; align-items: center !important; }
.smg-split--top { align-items: flex-start !important; }
.smg-media { position: relative; }
.smg-media .wp-block-image { margin: 0; }
.smg-media .wp-block-image img,
.is-style-rounded-lg img {
	border-radius: var(--smg-radius-lg);
	width: 100%;
	object-fit: cover;
	display: block;
}
.smg-media--portrait .wp-block-image img { aspect-ratio: 4 / 5; }
.smg-media--landscape .wp-block-image img { aspect-ratio: 4 / 3; }
.smg-media::after {
	content: "";
	position: absolute;
	inset: auto -18px -18px auto;
	width: 60%; height: 60%;
	border-radius: var(--smg-radius-lg);
	background: repeating-linear-gradient(135deg, rgba(22, 104, 199, .14) 0 2px, transparent 2px 12px);
	z-index: -1;
}
@media (max-width: 781px) {
	/* Keep the decorative frame inside the phone gutter (no sideways scroll). */
	.smg-media::after { inset: auto -10px -12px auto; }
}
.smg-float-badge {
	position: absolute !important;
	left: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	margin: 0 !important;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: var(--smg-radius);
	padding: 1rem 1.25rem !important;
	box-shadow: var(--smg-shadow-lg);
	max-width: calc(100% - 2rem);
}
.smg-float-badge > * { margin: 0 !important; }
.smg-float-badge .smg-live { color: var(--smg-ink); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--wp--preset--font-family--heading); font-weight: 700; }
.smg-float-badge .smg-float-badge__value {
	margin-top: .35rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.2rem !important;
	letter-spacing: -.01em;
	color: var(--smg-navy);
}
.smg-float-badge a { color: inherit; text-decoration: none; }

.smg-features { display: grid !important; gap: 1.6rem; margin-top: 2rem !important; }
.smg-features.smg-features > * { margin: 0; }
.smg-feature { position: relative; padding-left: 3.6rem !important; }
.smg-feature > * { margin: 0 !important; }
.smg-feature > * + * { margin-top: .35rem !important; }
.smg-feature::before {
	content: "";
	position: absolute;
	left: 0; top: .1rem;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: var(--smg-foam) var(--smg-ico, var(--smg-i-check-blue)) center / 22px no-repeat;
}
.smg-feature[class*="smg-ico-"]::before { margin: 0; width: 42px; height: 42px; background-size: 22px; }
.smg-feature h3 { font-size: 1.1rem !important; }
.smg-feature p { color: var(--smg-slate); font-size: .975rem; }

/* ---------- Testimonials ---------- */
.wp-block-quote.is-style-testimonial,
.smg-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #fff;
	border: 1px solid var(--smg-line) !important;
	border-radius: var(--smg-radius);
	padding: clamp(1.75rem, 3vw, 2.25rem) !important;
	padding-top: clamp(3.75rem, 5vw, 4.25rem) !important;
	transition: box-shadow .35s ease, transform .35s var(--smg-ease);
}
.wp-block-quote.is-style-testimonial:hover { box-shadow: var(--smg-shadow); transform: translateY(-3px); }
.wp-block-quote.is-style-testimonial::before {
	content: "";
	position: absolute;
	top: clamp(1.5rem, 2.5vw, 1.9rem);
	left: clamp(1.75rem, 3vw, 2.25rem);
	width: 30px; height: 24px;
	background: var(--smg-action);
	-webkit-mask: var(--smg-i-quote) center / contain no-repeat;
	mask: var(--smg-i-quote) center / contain no-repeat;
	opacity: .9;
}
.wp-block-quote.is-style-testimonial p {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--smg-ink);
	margin: 0;
}
.wp-block-quote.is-style-testimonial p + p { margin-top: .8rem; }
.wp-block-quote.is-style-testimonial cite {
	display: block;
	margin-top: auto;
	padding-top: 1.5rem;
	font-style: normal;
	font-size: .9rem;
	line-height: 1.45;
	color: var(--smg-slate);
}
.wp-block-quote.is-style-testimonial cite strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1rem;
	color: var(--smg-navy);
}
.smg-testimonials-grid { align-items: stretch; }

/* ---------- CTA panel ---------- */
.smg-cta-section { padding-block: var(--wp--preset--spacing--70); }
.smg-cta-panel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--smg-radius-lg);
	background:
		radial-gradient(700px 360px at 100% 0%, rgba(124, 198, 244, .28), transparent 60%),
		linear-gradient(120deg, #0A2540 0%, #0B3A6B 55%, #1668C7 125%);
	color: rgba(255, 255, 255, .8);
	padding: clamp(2rem, 5.5vw, 4.25rem) !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1.35fr) auto;
	align-items: center;
	gap: 2rem 3rem;
	box-shadow: var(--smg-shadow-lg);
}
.smg-cta-panel::after {
	content: "";
	position: absolute;
	right: -60px; bottom: -40px;
	width: 520px; height: 260px;
	background: var(--smg-waves) center / contain no-repeat;
	opacity: .22;
	z-index: -1;
	pointer-events: none;
}
.smg-cta-panel.smg-cta-panel > * { margin: 0; }
.smg-cta-panel__text > * { margin: 0 !important; }
.smg-cta-panel__text > * + * { margin-top: .9rem !important; }
.smg-cta-panel h2 { color: #fff; font-size: var(--wp--preset--font-size--xx-large); letter-spacing: -.03em; line-height: 1.08; }
.smg-cta-panel p { color: rgba(255, 255, 255, .8); font-size: 1.075rem; max-width: 560px; }
.smg-cta-panel .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 900px) {
	.smg-cta-panel { grid-template-columns: minmax(0, 1fr); }
	.smg-cta-panel .wp-block-buttons { justify-content: flex-start; }
}

/* ---------- Quick actions (home) ---------- */
.smg-quick {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: 0;
	/* The cards straddle the white/mist boundary into the services section below. */
	background: linear-gradient(180deg, transparent calc(100% - 120px), var(--wp--preset--color--mist) calc(100% - 120px));
}
.smg-actions-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.smg-actions-grid.smg-actions-grid > * { margin: 0; }
.smg-action-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--smg-radius-lg);
	padding: clamp(1.75rem, 3.5vw, 2.75rem) !important;
	background: #fff;
	border: 1px solid var(--smg-line);
	display: flex !important;
	flex-direction: column;
	gap: .9rem;
	transition: transform .35s var(--smg-ease), box-shadow .35s ease;
}
.smg-action-card:hover { transform: translateY(-3px); box-shadow: var(--smg-shadow); }
.smg-action-card > * { margin: 0 !important; }
.smg-action-card h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important; letter-spacing: -.025em; line-height: 1.15; }
.smg-action-card p:not(.smg-eyebrow) { color: var(--smg-slate); max-width: 460px; }
.smg-action-card .wp-block-buttons { margin-top: auto !important; padding-top: .6rem; }
.smg-action-card--dark {
	background:
		radial-gradient(520px 280px at 100% 0%, rgba(124, 198, 244, .28), transparent 60%),
		linear-gradient(135deg, #0A2540 0%, #0B3A6B 100%);
	border-color: transparent;
}
.smg-action-card--dark h3 { color: #fff; }
.smg-action-card--dark p:not(.smg-eyebrow) { color: rgba(255, 255, 255, .78); }
.smg-action-card--dark::after {
	content: "";
	position: absolute;
	right: -80px; bottom: -60px;
	width: 420px; height: 210px;
	background: var(--smg-waves) center / contain no-repeat;
	opacity: .18;
	z-index: -1;
}
.smg-action-card--parts {
	background:
		radial-gradient(420px 240px at 100% 0%, rgba(22, 104, 199, .10), transparent 65%),
		#fff;
	box-shadow: 0 18px 40px -30px rgba(11, 27, 43, .35);
}
.smg-action-card--parts::after {
	content: "";
	position: absolute;
	right: 1.75rem; top: 1.6rem;
	width: 72px; height: 72px;
	border-radius: 20px;
	background: var(--smg-foam) var(--smg-ico-gear) center / 38px no-repeat;
}
@media (max-width: 860px) {
	.smg-actions-grid { grid-template-columns: minmax(0, 1fr); }
	.smg-action-card--parts::after { width: 56px; height: 56px; background-size: 30px; }
}
.smg-section--app { padding-top: clamp(2rem, 4vw, 3rem); }

/* Footer social */
.smg-footer .smg-social { gap: .5rem; margin-top: 1.25rem !important; }
.smg-footer .smg-social .wp-social-link { background: rgba(255, 255, 255, .08) !important; border-radius: 10px; }
.smg-footer .smg-social .wp-social-link a { padding: .55rem; }
.smg-footer .smg-social .wp-social-link:hover { background: var(--smg-action) !important; transform: none; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.smg-page-hero.wp-block-cover {
	min-height: clamp(380px, 44vw, 540px) !important;
	align-items: flex-end;
	padding: clamp(5rem, 9vw, 7.5rem) var(--smg-gutter) clamp(3rem, 6vw, 4.75rem);
	color: #fff;
}
.smg-page-hero > .wp-block-cover__inner-container { padding: 0 !important; }
.smg-page-hero__inner > * { margin: 0 !important; }
.smg-page-hero__inner > * + * { margin-top: 1.1rem !important; }
.smg-page-hero__title {
	color: #fff !important;
	font-size: clamp(2.3rem, 5.2vw, 4rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -.035em !important;
	max-width: 900px;
}
.smg-page-hero__lead {
	color: rgba(255, 255, 255, .84);
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem) !important;
	line-height: 1.6;
	max-width: 680px;
}
.smg-page-hero .wp-block-buttons { margin-top: 1.75rem !important; }
.smg-breadcrumbs {
	font-size: .82rem;
	color: rgba(255, 255, 255, .62);
	margin: 0 0 1.25rem !important;
}
.smg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.smg-breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.smg-breadcrumbs li + li::before { content: "/"; opacity: .45; }
.smg-breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.smg-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.smg-breadcrumbs [aria-current] { color: rgba(255, 255, 255, .6); }

/* Default page header (templates/page.html) */
.smg-page-header {
	background: linear-gradient(180deg, var(--smg-mist), #fff);
	border-bottom: 1px solid var(--smg-line);
	padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}
.smg-page-header .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); letter-spacing: -.03em; }
.smg-prose { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--wp--preset--spacing--80); }
.smg-prose h2 { margin-top: 2.5rem; font-size: var(--wp--preset--font-size--large); }
.smg-prose h3 { margin-top: 2rem; font-size: var(--wp--preset--font-size--medium); }

/* ==========================================================================
   Service detail
   ========================================================================== */
.smg-detail { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.smg-detail__main > * + * { margin-top: 1.1rem; }
.smg-detail__main h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.75rem !important; }
.smg-detail__main h2:first-child { margin-top: 0 !important; }
.smg-detail__main > p { font-size: 1.075rem; color: #2a3a4d; }
.smg-detail__main .is-style-checklist { margin-top: 1.5rem !important; }
.smg-aside { position: sticky; top: calc(var(--smg-header-h) + 1.5rem); align-self: flex-start; }
.smg-aside > * + * { margin-top: 1.25rem !important; }
.smg-aside-card {
	background: #fff;
	border: 1px solid var(--smg-line);
	border-radius: var(--smg-radius);
	padding: 1.75rem !important;
	box-shadow: var(--smg-shadow-soft);
}
.smg-aside-card > * { margin: 0 !important; }
.smg-aside-card > * + * { margin-top: .8rem !important; }
.smg-aside-card h3 { font-size: 1.2rem !important; }
.smg-aside-card p { color: var(--smg-slate); font-size: .95rem; }
.smg-aside-card .wp-block-buttons { margin-top: 1.25rem !important; }
.smg-aside-card .wp-block-button { width: 100%; }
.smg-aside-card .wp-block-button__link { width: 100%; justify-content: center; }
.smg-aside-card--dark {
	background: linear-gradient(160deg, #0A2540, #04121F);
	border-color: transparent;
	color: rgba(255, 255, 255, .78);
}
.smg-aside-card--dark h3 { color: #fff; }
.smg-aside-card--dark p { color: rgba(255, 255, 255, .72); }
.smg-aside-card--dark a { color: #fff; }
.smg-contact-lines { font-size: .95rem !important; line-height: 1.9 !important; }
.smg-contact-lines a { text-decoration: none; font-weight: 600; }
.smg-contact-lines a:hover { text-decoration: underline; }
@media (max-width: 781px) { .smg-aside { position: static; } }

/* Related services */
.smg-related .smg-card { padding: 1.25rem 1.4rem !important; flex-direction: row; align-items: center; gap: 1rem; }
.smg-related .smg-card[class*="smg-ico-"]::before { width: 44px; height: 44px; margin: 0; background-size: 22px; border-radius: 12px; }
.smg-related .smg-card > * + * { margin-top: 0 !important; }
.smg-related .smg-card__title { font-size: 1rem !important; }
.smg-related .smg-card__title a { color: var(--smg-ink); text-decoration: none; }
.smg-related .smg-card__title a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.smg-related .smg-card:hover .smg-card__title a { color: var(--smg-action); }

/* ==========================================================================
   About
   ========================================================================== */
.smg-value { background: #fff; }
.smg-value .smg-value__num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: .8rem !important;
	letter-spacing: .16em;
	color: var(--smg-action);
}
.smg-person {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 1.25rem;
	row-gap: .2rem;
	align-items: start;
}
.smg-person > * { margin: 0 !important; grid-column: 2; }
.smg-person__avatar {
	grid-column: 1 !important;
	grid-row: 1 / span 4;
	width: 64px; height: 64px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: linear-gradient(140deg, var(--smg-action), var(--smg-navy));
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.2rem !important;
	letter-spacing: .02em;
}
.smg-person h3 { font-size: 1.2rem !important; }
.smg-person__role { color: var(--smg-action); font-weight: 600; font-size: .92rem !important; }
.smg-person__contact { margin-top: .75rem !important; color: var(--smg-slate); font-size: .92rem !important; line-height: 1.8; }
.smg-person__contact a { text-decoration: none; font-weight: 600; }
.smg-person:hover { transform: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.smg-contact-card > * { margin: 0 !important; }
.smg-contact-card > * + * { margin-top: .5rem !important; }
.smg-contact-card h3 { font-size: 1.05rem !important; display: flex; align-items: center; gap: .6rem; }
.smg-contact-card .smg-contact-lines { color: var(--smg-slate); }
.smg-form-card {
	background: #fff;
	border: 1px solid var(--smg-line);
	border-radius: var(--smg-radius-lg);
	padding: clamp(1.5rem, 4vw, 2.75rem) !important;
	box-shadow: var(--smg-shadow);
}
.smg-form-card > h2 { font-size: var(--wp--preset--font-size--large); margin: 0 0 .5rem !important; }
.smg-form-card > p { color: var(--smg-slate); margin: 0 0 1.75rem !important; }
.smg-next-steps { counter-reset: smgstep; list-style: none; padding: 0 !important; }
.smg-next-steps li { counter-increment: smgstep; position: relative; padding-left: 2.75rem; }
.smg-next-steps li + li { margin-top: 1rem; }
.smg-next-steps li::before {
	content: counter(smgstep);
	position: absolute; left: 0; top: -.1rem;
	width: 1.9rem; height: 1.9rem;
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--smg-foam);
	color: var(--smg-action);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: .85rem;
}
.smg-aside-card--dark .smg-next-steps li::before { background: rgba(124, 198, 244, .16); color: var(--smg-sky); }

/* ==========================================================================
   Footer
   ========================================================================== */
.smg-footer {
	background:
		radial-gradient(900px 400px at 10% 0%, rgba(22, 104, 199, .16), transparent 60%),
		var(--smg-midnight);
	color: rgba(255, 255, 255, .64);
	font-size: .95rem;
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.smg-footer__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.35fr);
	gap: clamp(2rem, 4vw, 3.5rem);
}
.smg-footer__grid.smg-footer__grid > * { margin: 0; }
.smg-footer__grid > * > * { margin: 0 !important; }
.smg-footer__grid > * > * + * { margin-top: 1rem !important; }
.smg-footer .smg-logo img { width: 230px !important; }
.smg-footer__about { max-width: 340px; line-height: 1.7; }
.smg-footer__title {
	color: #fff !important;
	font-size: .78rem !important;
	font-weight: 700 !important;
	letter-spacing: .16em !important;
	text-transform: uppercase;
	margin-bottom: 1.25rem !important;
}
.smg-footer .is-style-plain li + li { margin-top: .6rem; }
.smg-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s ease; }
.smg-footer a:hover { color: #fff; text-decoration: underline; }
.smg-footer__office strong { color: #fff; font-weight: 600; font-family: var(--wp--preset--font-family--heading); }
.smg-footer__office { line-height: 1.65; font-size: .92rem !important; }
.smg-footer__badge {
	display: inline-flex !important;
	align-items: center;
	gap: .55rem;
	padding: .5rem .85rem;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	font-size: .8rem !important;
	color: #fff;
	font-weight: 600;
}
.smg-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding-block: 1.5rem;
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem 2rem;
	font-size: .84rem;
	color: rgba(255, 255, 255, .5);
}
.smg-footer__bottom > * { margin: 0 !important; }
@media (max-width: 1000px) {
	.smg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.smg-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Blog / generic templates
   ========================================================================== */
.smg-post-list .wp-block-post { padding-block: 1.75rem; border-bottom: 1px solid var(--smg-line); }
.smg-post-list .wp-block-post-title { font-size: var(--wp--preset--font-size--large); }
.smg-post-list .wp-block-post-title a { color: var(--smg-ink); text-decoration: none; }
.smg-post-list .wp-block-post-title a:hover { color: var(--smg-action); }
.smg-post-list .wp-block-post-date { color: var(--smg-slate); font-size: .875rem; }
.smg-404 { text-align: center; padding-block: var(--wp--preset--spacing--80); }
.smg-404 .smg-404__code {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: clamp(4rem, 12vw, 8rem);
	letter-spacing: -.05em;
	line-height: 1;
	background: linear-gradient(120deg, var(--smg-navy), var(--smg-action));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ==========================================================================
   Motion
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.smg-js .smg-reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity .8s var(--smg-ease), transform .8s var(--smg-ease);
		transition-delay: var(--smg-delay, 0s);
	}
	.smg-js .smg-reveal.is-visible { opacity: 1; transform: none; }
	.smg-js .smg-hero .smg-hero__content > * {
		animation: smg-rise .9s var(--smg-ease) both;
	}
	.smg-js .smg-hero .smg-hero__content > *:nth-child(2) { animation-delay: .08s; }
	.smg-js .smg-hero .smg-hero__content > *:nth-child(3) { animation-delay: .16s; }
	.smg-js .smg-hero .smg-hero__content > *:nth-child(4) { animation-delay: .24s; }
	.smg-js .smg-hero .smg-hero__coverage { animation: smg-rise 1s .3s var(--smg-ease) both; }
	.smg-hero > .wp-block-cover__image-background { animation: smg-zoom 18s ease-out both; }
}
@keyframes smg-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes smg-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Editor niceties */
.editor-styles-wrapper .smg-js .smg-reveal,
.editor-styles-wrapper .smg-reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper header.wp-block-template-part { position: relative; top: 0; }
