﻿/* Inter variable font — self-hosted (latin + latin-ext only) */
/* latin-ext (Polish: ą ć ę ł ń ó ś ź ż) */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* latin */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ================================================================
   ROTECH GROUP — BASE STYLESHEET
   Plik: assets/css/base.css
   ----------------------------------------------------------------
   SEKCJE (Ctrl+F po nazwie żeby przejść):
   1. CSS VARIABLES        — kolory, czcionki, zaokrąglenia
   2. RESET                — box-sizing, marginesy
   3. NAV                  — pasek nawigacji
   4. ANIMATIONS           — fadeUp, pulse, [data-reveal]
   5. PAGE HERO            — nagłówek każdej podstrony
   6. SECTION              — kontenery sekcji treści
   7. CARDS                — karty produktowe / usługowe
   8. CTA BLOCK            — wezwanie do działania na dole sekcji
   9. BUTTONS              — przyciski
  10. FORMS                — pola formularzy
  11. FOOTER               — stopka wielokolumnowa
  12. SCROLL-TO-TOP        — przycisk powrotu na górę
  13. RESPONSIVE           — media queries (≤860px, ≤560px)
   ================================================================ */


/* ================================================================
   1. CSS VARIABLES
   ----------------------------------------------------------------
   Zmień tutaj, żeby zmodyfikować całą stronę naraz.
   Kolory profili (acc) zostają w plikach HTML każdego profilu.
   ================================================================ */
:root {
  /* Tła */
  --bg:  #060606;
  --bg2: #0d0d0d;
  --bg3: #111111;

  /* Zieleń (akcent globalny i logo) */
  --green:     #02C173;
  --green-dim: rgba(2, 193, 115, 0.10);
  --green-glow:rgba(2, 193, 115, 0.20);

  /* Akcent domyślny dla podstron bez własnego akcentu */
  --acc:     #02C173;
  --acc-dim: rgba(2, 193, 115, 0.10);
  --acc-glow:rgba(2, 193, 115, 0.20);

  /* Biele i przezroczystości */
  --white: #ffffff;
  --w70:   rgba(255, 255, 255, 0.70);
  --w45:   rgba(255, 255, 255, 0.75);
  --w15:   rgba(255, 255, 255, 0.20);

  /* Czcionka */
  --font: 'Inter', sans-serif;

  /* Zaokrąglenia */
  --r12: 12px;
  --r16: 16px;
  --r24: 24px;

  /* Easing animacji */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ================================================================
   2. RESET
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }


/* ================================================================
   3. NAV
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(6, 6, 6, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--w15);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav:not(.scrolled):hover {
  background: rgba(6, 6, 6, 0.72);
}

.nav.scrolled {
  background: rgba(6, 6, 6, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-logo span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

@keyframes nav-link-wave {
  0%   { background-position: 250% center; }
  44%  { background-position: -50% center; }
  45%  { background-position: 250% center; }
  89%  { background-position: -50% center; }
  90%  { background-position: 250% center; }
  100% { background-position: 250% center; }
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--w70);
  transition: color .2s;
  position: relative;
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: -7px -14px;
  border-radius: 50px;
  background: linear-gradient(90deg,
    rgba(2,193,115,0.07) 0%, rgba(2,193,115,0.07) 30%,
    rgba(160,255,214,0.13) 50%,
    rgba(2,193,115,0.07) 70%, rgba(2,193,115,0.07) 100%
  );
  background-size: 300% 100%;
  background-position: 250% center;
  box-shadow: inset 0 0 0 1.5px rgba(2,193,115,0);
  opacity: 0;
  transition: opacity .15s ease, box-shadow .15s ease;
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  opacity: 1;
  box-shadow: inset 0 0 0 1.5px rgba(2,193,115,0.5);
  animation: nav-link-wave 2.4s ease-in-out infinite;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #02C173 0%, #02C173 30%, #a0ffd6 50%, #02C173 70%, #02C173 100%
  );
  background-size: 300% 100%;
  background-position: 250% center;
  opacity: 0;
  transition: opacity .12s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active { color: var(--white); }

.nav-links a:focus-visible {
  outline: 2px solid #02C173;
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  opacity: 1;
  animation: nav-link-wave 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a:hover::before,
  .nav-links a:focus-visible::before,
  .nav-drop-btn:hover::before,
  .nav-drop-btn:focus-visible::before {
    animation: none !important;
    opacity: 0;
  }
  .nav-links a:hover::after,
  .nav-links a:focus-visible::after,
  .nav-drop-btn:hover::after {
    animation: none !important;
    opacity: 1;
    background: #02C173;
    background-position: center center;
  }
}

@media (max-width: 860px) {
  .nav-links a::before,
  .nav-drop-btn::before { display: none; }
}

/* Nav ITSM dropdown */
.nav-item-drop { position: relative; list-style: none; }
.nav-drop-btn {
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-size: 15px; font-weight: 700; line-height: 1; color: var(--w70);
  font-family: var(--font); display: flex; align-items: center; gap: 3px;
  transition: color .2s;
  position: relative;
}

.nav-drop-btn::before {
  content: '';
  position: absolute;
  inset: -7px -14px;
  border-radius: 50px;
  background: linear-gradient(90deg,
    rgba(2,193,115,0.07) 0%, rgba(2,193,115,0.07) 30%,
    rgba(160,255,214,0.13) 50%,
    rgba(2,193,115,0.07) 70%, rgba(2,193,115,0.07) 100%
  );
  background-size: 300% 100%;
  background-position: 250% center;
  box-shadow: inset 0 0 0 1.5px rgba(2,193,115,0);
  opacity: 0;
  transition: opacity .15s ease, box-shadow .15s ease;
}

.nav-drop-btn:hover::before,
.nav-drop-btn:focus-visible::before {
  opacity: 1;
  box-shadow: inset 0 0 0 1.5px rgba(2,193,115,0.5);
  animation: nav-link-wave 2.4s ease-in-out infinite;
}

.nav-drop-btn::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: calc(100% - 18px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #02C173 0%, #02C173 30%, #a0ffd6 50%, #02C173 70%, #02C173 100%
  );
  background-size: 300% 100%;
  background-position: 250% center;
  opacity: 0;
  transition: opacity .2s ease;
}

.nav-drop-btn:hover { color: var(--white); }

.nav-drop-btn:hover::after {
  opacity: 1;
  animation: nav-link-wave 2.4s ease-in-out infinite;
}
.nav-chev { transition: transform .2s; flex-shrink: 0; }
.nav-item-drop:hover .nav-chev,
.nav-item-drop.open  .nav-chev { transform: rotate(180deg); }
.nav-drop-panel {
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  position: absolute; top: calc(100% + 10px); left: -14px;
  background: rgba(13,13,13,0.97); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 6px 0; min-width: 196px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55); list-style: none; z-index: 200;
}
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 10px;
}
.nav-item-drop:hover .nav-drop-panel,
.nav-item-drop.open  .nav-drop-panel {
  visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.nav-drop-panel li a {
  display: block; padding: 9px 16px; font-size: 13px; color: var(--w70);
  transition: color .2s, background .2s; white-space: nowrap; border-bottom: none;
}
.nav-drop-panel li a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
@media (max-width: 860px) {
  .nav-drop-panel {
    display: none; visibility: visible; opacity: 1; transform: none;
    transition: none; pointer-events: auto;
    position: static; box-shadow: none; border: none; background: none; padding: 0 0 0 12px;
  }
  .nav-item-drop:hover .nav-drop-panel { display: none; }
  .nav-item-drop.open  .nav-drop-panel { display: block; }
  .nav-drop-btn { color: var(--w70); font-size: 15px; }
}

/* Nav actions — grupa przycisków po prawej */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-btn-incident {
  padding: 10px 22px;
  background: var(--green);
  color: var(--bg);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.nav-btn-incident:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(2,193,115,0.35); }

@media (max-width: 860px) {
  .nav-btn-incident { display: none; }
}

.nav-cta {
  padding: 10px 22px;
  background: var(--green);
  color: var(--bg);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(2, 193, 115, 0.35);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ================================================================
   4. ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);   }
  50%       { opacity: .5; transform: scale(1.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-12px); }
}

.anim-1 { animation: fadeUp .7s var(--ease) .1s both; }
.anim-2 { animation: fadeUp .7s var(--ease) .2s both; }
.anim-3 { animation: fadeUp .7s var(--ease) .3s both; }
.anim-4 { animation: fadeUp .7s var(--ease) .4s both; }
.anim-5 { animation: fadeUp .7s var(--ease) .5s both; }

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }


/* ================================================================
   5. PAGE HERO (nagłówek podstrony)
   ================================================================ */
.page-hero-wrap {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,6,0.72) 0%, rgba(6,6,6,0.94) 100%);
  pointer-events: none;
}
.page-hero-wrap .page-hero {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 140px 40px 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--acc);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: 18px;
  color: var(--w70);
  max-width: 600px;
  line-height: 1.7;
}

.acc { color: var(--acc); }


/* ================================================================
   6. SECTION (kontener treści)
   ================================================================ */
.section {
  padding: 80px 40px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--w70);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}


/* ================================================================
   7. CARDS (karty produktowe / usługowe)
   ================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg3);
  border: 1px solid var(--w15);
  border-radius: var(--r16);
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}

.product-card:hover {
  border-color: var(--acc-glow);
  transform: translateY(-4px);
}

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--acc-dim);
  border: 1px solid var(--acc-glow);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--acc);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-card h2,
.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.product-card p {
  font-size: 13px;
  color: var(--w70);
  line-height: 1.7;
}

/* Karty usług (uslugi.html) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  border: 2px solid var(--w15);
  border-radius: var(--r24);
  overflow: visible;
  clip-path: inset(0 round 24px);
}

.service-card {
  padding: 40px 36px;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center top;
  opacity: 0.12;
  transition: opacity .4s, transform .4s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(2,18,40,0.78) 100%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  transform: scale(1.04);
  z-index: 10;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.65);
}

.service-card:hover::before { opacity: 0.6; transform: scale(1.08); }
.service-card:hover::after  { opacity: 1; }
.service-card:hover h3 { color: var(--acc); }

.service-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--acc-dim); border: 1px solid var(--acc-glow); border-radius: 12px; margin-bottom: 20px; color: var(--acc); }

.service-card h2,
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--w70);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.service-tag {
  padding: 3px 10px;
  background: var(--acc-dim);
  border: 1px solid var(--acc-glow);
  border-radius: 50px;
  font-size: 11px;
  color: var(--acc);
  font-weight: 600;
  letter-spacing: .03em;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acc);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: gap .2s;
}

.service-link:hover { gap: 10px; }

/* Karta kontekstowa (projekty.html) */
.context-note {
  background: var(--bg3);
  border: 1px solid var(--acc-glow);
  border-left: 3px solid var(--acc);
  border-radius: var(--r16);
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.context-note-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.context-note h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--acc);
  margin-bottom: 8px;
}

.context-note p { font-size: 14px; color: var(--w70); line-height: 1.7; }


/* ================================================================
   8. CTA BLOCK
   ================================================================ */
.cta-block {
  background: var(--bg3);
  border: 1px solid var(--acc-glow);
  border-radius: var(--r24);
  padding: 60px;
  text-align: center;
  margin-top: 60px;
}

.cta-block h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 16px;
  color: var(--w70);
  margin-bottom: 32px;
}

/* "Coming soon" / placeholder */
.coming-block {
  border: 1px solid var(--w15);
  border-radius: var(--r24);
  padding: 80px 60px;
  text-align: center;
  margin-bottom: 48px;
}

.coming-block h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.coming-block p { font-size: 16px; color: var(--w70); margin-bottom: 32px; }


/* ================================================================
   9. BUTTONS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--acc);
  color: var(--bg);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(2, 193, 115, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--w15);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: var(--w45);
  background: var(--w15);
}


/* ================================================================
  10. FORMS
   ================================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--w70);
}

.req { color: var(--acc); }

.form-input,
.form-select,
.form-textarea {
  background: var(--w15);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r12);
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--acc); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--w45); }

.form-select option { background: var(--bg3); }

.form-textarea { min-height: 130px; resize: vertical; }

.form-note,
.form-privacy { font-size: 12px; color: var(--w45); }

.form-privacy a { color: var(--acc); }

.btn-submit {
  width: 100%;
  padding: 16px 28px;
  background: var(--acc);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: transform .2s, box-shadow .2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(2, 193, 115, 0.4);
}


/* ================================================================
  11. FOOTER
   ================================================================ */
.footer {
  padding: 56px 40px 32px;
  border-top: 1px solid var(--w15);
}

.footer-inner { max-width: 1240px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.footer-logo span { color: var(--green); }

.footer-tagline {
  font-size: 13px;
  color: var(--w70);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #FFB800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 7px 14px;
  border: 1px solid rgba(255,184,0,0.55);
  border-radius: 50px;
  background: rgba(255,184,0,0.08);
  box-shadow: 0 0 10px rgba(255,184,0,0.22), 0 0 22px rgba(255,184,0,0.1), inset 0 0 8px rgba(255,184,0,0.06);
  transition: box-shadow .3s;
}
.footer-partner-badge:hover {
  box-shadow: 0 0 16px rgba(255,184,0,0.4), 0 0 36px rgba(255,184,0,0.18), inset 0 0 12px rgba(255,184,0,0.1);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--w70);
  margin-bottom: 16px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a { font-size: 13px; color: var(--w70); transition: color .2s; }
.footer-col-links a:hover { color: var(--acc); }
.footer-col-links span { font-size: 13px; color: var(--w70); }

.footer-bottom {
  border-top: 1px solid var(--w15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 12px; color: var(--w70); }

.footer-socials { display: flex; gap: 12px; }

.footer-social {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: var(--w15);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.footer-social:hover { background: var(--acc-dim); }

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--w70);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}


/* ================================================================
  12. SCROLL-TO-TOP
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--acc-glow);
  background: var(--bg3);
  color: var(--acc);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transform: translateY(0);
  transition: background .2s, box-shadow .2s, transform .2s;
  pointer-events: auto;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--acc);
  color: #060606;
  box-shadow: 0 8px 32px rgba(2,193,115,0.25);
  transform: translateY(-2px);
}

/* AI Float Button */
.float-ai {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--acc-dim);
  border: 1px solid var(--acc-glow);
  color: var(--acc);
  font-family: var(--font);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: background .2s, box-shadow .2s, transform .2s;
}

.float-ai:hover {
  background: var(--acc);
  color: #060606;
  box-shadow: 0 8px 32px rgba(2,193,115,0.3);
  transform: scale(1.08) translateY(-2px);
}


/* ================================================================
  13. RESPONSIVE
   ================================================================ */
@media (max-width: 860px) {
  .nav { padding: 0 20px; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(6,6,6,0.97); flex-direction: column; padding: 24px 40px; gap: 20px; border-bottom: 1px solid var(--w15); z-index: 99; }
  .nav-links.open { display: flex; }

  .page-hero { padding: 120px 20px 60px; }
  .section { padding: 0 20px 80px; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card:hover { transform: none; box-shadow: none; }
  .service-card:hover::before { opacity: 0.12; transform: none; }
  .service-card:hover::after  { opacity: 0; }

  .cta-block  { padding: 40px 24px; }
  .coming-block { padding: 48px 24px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* === SMALL PHONES: 375px (iPhone SE, small Android) === */
@media (max-width: 375px) {
  .nav-links { display: none; }
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .section-inner { padding-left: 1rem; padding-right: 1rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* === VERY SMALL PHONES: 320px === */
@media (max-width: 320px) {
  html { font-size: 14px; }
  .section-inner { padding-left: 0.75rem; padding-right: 0.75rem; }
  .nav { padding: 0 0.75rem; }
}

/* ================================================================
   14. ACCESSIBILITY
   ================================================================ */

/* Focus visible — widoczny dla klawiatury */
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--acc);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 16px;
}

/* ================================================================
   15. STICKY MOBILE CTA
   ================================================================ */
.mob-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 850;
  padding: 12px 20px 16px;
  background: var(--bg2);
  border-top: 1px solid var(--w15);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  text-align: center;
  transition: transform .3s ease, opacity .3s ease;
}
.mob-cta.hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.mob-cta a {
  display: block;
  background: var(--acc);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--r12);
  text-decoration: none;
}
@media (max-width: 768px) {
  .mob-cta { display: block; }
}

/* ================================================================
   16. BLOG ARTICLE CTA BLOCK
   ================================================================ */
.art-cta {
  background: linear-gradient(135deg, rgba(2,193,115,0.08) 0%, rgba(0,91,172,0.08) 100%);
  border: 1px solid var(--acc-glow);
  border-radius: var(--r24);
  padding: 40px 48px;
  margin: 40px 0;
  text-align: center;
}
.art-cta-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--acc); margin-bottom: 12px;
}
.art-cta h3 {
  font-size: clamp(20px,2.5vw,28px); font-weight: 900;
  letter-spacing: -.5px; margin-bottom: 12px;
}
.art-cta p { font-size: 15px; color: var(--w70); margin-bottom: 28px; line-height: 1.65; }
@media(max-width:640px){ .art-cta { padding: 28px 20px; } }

/* ================================================================
   PREFERS-REDUCED-MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* S2 fixes 2026-05-12 */
html { scroll-padding-top: 88px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* S7c — responsive tables */
.art-compare, .tco-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* S7d — mobile pre/code overflow */
pre { overflow-x: auto; max-width: 100%; }

/* S7-tel — phone field label hint */
.form-optional { font-size: .8rem; color: var(--text-muted, #6b7280); font-weight: 400; }
