@charset "UTF-8";
/* GPT-UAI / home page visual refresh / 2026-07-28
   Loaded only by index.html. Existing copy and document structure remain unchanged. */

:root {
  --home-night: #06111f;
  --home-night-2: #0b2037;
  --home-blue: #173f68;
  --home-gold: #e4c48f;
  --home-gold-bright: #f4ddb0;
  --home-mint: #68e0d1;
  --home-paper: #f5f7fa;
  --home-card: rgba(255,255,255,.78);
  --home-border: rgba(18,48,78,.12);
  --home-shadow: 0 24px 70px rgba(6,17,31,.14);
}

body {
  background: var(--home-paper);
}

/* Premium glass navigation */
.site-header {
  background: rgba(5,15,27,.78);
  border-bottom: 1px solid rgba(228,196,143,.2);
  box-shadow: 0 10px 35px rgba(3,10,18,.16);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.site-header__bar { min-height: 74px; }
.brand {
  color: #fff;
  font-size: clamp(1.08rem,1rem + .55vw,1.48rem);
  letter-spacing: .055em;
}
.brand:hover { color: var(--home-gold-bright); }
.brand span { color: var(--home-gold); }
.nav-toggle {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.nav-toggle:hover {
  color: var(--home-night);
  background: var(--home-gold-bright);
  border-color: transparent;
}

/* Hero: atmospheric, layered and animated without heavy video */
.hero--ai {
  isolation: isolate;
  align-items: start;
  min-height: calc(100svh - 72px);
  padding-top: clamp(5.5rem,10vh,8.5rem);
  padding-bottom: clamp(9rem,14vh,11rem);
  background-position: 52% 44%;
  background-size: cover;
}
.hero--ai::before {
  background:
    linear-gradient(105deg,rgba(3,10,18,.97) 0%,rgba(6,18,32,.91) 40%,rgba(13,38,63,.66) 72%,rgba(12,35,58,.74) 100%),
    radial-gradient(70% 70% at 80% 15%,rgba(104,224,209,.16),transparent 62%),
    radial-gradient(55% 55% at 12% 16%,rgba(228,196,143,.2),transparent 65%);
}
.hero--ai::after {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
  background:
    radial-gradient(circle at 72% 24%,rgba(104,224,209,.18) 0 1px,transparent 2px),
    radial-gradient(circle at 32% 68%,rgba(244,221,176,.25) 0 1px,transparent 2px),
    linear-gradient(115deg,transparent 25%,rgba(104,224,209,.1) 48%,transparent 65%);
  background-size: 74px 74px,110px 110px,100% 100%;
  filter: blur(.1px);
  animation: homeAurora 18s ease-in-out infinite alternate;
}
.hero__canvas { opacity: .78; mix-blend-mode: screen; }
.hero--ai .wrap { max-width: 1280px; }
.hero--ai .eyebrow {
  margin-bottom: 1.8rem;
  padding: .72rem 1.25rem;
  color: var(--home-gold-bright);
  border-color: rgba(244,221,176,.38);
  background: rgba(5,17,31,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 12px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  animation: homeHeroIn .8s .08s both;
}
.hero--ai h1 {
  font-size: clamp(3.7rem,10.8vw,8.8rem);
  line-height: .88;
  letter-spacing: -.07em;
  margin-bottom: 1.9rem;
  text-shadow: 0 20px 55px rgba(0,0,0,.35);
  animation: homeHeroIn .9s .16s both, uaiSheen 12s 1.2s linear infinite;
}
.hero--ai .hero__sub {
  font-size: clamp(1.03rem,.9rem + .7vw,1.46rem);
  letter-spacing: .015em;
  animation: homeHeroIn .9s .24s both;
}
.hero--ai .hero__sub--gold {
  color: var(--home-gold-bright);
  max-width: 52ch;
}
.hero--ai h2 {
  margin-top: clamp(2.1rem,4vw,3.5rem);
  margin-bottom: 1.25rem;
  color: #fff;
  animation: homeHeroIn .9s .32s both;
}
.hero--ai .btn-row {
  gap: .85rem;
  margin: 0 auto 2rem;
  animation: homeHeroIn .9s .4s both;
}
.hero--ai .btn {
  min-height: 56px;
  padding-inline: 1.55rem;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.hero--ai .btn:not(.btn--glass) {
  background: linear-gradient(135deg,#f5e1ba,#d8b272);
}
.hero--ai .btn--glass {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
}
.hero__grid {
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 1rem;
  max-width: 1120px;
  margin-top: 2.2rem;
  animation: homeHeroIn 1s .48s both;
}
.hero__card {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13),0 18px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(13px);
}
.hero__card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -45px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(104,224,209,.26),transparent 68%);
  transition: transform .5s ease;
}
.hero__card:hover {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(244,221,176,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 24px 56px rgba(0,0,0,.25);
}
.hero__card:hover::before { transform: scale(1.45); }
.hero__card span { color: var(--home-gold); }
.hero__card strong { font-size: 1.05rem; }
.ticker {
  bottom: 24px;
  border-color: rgba(244,221,176,.17);
  background: rgba(3,10,18,.46);
  backdrop-filter: blur(9px);
}
.ticker ul { animation-duration: 42s; }
.ticker li { color: rgba(255,255,255,.78); }

/* Clean section rhythm and sculpted background depth */
main > .section {
  overflow: clip;
  padding-block: clamp(5rem,8vw,8.5rem);
}
main > .section::before {
  content: "";
  position: absolute;
  width: clamp(230px,30vw,520px);
  aspect-ratio: 1;
  right: -14%;
  top: -18%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,rgba(104,224,209,.11),transparent 68%);
  filter: blur(2px);
  animation: homeFloat 14s ease-in-out infinite alternate;
}
main > .section:nth-of-type(even)::before {
  left: -16%;
  right: auto;
  background: radial-gradient(circle,rgba(228,196,143,.18),transparent 68%);
}
main > .section > .wrap { position: relative; z-index: 1; }
.section__head {
  max-width: 24ch;
  /* Fix 2026-07-29: bez auto-marginesu blok nagłówka zostawał przy lewej krawędzi,
     więc w sekcjach .center napis był przesunięty w lewo względem tekstu pod nim. */
  margin-bottom: 2.5rem;
  font-size: clamp(2rem,1.1rem + 3vw,4.25rem);
  letter-spacing: -.045em;
}
.section__head::after {
  width: 94px;
  height: 5px;
  background: linear-gradient(90deg,var(--home-gold),var(--home-mint));
  box-shadow: 0 0 24px rgba(104,224,209,.26);
}

.center .section__head,
.section__head.center {
  margin-left: auto;
  margin-right: auto;
}

.checkbox input[type=checkbox],
.field input[type=checkbox] {
  min-height: 0;
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.lead {
  font-size: clamp(1.15rem,1rem + .5vw,1.42rem);
  color: #3b5167;
}

/* Fix 2026-07-29b: akapity i listy byly ograniczone do ok. 65 znakow, wiec na szerokich
   ekranach po prawej stronie zostawal duzy pusty pas obok naglowkow i zdjec. */
main > .section > .wrap > p,
main > .section > .wrap > ul:not([class]),
main > .section > .wrap > ol:not([class]),
main > .section > .wrap > h3,
main > .section > .wrap > h4,
main > .section > .wrap > .lead {
  max-width: min(100%,54rem);
}

/* Social strip */
main > .section:nth-of-type(2) {
  padding-block: 2.6rem;
  color: #fff;
  background: linear-gradient(110deg,#081726,#123454 58%,#0b233a);
}
main > .section:nth-of-type(2)::before { display: none; }
main > .section:nth-of-type(2) .section__head {
  margin-bottom: 1.35rem;
  max-width: none;
  color: #fff;
  font-size: clamp(1.25rem,1rem + 1vw,1.8rem);
}
main > .section:nth-of-type(2) .social a {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.17);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
main > .section:nth-of-type(2) .social a:hover {
  color: var(--home-night);
  background: var(--home-gold-bright);
}

/* Motion-first bento video gallery */
main > .section:nth-of-type(3) {
  color: #d9e6f2;
  background:
    radial-gradient(70% 80% at 0 0,rgba(104,224,209,.1),transparent 62%),
    radial-gradient(60% 70% at 100% 100%,rgba(228,196,143,.12),transparent 62%),
    #061321;
}
main > .section:nth-of-type(3) .section__head { color: #fff; }
main > .section:nth-of-type(3) .grid--3 {
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}
main > .section:nth-of-type(3) .video {
  grid-column: span 4;
  min-height: 100%;
  border-radius: 24px;
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(150deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  box-shadow: 0 20px 55px rgba(0,0,0,.2);
}
main > .section:nth-of-type(3) .video:nth-child(1) { grid-column: span 8; }
main > .section:nth-of-type(3) .video:nth-child(2) { grid-column: span 4; }
main > .section:nth-of-type(3) .video:nth-child(6) { grid-column: span 8; }
/* Fix 2026-07-29b: ostatni rzad mozaiki wideo konczyl sie pustym miejscem po jednej karcie,
   dlatego przy 9 filmach dwie ostatnie karty dziela miedzy siebie pelna szerokosc rzedu. */
@media (min-width: 981px) {
  main > .section:nth-of-type(3) .video:nth-child(8):nth-last-child(2),
  main > .section:nth-of-type(3) .video:nth-child(9):last-child { grid-column: span 6; }
}
main > .section:nth-of-type(3) .video__frame { aspect-ratio: 16/10; }
main > .section:nth-of-type(3) .video:nth-child(1) .video__frame,
main > .section:nth-of-type(3) .video:nth-child(6) .video__frame { aspect-ratio: 16/8; }
main > .section:nth-of-type(3) .video__title { color: #fff; }
main > .section:nth-of-type(3) .video__desc { color: #b8cbde; }
main > .section:nth-of-type(3) .video:hover { transform: translateY(-8px); }

/* Editorial story sections */
#gpt { background: linear-gradient(180deg,#f6f8fb,#edf3f8); }
#gpt .grid--2 { margin: 3.4rem 0 2rem; gap: 1.1rem; }
#gpt .grid--2 img {
  height: clamp(390px,48vw,650px);
  object-fit: cover;
}
#uai { background: #fff; }
#sfh {
  color: #dbe7f2;
  background:
    radial-gradient(70% 55% at 100% 0,rgba(104,224,209,.12),transparent 67%),
    linear-gradient(145deg,#081827,#123653 72%,#0a2136);
}
#sfh h2,#sfh h3,#sfh strong { color: #fff; }
#sfh p,#sfh li { color: #dbe7f2; }
#sfh .theo {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(244,221,176,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
#sfh .theo__pl { color: #fff; }
#sfh .theo__grc { color: var(--home-gold-bright); }
#fundamenty { background: linear-gradient(180deg,#f5f7fa,#fff); }
#informacje {
  color: #dae7f3;
  background:
    radial-gradient(60% 60% at 5% 0,rgba(228,196,143,.13),transparent 65%),
    #071522;
}
#informacje h2,#informacje h3,#informacje strong { color: #fff; }
#informacje p,#informacje li { color: #d5e2ee; }
#informacje .pdf-list a {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
#informacje .pdf-list a:hover {
  color: var(--home-night);
  background: var(--home-gold-bright);
}
#informacje .grid img { background: rgba(255,255,255,.06); }
#partnerzy { background: #fff; }

/* Images become designed surfaces instead of illustrations dropped into the page */
main > .section img:not(.lightbox__img) {
  border-radius: clamp(18px,2.2vw,32px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--home-shadow);
  transition: transform .7s cubic-bezier(.2,.75,.25,1),filter .7s ease,box-shadow .7s ease;
}
#uai .wrap > img,#sfh .wrap > img,#fundamenty .wrap > img {
  width: 100%;
  height: clamp(360px,52vw,680px);
  margin-top: clamp(2.5rem,5vw,5rem);
  object-fit: cover;
}
#uai .wrap > img { object-position: center 44%; }
#sfh .wrap > img { object-position: center 48%; }
#fundamenty .wrap > img { object-position: center; }
main > .section img:not(.lightbox__img):hover {
  transform: scale(1.018) translateY(-4px);
  filter: saturate(1.07) contrast(1.02);
  box-shadow: 0 32px 85px rgba(6,17,31,.2);
}

/* Quotes, forms and action cards */
.theo {
  margin-block: clamp(2.5rem,5vw,4.5rem);
  padding: clamp(1.6rem,4vw,3rem);
  border: 1px solid rgba(228,196,143,.38);
  border-left: 5px solid var(--home-gold);
  border-radius: 26px;
  background: linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.66));
  box-shadow: 0 22px 65px rgba(6,17,31,.1);
  backdrop-filter: blur(16px);
}
.theo::before {
  font-size: clamp(5rem,11vw,9rem);
  color: var(--home-gold);
  opacity: .34;
}
.form {
  position: relative;
  max-width: 760px;
  margin-top: 2rem;
  padding: clamp(1.5rem,4vw,3rem);
  border: 1px solid rgba(23,63,104,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 30px 85px rgba(6,17,31,.14);
  backdrop-filter: blur(16px);
}
.form::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg,rgba(228,196,143,.72),rgba(104,224,209,.42),transparent 72%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.field input:not([type=checkbox]),.field textarea,.form input:not([type=checkbox]),.form textarea {
  min-height: 54px;
  border-color: rgba(23,63,104,.16);
  background: rgba(248,250,252,.94);
}
.field input:focus,.field textarea:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 4px rgba(104,224,209,.18);
}
.form .btn {
  min-width: 220px;
  background: linear-gradient(135deg,#0d3151,#1f5b86);
  box-shadow: 0 15px 34px rgba(13,49,81,.22);
}
.pdf-list { gap: .75rem; }
.pdf-list a { border-radius: 16px; }
.partners { gap: .9rem; }
.partners a {
  min-height: 52px;
  padding-inline: 1.5rem;
  border-radius: 16px;
}

/* CTA and footer */
main > .section:nth-last-of-type(2) {
  min-height: 440px;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(115deg,rgba(4,14,25,.93),rgba(14,52,82,.70)),
    url("../img/87c966c2-f5a5-466c-adfb-3050bd9c89eb.jpg") !important;
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}
main > .section:nth-last-of-type(2) h2 { font-size: clamp(2.1rem,5vw,4.2rem); }
main > .section:nth-last-of-type(2) .btn {
  min-height: 58px;
  padding-inline: 2rem;
  color: var(--home-night) !important;
  font-weight: 700;
}
.site-footer { padding-top: 4.2rem; }
.site-footer::before {
  height: 2px;
  background: linear-gradient(90deg,transparent,var(--home-gold),var(--home-mint),transparent);
}

/* Keep content visible; motion adds depth instead of hiding text */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 700px) {
    .section__head,.theo,.video,.pdf-list li,.form {
      animation-name: homeScrollLift;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
    main > .section img:not(.lightbox__img) {
      animation: homeImageDrift 1ms linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}

@keyframes homeHeroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes homeAurora {
  0% { transform: translate3d(-2%,-1%,0) rotate(-1deg); }
  100% { transform: translate3d(3%,2%,0) rotate(1deg); }
}
@keyframes homeFloat {
  from { transform: translate3d(0,0,0) scale(.96); }
  to { transform: translate3d(-8%,10%,0) scale(1.08); }
}
@keyframes homeScrollLift {
  from { transform: translateY(30px) scale(.985); }
  to { transform: none; }
}
@keyframes homeImageDrift {
  from { transform: scale(1.035) translateY(18px); }
  to { transform: scale(1) translateY(0); }
}

@media (max-width: 980px) {
  .hero--ai { min-height: auto; }
  .hero__card { grid-column: span 6; }
  main > .section:nth-of-type(3) .video,
  main > .section:nth-of-type(3) .video:nth-child(1),
  main > .section:nth-of-type(3) .video:nth-child(2),
  main > .section:nth-of-type(3) .video:nth-child(6) { grid-column: span 6; }
  main > .section:nth-of-type(3) .video__frame,
  main > .section:nth-of-type(3) .video:nth-child(1) .video__frame,
  main > .section:nth-of-type(3) .video:nth-child(6) .video__frame { aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
  .site-header__bar { min-height: 64px; }
  .hero--ai {
    padding-top: 4.7rem;
    padding-bottom: 7.5rem;
    background-position: 61% center;
  }
  .hero--ai h1 {
    font-size: clamp(3rem,18vw,4.6rem);
    line-height: .92;
  }
  .hero--ai .hero__sub { font-size: 1rem; }
  .hero--ai .btn-row { width: 100%; }
  .hero__grid { gap: .7rem; }
  .hero__card {
    grid-column: span 6;
    min-height: 118px;
    padding: 1rem;
    border-radius: 18px;
  }
  .hero__card strong { font-size: .9rem; }
  .ticker { bottom: 14px; }
  main > .section { padding-block: 4.2rem; }
  .section__head { font-size: clamp(1.8rem,9vw,2.6rem); }
  main > .section:nth-of-type(3) .grid--3 { grid-template-columns: 1fr; }
  main > .section:nth-of-type(3) .video,
  main > .section:nth-of-type(3) .video:nth-child(1),
  main > .section:nth-of-type(3) .video:nth-child(2),
  main > .section:nth-of-type(3) .video:nth-child(6) { grid-column: 1; }
  #gpt .grid--2 { grid-template-columns: 1fr; }
  #gpt .grid--2 img { height: min(125vw,580px); }
  #uai .wrap > img,#sfh .wrap > img,#fundamenty .wrap > img { height: min(78vw,430px); }
  .form { border-radius: 22px; }
  .form .btn { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--ai::after,.hero--ai h1,.hero--ai .eyebrow,.hero--ai .hero__sub,
  .hero--ai h2,.hero--ai .btn-row,.hero__grid,.ticker ul,main > .section::before,
  .section__head,.theo,.video,.pdf-list li,.form,main > .section img { animation: none !important; }
}

/* GPT-UAI hero spacing adjustment 2026-07-29 */
body.gpt-motion-home .hero--ai {
  padding-bottom: 2rem;
}
body.gpt-motion-home .hero--ai > .ticker {
  margin-top: 24px;
  bottom: 8px;
}
@media (max-width: 640px) {
  body.gpt-motion-home .hero--ai {
    padding-bottom: 1.5rem;
  }
  body.gpt-motion-home .hero--ai > .ticker {
    margin-top: 18px;
    bottom: 6px;
  }
}
