/*
Theme Name: Anform
Theme URI: https://www.anform.pl
Description: Motyw potomny Hello Elementor dla narzędziowni Anform. Treść stron budowana w Elementorze z użyciem klas af-*.
Author: Anform
Template: hello-elementor
Version: 1.0.0
Text Domain: anform
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--af-ink: #0a1424;
	--af-navy: #0f2a4f;
	--af-navy-2: #163a6b;
	--af-blue: #2a64b4;
	--af-blue-soft: #e7eef8;
	--af-accent: #f26a1b;
	--af-accent-dark: #d4560c;
	--af-steel: #f2f5f9;
	--af-line: #dbe2ec;
	--af-text: #1b2433;
	--af-muted: #5a6779;
	--af-white: #ffffff;

	--af-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--af-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--af-wrap: 1240px;
	--af-gutter: clamp(16px, 4vw, 32px);
	--af-radius: 14px;
	--af-radius-sm: 8px;
	--af-shadow: 0 1px 2px rgba(10, 20, 36, .06), 0 12px 32px -12px rgba(10, 20, 36, .18);
	--af-section: clamp(64px, 9vw, 120px);
	--af-ease: cubic-bezier(.2, .7, .2, 1);
	--af-header-h: 124px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html.af-lock { overflow: hidden; }

body {
	font-family: var(--af-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--af-text);
	background: var(--af-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: var(--af-font-head);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--af-ink);
	margin: 0;
}

/* Hello Elementor's reset.css colours links/buttons pink (#c36) and purple (#336) on :active/:focus – keep them on-brand. */
body { -webkit-tap-highlight-color: rgba(42, 100, 180, .12); }
a,
a:visited { color: var(--af-blue); text-decoration: none; transition: color .2s var(--af-ease); }
a:hover,
a:active,
a:focus { color: var(--af-accent); }

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover { background-color: transparent; color: inherit; border-color: transparent; }

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

.af-wrap {
	width: 100%;
	max-width: calc(var(--af-wrap) + 2 * var(--af-gutter));
	margin-inline: auto;
	padding-inline: var(--af-gutter);
}

.af-icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

:focus-visible { outline: 3px solid var(--af-accent); outline-offset: 3px; }

/* ==========================================================================
   Buttons (theme + Elementor button widget with .af-button--*)
   ========================================================================== */
.af-btn,
.af-button .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	padding: 15px 26px;
	font-family: var(--af-font-head);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .25s var(--af-ease), color .25s var(--af-ease), border-color .25s var(--af-ease), transform .25s var(--af-ease);
}
.af-btn:hover,
.af-button .elementor-button:hover { transform: translateY(-2px); }

.af-btn--accent,
.af-button--accent .elementor-button { background: var(--af-accent); color: var(--af-white); }
.af-btn--accent:visited,
.af-button--accent .elementor-button:visited { color: var(--af-white); }
.af-btn--accent:hover,
.af-btn--accent:focus,
.af-btn--accent:active,
button.af-btn--accent:hover,
button.af-btn--accent:focus,
button.af-btn--accent:active,
.af-button--accent .elementor-button:hover,
.af-button--accent .elementor-button:focus,
.af-button--accent .elementor-button:active { background: var(--af-accent-dark); color: var(--af-white); border-color: transparent; }

.af-button--ghost .elementor-button { background: transparent; color: var(--af-white); border-color: rgba(255, 255, 255, .45); }
.af-button--ghost .elementor-button:visited { color: var(--af-white); }
.af-button--ghost .elementor-button:hover,
.af-button--ghost .elementor-button:focus,
.af-button--ghost .elementor-button:active { background: var(--af-white); color: var(--af-ink); border-color: var(--af-white); }

.af-button--dark .elementor-button { background: var(--af-navy); color: var(--af-white); }
.af-button--dark .elementor-button:visited { color: var(--af-white); }
.af-button--dark .elementor-button:hover,
.af-button--dark .elementor-button:focus,
.af-button--dark .elementor-button:active { background: var(--af-ink); color: var(--af-white); }

.af-button--outline .elementor-button { background: transparent; color: var(--af-navy); border-color: var(--af-line); }
.af-button--outline .elementor-button:visited { color: var(--af-navy); }
.af-button--outline .elementor-button:hover,
.af-button--outline .elementor-button:focus,
.af-button--outline .elementor-button:active { border-color: var(--af-navy); color: var(--af-navy); }

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

/* ==========================================================================
   Header
   ========================================================================== */

.af-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-bar .af-header {
    top: 32px;
}

/* Górny pasek kontaktowy */

.af-topbar {
    background: var(--af-ink);
    color: rgba(255, 255, 255, .75);
    font-size: 13.5px;
    transition: margin-top .3s var(--af-ease);
}

.af-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 40px;
}

.af-topbar__group {
    display: flex;
    gap: 28px;
}

.af-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.af-topbar__item .af-icon {
    color: var(--af-accent);
}

a.af-topbar__item:hover,
a.af-topbar__item:focus,
a.af-topbar__item:active {
    color: var(--af-white);
}

/* Główny pasek nawigacji */

.af-navbar {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--af-line);
    transition: box-shadow .3s var(--af-ease);
}

.af-header.is-scrolled .af-navbar {
    box-shadow: 0 8px 30px -14px rgba(10, 20, 36, .25);
}

.af-header.is-scrolled .af-topbar {
    margin-top: -40px;
}

.af-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-height: 84px;
}

/* Logo */

.af-logo {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

.af-logo__img {
    width: auto;
    height: 52px;
}

.af-logo--light .af-logo__img {
    height: 48px;
}

/* Nawigacja */

.af-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.af-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.af-menu > li {
    position: relative;
}

.af-menu a {
    display: block;
    padding: 10px 14px;
    font-family: var(--af-font-head);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--af-ink);
    border-radius: var(--af-radius-sm);
}

.af-menu a:visited {
    color: var(--af-ink);
}

.af-menu > li > a:hover,
.af-menu > li > a:focus,
.af-menu > li > a:active,
.af-menu > .current-menu-item > a,
.af-menu > .current-menu-ancestor > a,
.af-menu > .current-page-ancestor > a {
    color: var(--af-blue);
}

.af-menu > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    opacity: .5;
}

/* Rozwijane podmenu */

.af-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: var(--af-white);
    border: 1px solid var(--af-line);
    border-radius: var(--af-radius);
    box-shadow: var(--af-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s var(--af-ease),
                transform .2s var(--af-ease),
                visibility .2s;
}

.af-menu .sub-menu::before {
    content: "";
    position: absolute;
    inset: -12px 0 auto;
    height: 12px;
}

.af-menu li:hover > .sub-menu,
.af-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.af-menu .sub-menu a {
    font-size: 15px;
    font-weight: 500;
    padding: 9px 12px;
}

.af-menu .sub-menu a:hover,
.af-menu .sub-menu a:focus,
.af-menu .sub-menu a:active,
.af-menu .sub-menu .current-menu-item > a {
    background: var(--af-steel);
    color: var(--af-blue);
}

/* Hamburger */

.af-burger {
    display: none;
}

.af-burger:hover,
.af-burger:focus,
.af-burger:active {
    background: var(--af-steel);
    border: 0;
    color: var(--af-ink);
}

/* ==========================================================================
   GTranslate – przełącznik języka
   ========================================================================== */

.af-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-shrink: 0;
}

.af-header__language {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    line-height: 1;
}

.af-header__language .gtranslate_wrapper {
    display: flex;
    align-items: center;
}

.af-header__language img {
    width: 26px;
    height: auto;
    display: block;
    cursor: pointer;
}

.af-header__language a {
    text-decoration: none;
}

/* ==========================================================================
   GTranslate – wersja mobilna
   ========================================================================== */

@media (max-width: 1024px) {

    .af-header__actions {
        margin-left: auto;
        gap: 15px;
    }

    .af-header__language img {
        width: 26px;
        height: auto;
    }

    .af-header__actions .af-burger {
        margin: 0;
        flex-shrink: 0;
    }
}

.af-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--af-line);
    transition: box-shadow .3s var(--af-ease);
}

/* GTranslate – klasyczny popup na środku ekranu */

.af-header,
.af-navbar,
.af-navbar__inner,
.af-header__actions,
.af-header__language {
    overflow: visible;
}

.af-navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.gt_white_content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: #ffffff;
    z-index: 100001 !important;
}

.gt_white_content .gt_languages {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 0;
}

.gt_black_overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100000 !important;
}
/* ==========================================================================
   Footer
   ========================================================================== */
.af-footer { background: var(--af-ink); color: rgba(255, 255, 255, .68); font-size: 15px; }
.af-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 48px;
	padding-block: 72px 56px;
}
.af-footer__brand p { margin: 20px 0 0; max-width: 36ch; }
.af-footer__title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--af-white);
	margin-bottom: 18px;
}
.af-footer__menu,
.af-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.af-footer a,
.af-footer a:visited { color: rgba(255, 255, 255, .8); }
.af-footer a:hover,
.af-footer a:focus,
.af-footer a:active { color: var(--af-accent); }
.af-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.af-footer__contact .af-icon { color: var(--af-accent); margin-top: 5px; }
.af-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
}

/* ==========================================================================
   Elementor layout helpers
   ========================================================================== */
.e-con.af-section { --padding-top: var(--af-section); --padding-bottom: var(--af-section); --padding-left: var(--af-gutter); --padding-right: var(--af-gutter); }
.e-con.af-hero, .e-con.af-pagehero { --padding-left: var(--af-gutter); --padding-right: var(--af-gutter); }
.e-con.af-section--tight { --padding-top: clamp(48px, 6vw, 72px); --padding-bottom: clamp(48px, 6vw, 72px); }
.af-section--steel { background-color: var(--af-steel); }
.af-section--dark { background-color: var(--af-ink); }
.af-section--navy { background-color: var(--af-navy); }

.af-section--dark .elementor-heading-title,
.af-section--navy .elementor-heading-title,
.af-hero .elementor-heading-title,
.af-pagehero .elementor-heading-title,
.af-cta .elementor-heading-title { color: var(--af-white); }
.af-section--dark .elementor-widget-text-editor,
.af-section--navy .elementor-widget-text-editor { color: rgba(255, 255, 255, .72); }

.e-con.af-grid-2,
.e-con.af-grid-3,
.e-con.af-grid-4 { display: grid !important; gap: 24px; }
.e-con.af-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-con.af-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-con.af-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.e-con.af-split { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); --align-items: center; align-items: center; }
.e-con.af-split--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); --align-items: start; align-items: start; }

.e-con.af-head { max-width: 760px; gap: 16px; }
.e-con.af-head--center { --align-items: center; align-items: center; margin-inline: auto; text-align: center; }
.e-con.af-head--row { --flex-direction: row; flex-direction: row; max-width: none; display: flex; --justify-content: space-between; justify-content: space-between; --align-items: flex-end; align-items: flex-end; gap: 24px; --flex-wrap: wrap; flex-wrap: wrap; }

/* Eyebrow label */
.af-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--af-font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--af-blue);
}
.af-eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 2px; background: var(--af-accent); }
.af-hero .af-eyebrow .elementor-heading-title,
.af-pagehero .af-eyebrow .elementor-heading-title,
.af-section--dark .af-eyebrow .elementor-heading-title,
.af-section--navy .af-eyebrow .elementor-heading-title,
.af-cta .af-eyebrow .elementor-heading-title { color: rgba(255, 255, 255, .8); }

.af-title .elementor-heading-title { font-size: clamp(30px, 3.6vw, 46px); }
h3.elementor-heading-title { font-size: 22px; }
.af-lead { font-size: 19px; color: var(--af-muted); }
.af-lead p:last-child,
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.e-con.af-hero {
	position: relative;
	min-height: min(86vh, 820px);
	--padding-top: clamp(96px, 12vw, 150px);
	--padding-bottom: clamp(56px, 7vw, 88px);
	background-color: var(--af-ink);
	background-size: cover;
	background-position: center;
	isolation: isolate;
	--justify-content: flex-end; justify-content: flex-end;
}
.e-con.af-hero::before,
.e-con.af-pagehero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 20, 36, .94) 0%, rgba(10, 20, 36, .78) 45%, rgba(15, 42, 79, .35) 100%),
		linear-gradient(0deg, rgba(10, 20, 36, .7) 0%, rgba(10, 20, 36, 0) 45%);
}
.af-hero h1.elementor-heading-title { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.03em; max-width: 14ch; }
.af-hero .af-lead { color: rgba(255, 255, 255, .8); max-width: 58ch; font-size: clamp(17px, 1.5vw, 20px); }
.e-con.af-hero__actions { --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; gap: 14px; }

.e-con.af-stats {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(40px, 6vw, 72px);
	border-top: 1px solid rgba(255, 255, 255, .18);
	gap: 0;
}
.e-con.af-stat { --padding-top: 26px; --padding-right: 24px; --padding-bottom: 0px; --padding-left: 0px; gap: 0; }
.e-con.af-stat + .af-stat { --padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.af-stat__num .elementor-heading-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; color: var(--af-white); }
.af-stat__label { color: rgba(255, 255, 255, .7); font-size: 14.5px; line-height: 1.45; margin-top: 6px; }
.af-section--steel .af-stat__num .elementor-heading-title,
.af-stats--light .af-stat__num .elementor-heading-title { color: var(--af-navy); }
.af-stats--light { border-top-color: var(--af-line) !important; }
.af-stats--light .af-stat + .af-stat { border-left-color: var(--af-line); }
.af-stats--light .af-stat__label { color: var(--af-muted); }

/* Page hero (subpages) */
.e-con.af-pagehero {
	position: relative;
	isolation: isolate;
	--padding-top: clamp(72px, 9vw, 120px);
	--padding-bottom: clamp(56px, 7vw, 88px);
	background-color: var(--af-navy);
	background-size: cover;
	background-position: center;
}
.af-pagehero h1.elementor-heading-title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.af-pagehero .af-lead { color: rgba(255, 255, 255, .78); max-width: 62ch; }

.af-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.af-breadcrumbs a { color: rgba(255, 255, 255, .85); }
.af-breadcrumbs a:hover,
.af-breadcrumbs a:focus,
.af-breadcrumbs a:active { color: var(--af-accent); }
.af-breadcrumbs__sep { opacity: .4; }

/* ==========================================================================
   Cards
   ========================================================================== */
.e-con.af-card {
	position: relative;
	background: var(--af-white);
	border: 1px solid var(--af-line);
	border-radius: var(--af-radius);
	overflow: hidden;
	color: var(--af-text);
	gap: 0;
	transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease), border-color .35s var(--af-ease);
}
a.e-con.af-card:visited,
a.e-con.af-card:active,
a.e-con.af-card:focus { color: var(--af-text); }
a.e-con.af-card:hover { transform: translateY(-6px); box-shadow: var(--af-shadow); border-color: transparent; color: var(--af-text); }
.af-card__img { overflow: hidden; }
.af-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--af-ease); }
a.e-con.af-card:hover .af-card__img img { transform: scale(1.05); }
.e-con.af-card__body { --padding-top: 28px; --padding-right: 28px; --padding-bottom: 30px; --padding-left: 28px; gap: 12px; }
.af-card__body h3.elementor-heading-title { font-size: 23px; }
.af-card__body .elementor-widget-text-editor { color: var(--af-muted); font-size: 16px; }
.af-card__more .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--af-blue);
}
.af-card__more .elementor-heading-title::after { content: "→"; transition: transform .3s var(--af-ease); }
a.e-con.af-card:hover .af-card__more .elementor-heading-title::after { transform: translateX(5px); }
.af-card__num .elementor-heading-title { font-size: 14px; letter-spacing: .14em; color: var(--af-accent); font-weight: 700; }

/* Image tiles with overlay label */
.e-con.af-tile {
	position: relative;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 300px;
	--justify-content: flex-end; justify-content: flex-end;
	--padding-top: 24px; --padding-right: 24px; --padding-bottom: 22px; --padding-left: 24px;
	background-size: cover;
	background-position: center;
	isolation: isolate;
	transition: transform .35s var(--af-ease);
}
.e-con.af-tile::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(0deg, rgba(10, 20, 36, .92) 0%, rgba(10, 20, 36, .25) 55%, rgba(10, 20, 36, .05) 100%);
	transition: background-color .35s var(--af-ease);
}
a.e-con.af-tile:hover { transform: translateY(-4px); }
a.e-con.af-tile:hover::before { background-color: rgba(42, 100, 180, .35); }
.af-tile h3.elementor-heading-title { color: var(--af-white); font-size: 20px; }
.af-tile__more .elementor-heading-title { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--af-accent); }

/* Feature (icon + text) */
.e-con.af-feature { gap: 10px; --padding-top: 28px; --padding-right: 28px; --padding-bottom: 28px; --padding-left: 28px; border-radius: var(--af-radius); background: var(--af-white); border: 1px solid var(--af-line); }
.af-feature h3.elementor-heading-title { font-size: 20px; }
.af-feature .elementor-widget-text-editor { color: var(--af-muted); font-size: 16px; }
.af-feature__num .elementor-heading-title {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--af-blue-soft); color: var(--af-blue);
	font-size: 16px; font-weight: 800; letter-spacing: 0;
}
.af-section--dark .af-feature,
.af-section--navy .af-feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.af-section--dark .af-feature .elementor-widget-text-editor,
.af-section--navy .af-feature .elementor-widget-text-editor { color: rgba(255, 255, 255, .68); }
.af-section--dark .af-feature__num .elementor-heading-title,
.af-section--navy .af-feature__num .elementor-heading-title { background: rgba(242, 106, 27, .14); color: var(--af-accent); }

/* Check list (Elementor icon list) */
.af-checklist .elementor-icon-list-items { display: grid; gap: 12px; }
.af-checklist--cols .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.af-checklist .elementor-icon-list-item { display: flex !important; align-items: flex-start !important; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.af-checklist .elementor-icon-list-icon {
	display: inline-grid !important; place-items: center;
	width: 24px; height: 24px; flex: none; top: 0 !important; border-radius: 50%;
	background: var(--af-blue-soft);
	padding: 0 !important;
}
.af-checklist .elementor-icon-list-icon svg { width: 11px !important; height: 11px !important; fill: var(--af-blue) !important; }
.af-checklist .elementor-icon-list-text { padding-left: 0 !important; align-self: flex-start !important; color: var(--af-text); }

.af-checklist strong {color:#5a6779}

/* Chips (industries / anchors) */
.af-chips .elementor-icon-list-items { display: flex !important; flex-wrap: wrap; gap: 10px; }
.af-chips .elementor-icon-list-item {
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 1px solid var(--af-line);
	border-radius: 999px;
	background: var(--af-white);
	font-family: var(--af-font-head);
	font-weight: 600;
	font-size: 15px;
}
.af-chips .elementor-icon-list-item::after { display: none !important; }
.af-chips .elementor-icon-list-icon svg { width: 16px !important; height: 16px !important; fill: var(--af-accent) !important; }
.af-chips .elementor-icon-list-text { padding-left: 8px !important; color: var(--af-ink); }
.af-chips a:hover .elementor-icon-list-text { color: var(--af-blue); }

/* Media */
.af-media img { width: 100%; border-radius: var(--af-radius); display: block; object-fit: cover; }
.af-media--tall img { aspect-ratio: 4 / 5; }
.af-media--wide img { aspect-ratio: 16 / 10; }
.af-sticky { position: sticky; top: 120px; }

.e-con.af-badge { --flex-direction: row; flex-direction: row;
	display: flex; --align-items: center; align-items: center; gap: 18px;
	padding: 20px; border-radius: var(--af-radius);
	background: var(--af-white); border: 1px solid var(--af-line);
}

/* Info box (side panel) */
.e-con.af-infobox {
	background: var(--af-navy);
	border-radius: var(--af-radius);
	--padding-top: 32px; --padding-right: 32px; --padding-bottom: 32px; --padding-left: 32px;
	gap: 14px;
	color: rgba(255, 255, 255, .78);
}
.af-infobox .elementor-heading-title { color: var(--af-white); }
.af-infobox h3.elementor-heading-title { font-size: 24px; }
.af-infobox .elementor-widget-text-editor { color: rgba(255, 255, 255, .75); font-size: 16px; }
.af-infobox .af-phone .elementor-heading-title { font-size: 26px; font-weight: 800; }
.af-infobox .af-phone a { color: var(--af-white); }
.af-infobox .af-phone a:visited { color: var(--af-white); }
.af-infobox .af-phone a:hover,
.af-infobox .af-phone a:focus,
.af-infobox .af-phone a:active { color: var(--af-accent); }

/* Rich text body */
.af-prose { font-size: 17px; }
.af-prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.6em 0 .6em; }
.af-prose h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.af-prose h2:first-child, .af-prose h3:first-child { margin-top: 0; }
.af-prose ul { padding-left: 1.2em; }
.af-prose li { margin-bottom: .35em; }
.af-prose li::marker { color: var(--af-accent); }

/* Steps */
.e-con.af-step { gap: 10px; --padding-top: 24px; border-top: 2px solid var(--af-line); }
.af-step .af-card__num .elementor-heading-title { font-size: 15px; }
.af-step h3.elementor-heading-title { font-size: 21px; }
.af-step .elementor-widget-text-editor { color: var(--af-muted); font-size: 16px; }
.af-section--dark .af-step,
.af-section--navy .af-step { border-top-color: rgba(255, 255, 255, .16); }
.af-section--dark .af-step .elementor-widget-text-editor,
.af-section--navy .af-step .elementor-widget-text-editor { color: rgba(255, 255, 255, .66); }

/* CTA band */
.e-con.af-cta {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--af-radius) * 1.4);
	background: linear-gradient(120deg, var(--af-navy) 0%, var(--af-navy-2) 60%, var(--af-blue) 130%);
	--padding-top: clamp(40px, 6vw, 72px); --padding-right: clamp(24px, 6vw, 72px);
	--padding-bottom: clamp(40px, 6vw, 72px); --padding-left: clamp(24px, 6vw, 72px);
	isolation: isolate;
}
.e-con.af-cta::after {
	content: "";
	position: absolute; right: -120px; top: -120px; z-index: -1;
	width: 420px; height: 420px; border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, .05);
}
.af-cta h2.elementor-heading-title { font-size: clamp(28px, 3.4vw, 42px); }
.af-cta .elementor-widget-text-editor { color: rgba(255, 255, 255, .78); }
.e-con.af-cta__actions { --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; gap: 14px; }

/* Gallery (Elementor Basic Gallery) */
.af-gallery .gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 0 !important; }
.af-gallery--3 .gallery { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.af-gallery--2 .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.af-gallery .gallery-item { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.af-gallery .gallery-icon { overflow: hidden; border-radius: var(--af-radius-sm); }
.af-gallery .gallery-item img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
	border: 0 !important;
	transition: transform .5s var(--af-ease), filter .3s var(--af-ease);
}
.af-gallery .gallery-item a:hover img { transform: scale(1.06); filter: brightness(1.05); }

.e-con.af-gallery-head { border-bottom: 1px solid var(--af-line); padding-bottom: 14px; }
.af-gallery-head h2.elementor-heading-title { font-size: 24px; }

/* Contact cards */
.e-con.af-contact-card {
	--flex-direction: row; flex-direction: row !important;
	--align-items: center; align-items: center;
	gap: 18px;
	--padding-top: 22px; --padding-right: 24px; --padding-bottom: 22px; --padding-left: 24px;
	border: 1px solid var(--af-line);
	border-radius: var(--af-radius);
	background: var(--af-white);
}
.af-contact-card .elementor-icon { font-size: 20px !important; width: 52px; height: 52px; display: inline-grid !important; place-items: center; border-radius: 12px; background: var(--af-blue-soft); }
.af-contact-card .elementor-icon svg { fill: var(--af-blue) !important; width: 20px; height: 20px; }
.af-contact-card .af-contact-card__label .elementor-heading-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--af-muted); font-weight: 600; }
.af-contact-card .af-contact-card__value .elementor-heading-title { font-size: 19px; font-weight: 700; }
.af-contact-card .af-contact-card__value a { color: var(--af-ink); }
.af-contact-card .af-contact-card__value a:visited { color: var(--af-ink); }
.af-contact-card .af-contact-card__value a:hover,
.af-contact-card .af-contact-card__value a:focus,
.af-contact-card .af-contact-card__value a:active { color: var(--af-accent); }

.af-map iframe { border-radius: var(--af-radius); filter: grayscale(.35) contrast(1.05); display: block; }

/* Form */
.e-con.af-panel {
	background: var(--af-white);
	border: 1px solid var(--af-line);
	border-radius: calc(var(--af-radius) * 1.3);
	box-shadow: var(--af-shadow);
	--padding-top: clamp(28px, 4vw, 44px); --padding-right: clamp(22px, 4vw, 44px);
	--padding-bottom: clamp(28px, 4vw, 44px); --padding-left: clamp(22px, 4vw, 44px);
}
.af-form { display: grid; gap: 18px; }
.af-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.af-field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--af-ink); }
.af-field input,
.af-field textarea {
	width: 100%;
	padding: 14px 16px;
	font: 400 16px/1.5 var(--af-font-body);
	color: var(--af-text);
	background: var(--af-steel);
	border: 1px solid var(--af-line);
	border-radius: var(--af-radius-sm);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.af-field input:focus,
.af-field textarea:focus { outline: none; background: var(--af-white); border-color: var(--af-blue); box-shadow: 0 0 0 4px rgba(42, 100, 180, .14); }
/* Contact Form 7 */
.wpcf7 { --af-error: #c0321f; --af-error-bg: #fff4f2; --af-success: #17633a; }
.wpcf7 form { margin: 0; }
.wpcf7-form-control-wrap { display: block; position: relative; }

.af-check { font-size: 13.5px; line-height: 1.55; color: var(--af-muted); }
.af-check .wpcf7-list-item { display: block; margin: 0; }
.af-check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.af-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--af-accent); flex: none; }

/* Field-level errors */
.wpcf7-not-valid-tip {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--af-error);
}
.wpcf7-not-valid-tip::before {
	content: "!";
	display: inline-grid; place-items: center; flex: none;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--af-error); color: var(--af-white);
	font-size: 11px; font-weight: 700;
}
.af-field input.wpcf7-not-valid,
.af-field textarea.wpcf7-not-valid { border-color: var(--af-error); background: var(--af-error-bg); }
.af-field input.wpcf7-not-valid:focus,
.af-field textarea.wpcf7-not-valid:focus { box-shadow: 0 0 0 4px rgba(192, 50, 31, .14); }
.af-check .wpcf7-not-valid-tip { margin-left: 30px; }

/* Form-level message (validation summary, send failure, spam) */
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 0;
	border-left: 4px solid var(--af-error);
	border-radius: var(--af-radius-sm);
	background: var(--af-error-bg);
	color: var(--af-error);
	font-size: 15px;
	font-weight: 500;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--af-error); }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output { display: none; }

/* Submit + spinner */
.af-form__submit { position: relative; }
.af-form__submit .wpcf7-spinner {
	position: absolute; right: 18px; top: 50%;
	margin: -12px 0 0;
	background-color: rgba(255, 255, 255, .85);
}
.wpcf7 form.submitting .af-btn { opacity: .75; cursor: progress; }

/* Success state: the message replaces the form */
.af-form__success { display: none; text-align: center; padding: 12px 0 4px; }
.af-form__success:focus { outline: none; }
.wpcf7 form.sent .af-form { display: none; }
.wpcf7 form.sent .af-form__success { display: block; animation: af-fade-in .4s var(--af-ease) both; }
.af-form__success-icon {
	display: inline-grid; place-items: center;
	width: 72px; height: 72px; margin-bottom: 18px;
	border-radius: 50%;
	background: #e7f6ec;
}
.af-form__success-icon::after {
	content: "";
	width: 24px; height: 13px;
	margin-top: -6px;
	border-left: 4px solid var(--af-success);
	border-bottom: 4px solid var(--af-success);
	transform: rotate(-45deg);
}
.af-form__success h3 { font-size: 26px; margin-bottom: 10px; }
.af-form__success p { margin: 0 auto 8px; max-width: 42ch; color: var(--af-muted); }
.af-form__success a { font-weight: 600; }
.af-panel.is-sent > .elementor-widget:not(.elementor-widget-shortcode) { display: none; }
@keyframes af-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.e-con.af-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.af-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.af-stat:nth-child(3) { --padding-left: 0px; border-left: 0; }
	.e-con.af-stat:nth-child(n+3) { --padding-top: 20px; }
}

@media (max-width: 1024px) {
	:root { --af-header-h: 72px; }
	.af-topbar { display: none; }
	/* backdrop-filter would make the fixed mobile menu position relative to the navbar */
	.af-navbar { backdrop-filter: none; background: var(--af-white); }
	.af-navbar__inner { min-height: 72px; }
	.af-logo__img { height: 42px; }

	.af-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 46px; height: 46px; padding: 0 11px;
		background: var(--af-steel); border: 0; border-radius: 10px; cursor: pointer; color: var(--af-ink);
	}
	.af-burger span:not(.screen-reader-text) { display: block; height: 2px; background: var(--af-ink); border-radius: 2px; transition: transform .3s var(--af-ease), opacity .3s; }
	.af-header.is-open .af-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.af-header.is-open .af-burger span:nth-child(2) { opacity: 0; }
	.af-header.is-open .af-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.af-nav {
		position: fixed;
		inset: var(--af-header-h) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 20px var(--af-gutter) 40px;
		background: var(--af-white);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--af-ease), transform .25s var(--af-ease), visibility .25s;
	}
	.admin-bar .af-nav { top: calc(var(--af-header-h) + 46px); }
	.af-header.is-open .af-nav { opacity: 1; visibility: visible; transform: none; }
	.af-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.af-menu > li { border-bottom: 1px solid var(--af-line); }
	.af-menu a { padding: 16px 4px; font-size: 18px; }
	.af-menu > .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.af-menu .sub-menu {
		position: static; min-width: 0; padding: 0 0 12px 12px;
		border: 0; box-shadow: none; background: none;
		opacity: 1; visibility: visible; transform: none;
		display: none;
	}
	.af-menu .is-expanded > .sub-menu { display: block; }
	.af-menu .sub-menu a { padding: 10px 4px; font-size: 16px; }
	.af-nav__cta { align-self: stretch; padding: 16px; }

	.e-con.af-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.af-split,
	.e-con.af-split--wide { grid-template-columns: minmax(0, 1fr); }
	.af-sticky { position: static; }
	.af-footer__grid { grid-template-columns: 1fr 1fr; }
	.af-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.e-con.af-grid-2,
	.e-con.af-grid-3,
	.e-con.af-grid-4 { grid-template-columns: minmax(0, 1fr); }
	.e-con.af-hero { min-height: 0; }
	.e-con.af-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.af-stat { --padding-right: 12px; }
	.e-con.af-stat + .af-stat { --padding-left: 16px; }
	.e-con.af-stat:nth-child(3) { --padding-left: 0px; }
	.af-checklist--cols .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); }
	.af-gallery .gallery,
	.af-gallery--3 .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.af-form__row { grid-template-columns: 1fr; }
	.e-con.af-tile { min-height: 240px; }
	.af-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
	.af-hero__actions .elementor-widget-button,
	.af-cta__actions .elementor-widget-button { width: 100%; }
	.af-hero__actions .elementor-button,
	.af-cta__actions .elementor-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================= 
   MENU DOLNE NA MOBILNYCH
============================================= */

@media (max-width: 768px) {

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #0c1728;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        z-index: 9999;
        border-top: 1px solid #2f465e;
        padding: 10px 0;
    }

    .mobile-bottom-bar .bar-item {
        flex: 1;
        text-align: center;
        font-family: 'Inter', sans-serif;
        font-size: 10px;
        line-height: 1.1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* Pionowe kreski między kolumnami */
    .mobile-bottom-bar .bar-item:not(:last-child) {
        border-right: 1px solid #2f465e;
    }

    /* Zawartość kolumn */
    .mobile-bottom-bar .bar-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: #e7eef8;
    }

    /* Ikony */
    .mobile-bottom-bar .bar-link > img {
        width: 18px;
        height: 18px;
        display: inline-block;
        object-fit: contain;
        filter: brightness(0) saturate(100%) invert(95%)
                sepia(8%) saturate(450%) hue-rotate(180deg);
    }

    /* Etykiety */
    .mobile-bottom-bar .bar-label {
        color: #e7eef8;
        font-size: 10px;
        margin-top: 8px;
        display: inline-block;
    }

    /* Odstęp pod treścią strony */
    .mobile-bottom-bar-spacer {
        display: block;
        height: 60px;
    }
}

/* Ukrycie paska na większych ekranach */
@media (min-width: 769px) {

    .mobile-bottom-bar,
    .mobile-bottom-bar-spacer {
        display: none;
    }
}