/* NEKO Group — kolory i układ wg makiety + zrzutu ekranu */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Pomarańcz jak w ikonach SVG projektu */
  --nekogroup-orange: #ff6b35;
  --nekogroup-orange-hover: #ff8555;
  /* Ciemny jak w makiecie: prawie czarny / charcoal (nagłówek, stopka) */
  --nekogroup-dark: #0d0d0d;
  --nekogroup-dark-elevated: #141414;
  --nekogroup-text: #1a1a1a;
  --nekogroup-muted: #5a5a5a;
  --nekogroup-white: #ffffff;
  --nekogroup-img-radius: 18px;
}

body.nekogroup-landing {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nekogroup-text);
  background: var(--nekogroup-white);
}

body.nekogroup-landing #wpadminbar {
  position: fixed;
}

/* Ukryj domyślny przycisk Astry — używamy własnego */
body.nekogroup-landing #ast-scroll-top {
  display: none !important;
}

.nk-skip {
  position: absolute;
  left: -9999px;
}
.nk-skip:focus {
  left: 8px;
  top: 8px;
  z-index: 100000;
  padding: 8px 16px;
  background: var(--nekogroup-orange);
  color: #fff;
}

/* —— Header —— */
.nk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nekogroup-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.nk-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nk-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}
.nk-logo__img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.nk-logo__mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--nekogroup-orange), #e85a28);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}
/* Logo jak w makiecie: NEKO + group pod spodem */
.nk-logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.nk-logo__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.nk-logo__sub {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 2px;
}

.nk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}
.nk-nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}
.nk-nav a:hover,
.nk-nav a:focus {
  color: var(--nekogroup-orange);
}

/* —— Hero —— */
.nk-hero {
  padding: 2.75rem 1.5rem 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.nk-hero__head {
  margin-bottom: 0.35rem;
}
.nk-hero__head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--nekogroup-text);
}
/* Cienka pomarańczowa kreska pod tytułem — jak w makiecie „Wizualizacja_final” */
.nk-hero__head h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--nekogroup-orange);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}
.nk-hero__lead {
  margin: 1.25rem auto 2rem;
  font-size: 1.0625rem;
  color: var(--nekogroup-muted);
  font-weight: 500;
  max-width: 38rem;
  line-height: 1.55;
}
.nk-hero__img {
  width: 100%;
  max-height: min(52vh, 540px);
  object-fit: cover;
  border-radius: var(--nekogroup-img-radius);
  display: block;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

/* —— Sekcje —— */
.nk-section {
  padding: 3.25rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--nekogroup-white);
}
.nk-section--wide {
  max-width: 1200px;
}
.nk-section__title {
  text-align: center;
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 1.75rem;
  letter-spacing: -0.02em;
  color: var(--nekogroup-text);
}
.nk-section__title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--nekogroup-orange);
  margin: 0.65rem auto 0;
  border-radius: 2px;
}
/* Kontakt na zrzucie: nagłówek bez kreski */
.nk-section__title--plain::after {
  display: none;
}
.nk-section__title--plain {
  margin-bottom: 2rem;
}
.nk-section__body {
  text-align: center;
  color: var(--nekogroup-muted);
  font-size: 1.03125rem;
  max-width: 52rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* —— Usługi —— */
.nk-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .nk-services {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.nk-card {
  text-align: center;
  padding: 0 0.5rem;
}
.nk-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  display: block;
}
.nk-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nekogroup-text);
}
.nk-card p {
  margin: 0;
  color: var(--nekogroup-muted);
  font-size: 0.9375rem;
  line-height: 1.72;
}

.nk-wide-img {
  width: 100%;
  border-radius: var(--nekogroup-img-radius);
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* —— Kontakt (etykiety czarne jak na zrzucie) —— */
.nk-section--contact .nk-contact__label {
  color: var(--nekogroup-text);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.nk-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .nk-contact {
    grid-template-columns: 1fr;
  }
}
.nk-contact a {
  color: var(--nekogroup-orange);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
}
.nk-contact a:hover {
  color: var(--nekogroup-orange-hover);
  text-decoration: underline;
}
.nk-contact__hours {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--nekogroup-muted);
  margin-top: 0.25rem;
}

/* —— Opinie / Dlaczego —— */
.nk-mini {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  color: var(--nekogroup-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* —— Stopka —— */
.nk-footer {
  background: var(--nekogroup-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.nk-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .nk-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .nk-footer__grid {
    grid-template-columns: 1fr;
  }
}
.nk-footer h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.nk-footer p,
.nk-footer li {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.78);
}
.nk-footer a {
  color: var(--nekogroup-orange);
  text-decoration: none;
}
.nk-footer a:hover {
  color: var(--nekogroup-orange-hover);
  text-decoration: underline;
}
.nk-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nk-footer__bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Przycisk do góry (pomarańczowy kwadrat) —— */
.nk-scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--nekogroup-orange);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.45);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nk-scroll-top:hover,
.nk-scroll-top:focus {
  background: var(--nekogroup-orange-hover);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

/* Nadpisania stylów Astry ładowanych przez wp_head (kolory z makiety) */
body.nekogroup-landing .nk-hero__head h1,
body.nekogroup-landing .nk-section__title,
body.nekogroup-landing .nk-card h3 {
  color: var(--nekogroup-text) !important;
}
body.nekogroup-landing .nk-hero__lead,
body.nekogroup-landing .nk-section__body,
body.nekogroup-landing .nk-card p,
body.nekogroup-landing .nk-mini {
  color: var(--nekogroup-muted) !important;
}
