/* Zachowanie proporcji logo w navbarze */
.navbar-brand img.brand-logo {
  height: 42px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}
@media (min-width: 992px) {
  .navbar-brand img.brand-logo { height: 48px; }
}
/* Kolor tylko dla linków w menu nawigacji */
.navbar.navbar-light .navbar-nav .nav-link { color: #e9ecef !important; }
.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link:focus,
.navbar.navbar-light .navbar-nav .nav-link.active { color: #ffffff !important; }
/* Jaśniejszy kolor tylko dla tekstów informacyjnych w #kontakt */
#kontakt .text-700 { color: #e9ecef !important; }
#kontakt .text-700 a { color: #ffffff !important; }

/* Zaokrąglenia (border-radius) */
:root { --radius: 12px; --radius-lg: 16px; }
.card { border-radius: var(--radius-lg) !important; overflow: hidden; }
.features-items { border-radius: var(--radius-lg) !important; overflow: hidden; }
.plans-cards { border-radius: var(--radius-lg) !important; }
#jak-pracujemy img.w-100 { border-radius: var(--radius-lg); }
.btn { border-radius: 10px; }

/* Hero rotator */
.hero-rotator { transition: opacity 320ms ease; }
.hero-rotator.is-fading { opacity: 0; }
.hero-image { display:none; }
.hero-icon { font-size: 15rem !important; line-height: 1; color: #0d6efd; opacity: .95; }
@media (min-width: 1200px) { .hero-icon { font-size: 6rem; } }
@media (max-width: 575.98px) {
  .hero-icon { display: none !important; }
  #heroRight { display: none !important; }
  #heroLeft .btn { display: block; margin-left: auto; margin-right: auto; text-align: center; }
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
#heroLeft { position: relative; }
#heroLeft .hero-rotator { will-change: opacity; }
#heroLeft, #heroRight { min-height: 140px; }
.hero-dots { display: flex; gap: 6px; align-items: center; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #6c757d; opacity: .6; transition: transform 200ms ease, opacity 200ms ease, background 200ms ease; }
.hero-dots .dot.active { background: #0d6efd; opacity: 1; transform: scale(1.25); }

/* Technologie */
.tech-logos img { width: 64px; height: 64px; opacity: 0.9; filter: grayscale(100%) saturate(0) brightness(0.9); transition: transform 160ms ease, opacity 160ms ease; }
body.tech-gray-ready .tech-logos img[data-color-src] { filter: none; }
.tech-logos img:hover { transform: translateY(-2px) scale(1.06); opacity: 1; }
.tech-logos img:not([data-color-src]):hover { filter: none; }
.tech-group-title { color: #e9ecef; opacity: .9; }

/* Tooltip technologii */
.tech-tooltip { position: fixed; z-index: 2000; pointer-events: none; background: rgba(8, 17, 49, 0.96); border: 1px solid #25306b; color: #e9ecef; padding: 8px 10px; font-size: 12px; line-height: 1.3; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,0.35); max-width: 260px; transform: translate(-50%, -120%); opacity: 0; transition: opacity 120ms ease; }
.tech-tooltip.show { opacity: 1; }

/* Toggle technologii */
.tech-toggle-btn { background: transparent; border: 0; padding: 8px 10px; color: #e9ecef; }
.tech-toggle-btn:hover, .tech-toggle-btn:focus { color: #ffffff; }
.tech-toggle-icon { font-size: 32px; transition: transform 160ms ease; }
.tech-toggle[aria-expanded="true"] .tech-toggle-icon { transform: rotate(180deg); }

/* Mobilne menu */
#mobileDropdownMenu { position: fixed !important; left: 0; top: 0; width: 100vw; height: 100vh; background: #10182b; color: #e9ecef; z-index: 2000; display: none; border-radius: 0; box-shadow: none; margin-top: 0 !important; animation: none; transition: opacity 0.32s cubic-bezier(.7,0,.3,1); opacity: 0; }
#mobileDropdownMenu.open { display: block !important; opacity: 1; animation: menuSlideDown 0.38s cubic-bezier(.7,0,.3,1); }
@keyframes menuSlideDown { 0% { opacity: 0; transform: translateY(-40px); } 100% { opacity: 1; transform: translateY(0); } }
#mobileDropdownMenu .close-menu-btn { position: absolute; top: 18px; right: 18px; background: none; border: none; color: #e9ecef; font-size: 2.2rem; z-index: 2100; cursor: pointer; opacity: 0.85; transition: color 0.18s, opacity 0.18s; }
#mobileDropdownMenu .close-menu-btn:hover, #mobileDropdownMenu .close-menu-btn:focus { color: #fff; opacity: 1; }
#mobileDropdownMenu ul.navbar-nav { background: transparent; box-shadow: none; padding-top: 80px; }
#mobileDropdownMenu .nav-link, #mobileDropdownMenu .btn { color: #e9ecef !important; background: none; font-size: 1.5rem; border: none; box-shadow: none; transition: color 0.18s; }
#mobileDropdownMenu .nav-link:hover, #mobileDropdownMenu .nav-link:focus { color: #fff !important; }
#mobileDropdownMenu .btn-primary { background: #0d6efd; color: #fff !important; border-radius: 10px; font-size: 1.2rem; margin-top: 1.5rem; width: 80%; max-width: 320px; }
#mobileDropdownMenu .btn-primary:hover { background: #0b5ed7; }
@media (min-width: 992px) { #mobileDropdownMenu { display: none !important; } }
body.menu-open { overflow: hidden; }
/* netmac.css: niestandardowe style wycięte z index.html */

/* Zachowanie proporcji logo w navbarze */
.navbar-brand img.brand-logo {
  height: 42px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}
@media (min-width: 992px) {
  .navbar-brand img.brand-logo { height: 48px; }
}
.navbar.navbar-light .navbar-nav .nav-link {
  color: #e9ecef !important;
}
.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link:focus,
.navbar.navbar-light .navbar-nav .nav-link.active {
  color: #ffffff !important;
}
#kontakt .text-700 { color: #e9ecef !important; }
#kontakt .text-700 a { color: #ffffff !important; }
:root {
  --radius: 12px;
  --radius-lg: 16px;
}
.card, .features-items, .plans-cards {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}
#jak-pracujemy img.w-100 {
  border-radius: var(--radius-lg);
}
.btn {
  border-radius: 10px;
}
.hero-rotator { transition: opacity 320ms ease; }
.hero-rotator.is-fading { opacity: 0; }
.hero-image { display:none; }
.hero-icon { font-size: 15rem !important; line-height: 1; color: #0d6efd; opacity: .95; }
@media (min-width: 1200px) { .hero-icon { font-size: 6rem; } }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
#heroLeft { position: relative; }
#heroLeft .hero-rotator { will-change: opacity; }
#heroLeft, #heroRight { min-height: 140px; }
.hero-dots { display: flex; gap: 6px; align-items: center; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #6c757d; opacity: .6; transition: transform 200ms ease, opacity 200ms ease, background 200ms ease; }
.hero-dots .dot.active { background: #0d6efd; opacity: 1; transform: scale(1.25); }
.tech-logos img {
  width: 64px;
  height: 64px;
  opacity: 0.9;
  filter: grayscale(100%) saturate(0) brightness(0.9);
  transition: transform 160ms ease, opacity 160ms ease;
}
body.tech-gray-ready .tech-logos img[data-color-src] { filter: none; }
.tech-logos img:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
}
.tech-logos img:not([data-color-src]):hover { filter: none; }
.tech-group-title {
  color: #e9ecef;
  opacity: .9;
}
.tech-tooltip {
  position: fixed;
  z-index: 2000;
  pointer-events: none;
  background: rgba(8, 17, 49, 0.96);
  border: 1px solid #25306b;
  color: #e9ecef;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.3;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  max-width: 260px;
  transform: translate(-50%, -120%);
  opacity: 0;
  transition: opacity 120ms ease;
}
.tech-tooltip.show { opacity: 1; }
.tech-toggle-btn { background: transparent; border: 0; padding: 8px 10px; color: #e9ecef; }
.tech-toggle-btn:hover, .tech-toggle-btn:focus { color: #ffffff; }
.tech-toggle-icon { font-size: 32px; transition: transform 160ms ease; }
.tech-toggle[aria-expanded="true"] .tech-toggle-icon { transform: rotate(180deg); }
#mobileDropdownMenu {
  position: fixed !important;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #10182b;
  color: #e9ecef;
  z-index: 2000;
  display: none;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0 !important;
  animation: none;
  transition: opacity 0.32s cubic-bezier(.7,0,.3,1);
  opacity: 0;
}
#mobileDropdownMenu.open {
  display: block !important;
  opacity: 1;
  animation: menuSlideDown 0.38s cubic-bezier(.7,0,.3,1);
}
@keyframes menuSlideDown {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}
#mobileDropdownMenu .close-menu-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #e9ecef;
  font-size: 2.2rem;
  z-index: 2100;
  cursor: pointer;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.18s;
}
#mobileDropdownMenu .close-menu-btn:hover,
#mobileDropdownMenu .close-menu-btn:focus {
  color: #fff;
  opacity: 1;
}
#mobileDropdownMenu ul.navbar-nav {
  background: transparent;
  box-shadow: none;
  padding-top: 80px;
}
#mobileDropdownMenu .nav-link, #mobileDropdownMenu .btn {
  color: #e9ecef !important;
  background: none;
  font-size: 1.5rem;
  border: none;
  box-shadow: none;
  transition: color 0.18s;
}
#mobileDropdownMenu .nav-link:hover, #mobileDropdownMenu .nav-link:focus {
  color: #fff !important;
}
#mobileDropdownMenu .btn-primary {
  background: #0d6efd;
  color: #fff !important;
  border-radius: 10px;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  width: 80%;
  max-width: 320px;
}
#mobileDropdownMenu .btn-primary:hover {
  background: #0b5ed7;
}
@media (min-width: 992px) {
  #mobileDropdownMenu { display: none !important; }
}
body.menu-open { overflow: hidden; }
@media (max-width: 575.98px) {
  .hero-icon { display: none !important; }
  #heroRight { display: none !important; }
  #heroLeft .btn { display: block; margin-left: auto; margin-right: auto; text-align: center; }
}

/* Odslanianie kontaktu zabezpieczone Turnstile */
.contact-reveal-card {
  background: rgba(17, 24, 39, 0.92);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.45);
}

.contact-details-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.contact-reveal-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-preview {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-preview-row + .contact-preview-row {
  margin-top: .9rem;
}

.contact-preview-row,
.contact-live-row {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.contact-preview-copy {
  min-width: 0;
}

.contact-preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.12);
  color: #8fc0ff;
  flex: 0 0 42px;
}

.contact-preview-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(233, 236, 239, 0.72);
}

.contact-preview-value {
  display: inline-block;
  color: #fff;
  user-select: none;
  opacity: .92;
}

.contact-preview-value-blurred {
  filter: blur(6px);
  pointer-events: none;
  animation: previewBlurPulse 3.2s ease-in-out infinite;
}

#contact-preview.is-revealing .contact-preview-value-blurred {
  animation: previewUnblur 420ms ease forwards;
}

@keyframes previewBlurPulse {
  0%, 100% { filter: blur(6px); opacity: .88; }
  50% { filter: blur(7px); opacity: 1; }
}

@keyframes previewUnblur {
  0% { filter: blur(6px); opacity: .92; }
  100% { filter: blur(0); opacity: 0; }
}

#ts-container > div {
  margin: 0 !important;
}

@media (max-width: 767.98px) {
  .contact-reveal-card {
    padding: 1.5rem !important;
  }
}

.page-404 {
  background:
    radial-gradient(circle at top, rgba(13, 110, 253, 0.24), transparent 42%),
    linear-gradient(180deg, #0b1220 0%, #111827 100%);
}

.error-card {
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55);
}

.error-logo {
  width: min(100%, 320px);
  height: auto;
}

.error-code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: #8fc0ff;
  letter-spacing: 0.08em;
}
