/* FACTECH — lekka strona tymczasowa, bez zewnętrznych fontów, skryptów i bibliotek */
:root {
  color-scheme: dark;
  --bg: #151b25;
  --bg-bottom: #0f141d;
  --surface: rgba(255, 255, 255, .035);
  --border: rgba(194, 211, 230, .12);
  --text: #f4f7fc;
  --muted: #a6b3c4;
  --faint: #7e8ca0;
  --teal: #19d9eb;
  --blue: #539aff;
  --violet: #c147f6;
  --focus: #9be7ff;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #161d27;
  color: var(--text);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(38, 209, 232, .37); color: #fff; }
/* Wariant v15: wyłącznie subtelne poświaty z koncepcji v10.
   Brak siatki, obwodów elektronicznych i linii technologicznych.
   Warstwa zaczyna się pod nagłówkiem, dzięki czemu GIF nie tworzy prostokąta. */
.background-effects {
  position: absolute;
  inset: 96px 0 auto;
  height: 880px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(94px);
  opacity: .55;
}
.ambient--cyan {
  top: -220px;
  left: calc(50% - 690px);
  width: 610px;
  height: 560px;
  background: rgba(13,157,199,.15);
}
.ambient--violet {
  top: -220px;
  right: calc(50% - 700px);
  width: 640px;
  height: 560px;
  background: rgba(157,62,235,.13);
}
@media (max-width: 680px) {
  .background-effects { top: 77px; height: 760px; }
  .ambient { filter: blur(80px); opacity: .48; }
  .ambient--cyan {
    top: -155px;
    left: -255px;
    width: 450px;
    height: 430px;
  }
  .ambient--violet {
    top: -135px;
    right: -255px;
    width: 450px;
    height: 430px;
  }
}

.site-wrap { position: relative; z-index: 1; max-width: calc(var(--max) + 72px); padding: 0 36px; margin: 0 auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 96px; }
.header-logo { display: block; width: 164px; height: auto; max-width: 100%; }
.brand { display: inline-flex; align-items: center; font-size: 17px; font-weight: 760; letter-spacing: .105em; text-decoration: none; white-space: nowrap; max-width: 168px; }
.brand-mark { display: inline-block; width: 13px; height: 13px; margin-right: 9px; border: 3px solid var(--teal); border-radius: 50%; border-right-color: var(--violet); border-bottom-color: var(--blue); transform: rotate(-24deg); }
.brand-dot { color: var(--teal); }
.site-status { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 100px; color: #b9c8d7; font-size: 12px; font-weight: 550; letter-spacing: .015em; }
.status-dot { width: 7px; height: 7px; background: #35dfd6; border-radius: 50%; box-shadow: 0 0 0 4px rgba(53,223,214,.09); }
.hero { text-align: center; max-width: 880px; padding: 54px 0 86px; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 11px; font-weight: 720; letter-spacing: .23em; color: #9eb2c8; margin-bottom: 12px; }
.eyebrow-line { width: 26px; height: 1px; background: linear-gradient(90deg, transparent, #4b9bed); }
.eyebrow-line:last-child { transform: rotate(180deg); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(33px, 4.25vw, 58px); letter-spacing: -.044em; font-weight: 735; line-height: 1.14; margin: 17px 0 23px; }
.gradient-text { background: linear-gradient(95deg, var(--teal) 3%, var(--blue) 45%, var(--violet) 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; max-width: 700px; margin: 0 auto 17px; color: #c0ccdb; }
.hero-support { font-size: 15px; color: var(--muted); line-height: 1.85; max-width: 710px; margin: 0 auto; }
.hero-support strong { color: #e4f0ff; font-weight: 650; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 54px; border-radius: 11px; padding: 13px 23px; text-decoration: none; font-size: 15px; font-weight: 670; line-height: 1.25; transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button svg, .contact-strip svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.button-primary { background: linear-gradient(110deg,#20d9ea 0%, #5aa3fa 100%); color: #081923; box-shadow: 0 12px 32px rgba(26, 162, 209, .14); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(26, 162, 209, .23); }
.button-primary .button-arrow { width: 16px; }
.button-secondary { border: 1px solid rgba(182, 210, 238, .25); background: rgba(255,255,255,.02); color: #e7eef7; }
.button-secondary:hover { transform: translateY(-2px); border-color: rgba(126, 183, 234, .55); background: rgba(255,255,255,.05); }
.contact-copy { font-size: 13px; color: var(--faint); margin: 21px 0 0; }
.contact-copy a { color: #b8d7f6; text-decoration: none; border-bottom: 1px solid rgba(184,215,246,.35); }
.contact-copy a:hover { color: #fff; border-color: currentColor; }
.services { padding: 45px 0 76px; border-top: 1px solid var(--border); }
.section-heading { text-align: center; margin-bottom: 30px; }
.section-kicker, .contact-strip-kicker { color: #69d8e6; font-size: 11px; font-weight: 750; letter-spacing: .19em; }
.section-heading h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.034em; margin: 7px 0 2px; }
.section-heading p { color: var(--muted); font-size: 15px; margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
/* Kafelki kompetencji: subtelny efekt premium po najechaniu kursorem.
   Efekt jest dekoracyjny: kafelki nie sugerują klikalności, bo nie prowadzą do podstron. */
.service-card {
  --card-accent: 25, 217, 235;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 29px 26px 29px;
  transition: transform .34s cubic-bezier(.2,.75,.25,1),
              border-color .34s ease,
              background-color .34s ease,
              box-shadow .34s ease;
}
.service-card:nth-child(2) { --card-accent: 83, 154, 255; }
.service-card:nth-child(3) { --card-accent: 193, 71, 246; }
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 67px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--card-accent), 1), rgba(var(--card-accent), .24));
  opacity: .85;
  transition: width .42s cubic-bezier(.2,.75,.25,1), opacity .3s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  left: -30px;
  width: 310px;
  height: 255px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 45% 40%, rgba(var(--card-accent), .15), transparent 69%);
  transition: opacity .34s ease;
}
.service-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  margin-bottom: 19px;
  transition: transform .34s cubic-bezier(.2,.75,.25,1),
              border-color .3s ease,
              box-shadow .3s ease;
}
.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  transition: transform .34s cubic-bezier(.2,.75,.25,1);
}
.service-icon--teal { color: #3fe0e4; background: rgba(23,191,209,.08); }
.service-icon--blue { color: #81b5ff; background: rgba(75,139,255,.08); }
.service-icon--violet { color: #c78aff; background: rgba(160,84,236,.09); }
.service-card h3 {
  font-size: 17px;
  font-weight: 690;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color .3s ease;
}
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; transition: color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--card-accent), .55);
    background-color: rgba(255,255,255,.056);
    box-shadow: 0 24px 46px -24px rgba(0,0,0,.78),
                0 16px 36px -29px rgba(var(--card-accent), .75),
                inset 0 1px 0 rgba(255,255,255,.065);
  }
  .service-card:hover::before { width: calc(100% - 52px); opacity: 1; }
  .service-card:hover::after { opacity: 1; }
  .service-card:hover .service-icon {
    transform: translateY(-3px);
    border-color: rgba(var(--card-accent), .44);
    box-shadow: 0 0 23px rgba(var(--card-accent), .16);
  }
  .service-card:hover .service-icon svg { transform: scale(1.09); }
  .service-card:hover h3 { color: #fff; }
  .service-card:hover p { color: #d1dce9; }
}

.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 33px; margin-bottom: 53px; border: 1px solid rgba(112,170,218,.2); border-radius: 16px; background: linear-gradient(105deg, rgba(25,189,203,.055), rgba(93,96,207,.075)); }
.contact-strip p { font-size: 22px; letter-spacing: -.025em; font-weight: 650; line-height: 1.3; margin: 5px 0 0; }
.contact-strip a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: #70dfea; font-size: 17px; font-weight: 680; }
.contact-strip a:hover { color: #dcfaff; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; padding: 26px 0 32px; border-top: 1px solid var(--border); font-size: 12px; color: var(--faint); }
.footer-company { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.footer-company strong { font-size: 13px; font-weight: 650; color: #c4cedb; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 23px; }
.footer-links a { text-decoration: none; color: #a8b7c8; }
.footer-links a:hover { color: #fff; }
.footer-copyright { grid-column: 1 / -1; font-size: 11px; }
.sr-only { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
/* Dodatkowa podstrona: prywatność */
.policy-main { max-width: 820px; padding: 75px 0 100px; margin: 0 auto; }
.policy-main h1 { margin-top: 8px; }
.policy-main h2 { margin: 35px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.policy-main p, .policy-main li { color: #c0ccdb; }
.policy-main a { color: #8bd9f6; }
.policy-main ul { padding-left: 25px; }
.policy-back { color: #8bd9f6; text-decoration: none; font-size: 14px; }
.policy-back:hover { color: #fff; }
@media (max-width: 900px) {
  .hero { padding-bottom: 68px; }
  .services-grid { gap: 11px; }
  .service-card { padding: 24px 19px; }
  .service-card h3 { font-size: 16px; }
  .contact-strip { padding: 23px; }
}
@media (max-width: 680px) {
  .site-wrap { padding: 0 21px; }
  .site-header { min-height: 77px; }
  .brand { font-size: 14px; max-width: 132px; }
  .header-logo { width: 130px; }
  .brand-mark { width: 10px; height: 10px; border-width: 2px; margin-right: 6px; }
  .site-status { padding: 7px 9px; font-size: 10px; gap: 7px; }
  .status-dot { width: 6px; height: 6px; }
  .hero { padding: 28px 0 65px; }
  h1 { font-size: clamp(31px, 7vw, 42px); margin: 12px 0 20px; }
  .desktop-break { display: none; }
  .hero-lead { font-size: 16px; line-height: 1.7; }
  .hero-support { font-size: 14px; line-height: 1.7; }
  .hero-actions { gap: 11px; margin-top: 27px; }
  .button { width: 100%; max-width: 360px; min-height: 54px; }
  .services { padding: 41px 0 54px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 22px; }
  .service-card .service-icon { margin-bottom: 12px; }
  .service-card h3 { margin-bottom: 6px; }
  .contact-strip { flex-direction: column; align-items: flex-start; gap: 17px; padding: 24px; margin-bottom: 34px; }
  .contact-strip a { font-size: 16px; }
  .site-footer { grid-template-columns: 1fr; gap: 17px; padding: 24px 0 29px; }
  .footer-copyright { grid-column: 1; }
  .policy-main { padding: 52px 0 75px; }
}
@media (max-width: 360px) {
  .site-wrap { padding: 0 16px; }
  .site-status { max-width: 177px; font-size: 9px; }
  .brand { letter-spacing: .04em; max-width: 106px; }
  .header-logo { width: 105px; }
  .eyebrow { letter-spacing: .15em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .service-card:hover, .service-card:hover .service-icon, .service-card:hover .service-icon svg { transform: none; }
}

/* Oryginalne animowane logo FACTECH na jednolitym grafitowym tle. */
.site-header {
  position: relative;
  isolation: isolate;
}
.header-logo {
  background: transparent;
  mix-blend-mode: lighten;
}


@media (hover: none), (pointer: coarse) {
 .service-card { --scroll-progress:0; transform:translateY(calc(-8px * var(--scroll-progress))); border-color:rgba(var(--card-accent),calc(.13 + .42 * var(--scroll-progress))); background-color:rgba(255,255,255,calc(.025 + .031 * var(--scroll-progress))); box-shadow:0 0 calc(28px * var(--scroll-progress)) rgba(var(--card-accent),.18); transition:none; }
 .service-card::before { width:calc(67px + (100% - 119px) * var(--scroll-progress)); opacity:calc(.85 + .15 * var(--scroll-progress)); transition:none; }
 .service-card::after { opacity:var(--scroll-progress); transition:none; }
 .service-card .service-icon { transform:translateY(calc(-3px * var(--scroll-progress))); border-color:rgba(var(--card-accent),calc(.1 + .34 * var(--scroll-progress))); box-shadow:0 0 calc(23px * var(--scroll-progress)) rgba(var(--card-accent),.16); transition:none; }
 .service-card .service-icon svg { transform:scale(calc(1 + .09 * var(--scroll-progress))); transition:none; }
}
@media (prefers-reduced-motion:reduce) { .service-card { --scroll-progress:0 !important; } }
