/* AE Projekt — arkusz strony, odświeżenie „wersja 2027” w duchu minimalizmu (ADR-010) na kanwie oryginału (ADR-009).
   Marka: #1368A2; Rajdhani 700 / Maven Pro / Raleway; treść 1:1. */

/* ---------- Fonty (lokalnie, licencja SIL OFL) ---------- */
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/maven-pro-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/maven-pro-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: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/rajdhani-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/rajdhani-700-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: 'Raleway'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/raleway-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; }

/* ---------- Tokeny (ADR-010: marka #1368A2, chłodna szarość, minimalizm) ---------- */
:root {
  --ae-blue: #1368A2;          /* akcent marki (oryginał) */
  --ae-blue-600: #0F5A8E;
  --ae-blue-300: #6FB2E3;      /* poświata na ciemnym */
  --ae-blue-50: #EEF5FB;
  --ae-dark: #2A2D37;          /* ciemna kolumna „Nasze atuty” (oryginał) */
  --ae-ink: #27303A;           /* tekst i nagłówki */
  --ae-muted: #5D6875;
  --ae-surface: #F3F6F9;
  --ae-line: #E1E7ED;
  --ae-white: #FFFFFF;
  --ae-r: 24px;
  --ae-pill: 999px;
  --ae-shadow-s: 0 1px 2px rgba(11, 39, 64, .06), 0 8px 24px -12px rgba(11, 39, 64, .12);
  --ae-shadow-h: 0 14px 34px -14px rgba(19, 104, 162, .45);
  --ae-font-head: 'Rajdhani', 'Arial Narrow', sans-serif;
  --ae-font-text: 'Maven Pro', system-ui, sans-serif;
  --ae-font-nav: 'Raleway', system-ui, sans-serif;
  --ae-wrap: 1240px;
  --ae-pad: clamp(20px, 4vw, 48px);
  --ae-header: 84px;
  --ae-ease: cubic-bezier(.2, .7, .2, 1);
  --ae-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3a1 1 0 0 1 1.4 0l6 6a1 1 0 0 1 0 1.4l-6 6a1 1 0 1 1-1.4-1.4l4.3-4.3H4a1 1 0 1 1 0-2h13.5l-4.3-4.3a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E");
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ae-header) + 16px); }
body { margin: 0; font-family: var(--ae-font-text); font-size: 16.5px; line-height: 1.8; color: var(--ae-ink); background: var(--ae-white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-top: var(--ae-header); }
body.has-over { padding-top: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ae-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ae-blue-600); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
/* Justowanie wszystkich akapitów treści na każdej szerokości (uwaga klienta 2026-11-05, runda 9); dzielenie wyrazów tam,
   gdzie przeglądarka ma słownik PL (Safari, Firefox) — mniej „rzek” w wąskich kolumnach. Bez justowania: hasło hero,
   etykiety i dane kontaktowe (pojedyncze linie). Bloki wyśrodkowane: ostatnia linia na środku */
main p, .ae-legal li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ae-center p { text-align-last: center; }
.ae-hero p, .ae-infocard p, .ae-eyebrow { text-align: inherit; hyphens: manual; -webkit-hyphens: manual; }
h1, h2, h3, h4 { font-family: var(--ae-font-nav); font-weight: 600; line-height: 1.2; color: var(--ae-ink); margin: 0 0 .5em; letter-spacing: -.015em; }
/* Wszystkie nagłówki Raleway 600, hero 500; duże tytuły ciaśniej. Rajdhani tylko jako akcent marki: etykiety, numeracja, liczba „15” */
.ae-title, .ae-h2, .ae-pagehead h1, .ae-legal h1, .ae-trio .ae-trio__years h2 { letter-spacing: -.02em; }
::selection { background: var(--ae-blue); color: #fff; }
:focus-visible { outline: 3px solid var(--ae-blue-300); outline-offset: 3px; border-radius: 6px; }
.ae-skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ae-blue); color: #fff; padding: 10px 18px; border-radius: var(--ae-pill); }
.ae-skip:focus { top: 12px; color: #fff; }
.ae-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ae-wrap { max-width: calc(var(--ae-wrap) + 2 * var(--ae-pad)); margin: 0 auto; padding: 0 var(--ae-pad); }
.ae-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.ae-section--tight { padding-top: 0; }
.ae-section--surface { background: var(--ae-surface); }

/* Nagłówek sekcji — do lewej, bez ozdobników */
.ae-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 clamp(28px, 4vw, 48px); }
.ae-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ae-font-head); font-weight: 700; font-size: 15px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ae-blue); margin: 0 0 18px; }
.ae-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.ae-h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; margin-bottom: .55em; }
.ae-divider { border: 0; border-top: 1px solid var(--ae-line); margin: 32px 0; }

/* ---------- Przyciski (pigułki ze strzałką) ---------- */
.ae-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--ae-font-text); font-size: 15.5px; font-weight: 500;
  line-height: 1; padding: 17px 24px 17px 28px; border-radius: var(--ae-pill); background: var(--ae-blue); color: #fff; border: 1.5px solid var(--ae-blue);
  transition: background .3s var(--ae-ease), color .3s var(--ae-ease), border-color .3s var(--ae-ease), transform .3s var(--ae-ease), box-shadow .3s var(--ae-ease); }
.ae-btn::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ae-arrow) center / contain no-repeat; mask: var(--ae-arrow) center / contain no-repeat;
  transition: transform .3s var(--ae-ease); }
.ae-btn:hover { background: var(--ae-blue-600); border-color: var(--ae-blue-600); color: #fff; transform: translateY(-2px); box-shadow: var(--ae-shadow-h); }
.ae-btn:hover::after { transform: translateX(3px); }
.ae-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.ae-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ae-ink); box-shadow: none; }
.ae-btn--link { padding: 0; background: none; border: 0; color: #fff; font-weight: 700; }
.ae-btn--link:hover { background: none; transform: none; box-shadow: none; color: #fff; }

/* ---------- Nagłówek ---------- */
.ae-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--ae-header); background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--ae-line);
  transition: background .35s var(--ae-ease), border-color .35s; }
.ae-header__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }
.ae-logo { position: relative; display: block; flex: none; }
.ae-logo img { width: 164px; height: auto; transition: opacity .35s; }
.ae-logo .ae-logo__w { position: absolute; inset: 0; opacity: 0; }
.ae-nav { display: flex; align-items: center; gap: 28px; }
.ae-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.ae-nav__item { position: relative; }
.ae-nav__link { display: flex; align-items: center; gap: 6px; font-family: var(--ae-font-nav); font-weight: 500; font-size: 15.5px; line-height: 1.3; color: var(--ae-ink);
  padding: 10px 0; background: none; border: 0; cursor: pointer; position: relative; transition: color .25s; }
.ae-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ae-ease); }
.ae-nav__link:hover, .ae-nav__item:focus-within > .ae-nav__link { color: var(--ae-blue); }
.ae-nav__link:hover::after, .ae-nav__link[aria-current="page"]::after, .ae-nav__item.is-current > .ae-nav__link::after { transform: scaleX(1); }
.ae-nav__link[aria-current="page"], .ae-nav__item.is-current > .ae-nav__link { color: var(--ae-blue); }
.ae-nav__chev { width: 9px; height: 9px; fill: currentColor; opacity: .7; transition: transform .25s; }
.ae-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: -14px; min-width: 300px; background: #fff;
  border: 1px solid var(--ae-line); border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(20, 30, 40, .28); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ae-ease), visibility .2s; }
.ae-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ae-nav__item:hover > .ae-sub, .ae-nav__item:focus-within > .ae-sub, .ae-nav__item.is-open > .ae-sub { opacity: 1; visibility: visible; transform: none; }
.ae-nav__item:hover .ae-nav__chev, .ae-nav__item.is-open .ae-nav__chev { transform: rotate(180deg); }
.ae-sub a { display: block; font-family: var(--ae-font-nav); font-weight: 500; font-size: 15px; line-height: 1.35; color: var(--ae-ink); padding: 11px 14px; border-radius: 10px; }
.ae-sub a:hover, .ae-sub a[aria-current="page"] { background: var(--ae-surface); color: var(--ae-blue); }
/* Kontakt w nagłówku — dyskretnie, za kreską */
.ae-hcontact { display: flex; align-items: center; gap: 20px; padding-left: 28px; border-left: 1px solid var(--ae-line); }
.ae-hcontact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.2; color: var(--ae-muted); white-space: nowrap; transition: color .2s; }
.ae-hcontact a:hover { color: var(--ae-blue); }
.ae-hcontact svg { width: 13px; height: 13px; fill: currentColor; opacity: .75; }
@media (min-width: 1025px) and (max-width: 1320px) { .ae-hcontact a:last-child { display: none; } }
@media (min-width: 1025px) and (max-width: 1160px) { .ae-hcontact { display: none; } }
.ae-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ae-line); border-radius: 50%; background: #fff; color: var(--ae-ink); cursor: pointer; align-items: center; justify-content: center; }
.ae-burger svg { width: 17px; height: 17px; fill: currentColor; }
.ae-burger .ae-burger__close { display: none; }
.ae-header.is-menu .ae-burger__open { display: none; }
.ae-header.is-menu .ae-burger__close { display: block; }

/* Nagłówek nad wideo (strona główna) — przezroczysty, biały po przewinięciu */
.ae-header--over:not(.is-scrolled):not(.is-menu) { background: transparent; border-bottom-color: rgba(255, 255, 255, .16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ae-header--over:not(.is-scrolled):not(.is-menu) .ae-logo__d { opacity: 0; }
.ae-header--over:not(.is-scrolled):not(.is-menu) .ae-logo__w { opacity: 1; }
@media (min-width: 1025px) {
  .ae-header--over:not(.is-scrolled) .ae-nav__link { color: #fff; }
  .ae-header--over:not(.is-scrolled) .ae-hcontact { border-left-color: rgba(255, 255, 255, .25); }
  .ae-header--over:not(.is-scrolled) .ae-hcontact a { color: rgba(255, 255, 255, .78); }
  .ae-header--over:not(.is-scrolled) .ae-hcontact a:hover { color: #fff; }
}
.ae-header--over:not(.is-scrolled):not(.is-menu) .ae-burger { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }

@media (max-width: 1024px) {
  :root { --ae-header: 72px; }
  .ae-logo img { width: 150px; }
  .ae-burger { display: inline-flex; }
  .ae-nav { position: fixed; inset: var(--ae-header) 0 0 0; background: #fff; display: flex; padding: 12px var(--ae-pad) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .ae-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } /* backdrop-filter tworzy blok zawierający dla position:fixed → panel menu przyklejałby się do nagłówka */
  .ae-header.is-menu { background: #fff; }
  .ae-header.is-menu .ae-nav { opacity: 1; visibility: visible; transform: none; }
  .ae-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .ae-nav__item { border-bottom: 1px solid var(--ae-line); }
  .ae-nav__link { width: 100%; justify-content: space-between; font-family: var(--ae-font-nav); font-weight: 500; font-size: 20px; padding: 16px 2px; }
  .ae-nav__link::after { display: none; }
  .ae-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .ae-hcontact { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 0 0; border-left: 0; }
  .ae-hcontact a { font-size: 17px; color: var(--ae-ink); }
  .ae-hcontact svg { width: 15px; height: 15px; color: var(--ae-blue); }
  .ae-nav__chev { width: 14px; height: 14px; }
  .ae-sub { position: static; box-shadow: none; border: 0; padding: 0 0 14px; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .ae-nav__item:hover > .ae-sub { display: none; }
  .ae-nav__item.is-open > .ae-sub { display: block; }
  .ae-sub a { font-size: 16px; padding: 12px 14px; background: var(--ae-surface); margin-top: 6px; }
  .ae-nav__item:hover .ae-nav__chev { transform: none; }
  .ae-nav__item.is-open .ae-nav__chev { transform: rotate(180deg); }
  body.is-menu { overflow: hidden; }
}

/* ---------- Hero strony głównej ---------- */
.ae-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #1b2229; isolation: isolate; }
.ae-hero__media, .ae-hero__media video, .ae-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ae-hero__media { z-index: -2; }
.ae-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 19, 24, .72) 0%, rgba(14, 19, 24, .48) 55%, rgba(14, 19, 24, .3) 100%); }
.ae-hero__in { position: relative; width: 100%; padding-top: calc(var(--ae-header) + 40px); padding-bottom: 80px; }
.ae-hero__title { font-family: var(--ae-font-nav); font-weight: 500; font-size: clamp(44px, 4.6vw, 66px); line-height: 1.12; letter-spacing: -.025em; color: #fff; margin: 0 0 20px; }
.ae-rotator { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ae-rotator > span { grid-area: 1 / 1; white-space: nowrap; transform: translateY(130%); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
.ae-rotator > span.is-on { transform: none; }
.ae-rotator > span.is-off { transform: translateY(-130%); }
@media (max-width: 560px) { .ae-rotator > span { white-space: normal; max-width: 11ch; } }
.ae-hero__sub { font-family: var(--ae-font-nav); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; margin: 0 0 36px; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.ae-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ae-hero__in > * { animation: ae-up .9s var(--ae-ease) both; }
.ae-hero__in > :nth-child(2) { animation-delay: .1s; } .ae-hero__in > :nth-child(3) { animation-delay: .2s; }
@keyframes ae-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Nagłówek podstron (tytuł na białym + kadr zdjęcia) ---------- */
.ae-pagehead { padding: clamp(48px, 6vw, 84px) 0 0; }
.ae-pagehead h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 clamp(28px, 3.5vw, 44px); max-width: 24ch; animation: ae-up .9s var(--ae-ease) both; }
.ae-pagehead__img { border-radius: var(--ae-r); overflow: hidden; aspect-ratio: 32 / 9; background: var(--ae-surface); animation: ae-up .9s .1s var(--ae-ease) both; }
.ae-pagehead__img picture, .ae-pagehead__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ae-pagehead + .ae-section { padding-top: clamp(48px, 6vw, 84px); }
.ae-pagehead + .ae-section--surface { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 680px) { .ae-pagehead__img { aspect-ratio: 16 / 9; } }

/* ---------- Karty usług (podstrony oferty) ---------- */
.ae-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: ae-card; }
.ae-cards--4 { grid-template-columns: repeat(4, 1fr); }
.ae-card { position: relative; counter-increment: ae-card; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-r); padding: 36px 32px 34px;
  transition: transform .4s var(--ae-ease), box-shadow .4s var(--ae-ease), border-color .4s; }
.ae-card::before { content: counter(ae-card, decimal-leading-zero); position: absolute; top: 32px; right: 32px; font-family: var(--ae-font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .12em; color: #A7B1BB; }
.ae-card:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow-s); border-color: rgba(19, 104, 162, .25); }
.ae-card__icon { width: 64px; height: 64px; margin-bottom: 28px; object-fit: contain; object-position: left center; }
.ae-card h2, .ae-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 14px; }
.ae-card p { margin: 0; color: var(--ae-muted); font-size: 15.5px; line-height: 1.75; }
.ae-cards--4 .ae-card { padding: 32px 28px 30px; }
@media (max-width: 1180px) { .ae-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .ae-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .ae-cards, .ae-cards--4 { grid-template-columns: 1fr; } .ae-card { padding: 30px 24px 28px; } }

/* ---------- „O Nas” (strona główna) ---------- */
.ae-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ae-about__media { position: relative; }
.ae-about__media picture { display: block; }
.ae-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ae-r); }
.ae-about > :last-child > p { color: var(--ae-muted); }
.ae-ibox { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 22px 24px; border: 1px solid var(--ae-line); border-radius: var(--ae-r); background: #fff;
  transition: box-shadow .4s var(--ae-ease), border-color .4s; }
.ae-ibox + .ae-ibox { margin-top: 12px; }
.ae-ibox:hover { box-shadow: var(--ae-shadow-s); border-color: rgba(19, 104, 162, .25); }
.ae-ibox img, .ae-ibox > span { width: 56px; height: 56px; object-fit: contain; display: block; }
.ae-ibox h3 { font-size: 19px; line-height: 1.3; margin: 4px 0 8px; }
.ae-ibox h3 a { color: inherit; }
.ae-ibox h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* cała karta klikalna */
.ae-ibox:hover h3 a { color: var(--ae-blue); }
.ae-ibox p { font-size: 15.5px; line-height: 1.75; color: var(--ae-muted); margin: 0; }
@media (max-width: 900px) { .ae-about { grid-template-columns: 1fr; } .ae-about__media { order: 2; margin-top: 24px; } }
@media (max-width: 480px) { .ae-ibox { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Pasy logotypów (marquee) ---------- */
.ae-marquee { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--ae-pad)); padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ae-marquee__track { display: flex; width: max-content; }
.ae-marquee__set { display: flex; gap: 18px; padding-right: 18px; }
.ae-marquee.is-run .ae-marquee__track { animation: ae-marquee var(--ae-dur, 40s) linear infinite; }
.ae-marquee--rev.is-run .ae-marquee__track { animation-direction: reverse; }
.ae-marquee:hover .ae-marquee__track, .ae-marquee:focus-within .ae-marquee__track { animation-play-state: paused; }
@keyframes ae-marquee { to { transform: translateX(calc(-1 * var(--ae-shift, 50%))); } }
.ae-marquee:not(.is-run) { -webkit-mask-image: none; mask-image: none; margin: 0; }
.ae-marquee:not(.is-run) .ae-marquee__track { width: auto; }
.ae-marquee:not(.is-run) .ae-marquee__set { flex-wrap: wrap; padding: 0; }
.ae-logo-card { flex: 0 0 236px; margin: 0; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-r); padding: 26px 22px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; min-height: 184px; transition: border-color .35s, box-shadow .35s, transform .35s var(--ae-ease); }
.ae-logo-card:hover { border-color: rgba(19, 104, 162, .3); box-shadow: var(--ae-shadow-s); transform: translateY(-3px); }
.ae-logo-card__img { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; }
.ae-logo-card img { max-width: 150px; max-height: 92px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s, transform .4s var(--ae-ease); }
.ae-logo-card:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.ae-logo-card figcaption { font-family: var(--ae-font-head); font-weight: 700; font-size: 13.5px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--ae-muted); }
@media (max-width: 680px) { .ae-logo-card { flex-basis: 190px; min-height: 160px; } }

/* ---------- Realizacje (mapa) ---------- */
.ae-map { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ae-map__fig { position: relative; margin: 0; }
.ae-map__svg { width: 100%; height: auto; overflow: visible; }
.ae-map__land path { fill: #E1E8EE; stroke: #FFFFFF; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ae-map__pt { cursor: pointer; }
.ae-map__pt circle { transform-box: fill-box; transform-origin: center; }
.ae-map__pt circle.dot { fill: var(--ae-blue); stroke: #fff; stroke-width: 1.6; transition: fill .2s, transform .25s var(--ae-ease); }
.ae-map__pt circle.halo { fill: var(--ae-blue); opacity: 0; transition: opacity .2s; }
.ae-map__pt:hover circle.dot, .ae-map__pt:focus circle.dot, .ae-map__pt.is-on circle.dot { fill: var(--ae-blue-600); transform: scale(1.25); }
.ae-map__pt.is-on circle.halo { opacity: .14; }
.ae-map__pt:focus { outline: none; }
.ae-map__pt:focus-visible circle.halo { opacity: .3; }
.ae-map__card { background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-r); padding: 30px 30px 32px; min-height: 236px; }
.ae-map__card .ae-map__logo { width: 93px; margin-bottom: 18px; }
.ae-map__card h3 { font-size: 21px; line-height: 1.25; margin: 0 0 8px; }
.ae-map__card p { font-size: 15px; line-height: 1.7; margin: 0; color: var(--ae-muted); }
.ae-map__gal { position: relative; margin-top: 18px; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ae-surface); }
.ae-map__gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.ae-map__gal img.is-on { opacity: 1; }
.ae-map__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94);
  color: var(--ae-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--ae-shadow-s); z-index: 1; transition: background .2s, color .2s; }
.ae-map__nav:hover { background: var(--ae-blue); color: #fff; }
.ae-map__nav svg { width: 14px; height: 14px; fill: currentColor; }
.ae-map__nav--prev { left: 12px; } .ae-map__nav--next { right: 12px; }
.ae-map__more { display: none; }
@media (max-width: 900px) {
  .ae-map { grid-template-columns: 1fr; }
  .ae-map__more { display: block; margin-top: 18px; }
  .ae-map__more summary { cursor: pointer; font-family: var(--ae-font-head); font-weight: 700; font-size: 18px; color: var(--ae-blue); padding: 10px 0; }
  .ae-map__list { columns: 2; column-gap: 24px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
  .ae-map__list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--ae-line); }
  .ae-map__list button { all: unset; cursor: pointer; display: block; }
  .ae-map__list button:focus-visible { outline: 3px solid var(--ae-blue); }
}
@media (max-width: 480px) { .ae-map__list { columns: 1; } .ae-map__card { padding: 26px 22px 28px; } }

/* ---------- Kontakt (mapa Google + niebieska karta) ---------- */
.ae-contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ae-contact > :first-child > p:not(.ae-eyebrow) { color: var(--ae-muted); }
.ae-contact--home { grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.ae-contact--home .ae-gmap-wrap, .ae-contact--home .ae-gmap { height: 100%; min-height: 420px; }
.ae-infocard { color: #fff; border-radius: var(--ae-r); padding: 40px 40px 42px; background: var(--ae-blue); display: flex; flex-direction: column; justify-content: center; }
.ae-infocard h2 { color: #fff; font-size: 23px; line-height: 1.2; margin-bottom: 26px; }
.ae-infocard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ae-infocard li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.ae-infocard .ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.ae-infocard .ic svg { width: 18px; height: 18px; fill: #fff; }
.ae-infocard h3 { color: rgba(255, 255, 255, .72); font-family: var(--ae-font-text); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; margin: 0 0 2px; }
.ae-infocard p, .ae-infocard a { color: #fff; margin: 0; font-size: 16.5px; line-height: 1.5; }
.ae-infocard a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* Mapa Google w tonacji strony (bez klucza API — filtr CSS na osadzeniu) */
.ae-gmap { width: 100%; border: 0; display: block; border-radius: var(--ae-r); min-height: 420px; background: #e9edf0; filter: grayscale(1) contrast(1.02) brightness(1.03); }
/* zasłona mapy do czasu zgody na cookies Google (Universy Cookies → Funkcjonalne) */
.ae-gmap-wrap { position: relative; }
.ae-gmap__zgoda { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; text-align: center; }
.ae-gmap__zgoda p { max-width: 34ch; margin: 0; color: var(--ae-muted); text-align: center; hyphens: manual; }
.ae-gmap__zgoda a { font-size: 15px; }
.ae-gmap-wrap.is-on .ae-gmap__zgoda { display: none; }
@media (max-width: 900px) { .ae-contact, .ae-contact--home { grid-template-columns: 1fr; } .ae-contact--home .ae-gmap-wrap, .ae-contact--home .ae-gmap { min-height: 320px; } }
@media (max-width: 480px) { .ae-infocard { padding: 30px 24px 32px; } }

/* ---------- O Nas: 15 lat, atuty, zespół ---------- */
.ae-center { max-width: 780px; margin: 0 auto; text-align: center; }
.ae-center p { color: var(--ae-muted); }
.ae-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 60px); }
.ae-trio > div { border-radius: var(--ae-r); padding: 40px 36px 42px; }
.ae-trio__years { background: var(--ae-blue); color: #fff; }
.ae-trio__years .num { display: flex; align-items: baseline; gap: 12px; font-family: var(--ae-font-head); font-weight: 700; color: #fff; margin: 0 0 20px; line-height: .85; }
.ae-trio__years .num b { font-size: clamp(88px, 9vw, 120px); }
.ae-trio__years .num span { font-size: 32px; opacity: .8; }
.ae-trio .ae-trio__years h2 { color: #fff; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 0; }
.ae-trio__dark { background: var(--ae-dark); color: rgba(255, 255, 255, .72); }
.ae-trio__dark h2 { color: #fff; }
.ae-trio__light { background: var(--ae-surface); }
.ae-trio__light p { color: var(--ae-muted); }
.ae-trio .ic { width: 44px; height: 44px; margin: 0 0 26px; }
.ae-trio__dark .ic { fill: #fff; } .ae-trio__light .ic { fill: var(--ae-blue); }
.ae-trio h2 { font-size: 21px; margin-bottom: 14px; }
.ae-trio p { font-size: 15.5px; line-height: 1.85; }
.ae-trio .ae-btn--link { margin-top: 18px; }
@media (max-width: 960px) { .ae-trio { grid-template-columns: 1fr; } }

/* ---------- Strony prawne ---------- */
.ae-legal { max-width: 860px; margin: 0 auto; }
.ae-legal h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--ae-line); }
.ae-legal h2 { font-size: 21px; margin: 40px 0 12px; }
.ae-legal p, .ae-legal li { font-size: 16px; line-height: 1.85; }
.ae-legal ol, .ae-legal ul { padding-left: 1.4em; margin: 0 0 1.2em; }
.ae-legal li { margin-bottom: .5em; padding-left: .2em; }
.ae-legal li::marker { color: var(--ae-blue); font-weight: 700; }
.ae-legal ol ol { list-style: lower-alpha; margin: .6em 0 .4em; }
.ae-legal li > p { margin: .6em 0 0; }
.prawne__przypis { margin-top: 32px; padding: 20px 24px; border-radius: 18px; background: var(--ae-surface); font-size: 14.5px !important; color: var(--ae-muted); }

/* ---------- Stopka ---------- */
.ae-footer { position: relative; background: var(--ae-blue); color: rgba(255, 255, 255, .8); padding: clamp(56px, 7vw, 80px) 0 28px; font-size: 14.5px; line-height: 1.7; }
.ae-footer a { color: #fff; transition: opacity .2s; }
.ae-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ae-footer__top { display: grid; grid-template-columns: 1fr 1fr 1.5fr .9fr; gap: 32px clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ae-footer__logo { width: 160px; }
.ae-footer__label { margin: 0 0 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ae-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ae-footer__list b { font-weight: 500; color: #fff; }
.ae-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 22px; padding-right: 48px; }
.ae-footer__copy { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
@media (max-width: 1024px) { .ae-footer__top { grid-template-columns: 1fr 1fr; } .ae-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ae-footer__top { grid-template-columns: 1fr; } }
/* Sygnet Universy (os/kernel/BRAND.md §Sygnet Universy) — U w kolorze stopki (currentColor), offsety do krawędzi treści */
.uni-sygnet-link { position: absolute; right: calc(max(0px, (100% - var(--ae-wrap) - 2 * var(--ae-pad)) / 2) + var(--ae-pad)); bottom: 28px;
  display: inline-flex; align-items: center; line-height: 0; color: #fff; }
.uni-sygnet { width: auto; height: 18px; fill: currentColor; opacity: .55; transition: opacity .2s ease; }
.uni-sygnet-link:hover .uni-sygnet, .uni-sygnet-link:focus-visible .uni-sygnet { opacity: 1; }
.uni-sygnet-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .uni-sygnet { transition: none; } }
.ae-wrpo { background: #fff; text-align: center; padding: 16px var(--ae-pad) 20px; font-size: 14px; line-height: 1.5; color: var(--ae-muted); }
.ae-wrpo p { margin: 0 0 8px; }
.ae-wrpo img { width: 620px; margin: 0 auto; }

/* ---------- Animacje wejścia ---------- */
.ae-reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ae-ease), transform .9s var(--ae-ease); transition-delay: var(--ae-delay, 0s); }
.ae-reveal.is-in { opacity: 1; transform: none; }
.ae-card.ae-reveal.is-in:hover { transform: translateY(-4px); }
.no-js .ae-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ae-reveal { opacity: 1; transform: none; }
  .ae-hero__media video { display: none; }
}
