/* =========================================================================
   SBW Modern — design system
   Palette: deep plum + warm coral (matches the SBW heart logo)
   Type:    Fraunces (display) + Inter (body)
   ========================================================================= */

:root {
	--plum-900: #3B1F49;
	--plum-800: #4A2A5A;
	--plum-700: #5C3770;
	--plum-100: #F3EAF8;
	--coral-500: #E96E4F;
	--coral-600: #D95B3D;
	--coral-100: #FCEAE4;
	--teal-600: #0F766E;
	--teal-700: #0B5D57;
	--coral-700: #B4432A;
	--ink: #2A2135;
	--muted: #6B5E77;
	--paper: #FAF7F3;
	--white: #FFFFFF;
	--line: #E9E1F0;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 2px 10px rgba(59, 31, 73, 0.07);
	--shadow-md: 0 14px 34px -14px rgba(59, 31, 73, 0.22);
	--wrap: 1180px;
	--nav-h: 84px;
}

/* ---------- Reset-ish ---------- */

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

html { scroll-behavior: smooth; }

body,
body.sbw-modern {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

/* The Elementor kit outputs `body.elementor-kit-7 { font-family: Helvetica }`;
   body.sbw-modern (0-2-0) outranks it (0-1-1) so our type stack wins. */
body.sbw-modern h1,
body.sbw-modern h2,
body.sbw-modern h3,
body.sbw-modern h4 { font-family: var(--font-display); }

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

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--plum-700); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--coral-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */

.sbw-container { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sbw-narrow { max-width: 780px; }
.sbw-center { text-align: center; margin-top: 40px; }
.sbw-main { min-height: 60vh; }

.sbw-section { padding: 88px 0; }
.sbw-section--tint { background: var(--white); border-block: 1px solid var(--line); }

.sbw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sbw-split__media { position: relative; }
.sbw-split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.sbw-split__badge {
	position: absolute; bottom: -20px; left: -20px;
	background: var(--white); border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md); padding: 14px 22px;
	display: flex; flex-direction: column; gap: 2px;
	border-left: 4px solid var(--coral-500);
}
.sbw-split__badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--plum-800); line-height: 1.1; }
.sbw-split__badge-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--plum-800); line-height: 1.15; margin: 0 0 0.6em; }

.sbw-h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; }
.sbw-h2--light { color: var(--white); }
.sbw-h3 { font-size: 1.35rem; font-weight: 600; }

.sbw-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--coral-600); margin: 0 0 14px;
}
.sbw-kicker::before { content: ""; width: 26px; height: 2px; background: var(--coral-500); border-radius: 2px; }
.sbw-kicker--light { color: var(--coral-100); }
.sbw-kicker--light::before { background: var(--coral-100); }

.sbw-lead { font-size: 1.15rem; color: var(--muted); }
.sbw-prose p { margin: 0 0 1.1em; color: var(--muted); }
.sbw-prose--lg p { font-size: 1.06rem; }
.sbw-prose strong { color: var(--plum-800); }
.sbw-prose__follow { margin-top: 2em; }

.sbw-section-head { max-width: 660px; margin-bottom: 44px; }
.sbw-section-head__sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */

.sbw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font: 600 0.95rem/1.2 var(--font-body); cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sbw-btn .sbw-icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.sbw-btn:hover .sbw-icon { transform: translateX(4px); }
.sbw-btn:hover { text-decoration: none; transform: translateY(-2px); }

.sbw-btn--primary { background: var(--plum-800); color: var(--white); box-shadow: var(--shadow-sm); }
.sbw-btn--primary:hover { background: var(--plum-900); box-shadow: var(--shadow-md); color: var(--white); }

.sbw-btn--coral { background: var(--coral-500); color: var(--white); box-shadow: 0 8px 20px -8px rgba(233, 110, 79, 0.65); }
.sbw-btn--coral:hover { background: var(--coral-600); color: var(--white); }

.sbw-btn--outline { background: transparent; color: var(--plum-800); border-color: var(--plum-800); }
.sbw-btn--outline:hover { background: var(--plum-800); color: var(--white); }

.sbw-btn--ghost { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.sbw-btn--ghost:hover { background: rgba(255, 255, 255, 0.26); color: var(--white); }

.sbw-btn--block { width: 100%; }

/* ---------- Header ---------- */

.sbw-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.sbw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }

.sbw-header__logo img { display: block; width: auto; height: 56px; }
@media (max-width: 782px) { .sbw-header__logo img { height: 48px; } }

.sbw-nav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sbw-nav__list li { position: relative; }
.sbw-nav__list a {
	display: block; padding: 10px 16px; border-radius: 999px;
	color: var(--ink); font-weight: 500; font-size: 0.97rem;
	transition: background 0.2s ease, color 0.2s ease;
}
.sbw-nav__list a:hover { background: var(--plum-100); color: var(--plum-800); text-decoration: none; }
.sbw-nav__list .current-menu-item > a,
.sbw-nav__list .current_page_item > a { background: var(--plum-800); color: var(--white); }

.sbw-header__actions { display: flex; align-items: center; gap: 12px; }

.sbw-burger {
	display: none; flex-direction: column; gap: 5px; justify-content: center;
	width: 44px; height: 44px; padding: 10px;
	background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
	cursor: pointer;
}
.sbw-burger span { display: block; height: 2px; width: 100%; background: var(--plum-800); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.sbw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sbw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sbw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.sbw-hero { position: relative; overflow: hidden; padding: 96px 0 64px; }
.sbw-hero__media { position: absolute; inset: 0; z-index: -2; }
.sbw-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sbw-hero__scrim {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(59, 31, 73, 0.55) 0%, rgba(59, 31, 73, 0.2) 45%, rgba(59, 31, 73, 0.5) 100%),
		linear-gradient(96deg, rgba(59, 31, 73, 0.95) 0%, rgba(59, 31, 73, 0.84) 46%, rgba(59, 31, 73, 0.42) 100%);
}
.sbw-hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

.sbw-hero__title {
	color: var(--white); font-size: clamp(2.3rem, 5.2vw, 3.7rem);
	font-weight: 600; line-height: 1.08; margin: 0 0 20px;
}
.sbw-hero__title em { font-style: italic; color: #F5B79E; }
.sbw-hero__sub { color: rgba(255, 255, 255, 0.88); font-size: 1.13rem; max-width: 520px; margin: 0 0 30px; }
.sbw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.sbw-hero__card {
	background: var(--white); border-radius: calc(var(--radius) + 8px);
	padding: 0; overflow: hidden; box-shadow: var(--shadow-md);
	max-width: 400px; justify-self: end; width: 100%;
	transform: rotate(1.2deg);
}
.sbw-hero__photo { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 4.4; }

/* Slideshow: every image stacked, the active one fades in on top. */
.sbw-hero__photo .sbw-slide {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 0.8s ease;
}
.sbw-hero__photo .sbw-slide.is-active { opacity: 1; }

.sbw-dots {
	position: absolute; left: 0; right: 0; bottom: 12px;
	display: flex; justify-content: center; gap: 8px;
}
.sbw-dot {
	width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
	border-radius: 50%; background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 1px 4px rgba(59, 31, 73, 0.35);
	transition: background 0.25s ease, transform 0.25s ease;
}
.sbw-dot.is-active { background: var(--white); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
	.sbw-hero__photo .sbw-slide { transition: none; }
}
.sbw-hero__quote { display: flex; gap: 10px; align-items: flex-start; padding: 20px 24px 24px; }
.sbw-hero__quote .sbw-icon { width: 22px; height: 22px; color: var(--coral-500); flex-shrink: 0; margin-top: 3px; }
.sbw-hero__quote p { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--plum-800); }

/* ---------- Stats ---------- */

.sbw-stats {
	margin-top: 56px;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: var(--white); border-radius: var(--radius);
	box-shadow: var(--shadow-md); overflow: hidden;
}
.sbw-stat { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.sbw-stat:first-child { border-left: 0; }
.sbw-stat__num { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--plum-800); line-height: 1.1; }
.sbw-stat__label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Chips ---------- */

.sbw-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 30px; }
.sbw-chip {
	background: var(--white); border: 1px solid var(--line);
	color: var(--plum-700); font-weight: 600; font-size: 0.88rem;
	padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ---------- Cards ---------- */

.sbw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sbw-cards--2 { grid-template-columns: repeat(2, 1fr); }
.sbw-cards--3 { grid-template-columns: repeat(3, 1fr); }

.sbw-card {
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 30px 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sbw-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Icon + title share one flex row so every icon aligns with its heading. */
.sbw-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sbw-card__head .sbw-card__icon { margin-bottom: 0; flex-shrink: 0; }
.sbw-card__head .sbw-card__title { margin-bottom: 0; }

.sbw-card__icon {
	width: 56px; height: 56px; border-radius: 14px;
	display: grid; place-items: center; margin-bottom: 18px;
	background: var(--plum-100); color: var(--plum-800);
}
.sbw-card__icon .sbw-icon { width: 27px; height: 27px; }
.sbw-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.sbw-card__title a { color: inherit; }
.sbw-card__text { color: var(--muted); font-size: 0.97rem; margin: 0 0 14px; }
.sbw-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--coral-700); }
.sbw-card__link .sbw-icon { width: 15px; height: 15px; }
.sbw-card__link:hover { color: var(--coral-600); }
.sbw-card__thumb { display: block; margin: -6px 0 18px; border-radius: var(--radius-sm); overflow: hidden; }
.sbw-card__thumb img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform 0.35s ease; }
.sbw-card__thumb:hover img { transform: scale(1.04); }

.sbw-soon { margin: 0; }
.sbw-soon__pill {
	display: inline-block; background: var(--coral-100); color: var(--coral-700);
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 5px 12px; border-radius: 999px;
}

/* ---------- Projects ---------- */

.sbw-projects { display: grid; gap: 22px; }
.sbw-project {
	display: grid; grid-template-columns: 92px 1fr; gap: 26px;
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sbw-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sbw-project__num {
	font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
	color: transparent; -webkit-text-stroke: 1.6px var(--coral-500);
	line-height: 1; padding-top: 4px;
}
/* Icon + title share one flex row so every icon aligns with its heading. */
.sbw-project__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sbw-project__head .sbw-project__icon { margin-bottom: 0; flex-shrink: 0; }
.sbw-project__head .sbw-project__title { margin-bottom: 0; }

.sbw-project__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-100); color: var(--plum-800); margin-bottom: 14px; }
.sbw-project__icon .sbw-icon { width: 23px; height: 23px; }
.sbw-project__title { font-size: 1.3rem; margin-bottom: 14px; }
.sbw-project__meta { margin: 0; display: grid; gap: 10px; }
.sbw-project__row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.sbw-project__row dt { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); padding-top: 3px; }
.sbw-project__row dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
.sbw-projects__note { max-width: 780px; margin: 30px auto 0; text-align: center; color: var(--muted); font-style: italic; }

/* ---------- Banner (inner pages) ---------- */

.sbw-banner { position: relative; overflow: hidden; padding: 108px 0 84px; }
.sbw-banner__media { position: absolute; inset: 0; z-index: -2; }
.sbw-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.sbw-banner__scrim {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(59, 31, 73, 0.9) 0%, rgba(59, 31, 73, 0.72) 60%, rgba(59, 31, 73, 0.82) 100%);
}
.sbw-banner__inner { max-width: 780px; }
.sbw-banner__title { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 600; margin: 0 0 10px; }
.sbw-banner__sub { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin: 0; }

/* ---------- Gallery ---------- */

.sbw-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sbw-gallery__item img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ---------- Info cards / contact ---------- */

.sbw-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.sbw-contact-grid__details { display: grid; gap: 18px; }

.sbw-info-card {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 22px 24px;
}
.sbw-info-card__icon {
	width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--plum-100); color: var(--plum-800);
}
.sbw-info-card__icon .sbw-icon { width: 23px; height: 23px; }
.sbw-info-card__title { font-size: 1.02rem; margin-bottom: 4px; }
.sbw-info-card p { margin: 0; color: var(--muted); }

.sbw-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--white); }
.sbw-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.sbw-map--stacked { margin-top: 6px; }
.sbw-map--stacked iframe { height: 300px; }

.sbw-form-heading { font-size: 1.45rem; margin-bottom: 18px; }

/* ---------- Forms ---------- */

.sbw-form-wrap {
	background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md);
}
.sbw-field { margin-bottom: 18px; }
.sbw-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--plum-800); }
.sbw-req { color: var(--coral-500); }
.sbw-field input,
.sbw-field textarea {
	width: 100%; padding: 13px 16px;
	border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	font: inherit; color: var(--ink); background: var(--paper);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sbw-field input:focus,
.sbw-field textarea:focus { outline: none; border-color: var(--plum-700); box-shadow: 0 0 0 4px var(--plum-100); }
.sbw-field textarea { resize: vertical; min-height: 130px; }

.sbw-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.sbw-form__note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

.sbw-alert { display: flex; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; }
.sbw-alert .sbw-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.sbw-alert p { margin: 4px 0 0; font-size: 0.92rem; }
.sbw-alert--success { background: #EAF7EE; border: 1px solid #BFE6CB; color: #1E6B34; }
.sbw-alert--error { background: #FBECEC; border: 1px solid #F0C4C4; color: #A03030; }

.sbw-news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.sbw-news-form input {
	flex: 1 1 10rem; min-width: 0; padding: 12px 16px;
	border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
	background: rgba(255, 255, 255, 0.1); color: var(--white); font: inherit;
}
.sbw-news-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.sbw-news-form input:focus { outline: none; border-color: var(--coral-500); }
.sbw-news-form .sbw-btn { padding: 12px 20px; }

/* ---------- CTA band ---------- */

.sbw-cta { background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-700) 100%); padding: 92px 0; }
.sbw-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sbw-cta__sub { color: rgba(255, 255, 255, 0.85); font-size: 1.08rem; margin: 0 0 26px; }
.sbw-cta__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sbw-cta__meta li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, 0.9); }
.sbw-cta__meta .sbw-icon { width: 19px; height: 19px; color: var(--coral-100); flex-shrink: 0; }
.sbw-cta__meta a { color: var(--white); }

/* ---------- Footer ---------- */

.sbw-footer { background: var(--plum-900); color: rgba(255, 255, 255, 0.9); padding: 72px 0 0; margin-top: 0; }
.sbw-footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr 1.2fr; gap: 44px; padding-bottom: 52px; }

.sbw-footer__logo { display: block; width: 170px; height: auto; }
.sbw-footer__tagline { font-family: var(--font-display); font-size: 1.02rem; color: var(--white); margin: 18px 0 0; }

.sbw-footer__heading { color: var(--white); font-size: 1.02rem; margin-bottom: 18px; font-weight: 600; }
.sbw-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sbw-footer__links a { color: var(--white); font-weight: 500; }
.sbw-footer__links a:hover { color: var(--coral-100); }
.sbw-footer__links--icons li { display: flex; gap: 10px; align-items: flex-start; }
.sbw-footer__links--icons .sbw-icon { width: 17px; height: 17px; color: var(--coral-100); flex-shrink: 0; margin-top: 5px; }
.sbw-footer__news-text { font-size: 0.92rem; margin: 0 0 16px; }

.sbw-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0; font-size: 0.84rem; text-align: center; }
.sbw-footer__legal p { margin: 0; }
.sbw-footer__legal-links { display: flex; justify-content: center; gap: 22px; margin-top: 10px; }
.sbw-footer__legal-links a { color: rgba(255, 255, 255, 0.75); }
.sbw-footer__legal-links a:hover { color: var(--coral-100); }

/* ---------- Misc ---------- */

.sbw-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--plum-800); color: var(--white); padding: 12px 20px; border-radius: 0 0 10px 0;
}
.sbw-skip-link:focus { left: 0; }

.sbw-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 55;
	width: 46px; height: 46px; border-radius: 50%;
	border: none; cursor: pointer;
	background: var(--plum-800); color: var(--white);
	display: grid; place-items: center;
	box-shadow: var(--shadow-md);
	opacity: 0; pointer-events: none; transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.sbw-to-top .sbw-icon { width: 19px; height: 19px; }
.sbw-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.sbw-to-top:hover { background: var(--plum-700); }

.sbw-post-thumb { margin: 0 0 32px; }
.sbw-post-thumb img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.sbw-post-nav { display: flex; justify-content: space-between; margin-top: 40px; }

.sbw-404__code { font-family: var(--font-display); font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 700; color: var(--coral-500); margin: 0; line-height: 1; }
.sbw-404 .sbw-btn { margin-top: 10px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* ---------- FAQ (details/summary accordion) ---------- */

.sbw-faq { display: grid; gap: 12px; }
.sbw-faq__item {
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--radius-sm); padding: 0;
}
.sbw-faq__item[open] { border-color: var(--plum-100); box-shadow: var(--shadow-sm); }
.sbw-faq__q {
	cursor: pointer; padding: 18px 22px;
	font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
	color: var(--plum-800); list-style: none; position: relative; padding-right: 48px;
}
.sbw-faq__q::-webkit-details-marker { display: none; }
.sbw-faq__q::after {
	content: "+"; position: absolute; right: 20px; top: 50%;
	transform: translateY(-50%); font-size: 1.4rem; font-weight: 400;
	color: var(--coral-500); transition: transform 0.2s ease; line-height: 1;
}
.sbw-faq__item[open] .sbw-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.sbw-faq__a { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- Reveal animation ---------- */

.sbw-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.sbw-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sbw-reveal { opacity: 1; transform: none; transition: none; }
	.sbw-btn, .sbw-card, .sbw-project { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.sbw-cards, .sbw-cards--3 { grid-template-columns: repeat(2, 1fr); }
	.sbw-hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.sbw-hero__card { justify-self: start; max-width: 360px; }
	.sbw-stats { grid-template-columns: repeat(3, 1fr); }
	.sbw-stat:nth-child(4) { border-left: 0; }
	.sbw-stat { border-top: 1px solid var(--line); }
	.sbw-stat:nth-child(-n+3) { border-top: 0; }
	.sbw-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	:root { --nav-h: 70px; }
	.sbw-section { padding: 60px 0; }
	.sbw-hero { padding: 64px 0 48px; }
	.sbw-banner { padding: 84px 0 64px; }

	.sbw-burger { display: flex; }
	.sbw-header__cta { display: none; }

	.sbw-nav {
		position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 59;
		background: var(--white); border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
		max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
	}
	.sbw-nav.is-open { max-height: 420px; }
	.sbw-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; }
	.sbw-nav__list a { padding: 14px 6px; border-radius: 8px; font-size: 1.05rem; }
	.sbw-nav__list .current-menu-item > a,
	.sbw-nav__list .current_page_item > a { background: transparent; color: var(--coral-600); }

	.sbw-split { grid-template-columns: 1fr; gap: 40px; }
	.sbw-split__badge { left: 12px; bottom: -16px; }
	.sbw-cards, .sbw-cards--3, .sbw-cards--2 { grid-template-columns: 1fr; }
	.sbw-projects { grid-template-columns: 1fr; }
	.sbw-project { grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; }
	.sbw-project__num { font-size: 2rem; }
	.sbw-project__row { grid-template-columns: 1fr; gap: 3px; }
	.sbw-contact-grid { grid-template-columns: 1fr; gap: 40px; }
	.sbw-cta__grid { grid-template-columns: 1fr; gap: 44px; }
	.sbw-gallery { grid-template-columns: 1fr; }
	.sbw-stats { grid-template-columns: repeat(2, 1fr); }
	.sbw-stat { border-top: 1px solid var(--line); }
	.sbw-stat:nth-child(-n+2) { border-top: 0; }
	.sbw-stat:nth-child(odd) { border-left: 0; }
	.sbw-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.sbw-form-wrap { padding: 26px 20px; }
}

@media (max-width: 420px) {
	.sbw-container { padding-inline: 18px; }
	.sbw-hero__actions .sbw-btn { width: 100%; }
}
