:root {
	--black: #0b0b0b;
	--orange: #ff6a00;
	--white: #ffffff;
	--muted: #c6c6c6;
	--radius: 20px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0
}

html,
body {
	height: 100%;
	width: 100%;
	scroll-behavior: smooth
}

body {
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--white);
	background: var(--black);
	line-height: 1.5;
}

a {
	color: inherit;
	text-decoration: none
}

.logo-crop {
  width: 150px;      /* docelowa szerokość */
  height: 75px;      /* docelowa wysokość (ucina górę/dół) */
  overflow: hidden;  /* ukrywa to, co wystaje */
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-crop img {
  width: 100%;
  height: auto;
  object-fit: cover; /* dopasowanie */
}

.container {
	width: 100%;
	padding: clamp(16px, 3vw, 32px)
}

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(140%) blur(6px);
	background: color-mix(in oklab, var(--black) 85%, transparent);
	border-bottom: 1px solid color-mix(in oklab, var(--white) 10%, transparent);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1600px;
	margin: auto
}

.brand {
	font-weight: 800;
	letter-spacing: .3px;
	white-space: nowrap
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--orange);
	color: var(--black);
	font-weight: 700
}

.nav a:hover {
	opacity: .9
}

.menu {
	display: flex;
	gap: 14px;
	flex-wrap: nowrap;
	align-items: center;
}

.menu a {
	display: flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	opacity: .9;
}

.menu a:hover {
	opacity: 1;
}

.menu a.pill {
	background: var(--orange);
	color: var(--black);
	font-weight: 700;
}

/* --- SECTIONS --- */
section {
	min-height: 50vh;
	/* pełen ekran */
	width: 100%;
	display: grid;
	place-items: center;
}

.panel {
	width: 100%;
	max-width: 1600px;
	margin: auto
}

.panel .inner {
	display: grid;
	gap: 22px
}

.panel h1,
.panel h2 {
	margin: 0;
	line-height: 1.1
}

.panel h1 {
	font-size: clamp(32px, 6vw, 72px)
}

.panel h2 {
	font-size: clamp(28px, 4.2vw, 48px)
}

.lead {
	font-size: clamp(16px, 2.2vw, 22px);
	color: var(--muted)
}

.lead-black {
	font-size: clamp(16px, 2.2vw, 22px);
	color: var(--black)
}

.lead-white {
	font-size: clamp(16px, 2.2vw, 22px);
	color: var(--white)
}

.stack {
	display: flex;
	flex-wrap: wrap;
	gap: 14px
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 14px;
	border: 1px solid transparent;
	font-weight: 700;
	cursor: pointer
}

.btn.primary {
	background: var(--orange);
	color: var(--black)
}

.btn.ghost {
	background: transparent;
	border-color: color-mix(in oklab, var(--white) 14%, transparent)
}

.btn.ghost:hover {
	background: var(--black);
	transform: translateY(-1px)
}

.btn:hover {
	transform: translateY(-1px)
}

.black {
	background: var(--black)
}

.start {
  position: relative;
  background: url('https://inet5.pl/strona_obrazy/serwerownia.png') no-repeat center center;
  background-size: cover;
}

.start::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.start .panel .inner {
  position: relative;
  z-index: 1;
}

.white {
	background: color-mix(in oklab, var(--white) 100%, white 0%);
	color: var(--black)
}

.orange {
	background: color-mix(in oklab, var(--orange) 88%, white 0%);
	color: var(--black)
}

.orange .lead {
	color: color-mix(in oklab, var(--black) 5%, white 90%)
}

/* Cards (for services) */
.cards {
	color: var(--white);
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(14px, 2vw, 22px)
}

#monitoring .cards {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.card {
	grid-column: span 12;
	border-radius: var(--radius);
	padding: clamp(18px, 2.6vw, 28px)
}

.card.black {
	background: #121212;
	border: 1px solid #1f1f1f
}

.card.orange {
	background: var(--orange);
	border: 1px solid color-mix(in oklab, black 10%, var(--orange))
}

.card h3 {
	margin: 0 0 8px 0;
	font-size: clamp(18px, 2.4vw, 24px)
}

.card p {
	margin: 0;
	color: color-mix(in oklab, currentColor 75%, transparent)
}

@media (min-width: 720px) {
	.card {
		grid-column: span 4
	}
}

form {
	display: grid;
	gap: 12px;
	max-width: 700px
}

input,
textarea {
	width: 100%;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid color-mix(in oklab, currentColor 20%, transparent);
	background: transparent;
	color: inherit
}

textarea {
	min-height: 140px;
	resize: vertical
}

.note {
	font-size: 14px;
	opacity: .8
}

.ring {
	position: absolute;
	inset: auto auto -60px -60px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in oklab, var(--orange) 60%, white 0%), transparent 70%);
	filter: blur(18px);
	opacity: .6;
	pointer-events: none
}

.left-right-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.left-right-inner .cards {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.left-right-image {
  flex: 1 1 300px;
}

.left-right-image img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
}

.collaboration-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.collaboration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

.collaboration-logos img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.white-logo {
  filter: invert(1) brightness(2); /* zamienia biały na czarny/pomarańczowy */
}

.cloud {
  position: relative;
  background: url('https://inet5.pl/strona_obrazy/chmura.png') no-repeat center center;
  background-attachment: fixed;
}

.cloud::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cloud .panel .inner {
  position: relative;
  z-index: 1;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center; /* środek ekranu */
}

.contact-card {
  background: var(--orange);
  width: 180px;
  height: 180px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.contact-card .icon {
  margin-bottom: 1rem;
}

.contact-card .icon svg {
  width: 48px;
  height: 48px;
}

.contact-card .text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-size: 1.1rem;
}

.contact-card .text a,
.contact-card .text span {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}
.contact-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap; // dla responsywności

  .contact-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }


  .contact-map {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
}

.eset-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 120px;
  height: auto;
  background: url('/img/eset.svg') no-repeat center;
  background-size: contain;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;

    .contact-map {
      width: 100%;
      height: 300px;
    }
  }
}