/* ==========================================================================
   Kalibra - main stylesheet
   1. Fonts & tokens  2. Base  3. Layout  4. Components  5. Sections  6. Pages
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap;
	src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap;
	src: url("../fonts/outfit-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	/* brand - approved design (option 1, Nov 2025): navy + blue. Text/link shades darkened for WCAG AA. */
	--brand-900: #001a30;   /* footer */
	--brand-800: #00294b;   /* navy: top bar, CTA band */
	--brand-700: #04508a;   /* hover */
	--brand-600: #0668a8;   /* links, primary buttons (AA on white) */
	--brand-500: #0787d9;   /* approved bright blue: icons, accents */
	--brand-300: #8cc8f0;   /* accents on navy */
	--brand-100: #d5e9f8;
	--brand-50:  #eef5fb;
	/* logo teal, used sparingly so the logo still belongs */
	--logo-teal: #2f9a94;
	--logo-dot:  #7fcdc8;

	--ink:     #12202e;
	--ink-2:   #3a4756;
	--muted:   #5a6777;
	--line:    #dbe3ec;
	--paper:   #f9fbfd;
	--white:   #ffffff;
	--sand:    #efe7d8;
	--danger:  #b42318;
	--danger-bg: #fdf0ee;
	--ok-bg:   #e6f4ec;

	--font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
	--step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	--step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
	--step-2:  clamp(1.4rem, 1.25rem + 0.75vw, 1.9rem);
	--step-3:  clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem);
	--step-4:  clamp(2.3rem, 1.75rem + 2.75vw, 4.1rem);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgb(0 41 75 / .06), 0 2px 8px rgb(0 41 75 / .05);
	--shadow: 0 2px 6px rgb(0 41 75 / .06), 0 16px 40px -12px rgb(0 41 75 / .18);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 76px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--paper);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 450; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: normal; color: var(--brand-600); background: linear-gradient(transparent 68%, var(--brand-100) 68% 92%, transparent 92%); padding: 0 .06em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* 3. Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--flush-top { padding-top: clamp(32px, 4vw, 56px); }
.section--tint { background: var(--brand-50); }
.split { display: grid; gap: clamp(32px, 6vw, 88px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } .split--narrow { grid-template-columns: 4fr 7fr; } }
.layout-aside { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) {
	.layout-aside { grid-template-columns: minmax(0, 1fr) 380px; }
	.layout-aside--form { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* 4. Components ----------------------------------------------------------- */
.eyebrow { font-family: var(--font-display); font-size: var(--step--1); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-500); border-radius: 2px; }
.eyebrow--light { color: var(--brand-300); }
.eyebrow--light::before { background: var(--brand-300); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

.btn {
	--btn-bg: var(--brand-600); --btn-fg: #fff; --btn-bd: var(--brand-600);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 52px; padding: 0 1.5em; border-radius: 999px;
	font: 500 1rem/1 var(--font-display); letter-spacing: .01em; text-decoration: none;
	color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
	cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--brand-700); --btn-bd: var(--brand-700); color: #fff; box-shadow: 0 8px 20px -8px rgb(4 80 138 / .55); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 1.2em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--brand-500); color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand-800); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand-50); color: var(--brand-800); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 500; text-decoration: none; margin-top: .5rem; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }
.section-head h2 { margin-bottom: .35em; }
.section-head--center { text-align: center; margin-inline: auto; }

/* calibration scale - the brand's recurring detail */
.scale { height: 14px; margin-top: clamp(24px, 3vw, 40px); background:
	repeating-linear-gradient(90deg, var(--brand-500) 0 1px, transparent 1px 100%) 0 100% / 10px 6px repeat-x,
	repeating-linear-gradient(90deg, var(--brand-500) 0 1px, transparent 1px 100%) 0 100% / 50px 14px repeat-x;
	opacity: .35; -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent); mask-image: linear-gradient(90deg, #000 0 40%, transparent); }

/* Topbar */
.topbar { background: var(--brand-800); color: #c9dbea; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 40px; align-items: center; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #e6f0f8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { color: var(--brand-300); flex: none; }
.topbar__portal { padding: 4px 12px; border: 1px solid rgb(140 200 240 / .4); border-radius: 999px; }
@media (max-width: 1080px) { .topbar__info li:nth-child(2) { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgb(0 41 75 / .03), 0 8px 24px -20px rgb(0 41 75 / .35); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 10px 30px -16px rgb(0 41 75 / .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand__logo { height: clamp(24px, 1.95vw, 31.5px); width: auto; display: block; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--brand-600); }
@media (min-width: 1440px) { .header-phone { display: inline-flex; } }
.site-header__actions .btn { white-space: nowrap; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 450; font-size: 1rem; color: var(--ink); text-decoration: none; position: relative; white-space: nowrap; }
.nav__list a:hover { color: var(--brand-600); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current_page_parent > a { color: var(--brand-600); }
.nav__list .current-menu-item > a::after, .nav__list .current-menu-ancestor > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brand-500); border-radius: 2px; }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__list .sub-menu a::after { display: none; }
.nav__list .menu-item-has-children { position: relative; }
.nav__list .menu-item-has-children:hover > .sub-menu, .nav__list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { white-space: normal; }
.nav__list .sub-menu a:hover { background: var(--brand-50); }
.nav__mobile-extra { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--ink); cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 560px) { .site-header__actions .btn { display: none; } }

/* Tablet / narrow desktop: keep the menu visible on a second header row instead of hiding it behind ☰ */
@media (min-width: 761px) and (max-width: 1199px) {
	:root { --header-h: 124px; }
	.site-header__inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 12px; }
	.brand__logo { height: 27px; }
	.nav { order: 3; flex-basis: 100%; margin: 10px 0 0; border-top: 1px solid var(--line); }
	.nav__list { flex-wrap: wrap; gap: 0 2px; margin-inline: -12px; }
	.nav__list a { padding: 13px 12px; font-size: .98rem; }
	.nav__list .current-menu-item > a::after, .nav__list .current-menu-ancestor > a::after { bottom: 6px; }
}

@media (max-width: 760px) {
	.brand__logo { height: 23px; }
	/* backdrop-filter would become the containing block of the fixed nav panel */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: inline-flex; }
	.nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: var(--paper); padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0; }
	.nav.is-open { transform: none; visibility: visible; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list a { padding: 16px 4px; font-size: 1.2rem; }
	.nav__list .current-menu-item > a::after { display: none; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; background: transparent; }
	.nav__list .sub-menu a { font-size: 1rem; padding: 10px 4px; color: var(--ink-2); }
	.nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
	.nav__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); text-decoration: none; padding: 8px 0; }
	.nav__phone .icon { color: var(--brand-600); }
	body.nav-open { overflow: hidden; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: inline; }
}

/* Service card */
.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 20px; }
.service-card__title { font-size: var(--step-1); margin-bottom: .5em; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__title a:focus-visible { outline: none; }
.service-card:has(a:focus-visible) { outline: 3px solid var(--brand-300); outline-offset: 3px; }
.service-card__text { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card__fee { font-size: .9rem; color: var(--ink); padding-top: 14px; margin: 6px 0 14px; border-top: 1px dashed var(--line); }
.service-card__fee span { color: var(--muted); }
.service-card__more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 500; color: var(--brand-600); }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }
.service-card__more .icon { transition: transform .2s; }

/* Notices & forms */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.notice p { margin: 0; }
.notice .icon { flex: none; margin-top: 2px; }
.notice--success { background: var(--ok-bg); color: var(--brand-800); }
.notice--error { background: var(--danger-bg); color: var(--danger); }
.form__grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form--compact .form__grid { grid-template-columns: 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 4px; }
.req { color: var(--brand-600); }
.field input:not([type="checkbox"]), .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
	background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230668a8' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgb(140 200 240 / .35); }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; margin: 2px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; color: var(--ink); transition: .15s; }
.chip input:checked + span { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--brand-300); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand-600); }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.form--compact .form__footer { margin-top: 18px; }
.form--compact .btn { width: 100%; }
.form__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--muted); }
.form__note .icon { color: var(--brand-600); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-panel--wide { margin-top: clamp(40px, 6vw, 72px); }
.form-panel h2 { font-size: var(--step-2); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.faq__item[open] { border-color: var(--brand-300); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--brand-600); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; }

/* Team */
.team__group { text-align: center; font-size: var(--step--1); font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.team__group:not(:first-of-type) { margin-top: 56px; }
.team { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.team > .person { flex: 0 1 190px; }
@media (max-width: 520px) { .team { gap: 24px 14px; } .team > .person { flex-basis: calc(50% - 7px); } }
.person { text-align: center; }
.person__photo { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-100); margin-bottom: 14px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .4s; }
.person:hover .person__photo img { transform: scale(1.03); }
.person__initials { display: grid; place-items: center; height: 100%; font: 400 3rem var(--font-display); color: var(--brand-600); }
.person__name { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0 0 2px; line-height: 1.3; }
.person__role { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); max-width: calc(100% - 16px); padding: 5px 12px; border-radius: 999px; background: rgb(0 41 75 / .88); color: #fff; font: 500 .68rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-align: center; width: max-content; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.team { justify-content: center; }

/* Posts */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.post-card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .5em; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { color: var(--brand-600); }
.empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; justify-items: center; gap: 12px; }
.empty .mark { opacity: .5; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.page-numbers.current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* Prose (editor content) */
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--brand-500); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand-300); font-size: var(--step-1); color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose .wp-block-button__link { border-radius: 999px; background: var(--brand-600); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose mark.todo, .todo { background: #fff3c4; color: #6b4e00; padding: 0 .25em; border-radius: 3px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 1.5em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist .icon { flex: none; color: #fff; background: var(--brand-500); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }

/* 5. Sections ------------------------------------------------------------- */
/* Hero */
.hero { position: relative; padding-top: clamp(40px, 7vw, 96px); overflow: hidden; background: linear-gradient(180deg, var(--brand-50) 0%, var(--paper) 85%); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 100%; background: radial-gradient(60% 60% at 85% 20%, var(--brand-50), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 7fr 5fr; } }
.hero h1 { margin-bottom: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__actions--center { justify-content: center; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--ink); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--logo-teal); }
.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__mark { position: absolute; right: -60px; top: -70px; opacity: .12; z-index: 0; }
@media (max-width: 979px) { .hero__mark { display: none; } }

.ledger-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; transform: rotate(-1.2deg); }
.ledger-card__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; color: var(--ink); margin-bottom: 18px; }
.ledger-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--logo-dot); box-shadow: 0 0 0 4px #e9f6f5; }
.ledger-card__badge { margin-left: auto; font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: #e9f6f5; color: #1d6f6a; }
.ledger-card__rows { list-style: none; padding: 0; margin: 0; }
.ledger-card__rows li { border-bottom: 1px dashed var(--line); font-size: .95rem; }
.ledger-card__rows a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; margin: 0 -6px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.ledger-card__rows a:hover { background: var(--brand-50); color: var(--brand-600); }
.ledger-card__rows a .icon { transition: transform .2s; }
.ledger-card__rows a:hover .icon { transform: translateX(3px); color: var(--brand-600); }
.ledger-card__rows .icon { color: var(--logo-teal); flex: none; }
.ledger-card { transform: none; }
@media (prefers-reduced-motion: no-preference) {
	.ledger-card__rows li { animation: tick-in .5s both; }
	.ledger-card__rows li:nth-child(2) { animation-delay: .12s; }
	.ledger-card__rows li:nth-child(3) { animation-delay: .24s; }
	.ledger-card__rows li:nth-child(4) { animation-delay: .36s; }
	@keyframes tick-in { from { opacity: 0; transform: translateY(6px); } }
}
.ledger-card__scale { position: relative; height: 26px; margin-top: 20px; background:
	repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 100%) 0 100% / 8px 8px repeat-x,
	repeating-linear-gradient(90deg, #c3cfdc 0 1px, transparent 1px 100%) 0 100% / 40px 16px repeat-x; }
.ledger-card__scale span { position: absolute; left: calc(var(--v) * 100%); bottom: 0; width: 2px; height: 26px; background: var(--brand-600); border-radius: 2px; }
.ledger-card__scale span::before { content: ""; position: absolute; top: -6px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-600); }
.ledger-card__foot { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: clamp(48px, 7vw, 88px) 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats > div { background: #fff; padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-size: .85rem; color: var(--muted); }
.stats dd { margin: 0; font: 400 clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem)/1.1 var(--font-display); color: var(--brand-700); letter-spacing: -0.02em; }
.stats dd.stats__small { font-size: 1.05rem; line-height: 1.4; padding-top: .5em; color: var(--ink); font-weight: 500; }

/* Reasons */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { background: #fff; border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.reasons h3 { font-size: 1.12rem; margin: .5em 0 .4em; }
.reasons p { margin: 0; color: var(--muted); font-size: .95rem; }
.reasons__n { font: 500 .85rem var(--font-display); color: var(--brand-600); letter-spacing: .08em; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--brand-800); color: #d3e3f0; padding-block: clamp(56px, 8vw, 96px); }
.cta-band .mark { position: absolute; right: -40px; bottom: -90px; opacity: .14; pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { max-width: 54ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 500 1.1rem var(--font-display); text-decoration: none; white-space: nowrap; }
.cta-band__phone .icon { color: var(--brand-300); }
.cta-band__phone strong { color: #fff; font-weight: 600; }
.cta-band__phone:hover { color: #fff; text-decoration: underline; }

/* Footer */
.site-footer { background: var(--brand-900); color: #a7bdd0; font-size: .875rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #d3e3f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr; } }
.site-footer__mark { color: var(--brand-300); display: inline-block; margin-bottom: 14px; }
.site-footer__name { font: 500 1.15rem var(--font-display); color: #fff; margin-bottom: .4em; }
.site-footer__title { font: 500 .8rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-300); margin-bottom: 18px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--brand-300); flex: none; margin-top: 2px; width: 16px; height: 16px; }
@media (min-width: 1060px) { .site-footer__contact a, .site-footer__contact span { white-space: nowrap; } }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Mobile action bar (always-visible quote CTA on phones) */
.action-bar { display: none; }
@media (max-width: 760px) {
	.action-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(249 251 253 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .25s; }
	.action-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font: 500 1rem var(--font-display); text-decoration: none; }
	.action-bar__call { padding: 0 18px; color: var(--brand-700); border: 1.5px solid var(--line); background: #fff; }
	.action-bar__quote { background: var(--brand-600); color: #fff; }
	.action-bar__quote:hover { color: #fff; }
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	body.nav-open .action-bar, body.page-ajanlatkeres .action-bar { transform: translateY(110%); }
	body.page-ajanlatkeres { padding-bottom: 0; }
}

/* 6. Pages ---------------------------------------------------------------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) 0; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero--post h1 { font-size: var(--step-3); max-width: none; }
.page-hero--center { text-align: center; padding-bottom: var(--section); }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .eyebrow::before { display: none; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-600); text-decoration: underline; }

.aside { position: relative; }
@media (min-width: 980px) { .aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.aside__card--plain { box-shadow: none; background: var(--brand-50); border-color: transparent; }
.aside__title { font-size: 1.25rem; line-height: 1.3; }
.aside__title span { display: block; color: var(--brand-600); }
.aside__contact { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.aside__contact .icon { color: var(--brand-600); flex: none; margin-top: 3px; }
.steps { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 12px; }
.steps li::marker { color: var(--brand-600); font-family: var(--font-display); font-weight: 600; }

.fee-box { margin-top: 2em; padding: 24px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); }
.fee-box p { margin: 0; }
.fee-box__label { font: 500 .8rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); }
.fee-box__value { font: 400 var(--step-2) var(--font-display); color: var(--ink); margin: 4px 0 6px !important; }
.fee-box__note { font-size: .88rem; color: var(--muted); }
.fine-print { margin-top: 28px; font-size: .88rem; color: var(--muted); max-width: 70ch; }

.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: center; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }
.contact-card__label { font-size: .85rem; color: var(--muted); align-self: end; }
.contact-card__value { font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; line-height: 1.45; }
.contact-card__value a { color: var(--ink); text-decoration: none; }
.contact-card__value a:hover { color: var(--brand-600); text-decoration: underline; }
.contact-card__line { display: block; }
@media (min-width: 960px) { .contact-card__line { white-space: nowrap; } }
.contact-extra { margin-top: 40px; }

.links-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.links-list li { margin: 0 !important; }
.links-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.links-list a:hover { border-color: var(--brand-300); }
.links-list small { display: block; color: var(--muted); font-size: .88rem; }

.post-hero-img img { border-radius: var(--radius-lg); width: 100%; margin-bottom: 32px; }
.post-navigation .nav-links { justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-navigation a { text-decoration: none; color: var(--ink); font-family: var(--font-display); }
.post-navigation span { display: block; font-size: .8rem; color: var(--muted); font-family: var(--font-body); }

@media print { .topbar, .site-header, .cta-band, .action-bar, .site-footer { display: none; } }

/* "Ami igazán jellemez minket" box (front page) */
.reasons-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.reasons-box__title { font: 500 1.15rem var(--font-display); color: var(--ink); margin-bottom: 1rem; }
.reasons-box .checklist { margin: 0; }

/* ---------------------------------------------------------------------------
   Core blocks inside Kalibra blocks (front page is built in the block editor)
   --------------------------------------------------------------------------- */
.wp-block-kalibra-section > .container > .wp-block-heading:first-child { margin-bottom: clamp(24px, 3vw, 44px); }
.wp-block-kalibra-section .wp-block-columns { gap: clamp(32px, 6vw, 88px); align-items: flex-start; margin-bottom: 0; }
.hero__copy > .wp-block-heading { margin-bottom: .35em; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 1.5em; border-radius: 999px;
	font: 500 1rem/1 var(--font-display); letter-spacing: .01em; text-decoration: none; color: #fff; background: var(--brand-600); border: 1.5px solid var(--brand-600);
	transition: background .2s, border-color .2s, box-shadow .2s;
}
.wp-block-button .wp-block-button__link:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: 0 8px 20px -8px rgb(4 80 138 / .55); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; border-color: var(--brand-500); color: var(--ink); box-shadow: none; }
p.more-link a { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 500; text-decoration: none; }
p.more-link a::after { content: "→"; transition: transform .2s; }
p.more-link a:hover::after { transform: translateX(3px); }
.reasons-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reasons-box ul li { position: relative; padding-left: 36px; margin: 0; }
.reasons-box ul li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 899px) { .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Company data (Kapcsolat page + footer) */
.company-lines p { margin: 0; }
.company-lines__name { font-weight: 600; }
.company-data { margin-bottom: 16px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px; }
.company-data__title { font-size: 1.15rem; font-weight: 500; margin: 0; }
.company-data .company-lines { display: flex; flex-wrap: wrap; gap: 4px 28px; color: var(--ink); }
.site-footer__company { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 4px; color: #d3e3f0; }
.site-footer__company .company-lines__name { color: #fff; font-weight: 500; }

/* Cookie consent */
.btn--outline { --btn-bg: #fff; --btn-fg: var(--brand-700); --btn-bd: var(--brand-600); }
.btn--outline:hover { --btn-bg: var(--brand-50); --btn-bd: var(--brand-700); color: var(--brand-700); box-shadow: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #d3e3f0; cursor: pointer; }
.link-button:hover { color: #fff; text-decoration: underline; }
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner { pointer-events: auto; width: min(100%, 760px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgb(0 41 75 / .45); padding: 24px 26px; }
.consent__title { font-size: 1.2rem; margin: 0 0 8px; }
.consent__text { font-size: .93rem; margin: 0 0 16px; }
.consent__prefs { display: grid; gap: 10px; margin: 0 0 16px; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; cursor: pointer; }
.consent__opt input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand-600); }
.consent__opt strong { display: block; color: var(--ink); font-weight: 600; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn[hidden] { display: none; }
@media (max-width: 560px) { .consent { left: 8px; right: 8px; bottom: 8px; } .consent__actions .btn { flex: 1 1 100%; } }
body.consent-open .action-bar { transform: translateY(110%); }
.consent__title:focus { outline: none; }

/* Front page hero: photo background with dark overlay (added 2026-11-12) */
.wp-block-kalibra-hero {
	position: relative; isolation: isolate; color: #fff;
	padding-bottom: clamp(40px, 7vw, 96px);
	background: var(--brand-800) url("/wp-content/uploads/2026/11/slider2.jpg") center / cover no-repeat;
}
.wp-block-kalibra-hero::before {
	content: ""; position: absolute; inset: 0; height: auto; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgb(0 26 48 / .9) 0%, rgb(0 41 75 / .78) 55%, rgb(0 41 75 / .6) 100%);
}
.wp-block-kalibra-hero .hero__grid { position: relative; z-index: 1; }
.wp-block-kalibra-hero h1,
.wp-block-kalibra-hero .lead { color: #fff; }
.wp-block-kalibra-hero h1 em { color: var(--brand-300); background: none; }
.wp-block-kalibra-hero .eyebrow { color: var(--brand-300); }
.wp-block-kalibra-hero .eyebrow::before { background: var(--brand-300); }
.wp-block-kalibra-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgb(255 255 255 / .65); }
.wp-block-kalibra-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--brand-800); }
@media (max-width: 979px) {
	.wp-block-kalibra-hero { background-position: 62% center; }
	.wp-block-kalibra-hero::before { background: linear-gradient(180deg, rgb(0 26 48 / .86) 0%, rgb(0 41 75 / .78) 100%); }
}

/* Front page: stats strip floats across the seam between the page background and the tinted "Miért mi?" section.
   The tint starts halfway down the cards (50% of the strip's own height), so the seam runs behind them. */
.home .site-main { overflow-x: clip; }
.home .hero + .container { position: relative; z-index: 1; }
.home .hero + .container::before { content: ""; position: absolute; z-index: -1; top: 50%; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--brand-50); }
.home .hero + .container .stats { box-shadow: 0 2px 6px rgb(0 41 75 / .06), 0 18px 40px -14px rgb(0 41 75 / .22); }

/* Front page "Hírek": "Összes hír" link sits right-aligned with more space above it */
.wp-block-kalibra-section .post-grid + .more-link { margin-top: clamp(24px, 3vw, 32px); text-align: right; }

/* Team cards: text only (no portrait photos), with role + contact links. */
.team > .person { flex: 0 1 230px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.team > .person .person__name { margin: 0; font-size: var(--step-0); }
.team > .person .person__role { position: static; transform: none; left: auto; bottom: auto; max-width: 100%; width: auto; display: inline-block; }
.person__contact { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: var(--step--1); width: 100%; }
.person__contact li { margin: 0; overflow-wrap: anywhere; }
.person__contact a { color: var(--brand-600); text-decoration: none; }
.person__contact a:hover, .person__contact a:focus-visible { color: var(--brand-700); text-decoration: underline; }
@media (max-width: 520px) { .team > .person { flex-basis: 100%; } }
