/*
Theme Name: GUD-BUD
Theme URI: https://gudbud.pl/
Author: JDEV.pl
Author URI: https://jdev.pl/
Description: Lekki motyw blokowy dla GUD-BUD Mariusz Gudolewski. Bez page buildera i bez jQuery.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: gudbud
*/

/* ---------- tokens ---------- */
:root {
	--gb-ink: #1F2226;
	--gb-orange: #F06A1F;
	--gb-orange-text: #C24E0C;
	--gb-orange-light: #FF9A5C;
	--gb-muted: #5B6168;
	--gb-text2: #3E434A;
	--gb-line: #E4E4DF;
	--gb-line2: #EFEFEA;
	--gb-line3: #CFCFC9;
	--gb-soft: #F5F5F2;
	--gb-grid1: #EDEDE8;
	--gb-grid2: #E2E2DC;
	--gb-foot: #16181B;
	--gb-light: #D5D8DC;
	--gb-light2: #9EA3A8;
	--gb-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--gb-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; color: var(--gb-ink); }
img { max-width: 100%; height: auto; display: block; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.gb-content > * { margin-block: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.gb-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gb-ink); color: #fff; padding: 10px 14px; }
.gb-skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--gb-orange); outline-offset: 2px; }

/* ---------- layout helpers ---------- */
.gb-wrap { max-width: var(--gb-max); margin-inline: auto; }
.gb-sec { position: relative; padding: 64px 20px; }
.gb-sec--soft { background: var(--gb-soft); }
.gb-sec--dark { background: var(--gb-ink); color: #fff; overflow: hidden; }
.gb-sec--tight { padding-block: 48px; }
.gb-stack { display: flex; flex-direction: column; gap: 18px; }
.gb-stack > * { margin: 0; }
.gb-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px; align-items: center; }
.gb-cols--top { align-items: start; }

/* blueprint grid backgrounds */
.gb-bp { position: relative; overflow: hidden; }
.gb-bp::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--gb-grid1) 1px, transparent 1px), linear-gradient(90deg, var(--gb-grid1) 1px, transparent 1px), linear-gradient(var(--gb-grid2) 1px, transparent 1px), linear-gradient(90deg, var(--gb-grid2) 1px, transparent 1px);
	background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
}
.gb-bp > * { position: relative; }
.gb-sec--dark.gb-bp::before {
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
}

/* ---------- typography ---------- */
.gb-eyebrow { margin: 0; font-family: var(--gb-mono); font-size: 12px; letter-spacing: .12em; color: var(--gb-orange-text); text-transform: uppercase; }
.gb-sec--dark .gb-eyebrow { color: var(--gb-orange-light); }
.gb-display { margin: 0; font-weight: 900; font-stretch: 72%; font-size: clamp(44px, 6vw, 88px); line-height: .9; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.gb-display--page { font-size: clamp(44px, 8vw, 88px); }
.gb-display--bar::after { content: ""; display: block; width: 72px; height: 6px; background: var(--gb-orange); margin-top: 20px; }
.gb-h2 { margin: 0; font-weight: 900; font-stretch: 78%; font-size: clamp(34px, 5.5vw, 56px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.gb-h2--sm { font-size: clamp(30px, 4.6vw, 46px); }
.gb-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--gb-text2); max-width: 52ch; text-wrap: pretty; }
.gb-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--gb-text2); text-wrap: pretty; }
.gb-sec--dark .gb-text { color: var(--gb-light); }
.gb-mono { font-family: var(--gb-mono); }
.gb-more { margin: 0; }
.gb-more a { display: inline-block; color: var(--gb-ink); font-weight: 700; font-size: 16px; border-bottom: 2px solid var(--gb-orange); padding-bottom: 2px; }
.gb-more a:hover { color: var(--gb-orange-text); }
.gb-sec--dark .gb-more a { color: #fff; }

.gb-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.gb-head-row > * { margin: 0; }
.gb-head-row .gb-h2 { margin-top: 8px; }

/* ---------- buttons ---------- */
.gb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 2px; font-weight: 800; font-size: 16px; line-height: 1.1; text-decoration: none; cursor: pointer; }
.gb-btn svg { flex: none; }
.gb-btn--orange { background: var(--gb-orange); color: var(--gb-ink); }
.gb-btn--orange:hover { background: var(--gb-ink); color: #fff; }
.gb-btn--line { border: 2px solid var(--gb-ink); color: var(--gb-ink); font-weight: 700; }
.gb-btn--line:hover { background: var(--gb-ink); color: #fff; }
.gb-btn--light { border: 2px solid #fff; color: #fff; font-weight: 700; }
.gb-btn--light:hover { background: #fff; color: var(--gb-ink); }
.gb-btn--lg { height: 56px; padding: 0 24px; font-size: 18px; }
.gb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.gb-note { margin: 0; font-family: var(--gb-mono); font-size: 12px; color: var(--gb-muted); }

/* ---------- header ---------- */
.wp-site-blocks > header, header.gb-header-part { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--gb-line); }
.admin-bar .wp-site-blocks > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header { top: 0; } }
.gb-header { position: relative; }
.gb-header__bar { height: 64px; padding: 0 16px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gb-logo { display: flex; flex-direction: column; gap: 2px; color: var(--gb-ink); text-decoration: none; }
.gb-logo:hover { color: var(--gb-ink); }
.gb-logo__mark { font-weight: 900; font-stretch: 78%; font-size: 26px; letter-spacing: .01em; line-height: 1; }
.gb-logo__mark span, .gb-dash { color: var(--gb-orange); }
.gb-logo__sub { font-family: var(--gb-mono); font-size: 9.5px; letter-spacing: .14em; color: var(--gb-muted); white-space: nowrap; }
.gb-nav { display: none; align-items: center; gap: 28px; }
.gb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.gb-nav a { display: block; color: var(--gb-ink); font-size: 15px; font-weight: 600; padding: 22px 0 19px; border-bottom: 3px solid transparent; }
.gb-nav .current-menu-item > a, .gb-nav .current-menu-ancestor > a, .gb-nav a:hover { border-bottom-color: var(--gb-orange); color: var(--gb-ink); }
.gb-nav .gb-btn { padding: 11px 16px; }
.gb-mobile { display: flex; align-items: center; gap: 8px; }
.gb-mobile .gb-btn { height: 44px; padding: 0 14px; font-size: 15px; }
.gb-burger > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gb-line3); border-radius: 2px; cursor: pointer; }
.gb-burger > summary::-webkit-details-marker { display: none; }
.gb-burger .gb-ico-close { display: none; }
.gb-burger[open] .gb-ico-close { display: block; }
.gb-burger[open] .gb-ico-open { display: none; }
.gb-burger__panel { position: absolute; top: 64px; left: 0; right: 0; background: var(--gb-ink); color: #fff; padding: 12px 20px 24px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.gb-burger__panel ul { list-style: none; margin: 0; padding: 0; counter-reset: gbnav; }
.gb-burger__panel li { counter-increment: gbnav; }
.gb-burger__panel li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 800; font-stretch: 85%; font-size: 24px; color: #fff; }
.gb-burger__panel li a::after { content: "0" counter(gbnav); font-family: var(--gb-mono); font-size: 12px; font-weight: 400; color: #B9BEC4; }
.gb-burger__panel li.current-menu-item > a, .gb-burger__panel li.current-menu-ancestor > a { color: var(--gb-orange); }
.gb-burger__panel .gb-btn { margin-top: 20px; height: 56px; font-size: 18px; }
.gb-burger__panel .gb-note { margin-top: 10px; text-align: center; color: #B9BEC4; }
@media (min-width: 900px) {
	.gb-nav { display: flex; }
	.gb-mobile { display: none; }
}

/* ---------- hero ---------- */
.gb-hero { padding: 40px 20px 48px; }
.gb-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px; align-items: end; }
.gb-hero__text { display: flex; flex-direction: column; gap: 20px; }
.gb-hero__text > * { margin: 0; }
.gb-hero__text .gb-lead { max-width: 46ch; }
.gb-hero__media { position: relative; padding: 0 0 22px 22px; margin: 0; }
.gb-hero__media::before { content: ""; position: absolute; left: 0; top: 0; bottom: 22px; width: 1px; background: var(--gb-ink); }
.gb-hero__media::after { content: ""; position: absolute; left: 22px; right: 0; bottom: 0; height: 1px; background: var(--gb-ink); }
.gb-hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--gb-soft); }
.gb-hero__media figcaption { position: absolute; right: 12px; bottom: -7px; margin: 0; font-family: var(--gb-mono); font-size: 10px; background: #fff; padding: 0 4px; color: var(--gb-ink); }

.gb-page-hero { padding: 40px 20px 36px; border-bottom: 1px solid var(--gb-line); }
.gb-page-hero::before { background-size: 24px 24px, 24px 24px, 0 0, 0 0; }
.gb-page-hero .gb-wrap { display: flex; flex-direction: column; gap: 14px; }
.gb-page-hero .gb-wrap > * { margin: 0; }

/* ---------- trust bar ---------- */
.gb-trust { border-top: 1px solid var(--gb-line); border-bottom: 1px solid var(--gb-line); padding: 0 20px; }
.gb-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 24px; }
.gb-trust__item { position: relative; padding: 20px 0 20px 42px; border-bottom: 1px solid var(--gb-line2); }
.gb-trust__item > * { margin: 0; }
.gb-trust__item::before { content: ""; position: absolute; left: 0; top: 20px; width: 28px; height: 28px; border-radius: 2px; background: var(--gb-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F06A1F' stroke-width='3'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center/16px no-repeat; }
.gb-trust__item h3, .gb-trust__item .gb-trust__t { font-weight: 800; font-size: 16px; line-height: 1.3; }
.gb-trust__item p { font-size: 14px; color: var(--gb-muted); margin-top: 2px; }

/* ---------- service icons (CSS masks, no icon fonts) ---------- */
.gb-ico { --gb-ico: none; }
.gb-ico--domy { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 11 12 4l9 7M5 9.5V20h14V9.5M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.gb-ico--remonty { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M14 3l7 7-3 3-7-7zM12.5 7.5 3 17l4 4 9.5-9.5'/%3E%3C/svg%3E"); }
.gb-ico--wykonczenia { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4 4h13v5H4zM17 6.5h3V12h-8.5v3M10 15h3v6h-3z'/%3E%3C/svg%3E"); }
.gb-ico--ziemne { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 20h20M4 20l2.5-8h11l2.5 8M9 12V7h6v5'/%3E%3C/svg%3E"); }
.gb-ico--elewacje { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 5h18v14H3zM3 10h18M3 15h18M9 5v5M15 10v5M9 15v4'/%3E%3C/svg%3E"); }
.gb-ico--dachy { --gb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 14 12 6l10 8M5 11.5V20h14v-8.5M15 7.5V4h3v6'/%3E%3C/svg%3E"); }

/* home: service cards */
.gb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; counter-reset: gbcard; }
.gb-card { position: relative; background: #fff; border: 1px solid var(--gb-line); border-radius: 2px; padding: 92px 22px 22px; display: flex; flex-direction: column; gap: 14px; counter-increment: gbcard; }
.gb-card > * { margin: 0; }
.gb-card:hover { border-color: var(--gb-ink); }
.gb-card::before { content: ""; position: absolute; left: 22px; top: 22px; width: 48px; height: 48px; border: 2px solid var(--gb-orange); border-radius: 2px; }
.gb-card::after { content: ""; position: absolute; left: 33px; top: 33px; width: 26px; height: 26px; background: var(--gb-ink); -webkit-mask: var(--gb-ico) center/contain no-repeat; mask: var(--gb-ico) center/contain no-repeat; }
.gb-card h3 { font-weight: 800; font-size: 20px; line-height: 1.15; }
.gb-card h3::before { content: "0" counter(gbcard); position: absolute; right: 22px; top: 22px; font-family: var(--gb-mono); font-size: 12px; font-weight: 400; color: var(--gb-muted); }
.gb-card h3 a { color: var(--gb-ink); }
.gb-card h3 a::after { content: ""; position: absolute; inset: 0; }
.gb-card p { font-size: 15px; line-height: 1.5; color: var(--gb-muted); }

/* offer page: service rows */
.gb-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 2px solid var(--gb-ink); counter-reset: gbsvc; column-gap: 20px; }
.gb-svc { position: relative; padding: 28px 0 28px 74px; border-bottom: 1px solid var(--gb-line); display: flex; flex-direction: column; gap: 10px; counter-increment: gbsvc; scroll-margin-top: 80px; }
.gb-svc > * { margin: 0; }
.gb-svc::before { content: ""; position: absolute; left: 0; top: 28px; width: 56px; height: 56px; background: var(--gb-ink); border-radius: 2px; }
.gb-svc::after { content: ""; position: absolute; left: 14px; top: 42px; width: 28px; height: 28px; background: var(--gb-orange); -webkit-mask: var(--gb-ico) center/contain no-repeat; mask: var(--gb-ico) center/contain no-repeat; }
.gb-svc h2::before { content: "0" counter(gbsvc); display: block; margin-bottom: 10px; font-family: var(--gb-mono); font-size: 12px; font-weight: 400; color: var(--gb-muted); }
.gb-svc h2 { font-weight: 800; font-size: 24px; line-height: 1.1; }
.gb-svc p { font-size: 16px; line-height: 1.55; color: var(--gb-text2); text-wrap: pretty; }
.gb-svc .gb-more a { font-size: 15px; }

.gb-points, .gb-content .gb-points { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.gb-points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.gb-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--gb-orange); }

/* ---------- realizacje cards ---------- */
.gb-grid-real { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; list-style: none; margin: 0; padding: 0; }
.gb-grid-real.is-layout-grid, .wp-block-post-template.gb-grid-real { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important; }
.gb-real { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.gb-real > * { margin: 0; }
.gb-real__media { position: relative; margin: 0; }
.gb-real .wp-block-post-featured-image { margin: 0; aspect-ratio: 4/3; background: var(--gb-soft); overflow: hidden; }
.gb-real .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gb-real:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.gb-real .wp-block-post-terms { position: absolute; left: 0; top: 0; background: var(--gb-ink); color: #fff; font-family: var(--gb-mono); font-size: 11px; padding: 5px 8px; pointer-events: none; z-index: 1; }
.gb-real .wp-block-post-terms a { color: #fff; }
.gb-real .wp-block-post-title { font-weight: 800; font-size: 20px; line-height: 1.2; }
.gb-real .wp-block-post-title a { color: var(--gb-ink); }
.gb-real .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.gb-real .wp-block-post-excerpt { font-size: 14px; color: var(--gb-muted); }
.gb-real .wp-block-post-excerpt p { margin: 0; }
.gb-real .wp-block-post-excerpt__more-text { display: none; }

.gb-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; }
.gb-filters a { flex: none; height: 44px; padding: 0 16px; display: flex; align-items: center; font-size: 15px; font-weight: 700; border: 1px solid var(--gb-ink); border-radius: 2px; background: #fff; color: var(--gb-ink); }
.gb-filters a.is-active, .gb-filters a:hover { background: var(--gb-ink); color: #fff; }
.gb-filters span { font-family: var(--gb-mono); font-size: 11px; font-weight: 400; margin-left: 6px; opacity: .7; }

.wp-block-query-pagination { margin-top: 32px; gap: 12px; font-weight: 700; }

/* single realizacja */
.gb-back { margin: 0; }
.gb-back a { font-family: var(--gb-mono); font-size: 12px; letter-spacing: .08em; color: var(--gb-orange-text); min-height: 32px; display: inline-flex; align-items: center; }
.gb-single-title { margin: 0; font-weight: 900; font-stretch: 75%; font-size: clamp(38px, 7vw, 76px); line-height: .92; text-transform: uppercase; text-wrap: balance; }
.gb-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 2px solid var(--gb-ink); margin-top: 8px; }
.gb-meta div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--gb-line); }
.gb-meta dt { font-family: var(--gb-mono); font-size: 11px; color: var(--gb-muted); letter-spacing: .08em; }
.gb-meta dd { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
.gb-meta dd a { color: var(--gb-ink); }
.gb-single-head { padding-bottom: 0; padding-top: 28px; }
.gb-single-main { padding-top: 36px; }
/* source photos are 640-800 px wide: do not upscale them to the full container */
.gb-single-photo { margin: 8px 0 0; max-width: 960px; }
.gb-single-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--gb-soft); }
.gb-single-body > * + * { margin-top: 14px; }
.gb-single-body h2 { margin: 0; font-weight: 800; font-size: 24px; }
.gb-single-body p { font-size: 17px; line-height: 1.6; color: var(--gb-text2); }
.gb-single-body ul.wp-block-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gb-single-body ul.wp-block-list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; }
.gb-single-body ul.wp-block-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--gb-orange); }
.gb-single-body .wp-block-gallery { margin-top: 36px; gap: 12px; }
.gb-single-body .wp-block-gallery.has-nested-images figure.wp-block-image { aspect-ratio: 4/3; }
.gb-single-body .wp-block-gallery.has-nested-images figure.wp-block-image img { height: 100%; object-fit: cover; }
.gb-postnav { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--gb-ink); }
.gb-postnav > * { margin: 0; padding: 16px 12px 0 0; display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 15px; }
.gb-postnav > * + * { padding: 16px 0 0 12px; text-align: right; border-left: 1px solid var(--gb-line); }
.gb-postnav a { color: var(--gb-ink); }
.gb-postnav .post-navigation-link__label, .gb-postnav .wp-block-post-navigation-link__label { display: block; font-family: var(--gb-mono); font-size: 11px; font-weight: 400; color: var(--gb-muted); }

/* ---------- about ---------- */
.gb-photo { margin: 0; position: relative; }
.gb-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--gb-line); }
.gb-photo--45 img { aspect-ratio: 4/5; }
.gb-photo--doc img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 10px; }
.gb-list-num { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--gb-ink); counter-reset: gbnum; }
.gb-list-num li { counter-increment: gbnum; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gb-line); font-size: 16px; line-height: 1.5; }
.gb-list-num li::before { content: "0" counter(gbnum); font-family: var(--gb-mono); font-size: 15px; font-weight: 500; color: var(--gb-orange-text); }
.gb-sec--dark .gb-list-num { border-top-color: rgba(255,255,255,.4); }
.gb-sec--dark .gb-list-num li { border-bottom-color: rgba(255,255,255,.12); }
.gb-sec--dark .gb-list-num li::before { color: var(--gb-orange-light); }
.gb-strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; counter-reset: gbstr; }
.gb-strength { border: 1px solid var(--gb-line); border-top: 4px solid var(--gb-orange); padding: 22px; display: flex; flex-direction: column; gap: 10px; counter-increment: gbstr; }
.gb-strength > * { margin: 0; }
.gb-strength::before { content: "0" counter(gbstr); font-family: var(--gb-mono); font-size: 12px; color: var(--gb-muted); }
.gb-strength h3 { font-weight: 800; font-size: 22px; }
.gb-strength p { font-size: 15px; line-height: 1.55; color: var(--gb-text2); }
.gb-partner { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 20px; align-items: center; border: 1px solid var(--gb-line); padding: 22px; max-width: 760px; }
.gb-partner > * { margin: 0; }
.gb-partner figure { margin: 0; }
.gb-partner p { font-size: 15px; line-height: 1.55; color: var(--gb-text2); }

/* ---------- CTA ---------- */
.gb-cta { padding: 56px 20px; }
.gb-cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.gb-cta__text { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.gb-cta__text > * { margin: 0; }
.gb-cta__text h2 { font-weight: 900; font-stretch: 75%; font-size: clamp(36px, 6vw, 64px); line-height: .92; text-transform: uppercase; text-wrap: balance; }
.gb-cta__text p { font-size: 17px; line-height: 1.5; color: var(--gb-light); }
.gb-cta__btns { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 340px; }
.gb-cta__btns .gb-btn { height: 60px; font-size: 20px; font-weight: 900; }
.gb-cta__btns .gb-btn--light { height: 56px; font-size: 17px; font-weight: 700; }

/* ---------- footer ---------- */
.gb-footer { background: var(--gb-foot); color: var(--gb-light); padding: 48px 20px 28px; }
.gb-footer a { color: #fff; }
.gb-footer a:hover { color: var(--gb-orange); }
.gb-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.gb-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.gb-footer__col > * { margin: 0; }
.gb-footer__logo { font-weight: 900; font-stretch: 78%; font-size: 28px; color: #fff; line-height: 1; }
.gb-footer__label { font-family: var(--gb-mono); font-size: 11px; letter-spacing: .1em; color: var(--gb-light2); }
.gb-footer__rows { display: flex; flex-direction: column; gap: 8px; }
.gb-footer__tel { font-weight: 800; font-size: 20px; }
.gb-footer__about { font-size: 14px; line-height: 1.55; }
.gb-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gb-footer__menu a { min-height: 32px; display: flex; align-items: center; font-size: 15px; }
.gb-footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--gb-light2); }
.gb-footer__bottom > * { margin: 0; }
.gb-footer__bottom a { color: var(--gb-light); }

/* mobile sticky call bar */
.gb-callbar { position: sticky; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
.gb-callbar a { display: flex; justify-content: center; align-items: center; gap: 8px; height: 56px; font-weight: 800; font-size: 16px; }
.gb-callbar a:first-child { background: var(--gb-orange); color: var(--gb-ink); }
.gb-callbar a:last-child { background: var(--gb-ink); color: #fff; font-weight: 700; }
@media (min-width: 900px) { .gb-callbar { display: none; } }

/* ---------- 404 ---------- */
.gb-404 { min-height: 50vh; }
