/* ==========================================================================
   MBH Portfolio — main stylesheet (light theme)
   1. Tokens   2. Base   3. Layout & tones   4. Type   5. Buttons
   6. Header   7. Sections   8. Blog   9. Footer   10. Assistant, popup, mobile bar
   11. Illustrations   12. Motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--accent: #2f5bea;
	--accent-2: #7c5cff;
	--accent-soft: color-mix(in srgb, var(--accent) 9%, #fff);
	--accent-soft-2: color-mix(in srgb, var(--accent) 16%, #fff);
	--grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	--navy: #0b1530;
	--navy-2: #132044;
	--text: #0f172a;
	--muted: #576075;
	--line: #e4e8f0;
	--line-2: #eef1f6;
	--white: #fff;
	--soft: #f6f8fc;
	--tint: #f3f6ff;
	--ok: #16a34a;
	--wa: #25d366;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 22px;
	--f-head: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -14px rgba(15, 23, 42, .16);
	--shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 32px 64px -28px rgba(15, 23, 42, .28);
	--shadow-accent: 0 12px 28px -12px color-mix(in srgb, var(--accent) 65%, transparent);
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 76px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.menu-open, body.popup-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft-2); color: var(--text); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--f-head); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--fg-strong, var(--text)); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.mbh-icon { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform: scaleX(-1); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.editor-note { padding: 24px; margin: 16px; border: 1px dashed var(--accent); border-radius: var(--r); text-align: center; color: var(--muted); }

/* 3. Layout & tones ----------------------------------------------------- */
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.wrap--narrow { max-width: 820px; }
.site-main { display: block; }

.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--bg); color: var(--fg); isolation: isolate; overflow: hidden; }
.sec.sp-compact { padding: clamp(52px, 6.5vw, 88px) 0; }
.sec.sp-none { padding: 0; }
.sec--white, .sec--ink2 { --bg: var(--white); --fg: var(--text); --fg-muted: var(--muted); --card: var(--white); --card-line: var(--line); }
.sec--light { --bg: var(--soft); --fg: var(--text); --fg-muted: var(--muted); --card: var(--white); --card-line: var(--line); }
.sec--tint { --bg: var(--tint); --fg: var(--text); --fg-muted: var(--muted); --card: var(--white); --card-line: color-mix(in srgb, var(--accent) 12%, var(--line)); background: radial-gradient(1000px 500px at 85% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%), radial-gradient(800px 420px at -10% 110%, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 60%), var(--tint); }
.sec--dark { --bg: var(--navy); --fg: #e8ecf6; --fg-strong: #fff; --fg-muted: #a7b0c6; --card: rgba(255, 255, 255, .05); --card-line: rgba(255, 255, 255, .1); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--3 { grid-template-columns: repeat(var(--cols-d, 3), minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(var(--cols-d, 4), minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(var(--cols-t, 2), minmax(0, 1fr)); } }
@media (max-width: 767px)  { .grid--3, .grid--4 { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); } }

/* Decorative background */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb--1 { width: 520px; height: 520px; top: -200px; right: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.orb--2 { width: 460px; height: 460px; bottom: -220px; left: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 20%, #000 5%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 5%, transparent 65%); }
.sec--dark .grid-lines { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.noise { display: none; }
@keyframes drift { to { transform: translate3d(-50px, 40px, 0) scale(1.06); } }

/* 4. Type --------------------------------------------------------------- */
.display { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.display--md { font-size: clamp(36px, 4.6vw, 56px); }
.display em, .sec-title em, .footer-cta__mail em {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--fg-muted); max-width: 600px; line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); }
.sec--dark .eyebrow, .site-footer .eyebrow, .cta-panel .eyebrow { color: #c9d4ff; background: rgba(255, 255, 255, .08); }
.eyebrow a { text-decoration: none; }

.sec-head { display: grid; gap: 14px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head--center .sec-text { max-width: 640px; }
.sec-head--split { grid-template-columns: 1.15fr 1fr; align-items: end; }
.sec-head--left .sec-text { max-width: 560px; }
@media (max-width: 820px) { .sec-head--split { grid-template-columns: 1fr; } }
.sec-title { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.sec-text { color: var(--fg-muted); font-size: 17px; margin: 0; }

/* 5. Buttons ------------------------------------------------------------ */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns--center { justify-content: center; }
.btn {
	--btn-bg: var(--navy); --btn-fg: #fff; --btn-line: transparent;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 22px; min-height: 50px; border-radius: 12px;
	background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-line);
	font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
	overflow: hidden; isolation: isolate;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn__arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__lead { width: 19px; height: 19px; }
.btn--gold { --btn-bg: var(--grad); --btn-fg: #fff; box-shadow: var(--shadow-accent); }
.btn--gold:hover { box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn--ghost { --btn-bg: var(--white); --btn-fg: var(--text); --btn-line: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { --btn-line: var(--accent); --btn-fg: var(--accent); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: 0 14px 30px -14px rgba(11, 21, 48, .6); }
.sec--dark .btn--dark { --btn-bg: #fff; --btn-fg: var(--navy); }
.sec--dark .btn--ghost, .cta-panel .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-line: rgba(255, 255, 255, .25); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #053b1d; }
.btn--sm { padding: 10px 16px; min-height: 42px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--accent); }
.link-arrow .mbh-icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .mbh-icon { transform: translateX(4px); }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--card-line, var(--line)); background: var(--card, #fff); box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease), color .3s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* 6. Header ------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: var(--text); transition: transform .45s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { --header-h: 66px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__name i { color: var(--accent); font-style: normal; }
.logo__tag { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.custom-logo { max-height: 46px; width: auto; }

.nav .menu { display: flex; gap: 2px; list-style: none; }
.nav .menu > li { position: relative; }
.nav .menu a { display: block; padding: 9px 14px; border-radius: 10px; font-family: var(--f-head); font-size: 15px; font-weight: 600; text-decoration: none; color: #3b4459; transition: color .2s, background .2s; }
.nav .menu a:hover { color: var(--text); background: rgba(15, 23, 42, .04); }
.nav .current-menu-item > a, .nav .current_page_item > a, .nav .current-menu-ancestor > a { color: var(--accent); background: var(--accent-soft); }
.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.burger__lines { display: grid; gap: 5px; width: 20px; margin: auto; }
.burger__lines i { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger__lines i:nth-child(3) { width: 60%; justify-self: end; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px); color: var(--text); display: flex; padding: calc(var(--header-h) + 20px) var(--gutter) 28px; opacity: 0; transition: opacity .3s var(--ease); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.mobile-menu__list, .mobile-menu .menu { list-style: none; display: grid; gap: 2px; }
.mobile-menu__list a, .mobile-menu .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 7vw, 32px); letter-spacing: -.02em; text-decoration: none; transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), color .2s; }
.mobile-menu.is-open li a { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; } .mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; } .mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu .current-menu-item > a { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 10px; }
.mobile-menu__mail { text-align: center; color: var(--muted); margin-top: 4px; }

@media (max-width: 960px) { .nav { display: none; } .burger { display: block; } }
@media (max-width: 520px) { .hide-mobile { display: none !important; } .logo__tag { display: none; } }

/* 7. Sections ----------------------------------------------------------- */

/* Hero */
/* Hero: big capital H1 + live code window */
.hero__eyebrow { margin: 0 0 14px; font-family: var(--f-head); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.hero__title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; color: #333a45; margin-bottom: 24px; }
.hero__title em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); -webkit-text-fill-color: currentColor; }
.hero__caret { display: inline-block; width: .12em; height: .82em; margin-left: .06em; vertical-align: -.04em; background: color-mix(in srgb, var(--accent) 22%, #fff); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sec--hero .hero__copy .lead { font-weight: 500; color: #6b6f78; max-width: 640px; }

.hero__visual--code { perspective: 1400px; }
.codecard { position: relative; padding: clamp(12px, 2.6vw, 44px); border-radius: 26px; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 18px 40px -20px rgba(0, 0, 0, .35); transform: none; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.hero__grid:has(.hero__visual--code) { grid-template-columns: var(--hero-split, 1fr) 1fr; gap: clamp(28px, 4vw, 56px); }
.hero__visual--code:hover .codecard { transform: translateY(-4px); }
.codecard__inner { padding: clamp(18px, 2.4vw, 30px); border: 1px solid #23262d; border-radius: 20px; background: #050607; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.codecard__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #1f2329; }
.codecard__dots { display: inline-flex; gap: 9px; }
.codecard__dots i { width: 14px; height: 14px; border-radius: 50%; background: #ef4444; }
.codecard__dots i:nth-child(2) { background: #eab308; } .codecard__dots i:nth-child(3) { background: #22c55e; }
.codecard__file { font-size: 13px; color: #9aa4b2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.codecard__code { margin: 0; padding: 22px 0; background: none; border: 0; color: #e6e9ef; font: inherit; font-size: clamp(11.5px, .98vw, 15.5px); line-height: 1.95; white-space: pre-wrap; word-break: break-word; tab-size: 4; overflow: hidden; }
.codecard__code code { font: inherit; background: none; padding: 0; color: inherit; }
.codecard__code .tk-tag { color: #38bdf8; }
.codecard__code .tk-kw { color: #60a5fa; font-weight: 600; }
.codecard__code .tk-cls { color: #fde047; font-weight: 600; }
.codecard__code .tk-var { color: #cbd5e1; }
.codecard__code .tk-str { color: #4ade80; }
.codecard__code .tk-num { color: #f472b6; }
.codecard__code .tk-com { color: #6b7280; font-style: italic; }
.tk-caret { display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #4ade80; animation: caret 1s steps(1) infinite; }
.codecard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #1f2329; font-size: 13.5px; }
.codecard__status { display: inline-flex; align-items: center; gap: 12px; color: #4ade80; }
.codecard__status i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); animation: pulse 2s infinite; }
.codecard__meta { font-size: 12px; color: #7b8494; }
@media (max-width: 1024px) { .hero__grid:has(.hero__visual--code) { grid-template-columns: 1fr; } .hero__visual--code { max-width: 680px; } .codecard__code { font-size: clamp(11px, 1.9vw, 15px); } }
@media (max-width: 520px) { .codecard { padding: 10px; border-radius: 20px; } .codecard__inner { padding: 16px; border-radius: 14px; } .codecard__code { font-size: 12px; line-height: 1.8; } }

.sec--hero { min-height: 92vh; min-height: 92svh; display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 88px; }
.hero__grid { display: grid; grid-template-columns: var(--hero-split, 1.08fr) .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid.hero__grid--solo { grid-template-columns: 1fr; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 620px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: #3b4459; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.sec--hero .lead { margin-bottom: 32px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-top: 44px; }
.stats li { display: grid; min-width: 130px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stats strong { font-family: var(--f-head); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero__visual { position: relative; perspective: 1400px; }
.browser { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 50px 90px -50px color-mix(in srgb, var(--accent) 55%, transparent); transform: rotateY(-8deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.hero__visual:hover .browser { transform: rotateY(-3deg) rotateX(1deg); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser__bar span .mbh-icon { width: 12px; height: 12px; color: var(--ok); }
.browser__body img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.mock-site { aspect-ratio: 16 / 11; padding: 18px 22px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; background: radial-gradient(110% 80% at 85% 0%, var(--accent-soft-2), transparent 60%), #fff; }
.mock-site__nav { display: flex; align-items: center; gap: 10px; }
.mock-site__nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); margin-right: auto; }
.mock-site__nav span { width: 40px; height: 6px; border-radius: 4px; background: #d9dfeb; }
.mock-site__nav em { width: 64px; height: 22px; border-radius: 8px; background: var(--navy); }
.mock-site__hero { display: grid; align-content: center; gap: 12px; }
.mock-site__hero span { height: 14px; border-radius: 6px; background: var(--navy); animation: shimmer 3s ease-in-out infinite; }
.mock-site__hero .l1 { width: 78%; height: 20px; } .mock-site__hero .l2 { width: 56%; height: 20px; background: var(--grad); } .mock-site__hero .l3 { width: 64%; height: 8px; background: #d9dfeb; }
.mock-site__hero em { width: 120px; height: 30px; margin-top: 6px; border-radius: 8px; background: var(--grad); }
.mock-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-site__cards span { height: 64px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
@keyframes shimmer { 50% { opacity: .75; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; font-size: 13px; font-weight: 700; font-family: var(--f-head); color: var(--text); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.chip .mbh-icon { width: 17px; height: 17px; color: var(--accent); }
.chip--a { top: 14%; left: -6%; } .chip--b { top: 6%; right: -4%; animation-delay: -1.5s; }
.chip--c { bottom: 18%; left: -8%; animation-delay: -3s; } .chip--d { bottom: 6%; right: 2%; animation-delay: -4.5s; }
.chip--d .mbh-icon { color: var(--ok); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 640px) { .chip--a, .chip--c { left: 0; } .chip--b { right: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 40px; margin-left: -12px; border: 1.5px solid #c5cddd; border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px), (max-width: 1024px) { .scroll-cue { display: none; } }

/* Marquee ("Tools I build with") — every item is its own pill so words never run together */
.sec--marquee { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { display: flex; align-items: center; gap: 20px; min-width: 0; }
.marquee__label { position: relative; z-index: 2; flex: none; margin: 0 0 0 var(--gutter); padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.marquee__viewport { flex: 1 1 auto; min-width: 0; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .marquee__track { display: flex; flex: none; align-items: center; gap: 12px; margin: 0; padding: 4px 12px 4px 0; list-style: none; animation: marquee 40s linear infinite; will-change: transform; }
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.marquee .marquee__track > li { flex: none; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card, #fff); box-shadow: var(--shadow-sm); font-family: var(--f-head); font-weight: 700; font-size: 15.5px; line-height: 1.2; letter-spacing: 0; white-space: nowrap; color: #3b4459; transition: border-color .25s, color .25s; }
.marquee .marquee__track > li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.marquee .marquee__track > li::after { content: none; }
.marquee .marquee__track > li:hover { border-color: var(--accent); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 640px) {
	.marquee { flex-direction: column; align-items: stretch; gap: 12px; }
	.marquee__label { align-self: center; margin: 0; }
	.marquee .marquee__track > li { font-size: 14px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { .marquee__viewport { overflow-x: auto; } }

/* Cards (shared) */
.card { position: relative; background: var(--card, #fff); border: 1px solid var(--card-line, var(--line)); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease); }
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%); z-index: 0; }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow-lg); }

/* Feature cards */
.feature { padding: 30px 28px; overflow: hidden; }
.feature--visual { padding: 12px 12px 28px; }
.feature--visual > :not(.feature__media):not(.feature__num) { margin-left: 16px; margin-right: 16px; }
.feature__media { margin-bottom: 22px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.feature__media img, .feature__media .illus { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .feature__media img, .card:hover .feature__media .illus { transform: scale(1.04); }
.feature__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); transition: transform .45s var(--ease), background .35s, color .35s; }
.feature--visual .feature__icon { display: none; }
.feature__icon .mbh-icon { width: 24px; height: 24px; }
.feature__icon--sm { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.feature__icon--sm .mbh-icon { width: 20px; height: 20px; }
.card:hover .feature__icon { transform: rotate(-6deg) scale(1.06); background: var(--grad); color: #fff; }
.sec--dark .feature__icon { background: rgba(255, 255, 255, .08); color: #c9d4ff; }
.feature__title { font-size: 19px; }
.feature__text { color: var(--fg-muted); margin: 0; font-size: 15.5px; }
.feature__num { position: absolute; right: 22px; top: 18px; font-family: var(--f-head); font-weight: 800; font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; z-index: 2; }
.feature--visual .feature__num { top: 28px; right: 28px; background: #fff; box-shadow: var(--shadow-sm); }

.wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 14px; border-radius: 10px; background: #e9fbef; border: 1px solid #bbf0cc; color: #0f7a3a; font-family: var(--f-head); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.wa-link .mbh-icon { width: 18px; height: 18px; }
.wa-link__arrow { width: 15px !important; height: 15px !important; transition: transform .3s var(--ease); }
.wa-link:hover { background: var(--wa); border-color: var(--wa); color: #053b1d; transform: translateY(-2px); }
.wa-link:hover .wa-link__arrow { transform: translateX(3px); }
.feature--visual .wa-link { margin-left: 16px; }
.btn--wa:hover { box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .7); color: #053b1d; }

/* Funnel */
.funnel__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.funnel__grid .sec-head { margin: 0; }
@media (max-width: 960px) { .funnel__grid { grid-template-columns: 1fr; } }
.funnel { list-style: none; display: grid; gap: 12px; }
.funnel__bar { position: relative; display: flex; align-items: center; gap: 14px; width: var(--w); min-width: 240px; padding: 16px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--card-line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .45s var(--ease), box-shadow .4s; }
.funnel__bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.funnel__bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); z-index: 0; }
.funnel__stage:hover .funnel__bar { transform: translateX(6px); box-shadow: var(--shadow); }
.funnel__stage:hover .funnel__bar::after { transform: scaleX(1); }
.funnel__stage:hover .funnel__bar strong, .funnel__stage:hover .funnel__step { color: #fff; }
.funnel__bar > * { position: relative; z-index: 1; transition: color .4s; }
.funnel__step { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.funnel__bar strong { font-family: var(--f-head); font-size: 20px; font-weight: 800; color: var(--text); }
.funnel__copy { padding: 4px 6px 8px 22px; border-left: 2px dashed var(--accent-soft-2); margin-left: 22px; }
.funnel__copy h3 { font-size: 16px; margin: 0 0 2px; }
.funnel__copy p { margin: 0; color: var(--fg-muted); font-size: 15px; }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px; position: relative; }
.process::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-soft-2), transparent); }
.process__step { position: relative; text-align: center; padding: 0 6px; }
.process__num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 18px; font-family: var(--f-head); font-weight: 800; font-size: 18px; background: #fff; border: 1px solid var(--card-line); color: var(--accent); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), background .35s, color .35s; }
.process__step:hover .process__num { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-5px) rotate(-4deg); }
.process__step h3 { font-size: 17px; }
.process__step p { color: var(--fg-muted); font-size: 15px; margin: 0; }
@media (max-width: 1024px) { .process { grid-template-columns: 1fr 1fr; } .process::before { display: none; } }
@media (max-width: 640px) {
	.process { grid-template-columns: 1fr; gap: 0; }
	.process__step { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; text-align: left; padding: 0 0 26px; }
	.process__step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--line); }
	.process__step:last-child::before { display: none; }
	.process__num { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
}

/* Testimonials */
.t-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 52px); }
.t-head .sec-head { margin: 0; }
.t-nav { display: flex; gap: 10px; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 1024px) { .t-track { grid-auto-columns: minmax(280px, 70%); } }
@media (max-width: 640px) { .t-head { flex-direction: column; align-items: start; } .t-track { grid-auto-columns: 88%; } }
.t-card { scroll-snap-align: start; margin: 0; padding: 30px 28px 26px; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.t-card__mark { position: absolute; right: 22px; top: 6px; font-family: Georgia, serif; font-size: 96px; line-height: 1; color: var(--accent); opacity: .12; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 24px; flex: 1; }
.t-card blockquote p { font-size: 16.5px; line-height: 1.65; margin: 0; color: #2b3346; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.t-card figcaption strong { display: block; font-family: var(--f-head); font-size: 15px; }
.t-card figcaption em { display: block; font-style: normal; font-size: 13px; color: var(--fg-muted); }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fff; font-weight: 800; font-size: 17px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 30px; height: 30px; }

/* Google reviews */
.greviews { display: grid; grid-template-columns: minmax(260px, .8fr) 2.2fr; gap: 22px; align-items: start; }
.greviews--solo { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (max-width: 960px) { .greviews { grid-template-columns: 1fr; } }
.greviews__summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--card, #fff); border: 1px solid var(--card-line, var(--line)); box-shadow: var(--shadow); }
@media (max-width: 960px) { .greviews__summary { position: static; } }
.greviews__brand { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.greviews__score { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; }
.greviews__score strong { font-family: var(--f-head); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.greviews__score .stars { font-size: 22px; margin: 0; }
.greviews__count, .greviews__lead { margin: 0; color: var(--fg-muted, var(--muted)); font-size: 15px; }
.greviews__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.greviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .greviews__list { grid-template-columns: 1fr; } }
.greview { margin: 0; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--card, #fff); border: 1px solid var(--card-line, var(--line)); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.greview:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.greview__head { display: flex; align-items: center; gap: 12px; }
.greview__who { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.greview__who a { text-decoration: none; }
.greview__who strong { font-family: var(--f-head); font-size: 15px; }
.greview__who em { font-style: normal; font-size: 13px; color: var(--fg-muted, var(--muted)); }
.greview__g { flex: none; display: grid; }
.greview .stars { margin: 0; font-size: 16px; }
.greview__text { margin: 0; }
.greview__text p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #2b3346; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.stars__off { color: #d7dbe3; }
.greviews__attr { margin: 18px 0 0; font-size: 12.5px; color: var(--fg-muted, var(--muted)); text-align: right; }
.g-logo { flex: none; display: block; }

/* Clients worldwide */
.world { list-style: none; display: grid; grid-template-columns: repeat(var(--cols-d, 4), minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1024px) { .world { grid-template-columns: repeat(var(--cols-t, 3), minmax(0, 1fr)); } }
@media (max-width: 767px) { .world { grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); } }
.world__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--card-line, var(--line)); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.world__item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.world__flag { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--soft); font-size: 22px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--f-head); font-weight: 800; color: var(--accent); }
.world__name { font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.25; }
.world__time { font-size: 13px; color: var(--fg-muted, var(--muted)); font-variant-numeric: tabular-nums; }
.world__time:empty { display: none; }
.world__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 28px; text-align: center; }
.world__foot p { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--fg-muted, var(--muted)); font-size: 15px; }
.world__foot .mbh-icon { color: var(--accent); width: 18px; height: 18px; }

/* HTML sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.sitemap__col { padding: 24px; border-radius: var(--r-lg); background: var(--card, #fff); border: 1px solid var(--card-line, var(--line)); box-shadow: var(--shadow-sm); }
.sitemap__title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 12px; }
.sitemap__title:not(:first-child) { margin-top: 24px; }
.sitemap__title .mbh-icon { width: 20px; height: 20px; color: var(--accent); }
.sitemap__sub { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 16px 0 6px; color: var(--fg-muted, var(--muted)); }
.sitemap__sub a { text-decoration: none; }
.sitemap__list { list-style: none; display: grid; gap: 7px; }
.sitemap__list li.is-child { padding-left: 16px; }
.sitemap__list a { text-decoration: none; font-size: 15px; color: var(--text); }
.sitemap__list a:hover { color: var(--accent); }
.sitemap__xml { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; color: var(--fg-muted, var(--muted)); }
.sitemap__xml .mbh-icon { width: 18px; height: 18px; color: var(--accent); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer-bottom__links a { text-decoration: none; color: inherit; }
.footer-bottom__links a:hover { color: #fff; }

/* CTA panel */
.cta-panel { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: var(--navy); color: #e8ecf6; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.cta-panel__glow { position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 62%); animation: drift 16s ease-in-out infinite alternate; }
.cta-panel::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 62%); }
.cta-panel .sec-title { color: #fff; }
.cta-panel .sec-title em { background: linear-gradient(135deg, #a9bcff, #d3c7ff); -webkit-background-clip: text; background-clip: text; }
.cta-panel .sec-text { color: #a7b0c6; margin-top: 14px; }
.cta-panel__actions { display: grid; gap: 20px; justify-items: start; }
.cta-panel__contact { list-style: none; display: grid; gap: 8px; }
.cta-panel__contact a { display: inline-flex; align-items: center; gap: 10px; color: #c3cbe0; text-decoration: none; font-size: 15px; }
.cta-panel__contact a:hover { color: #fff; }
.cta-panel__contact .mbh-icon { color: #a9bcff; width: 18px; height: 18px; }
@media (max-width: 960px) { .cta-panel { grid-template-columns: 1fr; } }

/* Page hero */
.sec.sec--page-hero, .sec.sec--page-hero.sp-compact { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); }
.page-hero__inner > * { max-width: 860px; margin-left: var(--pi-ml, 0); margin-right: var(--pi-mr, 0); }
.page-hero__inner .crumbs ol { justify-content: var(--pi-jc, flex-start); }
.page-hero__inner .lead { margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.sec--dark .crumbs [aria-current] { color: #fff; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: stretch; }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } .story__media { max-width: 520px; } }
.story__media { position: relative; }
.story__frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--tint); box-shadow: var(--shadow-lg); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__media:hover .story__frame img { transform: scale(1.04); }
.story__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--accent); background: radial-gradient(80% 60% at 70% 20%, var(--accent-soft-2), transparent 60%), var(--tint); }
.story__ph span { font-size: 13px; color: var(--muted); }
.story__badge { position: absolute; right: -18px; bottom: 34px; display: grid; padding: 18px 22px; max-width: 190px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.story__badge strong { font-family: var(--f-head); font-size: 42px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__badge span { font-size: 13px; font-weight: 600; line-height: 1.35; margin-top: 6px; color: var(--muted); }
@media (max-width: 640px) { .story__badge { right: 12px; } }
.story__copy .sec-head { margin-bottom: 22px; }
.story__copy .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
@media (max-width: 560px) { .story__copy .checks { grid-template-columns: 1fr; } }
/* Photo column matches the text column height */
.story__media { display: flex; flex-direction: column; }
.story__media .story__frame { flex: 1 1 auto; aspect-ratio: auto; min-height: 420px; }
.story__media .story__frame img { position: absolute; inset: 0; object-position: 32% 45%; }
@media (max-width: 960px) { .story__media .story__frame { flex: none; aspect-ratio: 1 / 1; min-height: 0; } }
.prose { font-size: 17px; color: var(--fg-muted, var(--muted)); }
.prose > *:last-child { margin-bottom: 0; }
.checks { list-style: none; display: grid; gap: 11px; margin: 26px 0; }
.checks li { display: flex; gap: 11px; align-items: start; font-weight: 600; }
.checks .mbh-icon { flex: none; width: 21px; height: 21px; padding: 4px; margin-top: 2px; border-radius: 50%; color: #fff; background: var(--grad); stroke-width: 3; }
.checks--sm { gap: 9px; }
.checks--sm li { font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.checks--sm .mbh-icon { width: 19px; height: 19px; }
.signature { font-family: var(--f-head); font-weight: 800; font-size: 22px; margin: 0; }
.signature span { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }

/* Badges */
.badge-group { padding: 26px 24px; }
.badge-group h3 { display: flex; align-items: center; gap: 12px; font-size: 17px; margin-bottom: 18px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; background: var(--soft); border: 1px solid var(--line); color: #3b4459; transition: border-color .25s, background .25s, color .25s; }
.badges li:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* Certificates */
.cert { display: flex; gap: 16px; padding: 26px; }
.cert__seal { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.cert__seal .mbh-icon { width: 26px; height: 26px; }
.cert h3 { font-size: 17px; margin-bottom: 4px; }
.cert p { color: var(--fg-muted); font-size: 14.5px; margin: 0 0 10px; }

/* Services */
.services { display: grid; gap: 18px; }
.service { display: grid; grid-template-columns: 110px 1.2fr 1fr auto; gap: 30px; align-items: center; padding: 30px 34px; scroll-margin-top: calc(var(--header-h) + 24px); }
.service--visual { grid-template-columns: var(--media-col, 240px) 1.2fr 1fr auto; padding: 14px 30px 14px 14px; }
.service--visual .service__head { display: none; }
.service__media { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--tint); }
.service__media img, .service__media .illus { width: 100%; height: 100%; object-fit: cover; }
.service__head { display: grid; gap: 12px; justify-items: start; }
.service__head .feature__icon { margin: 0; }
.service__num { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--accent); }
.service__title { font-size: clamp(21px, 2vw, 25px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.service__text { color: var(--fg-muted); margin: 0; font-size: 15.5px; }
.service__price { margin: 12px 0 0; font-weight: 700; color: var(--accent); }
.service__list { margin: 0; }
@media (max-width: 1100px) {
	.service, .service--visual { grid-template-columns: 1fr 1fr; padding: 22px; }
	.service__head, .service__media { grid-column: 1 / -1; }
	.service__head { grid-auto-flow: column; justify-content: space-between; width: 100%; align-items: center; }
	.service__media { aspect-ratio: 16 / 7; }
	.service__cta { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .service, .service--visual { grid-template-columns: 1fr; gap: 18px; } .service__media { aspect-ratio: 16 / 9; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__aside .sec-head { margin-bottom: 24px; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } .faq__aside { position: static; } }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--card-line); border-radius: 16px; background: var(--card); transition: border-color .3s, box-shadow .35s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--f-head); font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--soft); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--grad); color: #fff; transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { padding: 0 22px 22px; color: var(--fg-muted); }
.faq__a p { margin: 0; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-size: 14.5px; font-weight: 700; color: #3b4459; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.filter span { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.filter:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }
.pf-card { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pf-card.is-hidden { display: none; }
.pf-card.is-leaving { opacity: 0; transform: scale(.97); }
.pf-card__inner { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s; }
.pf-card__inner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); color: inherit; }
.pf-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), object-position 3s var(--ease); }
.pf-card__inner:hover .pf-card__media img { transform: scale(1.03); object-position: bottom; }
/* Laptop-mockup screenshots (transparent PNG/WebP): show the whole device, no crop or pan */
.pf-card__media:has(img[src*="-mockup"]) { background: radial-gradient(85% 75% at 50% 35%, var(--accent-soft-2, rgba(0,0,0,.04)), transparent 70%), var(--tint); }
.pf-card__media img[src*="-mockup"] { object-fit: contain; object-position: center; padding: 14px 10px 6px; filter: drop-shadow(0 14px 18px rgba(16, 24, 40, .16)); }
.pf-card__inner:hover .pf-card__media img[src*="-mockup"] { object-position: center; transform: scale(1.045) translateY(-2px); }
.pf-card__view { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; transform: translateY(12px) scale(.85); opacity: 0; transition: .4s var(--ease); z-index: 2; }
.pf-card__inner:hover .pf-card__view { transform: none; opacity: 1; }
.pf-card__body { padding: 22px 24px 26px; }
.pf-card__body h3 { font-size: 18.5px; margin: 10px 0 6px; }
.pf-card__text { font-size: 15px; color: var(--muted); margin: 0; }
.pf-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pf-card__tags li { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.pf-empty { text-align: center; color: var(--muted); margin-top: 24px; }
.tag { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); text-decoration: none; }

/* Light mock thumbnails (until real screenshots are added) */
.mock { --c: hsl(var(--h, 225) 70% 58%); position: absolute; inset: 0; display: flex; flex-direction: column; background: radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 65%), #fff; }
.mock__bar { display: flex; gap: 5px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3d9e6; }
.mock__body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 8% 9%; transition: transform 1.2s var(--ease); }
.pf-card__inner:hover .mock__body { transform: translateY(-5%); }
.mock__h { width: 70%; height: 15px; border-radius: 5px; background: var(--navy); }
.mock__p { width: 50%; height: 7px; border-radius: 4px; background: #d9dfeb; }
.mock__btn { width: 76px; height: 20px; border-radius: 6px; background: var(--c); margin-bottom: 6px; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.mock__grid b { height: 44px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); }
.mock--shop .mock__grid b { height: 64px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #fff) 62%, #fff 62%); }
.mock--landing .mock__body { align-items: center; justify-content: center; }
.mock--landing .mock__h { height: 20px; width: 80%; }
.mock--landing .mock__grid { display: none; }
.mock--ba { background: linear-gradient(105deg, #ebe7df 0 50%, transparent 50%), radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 65%), #fff; }
.mock__split { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; }
.mock__split em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: #6b7280; color: #fff; }
.mock__split em + em { background: var(--grad); }

/* Before / after */
.ba-list { display: grid; gap: 36px; }
.ba { display: grid; grid-template-columns: 1.6fr .7fr; gap: 34px; align-items: center; }
@media (max-width: 960px) { .ba { grid-template-columns: 1fr; } }
.ba__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, .1), 0 0 18px rgba(15, 23, 42, .2); }
.ba__handle span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); }
.ba__handle .mbh-icon { width: 14px; height: 14px; stroke-width: 2.6; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__stage:focus-within .ba__handle span { outline: 3px solid #fff; outline-offset: 3px; }
.ba__label { position: absolute; top: 14px; padding: 5px 11px; border-radius: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; z-index: 2; }
.ba__label--before { left: 14px; background: #4b5563; color: #fff; }
.ba__label--after { right: 14px; background: var(--grad); color: #fff; }
.ba__meta h3 { font-size: 24px; font-weight: 800; }
.ba-mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6%; padding: 5% 6%; }
.ba-mock--before { background: #ebe7df; }
.ba-mock--before .ba-mock__nav { display: flex; gap: 6px; padding-bottom: 8px; border-bottom: 3px double #9a9184; }
.ba-mock--before .ba-mock__nav b { width: 18%; height: 22px; background: #7a2e2e; }
.ba-mock--before .ba-mock__nav span { flex: 1; height: 12px; background: #3355aa; opacity: .5; margin-top: 5px; }
.ba-mock--before .ba-mock__hero { display: grid; gap: 7px; }
.ba-mock--before .ba-mock__hero span { height: 10px; background: #8f877a; }
.ba-mock--before .ba-mock__hero span:first-child { height: 26px; width: 90%; background: #3355aa; }
.ba-mock--before .ba-mock__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: auto; }
.ba-mock--before .ba-mock__cards i { height: 60px; background: #c9c1b1; border: 2px outset #eee; }
.ba-mock--after { background: radial-gradient(90% 70% at 80% 0%, var(--accent-soft-2), transparent 60%), #fff; }
.ba-mock--after .ba-mock__nav { display: flex; align-items: center; gap: 10px; }
.ba-mock--after .ba-mock__nav b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); margin-right: auto; }
.ba-mock--after .ba-mock__nav span { width: 42px; height: 6px; border-radius: 4px; background: #d9dfeb; }
.ba-mock--after .ba-mock__nav em { width: 70px; height: 24px; border-radius: 8px; background: var(--navy); }
.ba-mock--after .ba-mock__hero { display: grid; gap: 12px; margin-top: 4%; justify-items: center; }
.ba-mock--after .ba-mock__hero span { height: 24px; width: 66%; border-radius: 6px; background: var(--navy); }
.ba-mock--after .ba-mock__hero span + span { width: 44%; background: var(--grad); }
.ba-mock--after .ba-mock__hero em { width: 130px; height: 34px; border-radius: 9px; background: var(--grad); margin-top: 6px; }
.ba-mock--after .ba-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
.ba-mock--after .ba-mock__cards i { height: 70px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }

/* Forms (shared) */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: #3b4459; }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 14px; border-radius: 11px; font: inherit; font-size: 15px; font-weight: 500;
	color: var(--text); background: #fff; border: 1px solid #d6dce8; box-shadow: var(--shadow-sm);
	transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23576075' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
.field input::placeholder, .field textarea::placeholder { color: #9aa3b5; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ef4444; box-shadow: 0 0 0 4px #fee2e2; }
.form__status { margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.form__status:empty { margin: 0; }
.form__status.is-ok { padding: 13px 15px; border-radius: 12px; color: #14532d; background: #dcfce7; border: 1px solid #86efac; }
.form__status.is-error { padding: 13px 15px; border-radius: 12px; color: #7f1d1d; background: #fee2e2; border: 1px solid #fca5a5; }
[data-mbh-form].is-loading button[type="submit"] { opacity: .7; pointer-events: none; }
[data-mbh-form].is-sent .form__row, [data-mbh-form].is-sent .field, [data-mbh-form].is-sent .form__foot, [data-mbh-form].is-sent button[type="submit"], [data-mbh-form].is-sent .audit__note { display: none; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 1024px) { .contact { grid-template-columns: 1fr; } }
.contact__info .sec-head { margin-bottom: 28px; }
.channels { list-style: none; display: grid; gap: 10px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
a.channel:hover { transform: translateX(5px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow); color: inherit; }
.channel__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.channel--whatsapp .channel__icon { background: #dcfce7; color: #15803d; }
.channel__text { display: grid; flex: 1; min-width: 0; }
.channel__text small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.channel__text strong { font-family: var(--f-head); font-size: 16px; overflow-wrap: anywhere; }
.channel__arrow { width: 18px; height: 18px; color: #9aa3b5; transition: transform .3s var(--ease), color .3s; }
a.channel:hover .channel__arrow { transform: translateX(4px); color: var(--accent); }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.form__title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.form__note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.form__note .mbh-icon { width: 15px; height: 15px; color: var(--ok); }

/* Free audit (lead magnet) */
.audit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; border: 1px solid var(--card-line, var(--line)); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .audit { grid-template-columns: 1fr; } }
.audit__copy .sec-head { margin-bottom: 18px; }
.audit__points { margin: 0; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .audit__points { grid-template-columns: 1fr; } }
.audit__form { padding: 24px; border-radius: 20px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line)); }
.audit__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--accent); }
.audit__badge .mbh-icon { width: 17px; height: 17px; }
.audit__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.audit__note .mbh-icon { width: 14px; height: 14px; }

/* 8. Blog & content ----------------------------------------------------- */
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-size: 14px; font-weight: 700; text-decoration: none; color: #3b4459; transition: .25s; }
.chip-link:hover { border-color: var(--accent); color: var(--accent); }
.chip-link.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-form { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); }
.search-form .mbh-icon { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-form input[type="search"] { width: 100%; padding: 12px 16px 12px 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
.search-404 { max-width: 420px; margin: 28px auto 0; }

.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--accent); background: radial-gradient(80% 70% at 80% 10%, var(--accent-soft-2), transparent 60%), var(--tint); }
.post-card__ph .mbh-icon { width: 40px; height: 40px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-size: 20px; line-height: 1.3; font-weight: 700; margin-bottom: 8px; }
.post-card__title a { text-decoration: none; }
.post-card:hover .post-card__title a { color: var(--accent); }
.post-card__excerpt { color: var(--muted); font-size: 15px; flex: 1; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__media img { object-position: left center; }
.post-card--featured .post-card__body { padding: clamp(26px, 4vw, 44px); justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
@media (max-width: 820px) { .post-card--featured { grid-template-columns: 1fr; } .post-card--featured .post-card__media { min-height: 0; aspect-ratio: 1200 / 630; } }
.center-btn { text-align: center; margin: 44px 0 0; }
.empty { padding: 44px; text-align: center; }

.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; text-decoration: none; }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-numbers .mbh-icon { width: 18px; height: 18px; }

.read-progress { position: fixed; inset: 0 0 auto; z-index: 101; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }
.admin-bar .read-progress { top: 32px; }
.single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; margin: 0; }
.entry-cover { margin: 0 0 44px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.entry-cover--lift { margin-top: calc(clamp(52px, 6.5vw, 88px) * -1 - 30px); position: relative; z-index: 2; }
.single .sec--white { overflow: visible; }

.prose.entry-content { color: #2b3346; font-size: 17.5px; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 1.8em 0 .5em; color: var(--text); }
.entry-content h3 { font-size: 21px; margin: 1.6em 0 .4em; color: var(--text); }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote { margin: 1.8em 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--tint); border-radius: 0 14px 14px 0; font-size: 19px; color: var(--text); }
.entry-content img, .entry-content figure { border-radius: 14px; }
.entry-content pre { padding: 20px; border-radius: 14px; background: var(--navy); color: #e5e9f5; overflow-x: auto; font-size: 14.5px; }
.entry-content code { padding: 2px 7px; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); font-size: .9em; }
.entry-content pre code { padding: 0; background: none; border: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.alignwide { margin-left: -8vw; margin-right: -8vw; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
@media (max-width: 1100px) { .alignwide { margin-left: 0; margin-right: 0; } }
.wp-caption-text, .entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }

.single__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.tags-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags-list a { display: inline-block; padding: 5px 11px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; text-decoration: none; }
.share { display: flex; align-items: center; gap: 8px; }
.share span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; transition: .25s; }
.share a:hover, .share button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.share .mbh-icon { width: 18px; height: 18px; }
.author-box { display: flex; gap: 20px; padding: 28px; margin-top: 36px; --card: var(--tint); }
.author-box:hover { transform: none; }
.author-box .avatar { width: 68px; height: 68px; }
.author-box h2 { font-size: 20px; margin-bottom: 6px; }
.author-box p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }
.post-navigation .nav-links { justify-content: space-between; margin-top: 36px; }
.post-navigation a { display: grid; gap: 2px; text-decoration: none; max-width: 340px; font-weight: 600; }
.post-navigation small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.post-navigation .nav-next { text-align: right; margin-left: auto; }

.comments { margin-top: 52px; }
.comments__title { font-size: 24px; font-weight: 800; }
.comment-list { list-style: none; display: grid; gap: 14px; margin-bottom: 36px; }
.comment-list .children { list-style: none; margin: 14px 0 0 28px; display: grid; gap: 14px; }
.comment-body { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.comment-metadata a { text-decoration: none; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid #d6dce8; font: inherit; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
.comment-form .btn { justify-self: start; }

/* Table of contents & in-article CTA */
.toc { margin: 32px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.toc summary { padding: 16px 20px; font-family: var(--f-head); font-weight: 800; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 20px; color: var(--accent); }
.toc details[open] summary::after { content: "−"; }
.toc ul { margin: 0; padding: 0 20px 18px; display: grid; gap: 6px; list-style: none; }
.toc li { font-size: 15.5px; padding-left: 16px; position: relative; }
.toc li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }
.toc a { text-decoration: none; color: #3b4459; }
.toc a:hover { color: var(--accent); }
.entry-content h2, .entry-content h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 40px 0; padding: 24px 26px; border-radius: 18px; background: radial-gradient(500px 200px at 100% 0%, var(--accent-soft-2), transparent 70%), var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); }
.inline-cta p { margin: 0; font-size: 15.5px; color: var(--muted); max-width: 440px; }
.inline-cta .inline-cta__title { font-family: var(--f-head); font-weight: 800; font-size: 19px; color: var(--text); margin-bottom: 4px; }
.inline-cta__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-content .inline-cta a { text-decoration: none; }
.entry-content .inline-cta .btn--gold { color: #fff; }

/* 9. Footer ------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 28px; background: var(--navy); color: #c3cbe0; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -360px; width: 900px; height: 600px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 62%); pointer-events: none; }
.footer-cta { position: relative; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta__mail { display: inline-flex; align-items: center; gap: .3em; font-family: var(--f-head); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 5vw, 64px); line-height: 1.05; text-decoration: none; color: #fff; overflow-wrap: anywhere; }
.footer-cta__mail:hover { color: #c9d4ff; }
.footer-cta__mail .mbh-icon { width: .55em; height: .55em; color: #a9bcff; transition: transform .45s var(--ease); }
.footer-cta__mail:hover .mbh-icon { transform: translate(5px, -5px); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo__tag { color: #8a94ad; }
.footer-brand p { font-size: 15px; margin: 18px 0 22px; max-width: 360px; }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links, .footer-links.menu { list-style: none; display: grid; gap: 9px; }
.footer-links a { color: #aab3c9; text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 11px; align-items: start; font-size: 15px; }
.footer-contact .mbh-icon { width: 18px; height: 18px; margin-top: 3px; color: #a9bcff; }
.footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.socials { list-style: none; display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #c3cbe0; transition: .3s var(--ease); }
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials .mbh-icon { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8a94ad; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.to-top .mbh-icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.to-top:hover { color: #fff; }
.to-top:hover .mbh-icon { transform: translateY(-3px); }

/* 10. AI assistant widget ---------------------------------------------- */
.assist { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assist__fab { position: relative; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; }
.assist__fab-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: var(--shadow-accent), var(--shadow); transition: transform .35s var(--ease), border-radius .35s; }
.assist__fab-icon .mbh-icon { width: 27px; height: 27px; }
.assist__fab:hover .assist__fab-icon { transform: translateY(-3px) rotate(-6deg); }
.assist.is-open .assist__fab-icon { border-radius: 50%; }
.assist__bubble { position: absolute; right: 72px; bottom: 10px; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none; transition: .45s var(--ease); }
.assist__bubble.is-shown { opacity: 1; transform: none; }
.assist.is-open .assist__bubble { display: none; }
.assist__wa { display: grid; place-items: center; width: 48px; height: 48px; margin-right: 6px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.assist__wa:hover { transform: translateY(-3px); color: #fff; }
.assist__wa .mbh-icon { width: 25px; height: 25px; }
.assist__wa--solo { width: 58px; height: 58px; margin: 0; }
.assist__panel { width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px -24px rgba(15, 23, 42, .4); overflow: hidden; transform-origin: bottom right; animation: pop .3s var(--ease); }
.assist__panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.assist__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--grad); color: #fff; }
.assist__avatar { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .2); font-family: var(--f-head); font-weight: 800; }
.assist__avatar i { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; border: 2px solid #fff; }
.assist__title { display: grid; flex: 1; line-height: 1.25; }
.assist__title strong { font-family: var(--f-head); font-size: 15px; }
.assist__title small { font-size: 12px; opacity: .85; }
.assist__icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; }
.assist__icon-btn .mbh-icon { width: 17px; height: 17px; }
.assist__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; animation: pop .25s var(--ease); }
.msg a { color: inherit; text-decoration: underline; }
.msg--assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg--typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b5; animation: blink 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .2s; } .msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.assist__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; background: var(--soft); }
.assist__quick[hidden] { display: none; }
.assist__chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: #3b4459; text-decoration: none; transition: .2s; }
.assist__chip:hover { border-color: var(--accent); color: var(--accent); }
.assist__chip .mbh-icon { width: 15px; height: 15px; }
.assist__chip--wa .mbh-icon { color: #16a34a; }
.assist__lead { display: grid; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--tint); }
.assist__lead[hidden] { display: none; }
.assist__lead p { margin: 0; font-size: 13.5px; font-weight: 600; }
.assist__lead input { padding: 10px 12px; border-radius: 10px; border: 1px solid #d6dce8; font: inherit; font-size: 14px; }
.assist__lead input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.assist__lead-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.assist__link { border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.assist__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assist__form textarea { flex: 1; resize: none; max-height: 120px; padding: 11px 13px; border-radius: 12px; border: 1px solid #d6dce8; font: inherit; font-size: 14.5px; line-height: 1.4; }
.assist__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.assist__send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; }
.assist__send .mbh-icon { width: 19px; height: 19px; }
.assist__foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.assist__disclaimer { margin: 0; padding: 0 14px 12px; font-size: 11px; color: #8a93a8; }
@media (max-width: 760px) {
	.assist { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
	.assist__wa { display: none; }
	.assist__panel { position: fixed; inset: 12px 12px calc(84px + env(safe-area-inset-bottom)); width: auto; height: auto; }
	.assist__bubble { right: 70px; }
}

/* Popup */
.popup { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(11, 21, 48, .5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.popup__card { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; width: min(820px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: 0 40px 100px -30px rgba(11, 21, 48, .6); opacity: 0; transform: translateY(16px) scale(.97); transition: .35s var(--ease); }
.popup.is-open .popup__backdrop { opacity: 1; }
.popup.is-open .popup__card { opacity: 1; transform: none; }
.popup__art { background: var(--tint); display: grid; place-items: center; padding: 24px; }
.popup__art .illus { width: 100%; height: auto; border-radius: 14px; }
.popup__body { padding: 36px 34px 26px; }
.popup__body h2 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.popup__body > p { color: var(--muted); }
.popup__form { margin-top: 18px; }
.popup__close { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--soft); }
.popup__close .mbh-icon { width: 18px; height: 18px; }
.popup__skip { display: block; margin: 10px auto 0; border: 0; background: none; font-size: 13.5px; color: var(--muted); text-decoration: underline; }
@media (max-width: 680px) { .popup__card { grid-template-columns: 1fr; } .popup__art { display: none; } .popup__body { padding: 30px 22px 20px; } }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
	.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 94; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
	.mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 12px; font-family: var(--f-head); font-weight: 700; font-size: 14px; text-decoration: none; color: var(--text); }
	.mbar a .mbh-icon { width: 19px; height: 19px; color: var(--accent); }
	.mbar .mbar__main { background: var(--wa); color: #053b1d; }
	.mbar .mbar__main .mbh-icon { color: #053b1d; }
	body { padding-bottom: 76px; }
	.mbh-canvas { padding-bottom: 0; }
}
.mbh-canvas .assist, .mbh-canvas .mbar { display: none; }

/* Chat panel fix (v1.7.1): always above the sticky header and fully inside the screen;
   floating WhatsApp button moved to the bottom-left corner. */
.assist { z-index: 110; }
.assist__panel {
	--assist-room: 108px; /* chat button (60) + gap (12) + bottom offset (20) + top margin (16) */
	height: min(600px, calc(100vh - var(--assist-room)));
	height: min(600px, calc(100dvh - var(--assist-room)));
	max-height: none;
	min-height: 0;
}
.admin-bar .assist__panel { --assist-room: 140px; }
.assist__head, .assist__quick, .assist__lead, .assist__form, .assist__foot, .assist__disclaimer { flex: none; }
.assist__log { flex: 1 1 auto; min-height: 0; }
@media (max-height: 700px) {
	.assist__quick { max-height: 88px; overflow-y: auto; }
	.assist__disclaimer { display: none; }
}
@media (max-height: 520px) {
	.assist__quick, .assist__foot { display: none; }
}

/* WhatsApp: bottom-left corner */
.assist__wa, .assist__wa--solo { position: fixed; left: 20px; right: auto; bottom: 20px; z-index: 105; margin: 0; }
.assist--wa-only { left: 20px; right: auto; }

@media (max-width: 760px) {
	/* Panel sits between the top of the screen and the chat button (button: bottom 76px + 60px tall). */
	.assist__panel { inset: 12px 12px calc(148px + env(safe-area-inset-bottom)); height: auto; }
	.admin-bar .assist__panel { top: 58px; }
}

/* 11. Illustrations ------------------------------------------------------ */
.illus { display: block; width: 100%; height: auto; }
.illus .i-bg { fill: color-mix(in srgb, var(--accent) 7%, #f8faff); }
.illus .i-card, .illus .i-white { fill: #fff; }
.illus .i-stroke { stroke: #dfe5ef; stroke-width: 1.5; }
.illus .i-soft { fill: color-mix(in srgb, var(--accent) 9%, #fff); }
.illus .i-dash { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 4; }
.illus .i-dot { fill: #d5dbe7; }
.illus .i-ink { fill: var(--navy); }
.illus .i-a { fill: var(--accent); }
.illus .i-b { fill: var(--accent-2); }
.illus .i-a-o { fill: color-mix(in srgb, var(--accent) 28%, #fff); }
.illus .i-b-o { fill: color-mix(in srgb, var(--accent-2) 28%, #fff); }
.illus .i-mute { fill: #cfd6e4; }
.illus .i-mute-l { fill: #e5e9f1; }
.illus .i-mute-d { fill: #3a4767; }
.illus .i-white-o { fill: rgba(255, 255, 255, .6); }
.illus .i-white-stroke { stroke: #fff; }
.illus .i-a-stroke { stroke: var(--accent); }
.illus .i-soft-stroke { stroke: color-mix(in srgb, var(--accent) 14%, #fff); }
.illus .i-line-stroke { stroke: #e9edf4; }
.illus .i-ok { fill: var(--ok); }
.illus .float-a { animation: float 5s ease-in-out infinite; transform-box: fill-box; }
.illus .spin { transform-origin: 124px 118px; animation: spin 10s linear infinite; }
.illus .needle { transform-origin: 160px 140px; animation: needle 3.2s var(--ease) infinite alternate; }
.illus .draw { stroke-dasharray: 260; stroke-dashoffset: 0; }
.card:hover .illus .draw { animation: draw 1.4s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { from { transform: rotate(-70deg); } to { transform: rotate(0); } }
@keyframes draw { from { stroke-dashoffset: 260; } }

/* Elementor compatibility */
[class*="elementor-widget-mbh-"] { margin-bottom: 0 !important; --widgets-spacing: 0px; width: 100%; max-width: 100%; }
.elementor-section.elementor-section-full_width > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
/* Flexbox containers holding MBH sections: edge to edge, no gaps (your own container settings still win). */
.e-con:has(> [class*="elementor-widget-mbh-"]) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.e-con.e-con-full:has(> [class*="elementor-widget-mbh-"]) { --width: 100%; }
/* Native Elementor widgets placed on theme pages pick up the theme fonts. */
.elementor-widget-heading .elementor-heading-title { font-family: var(--f-head); }
.elementor-widget-text-editor { font-family: var(--f-body); }
.elementor-editor-active .reveal, .elementor-editor-preview .reveal { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .site-header { position: absolute; }
body.mbh-elementor:not(:has(.sec--hero, .sec--page-hero)) .site-main { padding-top: var(--header-h); }
body.mbh-elementor:not(:has(.sec--hero, .sec--page-hero)) .site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }

/* 12. Motion ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
@media print {
	.site-header, .assist, .mbar, .popup, .mobile-menu, .read-progress, .scroll-cue { display: none !important; }
	.site-footer, .cta-panel { background: #fff !important; color: #000 !important; }
}

/* ==========================================================================
   13. Free tools
   ========================================================================== */
.tool-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; text-decoration: none; color: inherit; }
.tool-card:hover { color: inherit; }
.tool-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); }
.tool-card__icon .mbh-icon { width: 26px; height: 26px; }
.tool-card__body { display: grid; gap: 6px; flex: 1; }
.tool-card__title { font-family: var(--f-head); font-size: 18.5px; letter-spacing: -.01em; }
.tool-card__text { color: var(--muted); font-size: 15px; }
.tool-card__go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; color: var(--accent); }
.tool-card__go .mbh-icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.tool-card:hover .tool-card__go .mbh-icon { transform: translateX(4px); }
.tool-card__free { position: absolute; top: 22px; right: 22px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ok); background: #dcfce7; z-index: 2; }

.sec--tool { padding-top: clamp(40px, 5vw, 64px); }
.tool { position: relative; padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.tool-panel { display: grid; gap: 4px; align-content: start; min-width: 0; }
.tool-hint { margin: 2px 0 10px; font-size: 13.5px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .form__row--3 { grid-template-columns: 1fr; } }

/* Options */
.tool-step { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.tool-step[hidden] { display: none; }
.tool-step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.tool-step legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.opt-grid { display: grid; gap: 10px; }
.opt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .opt-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .opt-grid--4, .opt-grid--2 { grid-template-columns: 1fr; } }
.opt { position: relative; cursor: pointer; }
.opt input, .check-chip input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { display: grid; gap: 4px; height: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.opt__box .mbh-icon { width: 22px; height: 22px; color: var(--accent); margin-bottom: 4px; }
.opt__box strong { font-family: var(--f-head); font-size: 15px; }
.opt__box small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.opt-grid--sm .opt__box { padding: 12px 14px; }
.opt:hover .opt__box { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.opt input:checked + .opt__box { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.opt input:focus-visible + .opt__box, .check-chip input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip-grid, .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row { margin-bottom: 14px; }
.check-chip { cursor: pointer; }
.check-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: #3b4459; transition: .2s; }
.check-chip .mbh-icon { width: 15px; height: 15px; padding: 2px; border-radius: 4px; border: 1.5px solid #c5cddd; color: transparent; stroke-width: 3; }
.check-chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.check-chip input:checked + span .mbh-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"], .field input[type="range"] { flex: 1; accent-color: var(--accent); padding: 0; box-shadow: none; border: 0; }
.range-row output { min-width: 52px; padding: 6px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-family: var(--f-head); font-weight: 800; text-align: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.seg label { cursor: pointer; }
.seg span { display: block; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); transition: .2s; }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.seg--light { margin-bottom: 14px; justify-self: start; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }
.calc__result { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: 20px; background: var(--navy); color: #c3cbe0; overflow: hidden; }
.calc__result::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%); pointer-events: none; }
.calc__result > * { position: relative; }
.calc__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9bcff; }
.calc__price { margin: 6px 0 4px; font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -.03em; color: #fff; }
.calc__time { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14.5px; }
.calc__time .mbh-icon { width: 17px; height: 17px; color: #a9bcff; }
.calc__lines { list-style: none; display: grid; gap: 7px; padding: 14px 0; margin: 0 0 12px; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc__lines strong { color: #fff; font-weight: 600; white-space: nowrap; }
.calc__monthly { margin: 0 0 10px; font-weight: 700; color: #fff; }
.calc__note { font-size: 12.5px; color: #8a94ad; margin: 0 0 16px; }
.calc__actions { margin-bottom: 14px; }
.calc__result .tool-lead { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.calc__result .tool-lead__title { color: #fff; }
.calc__result .tool-lead__text { color: #a7b0c6; }

/* Shared lead box */
.tool-lead { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); }
.tool-lead__title { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--text); }
.tool-lead__text { margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.tool-lead .field { margin-bottom: 8px; }

/* Speed test */
.speed__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.speed__bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
.speed__bar > .mbh-icon { width: 20px; height: 20px; color: var(--muted); }
.speed__bar input[type="text"] { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 10px 4px; background: transparent; }
@media (max-width: 680px) { .speed__bar { flex-wrap: wrap; } .speed__bar input[type="text"] { flex-basis: calc(100% - 40px); } .speed__bar .btn { flex: 1; } }
.speed__form .tool-hint { margin-top: 10px; }
.speed__status { min-height: 0; }
.speed__status.is-loading, .speed__status.is-error { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--tint); font-weight: 600; }
.speed__status.is-error { background: #fee2e2; color: #7f1d1d; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--accent-soft-2); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
.speed__report { margin-top: 24px; }
.speed__report[hidden] { display: none; }
.speed__scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 640px) { .speed__scores { grid-template-columns: repeat(2, 1fr); } }
.score { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 10px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.score svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.score__track { fill: none; stroke: var(--line); stroke-width: 7; }
.score__bar { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dasharray 1s var(--ease); }
.score strong { position: absolute; top: 46px; font-family: var(--f-head); font-weight: 800; font-size: 24px; }
.score span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.score--good .score__bar { stroke: #16a34a; } .score--good strong { color: #15803d; }
.score--ok .score__bar { stroke: #f59e0b; } .score--ok strong { color: #b45309; }
.score--poor .score__bar { stroke: #ef4444; } .score--poor strong { color: #b91c1c; }
.speed__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .speed__cols { grid-template-columns: 1fr; } }
.speed__panel { padding: 20px; border-radius: 16px; border: 1px solid var(--line); }
.speed__panel h3 { font-size: 16px; margin: 0 0 10px; }
.speed__panel h3:not(:first-child) { margin-top: 18px; }
.metric-list { list-style: none; display: grid; gap: 6px; }
.metric-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.metric-list .muted, .opp-list .muted { color: var(--muted); font-size: 14px; display: block; border: 0; }
.tag-good { color: #15803d; } .tag-ok { color: #b45309; } .tag-poor { color: #b91c1c; }
.opp-list { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 20px; font-size: 14.5px; }
.opp-list li span { display: block; }
.opp-list em { font-style: normal; font-size: 13px; color: #b45309; }

/* Image compressor */
.drop { display: grid; justify-items: center; gap: 6px; padding: clamp(28px, 5vw, 48px); border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--tint); text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover, .drop.is-over { background: var(--accent-soft-2); border-color: var(--accent); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 6px; }
.drop__icon .mbh-icon { width: 26px; height: 26px; }
.drop strong { font-family: var(--f-head); font-size: 18px; }
.drop small { color: var(--muted); }
.img-tool__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 640px) { .img-tool__opts { grid-template-columns: 1fr; } }
.img-tool__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 14px 18px; border-radius: 14px; background: #dcfce7; color: #14532d; }
.img-tool__summary[hidden] { display: none; }
.img-tool__summary.is-flat { background: #fef3c7; color: #78350f; }
.img-tool__summary p { margin: 0; }
.img-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.img-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); }
.img-row.is-busy { opacity: .6; }
.img-row__thumb { width: 64px; height: 48px; border-radius: 8px; background: var(--soft) center / cover no-repeat; }
.img-row__info { display: grid; min-width: 0; }
.img-row__info strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.img-row__info small { color: var(--muted); font-size: 13px; }
.img-row__save { font-family: var(--f-head); font-weight: 800; }
.img-row__save.is-good { color: #15803d; } .img-row__save.is-bad { color: #b91c1c; }
@media (max-width: 560px) { .img-row { grid-template-columns: 52px 1fr; } .img-row__save, .img-row .btn { grid-column: 2; justify-self: start; } }

/* Meta + SERP */
.counter { float: right; font-style: normal; font-weight: 600; color: var(--muted); }
.meter { height: 5px; border-radius: 5px; background: var(--line-2); margin: -6px 0 14px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 5px; transition: width .2s, background .2s; }
.meter .is-good { background: #16a34a; } .meter .is-warn { background: #f59e0b; } .meter .is-bad { background: #ef4444; }
.serp { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-family: Arial, sans-serif; max-width: 640px; }
.serp--mobile { max-width: 380px; }
.serp__site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.serp__fav { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; color: #4d5156; font-size: 13px; font-weight: 700; }
.serp__site strong { display: block; font-size: 14px; font-weight: 400; color: #202124; }
.serp__site small { display: block; font-size: 12px; color: #4d5156; }
.serp__title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: #1a0dab; }
.serp--mobile .serp__title { font-size: 18px; }
.serp__desc { margin: 0; font-size: 14px; line-height: 1.58; color: #4d5156; }
.tips { list-style: none; display: grid; gap: 6px; margin-top: 14px; }
.tip { padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.tip--good { background: #dcfce7; color: #14532d; } .tip--warn { background: #fef3c7; color: #78350f; } .tip--bad { background: #fee2e2; color: #7f1d1d; }

/* Code output */
.code-box { margin-top: 20px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.code-box__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.code-box pre { margin: 0; padding: 16px; max-height: 360px; overflow: auto; background: var(--navy); color: #dbe3ff; font-size: 13px; line-height: 1.55; }
.code-box--tall pre { max-height: 560px; }
.code-box code { white-space: pre-wrap; word-break: break-word; }
.out-row { display: flex; gap: 8px; margin: 10px 0; }
.out-row input { flex: 1; min-width: 0; padding: 11px 13px; border-radius: 11px; border: 1px solid #d6dce8; background: var(--soft); font: inherit; font-size: 14px; }
.out-row--big input { font-size: 15px; padding: 14px; }
.wa-warn { margin: 0 0 8px; padding: 9px 12px; border-radius: 10px; background: #fef3c7; color: #78350f; font-size: 14px; }
.wa-warn[hidden] { display: none; }
.faq-builder { display: grid; gap: 10px; margin-bottom: 12px; }
.faq-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.faq-row input, .faq-row textarea { grid-column: 1; padding: 10px 12px; border-radius: 9px; border: 1px solid #d6dce8; font: inherit; font-size: 14.5px; }
.faq-row .icon-btn { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.icon-btn--sm { width: 34px; height: 34px; font-size: 18px; }
.qr-panel { justify-items: center; text-align: center; padding: 20px; border-radius: 18px; background: var(--tint); }
.qr-panel canvas { width: min(280px, 100%); height: auto; border-radius: 14px; background: #fff; box-shadow: var(--shadow); padding: 0; transition: opacity .2s; }
.qr-panel .btns { margin-top: 16px; }
.wa-preview { margin: 6px 0 0; }

/* Tool info (how-to + FAQ) */
.tool-info { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .tool-info { grid-template-columns: 1fr; } }
.tool-info .sec-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.how-list { list-style: none; counter-reset: how; display: grid; gap: 12px; }
.how-list li { counter-increment: how; display: flex; gap: 14px; align-items: start; font-size: 16px; }
.how-list li::before { content: counter(how); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-family: var(--f-head); font-weight: 800; font-size: 14px; }
.tool-info__cta { margin-top: 20px; color: var(--muted); }
.tool-info__cta a { color: var(--accent); font-weight: 700; }

/* Project page: full-page homepage design inside a scrollable browser-style frame */
.mbh-fullpage { max-height: 82vh; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-lg, 16px); box-shadow: var(--shadow-sm); background: #fff; overscroll-behavior: contain; }
.mbh-fullpage img { display: block; width: 100%; height: auto; }

/* Theme detector & security scanner (v1.8) */
.detect-head { margin-bottom: 18px; }
.detect-url { margin: 0 0 8px; font-family: var(--f-head); font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.dbadges { display: flex; flex-wrap: wrap; gap: 8px; }
.dbadge { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: var(--soft); border: 1px solid var(--line); color: #3b4459; }
.dbadge.is-yes { background: #dcfce7; border-color: #86efac; color: #14532d; }
.dbadge.is-no { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; }
.theme-card + .theme-card { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.theme-card__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.theme-card__name { margin: 2px 0 6px; font-family: var(--f-head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.theme-card__desc { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.theme-card .metric-list a { color: var(--accent); }
.count-pill { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; vertical-align: 2px; }
.plug-list { list-style: none; display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.plug-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.plug-list a { font-weight: 700; text-decoration: none; }
.plug-list a:hover { color: var(--accent); }
.plug-list em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.sec-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 20px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--soft); }
.score--big { padding: 14px 18px; background: #fff; }
.score--big strong { font-size: 30px; }
.sec-summary__text { flex: 1; min-width: 220px; }
.sec-summary__line { margin: 0 0 4px; font-size: 15px; }
.sec-checks { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.sec-check { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.sec-check strong { display: block; font-family: var(--f-head); font-size: 15.5px; }
.sec-check p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); }
.sec-check__fix { color: var(--text) !important; font-weight: 600; }
.sec-check__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 14px; }
.sec-check--fail { border-color: #fecaca; background: #fff7f7; }
.sec-check--fail .sec-check__icon { background: #ef4444; color: #fff; }
.sec-check--warn { border-color: #fde68a; background: #fffbeb; }
.sec-check--warn .sec-check__icon { background: #f59e0b; color: #fff; }
.sec-check--pass .sec-check__icon { background: #dcfce7; color: #15803d; }
.sec-check--info .sec-check__icon { background: var(--accent-soft); color: var(--accent); }
.sev { font-style: normal; margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; vertical-align: 2px; }
.sev--high { background: #fee2e2; color: #b91c1c; } .sev--medium { background: #fef3c7; color: #b45309; } .sev--low { background: var(--soft); color: var(--muted); }

/* Generators (robots.txt, .htaccess, salts) */
.gen-tool { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(18px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .gen-tool { grid-template-columns: 1fr; } }
.gen-tool > .tool-hint { grid-column: 1 / -1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.code-box__head .btns { gap: 6px; }
[data-salts-out], [data-gen-out] { white-space: pre; }
.gen-tool .code-box { margin-top: 0; }
/* Reviews-plugin shortcode inside the Google reviews section */
.greviews__widget { min-width: 0; display: grid; gap: 16px; }
.greviews__widget > * { max-width: 100%; }
