/* ==========================================================================
   bebondi — main stylesheet
   Translated from the Claude Design project "Rediseño web Bebondi".
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--ink: #1f232a;
	--ink-2: #2a2f38;
	--ink-3: #363c47;
	--text: #3f444d;
	--muted: #5b616b;
	--muted-2: #6b7079;
	--muted-3: #8a919c;
	--on-dark: #f5f5f7;
	--on-dark-2: #c5cad2;
	--on-dark-3: #aab0b9;
	--on-dark-4: #d2d6dc;
	--paper: #fbfaf7;
	--sand: #f1eee8;
	--line: #e1ddd6;
	--line-2: #dcd8d0;
	--line-3: #e9e6e0;
	--mist: #ececee;
	--white: #fff;

	/* Pastels: hex fallbacks first, exact oklch values below for browsers that support them. */
	--peach: #fde1d5;
	--sage: #d8efdc;
	--lilac: #eee3f7;
	--butter: #faeecd;
	--sky: #d7ebfa;

	--orb-a: #fec1a6;
	--orb-b: #b1dfb9;
	--orb-c: #ddc7ef;
	--orb-d: #f0dda9;
	--orb-hero-a: #ffb694;
	--orb-hero-b: #a4dfaf;
	--orb-hero-c: #dbbdf2;
	--orb-dark-a: #ecb69f;
	--orb-dark-b: #a3c9aa;
	--orb-dark-c: #cab4db;

	--sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--script: 'Yellowtail', 'Brush Script MT', cursive;
	--mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--ease: cubic-bezier(.2, .8, .2, 1);
	--wrap: 1200px;
	--gutter: 24px;
	--section-y: 128px;
	--radius-xl: 40px;
	--radius-l: 32px;
	--radius-m: 28px;
	--radius-s: 14px;
	--nav-h: 60px;
	--admin-bar: 0px;
}
@supports (color: oklch(0 0 0)) {
	:root {
		--peach: oklch(0.93 0.035 45);
		--sage: oklch(0.93 0.035 150);
		--lilac: oklch(0.93 0.03 310);
		--butter: oklch(0.95 0.045 90);
		--sky: oklch(0.93 0.03 240);
		--orb-a: oklch(0.86 0.08 45);
		--orb-b: oklch(0.86 0.07 150);
		--orb-c: oklch(0.86 0.06 310);
		--orb-d: oklch(0.9 0.07 90);
		--orb-hero-a: oklch(0.84 0.1 45);
		--orb-hero-b: oklch(0.85 0.09 150);
		--orb-hero-c: oklch(0.84 0.08 310);
		--orb-dark-a: oklch(0.82 0.07 45);
		--orb-dark-b: oklch(0.8 0.06 150);
		--orb-dark-c: oklch(0.8 0.06 310);
	}
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 720px) {
	:root { --section-y: 88px; --gutter: 20px; --radius-xl: 28px; --radius-l: 24px; --radius-m: 22px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--admin-bar) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
h1 em, h2 em, h3 em, .bb-script {
	font-family: var(--script);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	font-size: 1.12em;
	line-height: .8;
	padding: 0 .06em;
}
input, textarea, select, button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .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;
}
.bb-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: 15px;
}
.bb-skip:focus { top: calc(var(--admin-bar) + 10px); }

/* ---------- Small elements ---------- */
.bb-eyebrow {
	font: 500 12px/1.4 var(--mono);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.bb-lead {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--text);
	text-wrap: pretty;
}
.bb-text { font-size: 20px; font-weight: 300; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.bb-text--l { font-size: 21px; }
.bb-text a, .bb-lead a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bb-text a:hover, .bb-lead a:hover { color: var(--ink); }
.bb-more {
	font: 500 11px var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* Buttons */
.bb-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--ink);
	color: var(--white);
	border: 0;
	border-radius: 999px;
	padding: 18px 30px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.1;
	cursor: pointer;
	box-shadow: 0 12px 30px -12px rgba(31, 35, 42, .5);
	transition: background .25s, color .25s, transform .25s var(--ease);
}
.bb-btn:hover, .wp-block-button__link:hover { background: var(--ink-3); color: var(--white); transform: translateY(-2px); }
.bb-btn--light { background: var(--on-dark); color: var(--ink); box-shadow: none; }
.bb-btn--light:hover { background: var(--white); color: var(--ink); }
.bb-btn--sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.bb-btn--sm:hover { transform: none; }
.bb-link { font-size: 17px; font-weight: 500; color: #0b5fd6; }
.bb-link:hover { color: #0a4aa8; }

/* ---------- Layout ---------- */
.bb-container { max-width: var(--wrap); margin: 0 auto; }
.bb-container--narrow { max-width: 1000px; }
.bb-stack { display: flex; flex-direction: column; gap: 56px; }
.bb-section { padding: var(--section-y) var(--gutter); }
.bb-section--flush-top { padding-top: 0; }
.bb-section--dark { background: var(--ink); color: var(--on-dark); }
.bb-section--dark .bb-text, .bb-section--dark .bb-lead { color: var(--on-dark-2); }
.bb-section--dark .bb-eyebrow { color: var(--on-dark-3); }
.bb-section--sand { background: var(--sand); }
.bb-section--round { border-radius: var(--radius-xl); }
.bb-section--round-top { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.bb-section--round-bottom { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.bb-section--dark + .bb-section--dark { padding-top: 0; }

.bb-h2 { font-size: clamp(44px, 6vw, 92px); }
.bb-h2--m { font-size: clamp(40px, 5.4vw, 80px); }
.bb-h2--s { font-size: clamp(32px, 4.6vw, 64px); }
.bb-h2--xl { font-size: clamp(52px, 8vw, 120px); letter-spacing: -.035em; }
.bb-h2 + .bb-text, .bb-h2--m + .bb-text { margin-top: 0; }

.bb-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 32px 80px;
	align-items: end;
}
.bb-split--center { align-items: center; }
.bb-split--top { align-items: start; }
.bb-split .bb-h2--sm { margin-bottom: 20px; }
.bb-text--s { font-size: 18px; }
.bb-text--xl { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.6; color: var(--ink); max-width: 900px; }
.bb-text--xl a { font-weight: 500; }
.bb-section--mb { margin-bottom: 16px; }
.bb-stack--s { gap: 28px; }

/* ---------- Navigation ---------- */
.bb-nav { position: fixed; top: var(--admin-bar); left: 0; right: 0; z-index: 40; }
.bb-nav__bar {
	position: relative; z-index: 2;
	background: rgba(251, 250, 247, .78);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(31, 35, 42, .08);
}
.bb-nav__inner {
	max-width: var(--wrap); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.bb-nav__logo img { height: 26px; width: auto; }
.bb-nav__links { display: flex; align-items: center; gap: 32px; font-size: 14px; white-space: nowrap; }
.bb-nav__links > a:not(.bb-btn):hover, .bb-nav__links > a.is-current:not(.bb-btn) { color: var(--muted-2); }
.bb-nav__mega-trigger { display: flex; align-items: center; gap: 6px; height: var(--nav-h); }
.bb-caret { display: inline-block; font-size: 9px; transition: transform .3s; }
.bb-nav.is-mega .bb-caret { transform: rotate(180deg); }
.bb-nav__toggle {
	display: none; border: 0; background: transparent; color: var(--ink);
	font-weight: 500; font-size: 15px; cursor: pointer; padding: 10px 0;
}

.bb-mega {
	position: absolute; left: 0; right: 0; top: var(--nav-h); z-index: 1;
	background: rgba(251, 250, 247, .97);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	border-bottom: 1px solid rgba(31, 35, 42, .08);
	opacity: 0; transform: translateY(-12px); pointer-events: none; visibility: hidden;
	transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .45s;
}
.bb-nav.is-mega .bb-mega { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.bb-mega__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 48px;
	display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px;
}
.bb-mega__side { display: flex; flex-direction: column; gap: 16px; font-size: 14px; font-weight: 500; }
.bb-mega__side .bb-eyebrow { font-size: 11px; color: var(--muted-2); }
.bb-mega__grid {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 40px;
	font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
}
.bb-mega__grid a { color: var(--muted-2); transition: color .2s; }
.bb-mega__grid a:hover, .bb-mega__grid a.is-current { color: var(--ink); }
.bb-mega__scrim {
	position: fixed; inset: calc(var(--nav-h) + var(--admin-bar)) 0 0 0; z-index: 0;
	background: rgba(31, 35, 42, .18); opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.bb-nav.is-mega .bb-mega__scrim { opacity: 1; pointer-events: auto; }

.bb-mobile {
	position: fixed; inset: calc(var(--nav-h) + var(--admin-bar)) 0 0 0; z-index: 3;
	background: var(--paper); overflow-y: auto; padding: 24px var(--gutter) 48px;
	display: flex; flex-direction: column; gap: 24px;
	font-size: 34px; font-weight: 600; letter-spacing: -.03em;
}
.bb-mobile[hidden] { display: none; }
.bb-mobile .bb-btn { align-self: flex-start; font-size: 17px; letter-spacing: 0; padding: 16px 26px; }

@media (max-width: 959px) {
	.bb-nav__links, .bb-mega, .bb-mega__scrim { display: none; }
	.bb-nav__toggle { display: block; }
}

/* Dark navigation (home) */
.bb-nav-dark .bb-nav__bar { background: rgba(31, 35, 42, .72); border-bottom-color: rgba(255, 255, 255, .08); }
.bb-nav-dark .bb-nav__logo img { filter: invert(1); }
.bb-nav-dark .bb-nav__links > a:not(.bb-btn) { color: var(--on-dark); }
.bb-nav-dark .bb-nav__links > a:not(.bb-btn):hover { color: var(--white); }
.bb-nav-dark .bb-nav__links .bb-btn { background: var(--on-dark); color: #111; }
.bb-nav-dark .bb-nav__links .bb-btn:hover { background: var(--white); }
.bb-nav-dark .bb-nav__toggle { color: var(--on-dark); }
.bb-nav-dark .bb-mega { background: rgba(31, 35, 42, .96); border-bottom-color: rgba(255, 255, 255, .08); }
.bb-nav-dark .bb-mega__side a { color: var(--on-dark); }
.bb-nav-dark .bb-mega__grid a { color: var(--on-dark-2); font-size: 24px; letter-spacing: -.03em; }
.bb-nav-dark .bb-mega__grid a:hover, .bb-nav-dark .bb-mega__grid a.is-current { color: var(--white); }
.bb-nav-dark .bb-mobile { background: var(--ink); color: var(--on-dark); }
.bb-nav-dark .bb-mobile .bb-btn { background: var(--on-dark); color: var(--ink); }

/* ---------- Hero ---------- */
.bb-hero {
	position: relative; overflow: hidden; overflow: clip; isolation: isolate;
	padding: 190px var(--gutter) 128px; text-align: center;
}
.bb-hero__inner, .bb-hero > .bb-eyebrow, .bb-hero > h1 { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.bb-hero__title, .bb-hero h1 {
	margin: 24px auto 0; font-size: clamp(48px, 8vw, 128px); line-height: 1; letter-spacing: -.035em;
}
.bb-hero__title--xl { font-size: clamp(64px, 12vw, 200px); letter-spacing: -.04em; }
.bb-hero .bb-hero__title--s { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -.035em; }
.bb-hero .bb-lead { margin: 32px auto 0; max-width: 760px; }
.bb-hero__actions { margin-top: 36px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bb-hero--compact { padding: 180px var(--gutter) 80px; }
.bb-hero--compact h1 { font-size: clamp(40px, 5.8vw, 80px); line-height: 1.02; }
.bb-hero--404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; }

.bb-hero--dark {
	background: var(--ink); color: var(--on-dark);
	min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
	/* padding and title scale with the viewport height so eyebrow, title, lead and CTA fit in the first screen on laptops */
	padding: clamp(96px, 15vh, 160px) var(--gutter) clamp(56px, 9vh, 120px);
}
.bb-hero--dark .bb-eyebrow { color: var(--on-dark-2); }
.bb-hero--dark .bb-lead { color: #d2d2d7; font-size: 21px; line-height: 1.45; max-width: 640px; margin-top: 36px; }
.bb-hero--dark .bb-link { color: #5aa9ff; }
.bb-hero--dark h1 { max-width: 1300px; font-size: clamp(56px, min(10vw, 12vh), 168px); line-height: .95; margin-top: 28px; }
.bb-hero--dark h1 .bb-line { display: block; overflow: hidden; padding: .06em 0 .08em; }
.bb-hero--dark h1 .bb-line > span { display: block; }

/* Soft colour orbs behind heroes */
.bb-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Each orb drifts on its own loop (paths and timings from the design), a little stronger than
   the prototype so the colour reads on the cream background. */
.bb-orbs i {
	position: absolute; display: block; border-radius: 50%;
	filter: blur(100px); will-change: transform;
	animation: 16s ease-in-out infinite;
}
.bb-orbs i:nth-child(1) { left: -6%; top: -4%; width: 42vw; height: 42vw; background: var(--orb-hero-a); opacity: .75; animation-name: bbOrbA; }
.bb-orbs i:nth-child(2) { right: -4%; top: 10%; width: 38vw; height: 38vw; background: var(--orb-hero-b); opacity: .7; animation-name: bbOrbB; animation-duration: 19s; }
.bb-orbs i:nth-child(3) { left: 32%; top: 30%; width: 34vw; height: 34vw; background: var(--orb-hero-c); opacity: .65; animation-name: bbOrbC; animation-duration: 22s; }
.bb-orbs i:nth-child(4) { left: 52%; top: -14%; width: 26vw; height: 26vw; background: var(--orb-d); opacity: .35; animation-name: bbOrbD; animation-duration: 25s; }
.bb-hero--dark .bb-orbs i:nth-child(1) { left: 4%; top: 8%; width: 44vw; height: 44vw; background: var(--orb-dark-a); opacity: .5; filter: blur(110px); animation-name: bbOrbDarkA; }
.bb-hero--dark .bb-orbs i:nth-child(2) { right: 2%; top: 24%; width: 40vw; height: 40vw; background: var(--orb-dark-b); opacity: .45; filter: blur(120px); animation-name: bbOrbDarkB; }
.bb-hero--dark .bb-orbs i:nth-child(3) { left: 30%; top: auto; bottom: -20%; width: 40vw; height: 40vw; background: var(--orb-dark-c); opacity: .42; filter: blur(120px); animation-name: bbOrbDarkC; }
.bb-hero--dark .bb-orbs::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 65%, var(--ink)); }
.bb-hero:not(.bb-hero--dark) .bb-orbs { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.bb-hero--compact .bb-orbs { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.bb-hero--compact .bb-orbs i:nth-child(1) { left: -8%; top: -10%; width: 36vw; height: 36vw; opacity: .6; }
.bb-hero--compact .bb-orbs i:nth-child(2) { right: -6%; top: 0; width: 32vw; height: 32vw; opacity: .55; }
/* On small screens a 100px blur swallows vw-sized orbs: make them bigger and softer-edged. */
@media (max-width: 1024px) {
	.bb-hero .bb-orbs i:nth-child(1) { width: 62vw; height: 62vw; filter: blur(80px); }
	.bb-hero .bb-orbs i:nth-child(2) { width: 56vw; height: 56vw; filter: blur(80px); }
	.bb-hero .bb-orbs i:nth-child(3) { width: 52vw; height: 52vw; filter: blur(80px); }
}
@media (max-width: 720px) {
	.bb-hero .bb-orbs i:nth-child(1) { width: 95vw; height: 95vw; left: -35%; top: 0; filter: blur(56px); }
	.bb-hero .bb-orbs i:nth-child(2) { width: 85vw; height: 85vw; left: auto; right: -35%; top: 30%; filter: blur(56px); }
	.bb-hero .bb-orbs i:nth-child(3) { width: 80vw; height: 80vw; left: 5%; top: 58%; bottom: auto; filter: blur(56px); }
	.bb-hero .bb-orbs i:nth-child(4) { display: none; }
}
@keyframes bbOrbA { 33% { transform: translate(10vw, 8vh) scale(1.15); } 66% { transform: translate(-6vw, 12vh); } }
@keyframes bbOrbB { 33% { transform: translate(-12vw, -4vh) scale(1.15); } 66% { transform: translate(-4vw, 10vh); } }
@keyframes bbOrbC { 33% { transform: translate(10vw, -8vh) scale(1.15); } 66% { transform: translate(-10vw, -4vh); } }
@keyframes bbOrbD { 33% { transform: translate(-10vw, 10vh) scale(1.15); } 66% { transform: translate(8vw, 6vh); } }
@keyframes bbOrbDarkA { 33% { transform: translate(12vw, 8vh) scale(1.15); } 66% { transform: translate(-6vw, 14vh); } }
@keyframes bbOrbDarkB { 33% { transform: translate(-14vw, -6vh) scale(1.15); } 66% { transform: translate(-4vw, 10vh); } }
@keyframes bbOrbDarkC { 33% { transform: translate(10vw, -12vh) scale(1.15); } 66% { transform: translate(-12vw, -4vh); } }

/* ---------- Marquee ---------- */
.bb-marquee { padding: 56px 0; overflow: hidden; border-bottom: 1px solid var(--line-3); }
.bb-marquee__track {
	display: flex; width: max-content; white-space: nowrap;
	font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; color: #b9b6b0;
	animation: bbMarquee 40s linear infinite;
}
.bb-marquee__set { display: flex; }
.bb-marquee__set span { padding-right: 64px; }
.bb-marquee--xl { padding: 40px 0 120px; border-bottom: 0; }
.bb-marquee--xl .bb-marquee__track { font-size: clamp(48px, 7vw, 104px); font-weight: 600; letter-spacing: -.03em; color: #d2d2d7; animation-duration: 45s; }
.bb-marquee--xl .bb-marquee__set span { padding-right: 72px; }
@keyframes bbMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Logo gallery (dark section with white card) ---------- */
.bb-logos {
	background: var(--white); border-radius: var(--radius-m);
	padding: 48px clamp(24px, 4vw, 64px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 40px 24px; align-items: center; justify-items: center;
}
.bb-logos img { max-width: min(100%, 150px); max-height: 64px; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.bb-logos img:hover { transform: scale(1.06); }
.bb-logos img.bb-logo--tall { max-width: min(100%, 90px); max-height: 104px; }
.bb-logos img.bb-logo--wide { max-width: min(100%, 160px); max-height: 40px; }

/* ---------- Rows ("¿qué incluye?") ---------- */
.bb-rows { border-top: 1px solid var(--line); }
.bb-row {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 12px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.bb-row__title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bb-row p { font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--text); }
.bb-section--dark .bb-rows, .bb-section--dark .bb-row { border-color: var(--ink-3); }
.bb-section--dark .bb-row p { color: var(--on-dark-2); }

/* ---------- Process ---------- */
.bb-process { position: relative; }
.bb-process__line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-2); }
.bb-process__bar { height: 100%; width: 0; background: var(--ink); transition: width .15s linear; }
.bb-process__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bb-step { display: flex; flex-direction: column; gap: 20px; }
.bb-step__n {
	width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2);
	display: flex; align-items: center; justify-content: center; font: 500 14px var(--mono);
	transition: background .4s, color .4s, border-color .4s;
}
.bb-step.is-on .bb-step__n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bb-step__title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.bb-step p { font-size: 17px; font-weight: 300; line-height: 1.55; color: var(--text); }
.bb-step p a, .bb-row p a, .bb-faq a { text-decoration: underline; text-underline-offset: 3px; }
.bb-process-text { max-width: 820px; font-size: 21px; font-weight: 300; line-height: 1.6; color: var(--text); }
@media (max-width: 860px) {
	.bb-process__line { display: none; }
	.bb-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
}
@media (max-width: 520px) { .bb-process__steps { grid-template-columns: 1fr; } }

/* ---------- Tinted cards (sectors, etc.) ---------- */
.bb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.bb-card {
	background: var(--peach); border-radius: 24px; padding: 28px; min-height: 230px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	transition: transform .35s var(--ease);
}
a.bb-card:hover { transform: translateY(-6px); }
.bb-card__title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.bb-card p { font-size: 16px; line-height: 1.5; color: var(--text); }
.bb-card--sage, .bb-post--sage:hover { background: var(--sage); }
.bb-card--lilac, .bb-post--lilac:hover { background: var(--lilac); }
.bb-card--butter, .bb-post--butter:hover { background: var(--butter); }
.bb-card--sky, .bb-post--sky:hover { background: var(--sky); }
.bb-card--peach, .bb-post--peach:hover { background: var(--peach); }
.bb-card--dark { background: var(--ink); color: var(--on-dark); }
.bb-card--dark p { color: var(--on-dark-2); }

/* ---------- About (Txell) ---------- */
.bb-about {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 72px; align-items: center;
}
.bb-about__photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.bb-about__photo img { width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--y, 0) * -8%)); }
.bb-about h2 { font-size: clamp(44px, 5.6vw, 84px); }
.bb-about .bb-text { margin-top: 32px; max-width: 520px; }
.bb-about .bb-btn { margin-top: 36px; }

/* ---------- Testimonials ---------- */
.bb-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.bb-quote {
	margin: 0; background: var(--ink-2); color: var(--on-dark); border-radius: var(--radius-m); padding: 40px;
	display: flex; flex-direction: column; gap: 32px; min-height: 400px;
}
.bb-quote::before { content: '“'; font-family: var(--script); font-size: 72px; line-height: .5; color: var(--orb-a); }
.bb-quote:nth-child(2)::before { color: var(--orb-b); }
.bb-quote:nth-child(3)::before { color: var(--orb-c); }
.bb-quote blockquote { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.55; text-wrap: pretty; }
.bb-quote figcaption { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; flex-direction: column; gap: 4px; }
.bb-quote figcaption strong { font-size: 17px; font-weight: 600; }
.bb-quote figcaption span { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.bb-section:not(.bb-section--dark) .bb-quote { background: var(--white); color: var(--ink); }
.bb-section:not(.bb-section--dark) .bb-quote figcaption { border-color: var(--line); }
.bb-section:not(.bb-section--dark) .bb-quote figcaption span { color: var(--muted-2); }

/* ---------- FAQ (native details: answers always in the HTML) ---------- */
.bb-faq { border-top: 1px solid var(--line); }
.bb-faq details { border-bottom: 1px solid var(--line); }
.bb-faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 28px 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
}
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: '+'; flex: none; font-size: 28px; font-weight: 300; transition: transform .3s; }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq details > div, .bb-faq details > p { padding: 0 48px 28px 0; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--text); }
.bb-section--dark .bb-faq, .bb-section--dark .bb-faq details { border-color: var(--ink-3); }
.bb-section--dark .bb-faq details > div, .bb-section--dark .bb-faq details > p { color: var(--on-dark-2); }

/* ---------- Contact section + Contact Form 7 ---------- */
.bb-contact {
	background: var(--ink); color: var(--on-dark);
	padding: var(--section-y) var(--gutter); border-radius: var(--radius-xl);
}
.bb-contact__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.bb-contact__head { text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.bb-contact__title { font-size: clamp(52px, 8vw, 120px); letter-spacing: -.035em; }
.bb-contact__head p { font-size: 20px; font-weight: 300; color: var(--on-dark-2); }
.bb-contact__card { background: var(--ink-2); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.bb-contact__ok { padding: 48px 0; text-align: center; font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.bb-contact__legal { margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--on-dark-3); }
.bb-contact__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bb-contact__legal a:hover { color: var(--on-dark); }
/* Floating reCAPTCHA badge hidden; the required notice sits under every form (.bb-contact__legal). */
.grecaptcha-badge { visibility: hidden !important; }

.bb-contact .bb-cf7 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.bb-contact .bb-cf7 .row { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bb-contact .bb-cf7 .row--end { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 4px; }
.bb-contact .bb-cf7 .row:has(textarea),
.bb-contact .bb-cf7 .row:has(.wpcf7-acceptance),
.bb-contact .bb-cf7 .row:has(.wpcf7-submit),
.bb-contact .wpcf7-response-output { grid-column: 1 / -1; }
.bb-contact .bb-cf7 label { font-size: 14px; font-weight: 500; color: var(--on-dark-4); margin: 0; font-family: var(--sans); }
.bb-contact .wpcf7-form-control-wrap { display: block; }
.bb-contact input[type=text],
.bb-contact input[type=email],
.bb-contact input[type=tel],
.bb-contact select,
.bb-contact textarea {
	width: 100%; background: var(--ink-3); border: 1px solid transparent; border-radius: var(--radius-s);
	padding: 16px 18px; color: var(--white); font-size: 17px; font-family: var(--sans); outline: none;
	transition: border-color .2s;
}
.bb-contact input::placeholder, .bb-contact textarea::placeholder { color: var(--muted-3); }
.bb-contact input:focus, .bb-contact select:focus, .bb-contact textarea:focus { border-color: var(--muted-3); }
.bb-contact textarea { min-height: 128px; height: 150px; resize: vertical; }
.bb-contact select {
	appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-3) 50%), linear-gradient(135deg, var(--on-dark-3) 50%, transparent 50%);
	background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
	background-size: 6px 6px; background-repeat: no-repeat;
}
.bb-contact .wpcf7-acceptance label, .bb-contact .wpcf7-list-item label {
	display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; color: var(--on-dark-4); cursor: pointer; font-weight: 400;
}
.bb-contact .wpcf7-list-item { margin: 0; }
.bb-contact input[type=checkbox] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--on-dark); cursor: pointer; }
.bb-contact .wpcf7-acceptance a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.bb-contact .wpcf7-submit {
	border: 0; background: var(--on-dark); color: var(--ink); border-radius: 999px; padding: 18px 44px;
	font-weight: 600; font-size: 17px; cursor: pointer; font-family: var(--sans); margin-top: 4px;
	transition: background .2s;
}
.bb-contact .wpcf7-submit:hover { background: var(--white); }
.bb-contact .wpcf7-spinner { margin: 0 0 0 16px; vertical-align: middle; }
.bb-contact .wpcf7-not-valid-tip { color: #ffb4a8; font-size: 13px; margin-top: 6px; }
.bb-contact .wpcf7-response-output { margin: 8px 0 0 !important; border-radius: var(--radius-s); padding: 14px 18px !important; font-size: 15px; }

/* ---------- Home ---------- */
.bb-section--mist { background: var(--mist); }
.bb-section--pt-s { padding-top: 40px; }
.bb-about .bb-eyebrow { margin-bottom: 24px; }
.bb-eyebrow--above { margin-bottom: 24px; }
.bb-eyebrow--links { margin-bottom: 8px; }

/* Services: sticky scrub, one service lit at a time with its image */
.bb-svc { position: relative; height: 280vh; background: var(--ink); color: var(--on-dark); }
.bb-svc__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 80px var(--gutter) 40px; overflow: hidden; }
.bb-svc__grid { max-width: var(--wrap); width: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.bb-svc__list { display: flex; flex-direction: column; gap: 4px; }
.bb-svc__list > .bb-eyebrow { margin: 0 0 clamp(8px, 3vh, 24px); color: var(--on-dark-3); font-weight: 500; letter-spacing: .16em; line-height: 1.4; }
.bb-svc__item { display: block; color: var(--on-dark); opacity: .18; transition: opacity .4s ease; }
.bb-svc__item.is-on, .bb-svc__item:hover, .bb-svc__item:focus-visible { opacity: 1; color: var(--white); }
.bb-svc__item h3 { font-size: clamp(28px, min(6vw, 10vh), 104px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.bb-svc__item p { margin: 10px 0 6px; max-width: 460px; font-size: clamp(14px, 2.2vh, 19px); line-height: 1.45; color: var(--on-dark-2); }
.bb-svc__media { position: relative; aspect-ratio: 4 / 3; max-height: calc(100vh - 160px); width: 100%; border-radius: var(--radius-m); overflow: hidden; background: var(--ink-2); }
.bb-svc__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s var(--ease); }
.bb-svc__media > .is-on { opacity: 1; transform: none; }
.bb-seo { overflow: hidden; background: var(--sand); display: flex; align-items: center; justify-content: center; padding: clamp(20px, 6%, 56px); }
.bb-seo::before, .bb-seo::after { content: ''; position: absolute; border-radius: 50%; aspect-ratio: 1; }
.bb-seo::before { left: -10%; top: -20%; width: 70%; background: var(--orb-a); filter: blur(70px); opacity: .6; }
.bb-seo::after { right: -12%; bottom: -25%; width: 65%; background: var(--orb-b); filter: blur(80px); opacity: .55; }
.bb-seo__bar {
	position: relative; z-index: 1; width: 100%; max-width: 520px; display: flex; align-items: center; gap: 16px;
	background: var(--white); color: var(--ink); border-radius: 999px; padding: clamp(16px, 2.4vw, 24px) clamp(20px, 3vw, 32px);
	box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .35);
}
.bb-seo__bar svg { flex: none; }
.bb-seo__q { flex: 1; min-width: 0; display: flex; align-items: center; font-size: clamp(16px, 1.8vw, 22px); white-space: nowrap; overflow: hidden; }
.bb-seo__caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; background: var(--ink); animation: bbBlink 1s steps(1) infinite; }
@keyframes bbBlink { 50% { opacity: 0; } }
@media (max-width: 860px) {
	.bb-svc__grid { grid-template-columns: 1fr; gap: 24px; }
	.bb-svc__item h3 { font-size: clamp(28px, 8vw, 44px); }
	.bb-svc__media { max-height: 36vh; aspect-ratio: 16 / 10; }
}

/* "Más servicios" link list on dark */
.bb-links { border-top: 1px solid var(--ink-3); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 48px; }
.bb-links a {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 26px 0;
	border-bottom: 1px solid var(--ink-3); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.035em;
	transition: color .3s, padding .5s var(--ease);
}
.bb-links a:hover { color: var(--white); padding-left: 12px; }

/* Selected work: cards that stack as you scroll */
.bb-work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 72px; }
.bb-stackcard {
	position: sticky; top: calc(var(--admin-bar) + 90px); display: block; height: 76vh; min-height: 460px;
	border-radius: var(--radius-l); overflow: hidden; margin-bottom: 8vh; background: #222; color: var(--on-dark);
}
.bb-stackcard:nth-child(2) { top: calc(var(--admin-bar) + 114px); }
.bb-stackcard:nth-child(3) { top: calc(var(--admin-bar) + 138px); }
.bb-stackcard:nth-child(4) { top: calc(var(--admin-bar) + 162px); }
.bb-stackcard:nth-child(5) { top: calc(var(--admin-bar) + 186px); }
.bb-stackcard:last-child { margin-bottom: 0; }
.bb-stackcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bb-stackcard--top img { object-position: 50% 0; }
.bb-stackcard__tag {
	position: absolute; left: 28px; bottom: 28px; padding: 14px 22px; border-radius: 999px;
	background: rgba(31, 35, 42, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.bb-stackcard__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.bb-stackcard__meta { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
a.bb-stackcard:hover .bb-stackcard__name { text-decoration: underline; text-underline-offset: 4px; }
.bb-work__more { margin-top: 56px; display: flex; justify-content: center; }
@media (max-width: 720px) {
	.bb-work__head { margin-bottom: 40px; }
	.bb-stackcard { height: 62vh; min-height: 360px; }
	.bb-stackcard__tag { left: 16px; right: 16px; bottom: 16px; border-radius: 22px; gap: 4px 12px; }
}

/* ---------- Services index: bento grid ---------- */
.bb-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bb-bento__card {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-m);
	background: var(--ink-2); color: var(--white); min-height: 340px;
	display: flex; flex-direction: column; justify-content: flex-end;
	transition: transform .45s var(--ease), box-shadow .45s;
}
.bb-bento__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .45); }
.bb-bento__card--2 { grid-column: span 2; }
.bb-bento__card--3 { grid-column: span 3; }
.bb-bento__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -2; transition: transform 1.2s var(--ease); }
.bb-bento__card:hover img { transform: scale(1.06); }
.bb-bento__card--img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 35, 42, 0) 35%, rgba(31, 35, 42, .82) 100%); }
.bb-bento__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.bb-bento__card h2 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.025em; line-height: 1.05; }
.bb-bento__card p { font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--on-dark-2); }
.bb-bento__card .bb-more { margin-top: 12px; }
.bb-bento__card--ink { background: var(--ink); }
.bb-bento__card--peach, .bb-bento__card--sage, .bb-bento__card--lilac, .bb-bento__card--butter, .bb-bento__card--sky { color: var(--ink); }
.bb-bento__card--peach { background: var(--peach); }
.bb-bento__card--sage { background: var(--sage); }
.bb-bento__card--lilac { background: var(--lilac); }
.bb-bento__card--butter { background: var(--butter); }
.bb-bento__card--sky { background: var(--sky); }
.bb-bento__card--peach p, .bb-bento__card--sage p, .bb-bento__card--lilac p, .bb-bento__card--butter p, .bb-bento__card--sky p { color: var(--text); }
.bb-bento-note { margin-top: 40px; font-size: 18px; font-weight: 300; color: var(--text); }
.bb-bento-note a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 699px) {
	.bb-bento { grid-template-columns: 1fr; }
	.bb-bento__card--2, .bb-bento__card--3 { grid-column: auto; }
	.bb-bento__card { min-height: 280px; }
}

/* Big text links (light) and outline pills */
.bb-biglinks { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.bb-biglinks a {
	display: block; padding: 26px 0; border-bottom: 1px solid var(--line-2);
	font-size: clamp(28px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05;
	transition: padding .45s var(--ease);
}
.bb-biglinks a:hover { padding-left: 16px; }
.bb-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-pill { border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px; font-size: 17px; font-weight: 500; transition: background .2s, color .2s; }
.bb-pill:hover { background: var(--ink); color: var(--white); }
.bb-h2--sm { font-size: clamp(32px, 3.6vw, 52px); }

/* ---------- Projects grid ---------- */
.bb-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.bb-project { display: flex; flex-direction: column; gap: 18px; }
.bb-project__img { aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--sand); }
.bb-project__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease); }
.bb-project__img--center img { object-position: 50% 50%; }
.bb-project:hover .bb-project__img img { transform: scale(1.04); }
.bb-project__body { display: flex; flex-direction: column; gap: 8px; }
.bb-project__meta { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.bb-project__meta strong { font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.bb-project__name { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.bb-project p:not(.bb-project__name):not(.bb-project__meta) { font-size: 17px; font-weight: 300; line-height: 1.5; color: var(--text); text-wrap: pretty; }
@media (max-width: 999px) { .bb-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .bb-projects { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- About page: team, stats, how we work ---------- */
.bb-hero__sub { margin-top: 32px; line-height: 1.8; }
.bb-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 72px; align-items: start; }
.bb-team__photo { position: sticky; top: calc(var(--admin-bar) + 96px); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.bb-team__photo img { width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--y, 0) * -8%)); }
.bb-team__text { display: flex; flex-direction: column; gap: 28px; }
.bb-team__text h2 { margin-bottom: 12px; font-size: clamp(44px, 5.6vw, 84px); }
.bb-team__text p { font-size: 20px; font-weight: 300; line-height: 1.6; color: var(--on-dark-2); text-wrap: pretty; }
.bb-team__text a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.bb-stats { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--ink-3); padding-top: 56px; }
.bb-stat { display: flex; flex-direction: column; gap: 12px; }
.bb-stat__n { font-size: clamp(64px, 8vw, 128px); font-weight: 700; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.bb-stat__label { font-size: 18px; font-weight: 300; color: var(--on-dark-2); }
.bb-stepcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.bb-stepcard { background: var(--peach); border-radius: var(--radius-m); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 20px; min-height: 280px; }
.bb-stepcard--sage { background: var(--sage); }
.bb-stepcard--lilac { background: var(--lilac); }
.bb-stepcard--butter { background: var(--butter); }
.bb-stepcard__n { font: 500 13px var(--mono); color: var(--muted); }
.bb-stepcard__title { margin-top: auto; font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.bb-stepcard p:not(.bb-stepcard__title):not(.bb-stepcard__n) { font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.bb-stepcard a { text-decoration: underline; text-underline-offset: 3px; }
.bb-stack--head { gap: 20px; }
@media (max-width: 699px) {
	.bb-stats { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
	.bb-team__photo { position: relative; top: 0; }
}

/* ---------- Contact page ---------- */
.bb-hero__badge {
	margin-top: 28px; display: inline-flex; align-items: center; gap: 10px;
	background: var(--white); border: 1px solid var(--line-3); border-radius: 999px; padding: 10px 18px;
	font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.bb-hero__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3e9a5a; }
.bb-contactpage { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.bb-contactpage__main { display: flex; flex-direction: column; gap: 32px; }
.bb-contactpage__intro { display: flex; flex-direction: column; gap: 16px; padding: 0 4px; }
.bb-contactpage__intro h2 { font-size: clamp(34px, 4vw, 56px); }
.bb-contactpage__intro p { max-width: 640px; font-size: 19px; font-weight: 300; line-height: 1.55; color: var(--text); }
.bb-contact--card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-l); box-shadow: 0 50px 100px -50px rgba(31, 35, 42, .55); scroll-margin-top: 90px; }
.bb-contactpage__aside { position: sticky; top: calc(var(--admin-bar) + 96px); display: flex; flex-direction: column; gap: 16px; }
.bb-txquote { margin: 0; background: var(--peach); border-radius: var(--radius-m); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.bb-txquote::before { content: '“'; font-family: var(--script); font-size: 72px; line-height: .5; padding-top: 12px; }
.bb-txquote blockquote { margin: 0; font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.bb-txquote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(31, 35, 42, .15); }
.bb-txquote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.bb-txquote figcaption strong { display: block; font-size: 17px; font-weight: 600; }
.bb-txquote figcaption small { display: block; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bb-next { background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.bb-next ol { margin: 0; padding: 0; list-style: none; }
.bb-next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; font-size: 18px; font-weight: 500; line-height: 1.4; }
.bb-next li + li { border-top: 1px solid #ece9e3; }
.bb-next li > span:first-child { font: 500 13px var(--mono); color: var(--muted-2); }
@media (max-width: 899px) {
	.bb-contactpage { grid-template-columns: 1fr; }
	.bb-contactpage__aside { position: static; }
}

/* ---------- Service pages: hero showcase, case study card, horizontal gallery, white cards ---------- */
.bb-hero--shot { padding-top: 170px; padding-bottom: 0; }
.bb-shot { position: relative; z-index: 1; height: 120vh; margin-top: 72px; }
.bb-shot__sticky { position: sticky; top: calc(var(--admin-bar) + 80px); display: flex; justify-content: center; }
.bb-shot__frame {
	width: calc(78% + var(--p, 0) * 22%); max-width: 1400px; aspect-ratio: 3 / 2; max-height: calc(100vh - 110px);
	border-radius: calc(36px - var(--p, 0) * 12px); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(31, 35, 42, .45);
}
.bb-shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(calc(1.12 - var(--p, 0) * .12)); }
@media (max-width: 720px) {
	.bb-shot { height: auto; margin-top: 48px; }
	.bb-shot__sticky { position: static; }
	.bb-shot__frame { width: 100%; border-radius: var(--radius-m); }
}

.bb-case {
	margin-top: 72px; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: center;
	background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m); padding: 16px 32px 16px 16px;
	transition: transform .35s var(--ease), box-shadow .35s;
}
.bb-case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .25); }
.bb-case__img { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #eee; }
.bb-case__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bb-case__body { display: flex; flex-direction: column; gap: 8px; }
.bb-case__body .bb-eyebrow { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }
.bb-case__title { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.bb-case__title u { text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 599px) { .bb-case { grid-template-columns: 1fr; padding: 16px; } }

.bb-hs { position: relative; height: 300vh; background: var(--ink); color: var(--on-dark); }
.bb-hs__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 80px 0 40px; }
.bb-hs__head, .bb-hs__barwrap { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.bb-hs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bb-hs__head h2 { font-size: clamp(36px, 5vw, 72px); }
.bb-hs__head a { color: var(--on-dark-2); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.bb-hs__track { display: flex; gap: 24px; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.bb-hs__item { display: block; width: min(64vw, 760px); flex: none; color: var(--white); }
.bb-hs__img { aspect-ratio: 16 / 10; max-height: 56vh; border-radius: 24px; overflow: hidden; background: var(--ink-2); }
.bb-hs__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease); }
a.bb-hs__item:hover .bb-hs__img img { transform: scale(1.04); }
.bb-hs__cap { margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.bb-hs__cap span:last-child { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--on-dark-3); padding-top: 8px; }
.bb-hs__bar { height: 2px; background: var(--ink-3); border-radius: 2px; overflow: hidden; }
.bb-hs__bar i { display: block; height: 100%; width: 0; background: var(--on-dark); }
@media (max-width: 860px) {
	.bb-hs { height: auto; }
	.bb-hs__sticky { position: static; height: auto; padding: var(--section-y) 0; }
	.bb-hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 8px; }
	.bb-hs__item { width: 80vw; scroll-snap-align: center; }
	.bb-hs__barwrap { display: none; }
}

.bb-wcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.bb-wcard {
	background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m); padding: 36px;
	display: flex; flex-direction: column; gap: 16px; min-height: 240px; transition: transform .35s var(--ease), box-shadow .35s;
}
a.bb-wcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .25); }
.bb-wcard__title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.bb-wcard p { margin-top: auto; font-size: 17px; font-weight: 300; line-height: 1.5; color: var(--text); }
.bb-h2--l { font-size: clamp(36px, 4.4vw, 64px); }
.bb-section--pt-m { padding-top: 40px; }

/* ---------- SEO page: search results demo + quick test ---------- */
.bb-serp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px 64px; align-items: start; }
.bb-serp__card { position: sticky; top: calc(var(--admin-bar) + 96px); background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m); padding: 24px; box-shadow: 0 40px 80px -48px rgba(31, 35, 42, .35); }
.bb-serp__search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-size: 16px; color: var(--text); }
.bb-serp__search::before { content: ''; width: 14px; height: 14px; border: 2px solid var(--muted-2); border-radius: 50%; flex: none; }
.bb-serp__list { position: relative; height: 424px; margin-top: 16px; }
.bb-serp__row, .bb-serp__you { position: absolute; left: 0; right: 0; top: 0; height: 64px; padding: 0 20px; display: flex; transition: transform .7s var(--ease); }
.bb-serp__row { flex-direction: column; justify-content: center; gap: 8px; }
.bb-serp__row i { display: block; height: 8px; width: 38%; border-radius: 4px; background: var(--line); }
.bb-serp__row i + i { height: 12px; width: 72%; border-radius: 6px; background: #ece9e3; }
.bb-serp__row:nth-child(2) i { width: 30%; } .bb-serp__row:nth-child(2) i + i { width: 64%; }
.bb-serp__row:nth-child(3) i { width: 44%; } .bb-serp__row:nth-child(3) i + i { width: 80%; }
.bb-serp__row:nth-child(4) i { width: 34%; } .bb-serp__row:nth-child(4) i + i { width: 58%; }
.bb-serp__row:nth-child(5) i { width: 40%; } .bb-serp__row:nth-child(5) i + i { width: 68%; }
.bb-serp__row:nth-child(2) { transform: translateY(72px); }
.bb-serp__row:nth-child(3) { transform: translateY(144px); }
.bb-serp__row:nth-child(4) { transform: translateY(216px); }
.bb-serp__row:nth-child(5) { transform: translateY(288px); }
.bb-serp__you { transform: translateY(360px); border-radius: 16px; background: var(--ink); color: var(--white); align-items: center; justify-content: space-between; gap: 16px; z-index: 2; }
.bb-serp__you small { display: block; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--on-dark-3); }
.bb-serp__you strong { display: block; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-serp__pos { flex: none; background: var(--orb-b); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 500 12px var(--mono); }
.bb-quiz { background: var(--sand); border-radius: var(--radius-m); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.bb-quiz__head { display: flex; flex-direction: column; gap: 6px; }
.bb-quiz__head .bb-eyebrow { font-size: 11px; letter-spacing: .14em; }
.bb-quiz__title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bb-quiz__q { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.4; }
.bb-quiz__q div { display: flex; gap: 6px; }
.bb-quiz__q button { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; cursor: pointer; background: transparent; color: var(--ink); transition: background .2s, color .2s; }
.bb-quiz__q button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.bb-quiz__result { background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bb-quiz__result[hidden] { display: none; }
.bb-quiz__result p { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.bb-quiz__result a { align-self: flex-start; background: var(--on-dark); color: var(--ink); border-radius: 999px; padding: 12px 22px; font-size: 15px; font-weight: 500; }
.bb-h2--wide { max-width: 1000px; }
@media (max-width: 899px) { .bb-serp__card { position: static; } }

/* ---------- Online shop page: checkout demo ---------- */
.bb-demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px 64px; align-items: start; }
.bb-shop {
	position: sticky; top: calc(var(--admin-bar) + 96px); background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m);
	padding: 24px; box-shadow: 0 40px 80px -48px rgba(31, 35, 42, .35); display: flex; flex-direction: column; gap: 20px;
}
.bb-shop__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bb-shop__steps > div { display: flex; flex-direction: column; gap: 8px; }
.bb-shop__steps i { display: block; height: 4px; border-radius: 2px; background: #ece9e3; overflow: hidden; }
.bb-shop__steps b { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }
.bb-shop__steps span { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9a9ea6; transition: color .4s; }
.bb-shop__steps .is-on span { color: var(--ink); }
.bb-shop__product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bb-shop__img { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--peach); }
.bb-shop__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bb-shop__lines { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.bb-shop__lines > i { display: block; height: 8px; border-radius: 4px; background: #ece9e3; }
.bb-shop__lines > i:nth-child(1) { height: 10px; width: 50%; background: var(--line); }
.bb-shop__lines > i:nth-child(2), .bb-shop__lines > i:nth-child(3) { height: 18px; border-radius: 6px; background: var(--ink); opacity: .85; }
.bb-shop__lines > i:nth-child(2) { width: 90%; }
.bb-shop__lines > i:nth-child(3) { width: 60%; }
.bb-shop__lines > i:nth-child(5) { margin-top: 6px; }
.bb-shop__lines > i:nth-child(6) { width: 80%; }
.bb-shop__dots { display: flex; gap: 6px; margin-top: 6px; }
.bb-shop__dots i { width: 26px; height: 26px; border-radius: 50%; background: var(--orb-b); }
.bb-shop__dots i:nth-child(2) { background: var(--orb-c); }
.bb-shop__dots i:nth-child(3) { background: var(--orb-d); }
.bb-shop__ok {
	position: absolute; inset: -4px; border-radius: 20px; background: rgba(31, 35, 42, .94); color: var(--white);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	opacity: 0; transform: scale(.96); transition: opacity .45s, transform .45s var(--ease);
}
.bb-shop.is-done .bb-shop__ok { opacity: 1; transform: none; }
.bb-shop__ok span { width: 64px; height: 64px; border-radius: 50%; background: var(--orb-b); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.bb-shop__ok strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.bb-shop__btn { background: var(--ink); color: var(--white); border-radius: 999px; padding: 16px; text-align: center; font-size: 16px; font-weight: 600; }
.bb-case--s { margin-top: 0; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); }
@media (max-width: 899px) { .bb-shop { position: static; } }

/* ---------- Branding page: "your brand in one sentence" + project cards on dark ---------- */
.bb-sentence { position: relative; overflow: hidden; background: var(--peach); border-radius: var(--radius-l); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 32px; }
.bb-sentence::before { content: ''; position: absolute; right: -8%; top: -30%; width: 40vw; height: 40vw; border-radius: 50%; background: var(--orb-c); filter: blur(100px); opacity: .6; pointer-events: none; }
.bb-sentence > * { position: relative; }
.bb-sentence .bb-eyebrow { font-size: 11px; }
.bb-sentence__text { font-size: clamp(28px, 3.8vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.35; text-wrap: pretty; }
.bb-sentence input {
	field-sizing: content; min-width: 8ch; max-width: 100%; font: inherit; letter-spacing: inherit; color: var(--ink);
	background: transparent; border: 0; border-bottom: 3px solid var(--ink); padding: 0 4px; outline: none; border-radius: 0;
}
.bb-sentence input::placeholder { color: var(--muted-3); }
.bb-sentence input:focus-visible { border-bottom-color: var(--muted); }
@supports not (field-sizing: content) { .bb-sentence input { width: 9em; } }
.bb-sentence__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.bb-sentence__foot span { font-size: 18px; font-weight: 300; color: var(--text); }
.bb-sentence__foot .bb-btn { padding: 14px 24px; font-size: 16px; }

.bb-work2 { border-top: 1px solid var(--ink-3); padding-top: var(--section-y); }
.bb-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bb-head-row > a { color: var(--on-dark-2); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.bb-pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.bb-pcard { display: flex; flex-direction: column; gap: 18px; color: var(--white); }
.bb-pcard__img { aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--ink-2); }
.bb-pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease); }
.bb-pcard:hover .bb-pcard__img img { transform: scale(1.04); }
.bb-pcard__body { display: flex; flex-direction: column; gap: 6px; }
.bb-pcard__name { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.bb-pcard__meta { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- Rebranding page: before / after wipe ---------- */
.bb-wipe { --w: .5; position: relative; height: clamp(300px, 42vw, 520px); border-radius: var(--radius-l); overflow: hidden; background: #e9e3d6; }
.bb-wipe__side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
.bb-wipe__logo { position: relative; display: flex; align-items: center; gap: 18px; }
.bb-wipe__dot { width: clamp(44px, 6vw, 80px); height: clamp(44px, 6vw, 80px); border-radius: 50%; }
.bb-wipe__sub { position: relative; }
.bb-wipe__before .bb-wipe__dot { background: #2f5d9e; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .2); }
.bb-wipe__before .bb-wipe__name { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; font-size: clamp(44px, 7vw, 108px); color: #2f5d9e; letter-spacing: .01em; text-shadow: 3px 3px 0 #c9b98f; }
.bb-wipe__before .bb-wipe__sub { font-family: Georgia, serif; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .3em; color: #8a6d3b; }
.bb-wipe__after { background: var(--ink); color: var(--on-dark); clip-path: inset(0 calc((1 - var(--w)) * 100%) 0 0); }
.bb-wipe__after::before { content: ''; position: absolute; left: 10%; top: 10%; width: 40%; height: 80%; border-radius: 50%; background: var(--orb-dark-a); filter: blur(90px); opacity: .35; }
.bb-wipe__after .bb-wipe__dot { background: var(--orb-b); }
.bb-wipe__after .bb-wipe__name { font-weight: 700; font-size: clamp(44px, 7vw, 108px); letter-spacing: -.04em; line-height: 1; }
.bb-wipe__after .bb-wipe__sub { font: 500 clamp(11px, 1.2vw, 14px) var(--mono); letter-spacing: .3em; color: var(--on-dark-3); }
.bb-wipe__tag { position: absolute; top: 20px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; border-radius: 999px; padding: 7px 12px; }
.bb-wipe__before .bb-wipe__tag { left: 20px; background: var(--white); color: var(--ink); }
.bb-wipe__after .bb-wipe__tag { right: 20px; background: var(--on-dark); color: var(--ink); }
.bb-wipe__line { position: absolute; top: 0; bottom: 0; left: calc(var(--w) * 100%); width: 2px; background: var(--white); box-shadow: 0 0 0 1px rgba(31, 35, 42, .15); }

/* ---------- Personal brand page: incoherent -> coherent cards ---------- */
.bb-coh { --c: 0; position: relative; height: clamp(340px, 44vw, 560px); border-radius: var(--radius-l); background: var(--sand); overflow: hidden; }
.bb-coh__card { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .45); }
.bb-coh__card:nth-child(1) { left: 4%; top: 10%; width: 54%; height: 62%; transform: translate(calc((1 - var(--c)) * -6%), calc((1 - var(--c)) * 6%)) rotate(calc((1 - var(--c)) * -7deg)); }
.bb-coh__card:nth-child(2) { right: 5%; top: 6%; width: 30%; aspect-ratio: 1; transform: translate(calc((1 - var(--c)) * 6%), calc((1 - var(--c)) * -4%)) rotate(calc((1 - var(--c)) * 9deg)); }
.bb-coh__card:nth-child(3) { right: 14%; bottom: 6%; width: 34%; height: 44%; transform: translate(calc((1 - var(--c)) * 4%), calc((1 - var(--c)) * 8%)) rotate(calc((1 - var(--c)) * -4deg)); }
.bb-coh__face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; font-size: clamp(16px, 2vw, 28px); font-weight: 700; line-height: 1.1; text-align: center; }
.bb-coh__old { opacity: calc(1 - var(--c)); }
.bb-coh__new { opacity: var(--c); letter-spacing: -.03em; }
.bb-coh__card:nth-child(1) .bb-coh__old { background: #e8574f; color: #fff; font-family: Georgia, serif; font-style: italic; }
.bb-coh__card:nth-child(1) .bb-coh__new { background: var(--ink); color: var(--on-dark); }
.bb-coh__card:nth-child(2) .bb-coh__old { background: #3d7fd6; color: #ffe14d; font-family: 'Courier New', monospace; }
.bb-coh__card:nth-child(2) .bb-coh__new { background: var(--peach); color: var(--ink); }
.bb-coh__card:nth-child(3) .bb-coh__old { background: #f4d03f; color: #6b2fa0; font-family: Impact, 'Arial Black', sans-serif; }
.bb-coh__card:nth-child(3) .bb-coh__new { background: var(--sage); color: var(--ink); }
.bb-coh__tag { position: absolute; left: 14px; top: 12px; z-index: 1; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .9); color: var(--ink); border-radius: 999px; padding: 5px 9px; }
.bb-case--flush { margin-top: 0; }

/* ---------- Illustration page: photo vs illustration wipe + gallery ---------- */
.bb-wipe--img { height: auto; aspect-ratio: 3 / 2; max-height: 80vh; }
.bb-wipe--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-wipe--img .bb-wipe__after { background: none; }
.bb-wipe--img .bb-wipe__after::before { display: none; }
.bb-wipe--img .bb-wipe__before .bb-wipe__tag { background: rgba(31, 35, 42, .8); color: var(--white); }
.bb-wipe--img .bb-wipe__after .bb-wipe__tag { background: var(--ink); color: var(--white); }
.bb-wipe__knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--white); box-shadow: 0 10px 30px -8px rgba(31, 35, 42, .5); display: flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.bb-wipe__knob i { width: 2px; height: 18px; border-radius: 1px; background: var(--ink); }
.bb-wipe.is-drag { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bb-wipe.is-drag img { pointer-events: none; }
.bb-wipe.is-drag .bb-wipe__knob { opacity: 1; transform: none; }
.bb-wipe.is-drag:hover .bb-wipe__knob { transform: scale(1.08); }
.bb-wipe:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.bb-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.bb-gallery__item { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.bb-gallery__item img { width: 100%; height: 112%; object-fit: cover; transform: translateY(calc(var(--y, 0) * -6%)); }

/* ---------- Maintenance page: health check panel + plans ---------- */
.bb-mnt { position: sticky; top: calc(var(--admin-bar) + 96px); background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius-m); padding: 28px; box-shadow: 0 40px 80px -48px rgba(31, 35, 42, .35); display: flex; flex-direction: column; gap: 20px; }
.bb-mnt__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 13px var(--mono); letter-spacing: .06em; }
.bb-mnt__status { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 12px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; background: #fde0d2; transition: background .5s; }
.bb-mnt__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d9653b; transition: background .5s; }
.bb-mnt.is-ok .bb-mnt__status { background: #d3f0d9; }
.bb-mnt.is-ok .bb-mnt__status::before { background: #3e9a5a; }
.bb-mnt__list { display: flex; flex-direction: column; border-top: 1px solid #ece9e3; }
.bb-mnt__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #ece9e3; font-size: 18px; font-weight: 500; }
.bb-mnt__ck { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: transparent; transition: background .4s, border-color .4s, color .4s; }
.bb-mnt__row.is-on .bb-mnt__ck { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bb-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bb-plan { background: var(--paper); color: var(--ink); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; }
.bb-plan--dark { background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 80px -40px rgba(31, 35, 42, .5); }
.bb-plan__head { display: flex; flex-direction: column; gap: 10px; }
.bb-plan__head .bb-eyebrow { font-size: 11px; letter-spacing: .14em; }
.bb-plan--dark .bb-plan__head .bb-eyebrow { color: var(--on-dark-3); }
.bb-plan__name { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.bb-plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.bb-plan li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 300; line-height: 1.4; }
.bb-plan--dark ul, .bb-plan--dark li { border-color: var(--ink-3); }
.bb-plan .bb-btn { margin-top: auto; padding: 16px 24px; font-size: 16px; font-weight: 600; box-shadow: none; }
@media (max-width: 899px) { .bb-plans { grid-template-columns: 1fr; } .bb-mnt { position: static; } }

/* ---------- Sector pages: featured example + text link ---------- */
.bb-case--wide { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px; border-radius: var(--radius-xl); padding: 16px; }
.bb-case--wide .bb-case__img { border-radius: var(--radius-m); }
.bb-case--wide .bb-case__body { gap: 12px; padding: 8px 24px 24px; }
.bb-case--wide .bb-case__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bb-case--wide .bb-case__title strong { font-weight: inherit; }
.bb-case__sub { font-size: 18px; font-weight: 300; color: var(--text); }
.bb-case--wide .bb-more { font: 500 17px var(--sans); letter-spacing: 0; text-transform: none; text-underline-offset: 4px; }
.bb-textlink { font-size: 17px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bb-textlink:hover { color: var(--text); }
.bb-list { display: grid; gap: 10px; padding-left: 1.2em; font-size: 18px; font-weight: 300; line-height: 1.55; color: var(--text); }
.bb-list li::marker { color: var(--muted-2); }

/* ---------- Case study pages ---------- */
.bb-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.bb-tag { border: 1px solid rgba(31, 35, 42, .18); background: rgba(255, 255, 255, .5); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.bb-cs-main { padding: 0 var(--gutter); }
.bb-cs-main__img { max-width: 1400px; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 36px; overflow: hidden; background: var(--sand); box-shadow: 0 50px 100px -40px rgba(31, 35, 42, .35); }
.bb-cs-main__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bb-devices { display: flex; flex-direction: column; gap: 16px; }
.bb-devices img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line-3); box-shadow: 0 30px 60px -30px rgba(31, 35, 42, .3); }
.bb-devices__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.bb-devices__wide { flex: 2.9 1 420px; min-width: 0; }
.bb-devices__phone { flex: 1 1 150px; min-width: 0; max-width: 360px; }
.bb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.bb-tile { background: var(--sand); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.bb-tile__title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bb-tile p { font-size: 17px; font-weight: 300; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.bb-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.bb-shots img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line-3); }
.bb-panel { background: var(--sage); border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px; align-items: end; }
.bb-panel__img { grid-column: 1 / -1; max-width: 520px; }
.bb-panel__img img { width: 100%; height: auto; border-radius: 16px; }
.bb-bigquote { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; }
.bb-bigquote::before { content: '“'; font-family: var(--script); font-size: 120px; line-height: .4; color: var(--orb-b); }
.bb-bigquote blockquote { font-size: clamp(24px, 2.8vw, 36px); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; text-wrap: pretty; }
.bb-bigquote figcaption { padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; flex-direction: column; gap: 6px; }
.bb-bigquote figcaption strong { font: 600 14px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.bb-bigquote figcaption span { font-size: 17px; font-weight: 300; color: var(--on-dark-3); }

/* ---------- Cross-sell cards ---------- */
.bb-xcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bb-xcard {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-m);
	background: var(--ink-2); color: var(--white); min-height: 300px;
	display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; gap: 10px;
	transition: transform .45s var(--ease);
}
.bb-xcard:hover { transform: translateY(-6px); }
.bb-xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bb-xcard--img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 35, 42, 0) 30%, rgba(31, 35, 42, .85) 100%); }
.bb-xcard__title { font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.bb-xcard .bb-more { font-size: 11px; }
.bb-xcard--sage { background: var(--sage); color: var(--ink); }
.bb-xcard--butter { background: var(--butter); color: var(--ink); }
.bb-xcard--peach { background: var(--peach); color: var(--ink); }
.bb-xcard--lilac { background: var(--lilac); color: var(--ink); }

/* ---------- Blog cards ---------- */
.bb-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.bb-post {
	background: var(--sand); border-radius: var(--radius-m); padding: 32px; min-height: 340px;
	display: flex; flex-direction: column; gap: 20px;
	transition: transform .45s var(--ease), background .35s;
}
.bb-post:hover { transform: translateY(-6px); }
.bb-post__body { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.bb-post__title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.bb-post p { font-size: 17px; font-weight: 300; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.bb-post .bb-eyebrow { font-size: 11px; letter-spacing: .14em; }
.bb-post .bb-more { margin-top: auto; }
.bb-post--featured {
	grid-column: 1 / -1; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-l);
	padding: clamp(28px, 5vw, 64px); min-height: 380px; justify-content: space-between; gap: 48px;
}
.bb-post--featured:hover { background: var(--ink); }
.bb-post--featured .bb-post__body { max-width: 900px; gap: 24px; flex: none; }
.bb-post--featured .bb-post__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.bb-post--featured p { font-size: 20px; color: var(--on-dark-2); max-width: 720px; }
.bb-post--featured .bb-eyebrow { color: var(--on-dark-3); }

.bb-pagination { margin-top: 72px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.bb-pagination .page-numbers {
	min-width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line-2);
	display: flex; align-items: center; justify-content: center; padding: 0 18px;
	font: 500 15px var(--mono); transition: background .25s, border-color .25s, color .25s;
}
.bb-pagination a.page-numbers:hover { background: var(--sand); border-color: var(--sand); }
.bb-pagination .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bb-pagination .next, .bb-pagination .prev { font: 500 16px var(--sans); border-color: var(--ink); padding: 0 26px; }
.bb-pagination .next:hover, .bb-pagination .prev:hover { background: var(--ink); color: var(--white); }

/* ---------- Article / prose ---------- */
.bb-article__head { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.bb-article__head h1, .bb-article__title { margin: 0; max-width: 1000px; }
.bb-article__body { padding: 0 var(--gutter) 96px; }
.bb-prose { max-width: 66ch; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--text); }
.bb-prose > * + * { margin-top: 24px; }
.bb-prose > :first-child { margin-top: 0; }
.bb-prose > p:first-child { font-size: 22px; font-weight: 300; line-height: 1.6; color: var(--ink); }
.bb-prose h2 { margin-top: 64px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.bb-prose h3 { margin-top: 44px; font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.bb-prose h2 + *, .bb-prose h3 + * { margin-top: 20px; }
.bb-prose p { text-wrap: pretty; }
.bb-prose ul, .bb-prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 14px; }
.bb-prose li { padding-left: .4em; text-wrap: pretty; }
.bb-prose strong { font-weight: 600; color: var(--ink); }
.bb-prose a:not(.bb-btn):not(.wp-block-button__link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bb-prose a:not(.bb-btn):not(.wp-block-button__link):hover { color: var(--muted); }
.bb-prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.bb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bb-prose th, .bb-prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bb-prose img { border-radius: 20px; }
.bb-prose .bb-cta-box, .bb-cta-box {
	max-width: 860px; margin: 88px auto 0; background: var(--peach); border-radius: var(--radius-l);
	padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
/* `translate` (not `transform`) so the scroll-reveal transform cannot undo the centring */
.bb-article .bb-cta-box { position: relative; left: 50%; width: min(860px, calc(100vw - 2 * var(--gutter))); max-width: none; translate: -50% 0; }
.bb-cta-box h2, .bb-cta-box h3 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.bb-cta-box p { max-width: 620px; font-size: 19px; font-weight: 300; line-height: 1.55; color: var(--text); }
.bb-cta-box .bb-btn { margin-top: 8px; }

.bb-postnav {
	max-width: 860px; margin: 72px auto 0; border-top: 1px solid var(--line); padding: 32px var(--gutter) 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px;
}
.bb-postnav a { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; transition: opacity .25s; }
.bb-postnav a:hover { opacity: .65; }
.bb-postnav .bb-eyebrow { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }
.bb-postnav__title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.bb-postnav__next { text-align: right; align-items: flex-end; }
.bb-article { padding-bottom: 96px; }

/* Legal / plain documents */
.bb-doc__head { padding-bottom: 64px; }
.bb-doc__title { font-size: clamp(40px, 5.8vw, 80px); line-height: 1.02; margin: 0 auto; }
.bb-doc__body { padding: 0 var(--gutter) 112px; }

/* ---------- Footer ---------- */
.bb-footer { background: var(--ink); color: var(--on-dark-3); padding: 72px var(--gutter) 32px; margin-top: 16px; }
.bb-footer__inner { max-width: var(--wrap); margin: 0 auto; }
.bb-footer__top {
	display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px;
	padding-bottom: 56px; border-bottom: 1px solid var(--ink-3);
}
.bb-footer__logo img { height: 28px; width: auto; filter: invert(1); }
.bb-footer__brand p { margin-top: 20px; max-width: 280px; font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--on-dark-2); }
.bb-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.bb-footer__col .bb-eyebrow { color: var(--on-dark-3); font-size: 11px; margin-bottom: 6px; }
.bb-footer__col a { color: var(--on-dark); transition: color .2s; }
.bb-footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.bb-footer__bottom {
	padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap;
	font: 500 12px var(--mono); letter-spacing: .12em; color: var(--on-dark-3);
}
.bb-footer__legal { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.bb-footer__legal a { text-transform: uppercase; }
.bb-footer__legal a:hover { color: var(--on-dark); }
.bb-footer__cookies { font: inherit; letter-spacing: inherit; text-transform: uppercase; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.bb-footer__cookies:hover { color: var(--on-dark); }
/* Complianz's floating "Gestionar consentimiento" tab is hidden; the footer button reopens the banner instead. */
#cmplz-manage-consent { display: none !important; }
@media (max-width: 900px) { .bb-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bb-footer__top { grid-template-columns: 1fr; } }

/* ---------- Floating CTA ---------- */
.bb-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 35;
	background: var(--ink); color: var(--white); border-radius: 999px; padding: 16px 24px;
	font-size: 16px; font-weight: 500; box-shadow: 0 18px 40px -14px rgba(31, 35, 42, .6);
	opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s, background .25s;
}
.bb-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.bb-float:hover { background: var(--ink-3); color: var(--white); }

/* ---------- Scroll reveal ---------- */
.bb-js .bb-rv { opacity: 0; transform: translateY(56px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.bb-js .bb-rv.is-in { opacity: 1; transform: none; }
.bb-js .bb-fade { animation: bbFadeUp 1s var(--ease) both; }
.bb-js .bb-rise { animation: bbRise 1.2s var(--ease) both; }
@keyframes bbFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bbRise { from { transform: translateY(105%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.bb-js .bb-rv { opacity: 1; transform: none; }
	.bb-marquee__track { animation: none; }
}
