/* Warstwa dopracowania wizualnego ZE8ES — ładowana po podstawowym arkuszu. */

:root {
  --pointer-x: 0px;
  --pointer-y: 0px;
  --glass: rgba(10, 15, 25, 0.72);
  --glass-strong: rgba(13, 20, 34, 0.9);
}

body {
  background:
    radial-gradient(circle at 76% 7%, rgba(62, 57, 224, 0.18), transparent 27%),
    radial-gradient(circle at 52% 54%, rgba(95, 39, 184, 0.07), transparent 31%),
    linear-gradient(180deg, #05070c 0%, #04060a 58%, #060910 100%);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 76, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.site-header.is-scrolled::after { opacity: 1; }
.brand { text-shadow: 0 0 30px rgba(108, 76, 255, .1); }

.hero {
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 52%;
  bottom: 2%;
  width: 48%;
  height: 20%;
  border-radius: 50%;
  background: rgba(56, 57, 255, .14);
  filter: blur(72px);
  pointer-events: none;
}
.hero-grid { grid-template-columns: .92fr 1.08fr; gap: 24px; }
.hero-copy { position: relative; z-index: 3; }
.hero h1 {
  font-size: clamp(52px, 5.55vw, 80px);
  line-height: 1.01;
  text-wrap: balance;
  text-shadow: 0 16px 50px rgba(0,0,0,.32);
}
.hero-copy > p { max-width: 590px; }
.eyebrow { box-shadow: inset 0 1px rgba(255,255,255,.03), 0 12px 36px rgba(0,0,0,.2); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -45%;
  width: 32%;
  height: 260%;
  background: rgba(255,255,255,.24);
  transform: rotate(24deg);
  transition: left .55s ease;
}
.btn-primary:hover::before { left: 122%; }

.hero-visual {
  min-height: 640px;
  background-image: url("hero-visual.svg");
  background-repeat: no-repeat;
  background-position: calc(50% + var(--pointer-x)) calc(50% + var(--pointer-y));
  background-size: contain;
  filter: saturate(1.08) contrast(1.03);
  transition: background-position .18s ease-out, filter .25s ease;
}
.hero-visual:hover { filter: saturate(1.13) contrast(1.04) brightness(1.03); }
.hero-visual > * { display: none !important; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13% 4% 6% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 68, 255, .22), transparent 62%);
  filter: blur(34px);
}

.trust-list span {
  padding: 7px 10px 7px 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.trust-list span:hover {
  color: #dce1eb;
  border-color: var(--line);
  background: rgba(255,255,255,.025);
}

.section { position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(90%, 1180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: translateX(-50%);
}
.section-heading > p { text-wrap: pretty; }

.service-card {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 18px 55px rgba(0,0,0,.12);
}
.service-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(99, 67, 255, .12);
  filter: blur(24px);
  transition: transform .3s ease, opacity .3s ease;
}
.service-card:hover::before { transform: scale(1.35); opacity: .9; }
.service-card:hover .service-icon { transform: translateY(-2px) rotate(-3deg); box-shadow: 0 0 34px rgba(100,60,255,.28); }
.service-icon { position: relative; z-index: 1; transition: transform .25s ease, box-shadow .25s ease; }
.service-card h3, .service-card p, .service-card a { position: relative; z-index: 1; }

.metric {
  padding: 12px 8px;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.metric:hover { background: rgba(255,255,255,.025); transform: translateY(-3px); }
.metric i { background: radial-gradient(circle at 35% 30%, rgba(116,83,255,.18), transparent 70%); }

.project-card {
  min-height: 348px;
  background-color: #11182a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 28px 65px rgba(0,0,0,.28);
}
.project-card:nth-child(1) {
  background-image: linear-gradient(90deg, rgba(4,7,14,.75) 0%, rgba(4,7,14,.25) 48%, rgba(4,7,14,.02) 100%), url("project-local.svg");
}
.project-card:nth-child(2) {
  background-image: linear-gradient(90deg, rgba(4,7,14,.75) 0%, rgba(4,7,14,.24) 48%, rgba(4,7,14,.02) 100%), url("project-antiques.svg");
}
.project-card:nth-child(3) {
  background-image: linear-gradient(90deg, rgba(4,7,14,.76) 0%, rgba(4,7,14,.25) 48%, rgba(4,7,14,.02) 100%), url("project-store.svg");
}
.project-card::before, .project-card::after { display: none; }
.project-copy {
  top: 50%;
  left: 24px;
  max-width: 255px;
  padding: 20px;
  border-color: rgba(255,255,255,.13);
  background: rgba(4,8,15,.74);
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
  transform: translateY(-50%);
}
.project-copy a { transition: transform .2s ease, box-shadow .2s ease; }
.project-copy a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.carousel-controls button { transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.carousel-controls button:hover { border-color: rgba(118,87,255,.65); background: rgba(108,76,255,.08); transform: translateY(-2px); }

.process-box {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 25px 70px rgba(0,0,0,.16);
}
.process-box::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(71,70,255,.1);
  filter: blur(58px);
  pointer-events: none;
}
.process-steps { position: relative; z-index: 1; }
.process-steps li { transition: background .2s ease; border-radius: 12px; }
.process-steps li:hover { background: rgba(255,255,255,.02); }
.process-steps i { background: rgba(255,255,255,.018); box-shadow: inset 0 1px rgba(255,255,255,.04); }

.about-visual {
  background:
    radial-gradient(circle at 62% 34%, rgba(99,72,255,.38), transparent 28%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(145deg,#111827,#070b12);
  background-size: auto, 44px 44px, 44px 44px, auto;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 30px 70px rgba(0,0,0,.25);
}
.about-visual::before { text-shadow: 0 0 60px rgba(101,73,255,.22); }
.about-points div, .testimonial, .contact-card { box-shadow: inset 0 1px rgba(255,255,255,.025); }

.testimonial { position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -12px;
  right: 14px;
  color: rgba(116,84,255,.13);
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: 1;
}
.testimonial:hover { transform: translateY(-5px); border-color: rgba(113,82,255,.35); }
.testimonial p, .testimonial footer { position: relative; z-index: 1; }

.faq-list { border-top: 1px solid var(--line); }
.faq-question { transition: color .2s ease, padding-left .2s ease; }
.faq-question:hover { color: #a995ff; padding-left: 8px; }
.faq-answer { max-width: 780px; }

.contact-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(74,106,255,.13), transparent 28%),
    radial-gradient(circle at 88% 90%, rgba(173,59,255,.11), transparent 30%),
    linear-gradient(145deg,rgba(20,31,52,.83),rgba(7,11,18,.97));
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg,#000,transparent 62%);
}
.contact-grid { position: relative; z-index: 1; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(112,82,255,.65); box-shadow: 0 0 0 4px rgba(108,76,255,.1); outline: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 600px; margin-top: -46px; }
}

@media (max-width: 820px) {
  .hero { background-size: 48px 48px; }
  .hero-visual { min-height: 510px; margin-top: -32px; }
  .project-card { min-height: 390px; }
}

@media (max-width: 600px) {
  .hero { mask-image: none; }
  .hero h1 { font-size: clamp(43px, 13vw, 59px); }
  .hero-visual {
    min-height: 390px;
    margin: -18px -20px -34px;
    width: calc(100% + 40px);
    transform: none;
    background-position: center;
  }
  .project-card { min-height: 420px; background-position: 58% center; }
  .project-copy { top: 20px; right: 18px; left: 18px; max-width: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual { background-position: center !important; transition: none; }
  .btn-primary::before { display: none; }
}


/* Portfolio realizacji — linki i status projektu. */
.project-card-real {
  border-color: rgba(118, 87, 255, .28);
}
.project-card-real .project-copy > small {
  color: #bcaeff;
}
.project-card-concept .project-copy > small {
  color: #d0a9ff;
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(108,76,255,.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.project-links .project-link-secondary {
  color: #c4cad6;
  background: rgba(255,255,255,.035);
}
@media (max-width: 430px) {
  .project-copy { padding: 16px; }
  .project-links a { min-height: 32px; }
}


/* Kontakt wyłącznie e-mailowy. */
.contact-direct {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(4,8,15,.64);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 24px 54px rgba(0,0,0,.2);
}
.contact-direct p { margin: 0; color: var(--muted); line-height: 1.7; }
.contact-direct .kicker { color: #a995ff; }
.contact-email {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}
.contact-email:hover { color: #bdafff; }
.contact-direct .btn { align-self: flex-start; }
.contact-direct small { color: #7f899a; line-height: 1.55; }
@media (max-width: 820px) {
  .contact-direct { padding: 24px; }
  .contact-direct .btn { width: 100%; justify-content: center; }
}
