:root {
  --bg: #07070a;
  --panel: #121218;
  --text: #f7f3ef;
  --muted: #bdb5bb;
  --cream: #f2ebe4;
  --dark: #171217;
  --pink: #e85ab9;
  --pink2: #a72a7f;
  --gold: #d8af69;
  --line: rgba(255,255,255,.12);
  --shadow: 0 26px 80px rgba(0,0,0,.32);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 8%, rgba(232,90,185,.13), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(216,175,105,.10), transparent 34%),
    #07070a;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

/* HEADER */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 68px;
  z-index: 1000;
  padding: 0 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,7,10,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.logo strong {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 900;
}

.logo span {
  color: var(--pink);
  font-size: 8.5px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  font-weight: 800;
}

.menu-btn {
  height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 80px;
  right: 5.5%;
  width: min(320px, 90vw);
  display: none;
  padding: 12px;
  border-radius: 22px;
  background: rgba(12,12,17,.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav.open {
  display: grid;
  gap: 8px;
}

.nav a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: rgba(247,243,239,.8);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(232,90,185,.22), rgba(216,175,105,.14));
  color: white;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 112px 5.5% 72px;
  align-items: center;
}

.hero-text {
  grid-column: 1 / span 7;
}

.label {
  margin-bottom: 14px;
  color: var(--pink);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 2.8px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -2.2px;
  font-weight: 900;
}

.hero h1 span {
  color: var(--gold);
}

.hero p,
.page-hero p {
  margin-top: 20px;
  max-width: 600px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 44px;
  padding: 10px 21px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 850;
  cursor: pointer;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color: white;
}

.btn-ghost {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.22);
  color: white;
}

.hero-visual {
  grid-column: 8 / span 5;
  position: relative;
  min-height: 500px;
}

.hero-img {
  position: absolute;
  object-fit: cover;
  border-radius: 23px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

.hero-a {
  width: 70%;
  height: 52%;
  right: 0;
  top: 0;
  animation: floatA 7s ease-in-out infinite;
}

.hero-b {
  width: 56%;
  height: 40%;
  left: 0;
  top: 30%;
  animation: floatB 8s ease-in-out infinite;
}

.hero-c {
  width: 50%;
  height: 34%;
  right: 7%;
  bottom: 0;
  animation: floatC 6.8s ease-in-out infinite;
}

@keyframes floatA {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(.2deg); }
}

@keyframes floatB {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(10px) rotate(-.8deg); }
}

@keyframes floatC {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-9px) rotate(.8deg); }
}

/* PASEK PRZEWIJANY */

.moving-gallery {
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.moving-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: moveGallery 38s linear infinite;
}

.moving-track img {
  width: 190px;
  height: 118px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13);
}

@keyframes moveGallery {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SEKCJE */

.section {
  padding: 78px 5.5%;
}

.section.grid-12 > * {
  grid-column: 1 / span 12;
  min-width: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 900;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.page-hero {
  padding: 112px 5.5% 58px;
}

.page-copy {
  grid-column: 1 / span 8;
}

/* O MNIE */

.light {
  background: var(--cream);
  color: var(--dark);
}

.about {
  padding: 76px 5.5%;
  align-items: center;
  background: var(--cream);
}

.about-title {
  grid-column: 1 / span 5;
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(0,0,0,.05);
}

.about-title h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.02;
  letter-spacing: 0.8px;
  font-weight: 850;
  color: #6a6368;
}

.about-title p {
  margin-top: 14px;
  color: #777076;
  font-size: 15px;
  line-height: 1.45;
}

.about-text {
  grid-column: 7 / span 6;
}

.about-text p {
  margin-bottom: 20px;
  color: #5b5359;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
  font-weight: 400;
}

/* KARTY PROJEKTÓW */

.project-list {
  display: grid;
  gap: 22px;
}

.project-card {
  min-height: 280px;
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 64px rgba(0,0,0,.26);
  transition: .25s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,90,185,.28);
}

.project-card:nth-child(even) {
  grid-template-columns: 55% 45%;
}

.project-card:nth-child(even) .project-copy {
  order: 2;
}

.project-card:nth-child(even) .project-image {
  order: 1;
}

.project-copy {
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-copy span {
  color: var(--pink);
  font-size: 9.5px;
  letter-spacing: 2px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 12px 0;
  max-width: 420px;
  font-size: clamp(25px, 2.3vw, 35px);
  line-height: 1.07;
  letter-spacing: -1px;
  font-weight: 800;
}

.project-copy p {
  max-width: 430px;
  margin-bottom: 18px;
  color: #bdb3ba;
  font-size: 14.5px;
  line-height: 1.55;
}

.project-copy strong {
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 850;
}

.project-image,
.project-image img {
  min-height: 280px;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

/* PODSTRONA PROJEKTU */

.project-detail {
  padding: 112px 5.5% 78px;
}

.project-detail > .detail-head,
.project-detail > .detail-block {
  grid-column: 1 / span 12;
  min-width: 0;
}

.detail-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.detail-head h1 {
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 900;
}

.detail-head p {
  margin-top: 16px;
  max-width: 680px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.detail-block {
  margin-bottom: 52px;
}

.detail-block h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.detail-block p {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.image-stack,
.image-fit,
.image-duo,
.image-trio {
  display: grid;
  gap: 22px;
}

.image-duo {
  grid-template-columns: repeat(2, 1fr);
}

.image-trio {
  grid-template-columns: repeat(3, 1fr);
}

.image-card {
  overflow: hidden;
  border-radius: 26px;
  background: #050507;
  border: 1px solid rgba(255,255,255,.12);
}

.image-card img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  cursor: zoom-in;
  background: #050507;
}

.image-fit .image-card img {
  max-height: 78vh;
}

.newgens-flow {
  max-width: 1180px;
  margin: 0 auto;
}

.newgens-flow .image-card img {
  width: 100%;
  max-height: 760px;
  height: auto;
  object-fit: contain;
  display: block;
}

.image-card figcaption {
  padding: 15px 18px 17px;
  color: #c8bec6;
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* OFERTA / PRODUKTY */

.filters {
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  color: white;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.filter.active {
  background: linear-gradient(135deg, var(--pink), var(--pink2));
}

.offer-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.offer-card,
.product-card {
  grid-column: span 4;
  min-height: 250px;
  padding: 21px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
}

.offer-card img,
.product-card img {
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 17px;
}

.offer-card span,
.product-card span {
  color: var(--pink);
  font-size: 9.5px;
  letter-spacing: 2px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card h3,
.product-card h3 {
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.08;
}

.offer-card p,
.product-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* KONTAKT */

.contact,
.contact-page {
  padding: 96px 5.5% 78px;
}

.contact-box,
.contact-main {
  grid-column: 2 / span 10;
  padding: 38px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(232,90,185,.16), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(216,175,105,.09), transparent 34%),
    var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-main h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.3px;
  font-weight: 800;
}

.contact-box p,
.contact-main p {
  max-width: 620px;
  margin-top: 15px;
  color: #bdb3ba;
  font-size: 15px;
  line-height: 1.65;
}

.contact-links,
.contact-big-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a,
.contact-big-links a {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  font-size: 13.5px;
  font-weight: 800;
}

.contact-big-links strong {
  display: block;
  font-size: 12px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.contact-big-links p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text);
}

/* LOGIN */

.login {
  min-height: 100vh;
  padding: 112px 5.5% 72px;
  align-items: center;
}

.login-text {
  grid-column: 1 / span 6;
}

.login-text h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.login-text p {
  margin-top: 18px;
  max-width: 500px;
  color: var(--muted);
  font-size: 15.5px;
}

.login-form {
  grid-column: 8 / span 5;
  padding: 30px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.login-form label {
  display: block;
  margin: 15px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.login-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.check input {
  width: auto;
}

.message {
  margin-top: 15px;
  color: var(--gold);
  font-size: 14px;
}

/* PRIVACY */

.privacy {
  padding: 70px 5.5%;
}

.policy {
  grid-column: 1 / span 12;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.75);
}

.policy h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 24px;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy p,
.policy li {
  color: #5f555b;
  line-height: 1.72;
}

.policy ul {
  margin-left: 20px;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.94);
}

.lightbox.active {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  background: #050507;
}

.lightbox button {
  position: fixed;
  top: 22px;
  right: 28px;
  border: 0;
  background: none;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

/* ANIMACJE */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8,8,11,.84);
  color: white;
  font-size: 19px;
  opacity: 0;
  transform: translateY(18px);
  transition: .25s;
  cursor: pointer;
}

.top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  padding: 24px 5.5%;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  color: #8e858c;
  font-size: 12.5px;
}

/* TABLET */

@media (max-width: 1050px) {
  .hero-text,
  .hero-visual,
  .about-title,
  .about-text,
  .page-copy,
  .login-text,
  .login-form,
  .contact-box,
  .contact-main {
    grid-column: 1 / span 12;
  }

  .hero-visual {
    margin-top: 36px;
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-copy,
  .project-card:nth-child(even) .project-image {
    order: initial;
  }

  .offer-card,
  .product-card {
    grid-column: span 6;
  }

  .image-duo,
  .image-trio {
    grid-template-columns: 1fr;
  }
}

/* TELEFON */

@media (max-width: 760px) {
  .grid-12 {
    gap: 0;
  }

  .header {
    height: 66px;
    padding: 0 5%;
  }

  .logo strong {
    font-size: 10px;
    letter-spacing: 2.4px;
  }

  .logo span {
    font-size: 8px;
    letter-spacing: 1.9px;
  }

  .menu-btn {
    height: 36px;
    padding: 0 15px;
    font-size: 10px;
  }

  .nav {
    top: 76px;
    left: 5%;
    right: 5%;
    width: auto;
  }

  .hero,
  .page-hero,
  .login,
  .project-detail,
  .contact-page {
    padding: 102px 5% 56px;
  }

  .hero h1,
  .page-hero h1,
  .detail-head h1,
  .contact-main h1 {
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -1.2px;
  }

  .hero p,
  .page-hero p,
  .detail-head p,
  .login-text p,
  .contact-main p {
    font-size: 15px;
    line-height: 1.65;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-a {
    width: 72%;
    height: 48%;
  }

  .hero-b {
    width: 58%;
    height: 38%;
    top: 128px;
  }

  .hero-c {
    width: 51%;
    height: 32%;
  }

  .moving-track img {
    width: 160px;
    height: 102px;
  }

  .section,
  .contact,
  .privacy {
    padding: 58px 5%;
  }

  .about {
    padding: 60px 5%;
  }

  .about-title {
    padding: 26px 22px;
    border-radius: 24px;
    margin-bottom: 26px;
  }

  .about-title h2 {
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: 0.6px;
    color: #6a6368;
  }

  .about-title p {
    margin-top: 12px;
    font-size: 15px;
  }

  .about-text p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .section-head h2 {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.6px;
  }

  .project-copy {
    padding: 22px;
  }

  .project-copy h3 {
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -.8px;
  }

  .project-copy p {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .project-image,
  .project-image img {
    height: 220px;
    min-height: 220px;
  }

  .detail-block {
    margin-bottom: 34px;
  }

  .detail-block h2 {
    font-size: 24px;
  }

  .image-stack,
  .image-fit,
  .image-duo,
  .image-trio {
    gap: 18px;
  }

  .image-card {
    border-radius: 20px;
  }

  .image-card img {
    max-height: none;
  }

  .newgens-flow .image-card img {
    max-height: 520px;
  }

  .image-card figcaption {
    font-size: 13.5px;
  }

  .offer-card,
  .product-card {
    grid-column: span 12;
  }

  .login-form {
    padding: 24px;
  }

  .contact-box,
  .contact-main {
    padding: 24px 20px;
  }

  .contact-box h2 {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.8px;
  }

  .contact-links,
  .contact-big-links {
    flex-direction: column;
  }

  .contact-links a,
  .contact-big-links a {
    width: 100%;
  }
}

/* PROJECT CASE STUDY ENHANCEMENTS */
.detail-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  color: #e7dce4;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 850;
}

.detail-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-actions a {
  min-height: 44px;
  padding: 12px 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color: white;
  font-size: 13px;
  letter-spacing: .5px;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(232,90,185,.18);
  transition: .25s ease;
}

.detail-actions a:hover {
  transform: translateY(-2px);
}

.project-detail .detail-block:nth-of-type(odd) .image-card {
  background: #0b0a0d;
}

@media (max-width: 760px) {
  .detail-meta span {
    font-size: 10px;
  }

  .detail-actions a {
    width: 100%;
  }
}

/* PORTFOLIO EXPERIENCE UPGRADE */

:root {
  --panel-soft: #17161d;
  --panel-raised: #1d1b23;
  --soft-line: rgba(255,255,255,.09);
  --pink-glow: rgba(232,90,185,.22);
  --gold-glow: rgba(216,175,105,.16);
}

::selection {
  background: var(--pink);
  color: white;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.header {
  box-shadow: 0 12px 42px rgba(0,0,0,.14);
}

.menu-btn {
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.menu-btn:hover,
.menu-btn[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(232,90,185,.55);
  background: rgba(232,90,185,.09);
}

.nav a {
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.nav a:hover {
  transform: translateX(4px);
  color: white;
  background: rgba(255,255,255,.075);
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-head {
  max-width: 760px;
}

.project-card {
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.project-copy {
  padding: 38px 42px;
}

.project-image {
  overflow: hidden;
}

.project-image img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(232,90,185,.38);
}

.project-card:hover .project-image img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.expertise-strip {
  padding: 48px 5.5%;
  align-items: center;
  border-bottom: 1px solid var(--soft-line);
  background: linear-gradient(90deg, rgba(232,90,185,.045), transparent 45%, rgba(216,175,105,.04));
}

.expertise-intro {
  grid-column: 1 / span 4;
}

.expertise-intro .label {
  margin-bottom: 9px;
}

.expertise-intro > p:last-child {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
}

.expertise-list {
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.expertise-list span {
  min-height: 74px;
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--soft-line);
  color: #ece5e9;
  font-size: 13px;
  font-weight: 800;
}

.expertise-list strong {
  color: var(--pink);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.skill-cloud {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-cloud span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23,18,23,.065);
  border: 1px solid rgba(23,18,23,.12);
  color: #5e555b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
}

.home-paths {
  padding: 84px 5.5%;
  background: #09090d;
}

.path-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
  isolation: isolate;
}

.path-services {
  grid-column: 1 / span 6;
}

.path-products {
  grid-column: 7 / span 6;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,7,10,.08) 10%, rgba(7,7,10,.94) 88%);
}

.path-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.path-card > div {
  width: 100%;
  padding: 32px;
}

.path-card h2 {
  max-width: 440px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.path-card p:not(.label) {
  max-width: 470px;
  margin: 15px 0 24px;
  color: #d3cbd0;
}

.path-card strong {
  color: var(--gold);
  font-size: 13px;
}

.path-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.path-card:hover {
  border-color: rgba(232,90,185,.38);
}

.contact-box {
  padding: clamp(34px, 5vw, 66px);
  border-radius: 36px;
}

.contact-box h2 {
  max-width: 850px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.6px;
}

.contact-links .contact-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--pink2));
  color: white;
}

.catalog-hero {
  min-height: 50vh;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at 14% 18%, rgba(232,90,185,.15), transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(216,175,105,.10), transparent 30%);
}

.catalog-hero .page-copy {
  grid-column: 1 / span 7;
}

.catalog-hero h1 {
  max-width: 720px;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.1px;
}

.page-note {
  grid-column: 9 / span 4;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 72px rgba(0,0,0,.22);
}

.page-note > span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-note p {
  margin: 14px 0 24px;
  color: #d0c7cd;
  font-size: 15px;
  line-height: 1.65;
}

.page-note a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.filters {
  padding: 7px;
  border-radius: 999px;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--soft-line);
}

.filter {
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.filter:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
}

.offer-grid,
.product-grid {
  gap: 24px;
}

.offer-card,
.product-card {
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.018)), var(--panel);
  box-shadow: 0 24px 72px rgba(0,0,0,.23);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.offer-card {
  grid-column: span 4;
}

.product-card {
  grid-column: span 4;
}

.offer-card:hover,
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232,90,185,.42);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
}

.commerce-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #08080b;
}

.offer-card .commerce-card-media img,
.product-card .commerce-card-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.offer-card:hover .commerce-card-media img,
.product-card:hover .commerce-card-media img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.commerce-card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7,7,10,.78);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  color: white !important;
  font-size: 10px !important;
  letter-spacing: 1px !important;
}

.commerce-card-body {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.commerce-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.commerce-card-meta span:first-child {
  color: var(--pink);
}

.commerce-card-meta span:last-child {
  color: #928991;
  text-align: right;
}

.commerce-card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.commerce-card-body h3 {
  margin: 14px 0 10px;
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.12;
  letter-spacing: -.5px;
}

.commerce-card-body > p {
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.62;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.commerce-card-body strong {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--soft-line);
  color: var(--gold);
  font-size: 13px;
}

.commerce-card-body strong span {
  color: var(--gold);
  font-size: 17px;
}

.commerce-detail {
  padding: 104px 5.5% 0;
}

.commerce-detail > * {
  grid-column: 1 / span 12;
  min-width: 0;
}

.back-link {
  width: max-content;
  margin-bottom: 28px;
  color: #aea5ac;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, transform .2s ease;
}

.back-link:hover {
  color: white;
  transform: translateX(-4px);
}

.commercial-hero {
  padding-bottom: 62px;
  align-items: start;
  border-bottom: 1px solid var(--soft-line);
}

.commercial-copy {
  grid-column: 1 / span 6;
}

.commercial-copy h1 {
  max-width: 680px;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.1px;
}

.commercial-lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.commercial-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.commercial-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  color: #d7cfd4;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.commercial-visual {
  grid-column: 7 / span 6;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 34px 100px rgba(0,0,0,.35);
}

.commercial-visual img {
  aspect-ratio: 16 / 10;
  max-height: 430px;
  object-fit: cover;
}

.commercial-visual figcaption {
  padding: 15px 19px;
  color: #aaa1a8;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.commercial-info {
  padding: 70px 0;
  align-items: start;
}

.included-block {
  grid-column: 1 / span 7;
}

.included-block h2,
.commercial-process h2,
.commercial-cta h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.included-block ul {
  margin-top: 24px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.included-block li {
  min-height: 92px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--soft-line);
}

.included-block li span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.included-block li p {
  margin-top: 14px;
  color: #e7dfe4;
  font-weight: 750;
}

.for-who-card {
  grid-column: 9 / span 4;
  padding: 30px;
  border-radius: 26px;
  position: sticky;
  top: 100px;
  background:
    radial-gradient(circle at 15% 10%, rgba(232,90,185,.16), transparent 42%),
    var(--panel-soft);
  border: 1px solid rgba(255,255,255,.12);
}

.for-who-card > p:not(.label) {
  color: #d4cbd1;
  font-size: 16px;
  line-height: 1.72;
}

.for-who-card a {
  margin-top: 28px;
  display: inline-flex;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.commercial-process {
  padding: 70px 0;
  border-top: 1px solid var(--soft-line);
}

.process-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  grid-column: span 3;
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  border: 1px solid var(--soft-line);
}

.process-card > span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.process-card h3 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.commercial-cta {
  margin-bottom: 70px;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(232,90,185,.23), transparent 36%),
    radial-gradient(circle at 92% 100%, rgba(216,175,105,.15), transparent 34%),
    var(--panel);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
}

.commercial-cta > p:not(.label) {
  max-width: 640px;
  margin: 18px 0 30px;
  color: var(--muted);
}

.commercial-empty {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.commercial-empty h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.commercial-empty > p:not(.label) {
  margin: 18px 0 28px;
  color: var(--muted);
}

.contact-page {
  align-items: start;
}

.contact-page .contact-main {
  grid-column: 1 / span 7;
}

.contact-guide {
  grid-column: 9 / span 4;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--soft-line);
}

.contact-guide h2 {
  margin-bottom: 25px;
  font-size: 28px;
}

.contact-guide ol {
  list-style: none;
}

.contact-guide li {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  border-top: 1px solid var(--soft-line);
}

.contact-guide li span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.contact-guide li p {
  color: #d6cdd3;
  font-size: 14px;
}

.site-footer {
  padding: 64px 5.5% 28px;
  text-align: left;
  align-items: start;
  background: #050507;
  border-top: 1px solid var(--soft-line);
}

.footer-brand {
  grid-column: 1 / span 5;
}

.footer-brand > span {
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.footer-brand strong {
  margin-top: 8px;
  display: block;
  color: var(--pink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -1px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 17px;
  color: #91888f;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column:nth-of-type(2) {
  grid-column: 7 / span 2;
}

.footer-column:nth-of-type(3) {
  grid-column: 10 / span 3;
}

.footer-column > span {
  margin-bottom: 8px;
  color: #70686e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.footer-column a {
  color: #cfc6cc;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  grid-column: 1 / span 12;
  margin-top: 46px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--soft-line);
  color: #6f686d;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .expertise-intro,
  .expertise-list,
  .catalog-hero .page-copy,
  .page-note,
  .commercial-copy,
  .commercial-visual,
  .included-block,
  .for-who-card,
  .contact-page .contact-main,
  .contact-guide {
    grid-column: 1 / span 12;
  }

  .expertise-list,
  .page-note,
  .commercial-visual,
  .for-who-card,
  .contact-guide {
    margin-top: 24px;
  }

  .path-services,
  .path-products {
    grid-column: 1 / span 12;
  }

  .path-card + .path-card {
    margin-top: 24px;
  }

  .offer-card,
  .product-card {
    grid-column: span 6;
  }

  .for-who-card {
    position: static;
  }

  .process-card {
    grid-column: span 6;
  }

  .footer-brand {
    grid-column: 1 / span 6;
  }

  .footer-column:nth-of-type(2) {
    grid-column: 8 / span 2;
  }

  .footer-column:nth-of-type(3) {
    grid-column: 10 / span 3;
  }
}

@media (max-width: 760px) {
  .section,
  .home-paths {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .expertise-strip {
    padding: 42px 5%;
  }

  .expertise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card {
    min-height: 330px;
    border-radius: 26px;
  }

  .path-card > div {
    padding: 26px;
  }

  .path-card h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .contact-box h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .catalog-hero {
    min-height: auto;
  }

  .catalog-hero h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -1px;
  }

  .page-note {
    padding: 22px;
  }

  .filters {
    width: 100%;
    border-radius: 24px;
  }

  .filter {
    flex: 1 1 auto;
  }

  .offer-card,
  .product-card {
    grid-column: span 12;
    min-height: 0;
    border-radius: 26px;
  }

  .commerce-detail {
    padding: 100px 5% 0;
  }

  .commercial-hero {
    padding-bottom: 46px;
  }

  .commercial-copy h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -1px;
  }

  .commercial-lead {
    font-size: 15.5px;
  }

  .commercial-visual {
    border-radius: 24px;
  }

  .commercial-info,
  .commercial-process {
    padding: 52px 0;
  }

  .included-block ul {
    grid-template-columns: 1fr;
  }

  .process-card {
    grid-column: span 12;
    min-height: 0;
  }

  .commercial-cta {
    margin-bottom: 64px;
    padding: 30px 24px;
    border-radius: 28px;
  }

  .site-footer {
    padding: 52px 5% 24px;
    gap: 34px 0;
  }

  .footer-brand,
  .footer-column:nth-of-type(2),
  .footer-column:nth-of-type(3),
  .footer-bottom {
    grid-column: 1 / span 12;
  }

  .footer-column:nth-of-type(2),
  .footer-column:nth-of-type(3) {
    margin-top: 0;
  }

  .footer-bottom {
    margin-top: 10px;
    flex-direction: column;
    gap: 5px;
  }
}

/* PROFESJONALNE ŚWIATŁO MIĘDZYLITEROWE */

.hero h1,
.page-hero h1,
.detail-head h1,
.catalog-hero h1,
.commercial-copy h1 {
  letter-spacing: .018em;
  line-height: 1.08;
  font-weight: 800;
}

.section-head h2,
.path-card h2,
.contact-box h2,
.contact-main h1,
.included-block h2,
.commercial-process h2,
.commercial-cta h2 {
  letter-spacing: .014em;
  line-height: 1.12;
  font-weight: 800;
}

.project-copy h3,
.commerce-card-body h3,
.detail-block h2,
.contact-guide h2,
.footer-brand strong {
  letter-spacing: .01em;
  line-height: 1.16;
}

@media (max-width: 760px) {
  .hero h1,
  .page-hero h1,
  .detail-head h1,
  .catalog-hero h1,
  .commercial-copy h1 {
    letter-spacing: .01em;
    line-height: 1.1;
  }

  .section-head h2,
  .path-card h2,
  .contact-box h2,
  .contact-main h1,
  .included-block h2,
  .commercial-process h2,
  .commercial-cta h2 {
    letter-spacing: .008em;
    line-height: 1.14;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
