/* JW IT Solution – klasyczna strona firmowa */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f5f7fa;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAGŁÓWEK */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d1d9e6;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #4b5563;
}

.main-nav a:hover {
  color: #111827;
}

.main-nav-cta {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.main-nav-cta:hover {
  background: #1d4ed8;
}

/* HERO */

.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #e5edff 0, #f5f7fa 38%, #f5f7fa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #111827;
}

.hero-subtitle {
  max-width: 32rem;
  color: #4b5563;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d1d9e6;
  background: #ffffff;
  font-size: 0.8rem;
  color: #374151;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #d1d9e6;
  color: #111827;
}

.btn-secondary:hover {
  background: #f3f4f6;
}

.hero-note {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.7rem;
}

.hero-panel {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid #d1d9e6;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-panel-header {
  margin-bottom: 1rem;
}

.hero-panel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.hero-panel-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  font-size: 0.85rem;
}

.field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.field-value {
  color: #111827;
}

.hero-panel-divider {
  border-top: 1px dashed #d1d9e6;
  margin: 1.1rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  font-size: 0.82rem;
}

.stat {
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.stat-value {
  color: #111827;
}

/* SEKCJE */

.section {
  padding: 3.1rem 0;
}

.section-header {
  margin-bottom: 1.7rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #2563eb;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.3rem;
  color: #111827;
}

.section-description {
  max-width: 34rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.1rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.service-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #111827;
}

.service-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.service-list {
  font-size: 0.85rem;
  color: #6b7280;
  padding-left: 1.1rem;
}

.service-list li + li {
  margin-top: 0.25rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 1.6rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  font-size: 0.93rem;
  color: #4b5563;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: #111827;
}

.key-points {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.key-points li + li {
  margin-top: 0.25rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  font-size: 0.86rem;
}

.info-field {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
}

.info-value {
  color: #111827;
}

/* KONTAKT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 1.6rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  font-size: 0.93rem;
  color: #4b5563;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 0.9rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
  margin-bottom: 0.12rem;
}

.contact-value {
  color: #111827;
  font-size: 0.98rem;
}

.contact-note {
  font-size: 0.86rem;
  color: #6b7280;
}

.map {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  min-height: 260px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* STOPKA */

.footer {
  margin-top: auto;
  background: #111827;
  color: #9ca3af;
  padding: 1.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #d1d5db;
}

.footer-links a:hover {
  color: #ffffff;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.8rem;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

