/* NorDigital - ciemny layout, magenta, karty z numerami */
:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --accent: #d633ff;
  --accent-bright: #e040fb;
  --accent-2: #9d4edd;
  --accent-soft: rgba(214, 51, 255, 0.12);
  --accent-glow: rgba(214, 51, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, sans-serif;
  --max: 1360px;
  --header-h: 76px;
  --section-y: clamp(4rem, 10vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--accent-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--text);
}

.logo__img {
  height: 32px;
  width: auto;
  display: block;
}

@media (min-width: 960px) {
  .logo__img {
    height: 34px;
  }
}

.footer-brand .logo__img {
  height: 28px;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  justify-self: center;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--text);
}

.btn--nav-cta {
  display: none;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  border: none;
  box-shadow: 0 0 28px rgba(214, 51, 255, 0.35);
  transition: filter 0.2s, transform 0.15s;
  justify-self: end;
  white-space: nowrap;
}

.btn--nav-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-of-type {
  border-bottom: 0;
}

.nav-mobile .btn--nav-cta {
  display: inline-flex;
  margin-top: 0.75rem;
  justify-content: center;
  width: 100%;
}

.nav-mobile.is-open {
  display: flex;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .btn--nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-mobile {
    display: none !important;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-y) 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--alt {
  background: var(--bg-elevated);
  box-shadow: 0 0 0 100vmax var(--bg-elevated);
  clip-path: inset(0 -100vmax);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head .h2 {
  margin: 0;
}

.section-head__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.section-head__link:hover {
  color: var(--accent-bright);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
}

.h1 .h1__accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46rem;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.muted {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 32px rgba(214, 51, 255, 0.4);
}

.btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.9rem 1.5rem;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(214, 51, 255, 0.28), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(157, 78, 221, 0.22), transparent 30%),
    linear-gradient(135deg, #020202 0%, #090014 45%, #000000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 42%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 80% 45%, rgba(214, 51, 255, 0.12), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0%, transparent 48%, rgba(214, 51, 255, 0.16) 49%, transparent 51%, transparent 100%),
    linear-gradient(25deg, transparent 0%, transparent 50%, rgba(157, 78, 221, 0.12) 51%, transparent 53%, transparent 100%),
    radial-gradient(circle at 82% 38%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 52%, rgba(214, 51, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 58%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 25%, rgba(214, 51, 255, 0.15) 0 1px, transparent 2px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 58rem;
}

.hero__content::before {
  content: "";
  position: absolute;
  left: -18vw;
  bottom: -150px;
  width: 72vw;
  height: 260px;
  border-radius: 50%;
  border-top: 1px solid rgba(214, 51, 255, 0.35);
  box-shadow:
    0 -18px 50px rgba(214, 51, 255, 0.28),
    0 -4px 18px rgba(157, 78, 221, 0.26);
  transform: rotate(8deg);
  pointer-events: none;
  z-index: -1;
}

.hero__content::after {
  content: "";
  position: absolute;
  right: -34vw;
  top: 4%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background:
    linear-gradient(120deg, transparent 38%, rgba(214, 51, 255, 0.15), transparent 62%);
  filter: blur(2px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero__content .lead {
  max-width: 46rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.badge-pill svg {
  flex-shrink: 0;
  color: var(--accent);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid--auto {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid--auto {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .card-grid--auto {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(214, 51, 255, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.service-card--dim {
  opacity: 0.72;
}

.service-card--dim:hover {
  opacity: 0.9;
}

.service-card__num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.06em;
  user-select: none;
  pointer-events: none;
}

.service-card .h3 {
  position: relative;
  z-index: 1;
  margin-top: 0.25rem;
}

.service-card .muted {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.95rem;
}

.service-card__link {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.service-card__link:hover {
  color: var(--accent-bright);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .split--2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.dla-kogo__box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
}

.dla-kogo__box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dla-kogo__box li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.dla-kogo__box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.link-arrow:hover {
  color: var(--accent-bright);
}

.process-intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.process-intro .lead {
  margin-left: auto;
  margin-right: auto;
}

.steps-mock {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .steps-mock {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steps-mock {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: rgba(214, 51, 255, 0.25);
  transform: translateY(-2px);
}

.step-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.step-card .h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-card .muted {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.project-card:hover {
  border-color: rgba(214, 51, 255, 0.3);
  transform: translateY(-3px);
}

.project-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.project-thumb {
  height: 200px;
  width: 100%;
  position: relative;
}

.project-thumb--a {
  background: linear-gradient(135deg, #ff6b35 0%, #004e89 55%, #7b2cbf 100%);
}

.project-thumb--b {
  background: linear-gradient(145deg, #06d6a0 0%, #ef476f 50%, #ffd166 100%);
}

.project-thumb--c {
  background: linear-gradient(125deg, #ff006e 0%, #8338ec 45%, #3a86ff 100%);
}

.project-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.cta-block {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.75rem) 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    #111 0%,
    rgba(40, 10, 50, 0.95) 50%,
    rgba(80, 20, 90, 0.5) 100%
  );
  border: 1px solid rgba(214, 51, 255, 0.2);
  box-shadow: 0 0 60px rgba(214, 51, 255, 0.08);
}

.cta-block .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}

.cta-mail {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-mail:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.15fr repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact-item a {
  color: inherit;
}

.footer-contact-item a:hover {
  color: var(--text);
}

.footer-brand p {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.compare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.compare h3 {
  margin-top: 0;
}

.compare ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.compare li {
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: rgba(214, 51, 255, 0.45);
  box-shadow: 0 0 40px rgba(214, 51, 255, 0.1);
}

.price-card__price {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.price-card ul {
  flex: 1;
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(214, 51, 255, 0.3);
  transform: translateY(-2px);
}

.card a.card__link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-block;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step__num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.page-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero .lead {
  max-width: 50rem;
}

.prose {
  max-width: 52rem;
}

.prose p {
  color: var(--text-muted);
}

.legal-doc .legal-list {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.legal-doc .legal-list li {
  margin-bottom: 0.55rem;
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal-doc .legal-list--ordered {
  list-style: decimal;
}

.legal-doc h2.h3 {
  color: var(--text);
  font-size: 1.15rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* === Subtle motion (added at end - do not change colors/layout above) === */

@keyframes nd-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content > * {
  animation: nd-fade-in-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.06s;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.14s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.22s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.3s;
}

.service-card,
.card,
.price-card,
.project-card {
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.service-card:hover,
.card:hover,
.price-card:hover,
.project-card:hover {
  border-color: rgba(214, 51, 255, 0.45);
  transform: translateY(-4px);
  box-shadow:
    0 12px 36px rgba(214, 51, 255, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.22);
}

.price-card--featured:hover {
  box-shadow:
    0 16px 44px rgba(214, 51, 255, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.2s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 32px rgba(214, 51, 255, 0.48),
    0 2px 10px rgba(214, 51, 255, 0.22);
}

.btn--outline:hover,
.btn--ghost:hover {
  transform: translateY(-1px);
}

.btn--nav-cta:hover {
  transform: translateY(-1px);
}

.btn--primary:active,
.btn--outline:active,
.btn--ghost:active,
.btn--nav-cta:active {
  transform: translateY(0) scale(0.98);
}

a,
.service-card__link,
.link-arrow,
.section-head__link,
.cta-mail,
.footer-col a {
  transition: color 0.22s ease;
}

.service-card__link,
.link-arrow,
.section-head__link {
  transition: color 0.22s ease, transform 0.22s ease;
}

.service-card__link:hover,
.link-arrow:hover {
  transform: translateX(3px);
}

.badge-pill {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .badge-pill:hover {
    border-color: rgba(214, 51, 255, 0.35);
    box-shadow: 0 0 20px rgba(214, 51, 255, 0.1);
  }
}

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

  .hero__content > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .service-card:hover,
  .card:hover,
  .price-card:hover,
  .project-card:hover,
  .btn--primary:hover,
  .btn--outline:hover,
  .btn--ghost:hover,
  .btn--nav-cta:hover,
  .service-card__link:hover,
  .link-arrow:hover {
    transform: none;
  }
}

/* Brief projektowy */
.brief-form-wrap {
  max-width: 52rem;
  padding-top: 0;
}

.brief-form-intro {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.brief-required {
  color: var(--accent);
}

.brief-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brief-section {
  padding: 1.5rem 1.5rem 1.75rem;
}

.brief-section__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.brief-section__head .h3 {
  margin: 0;
}

.brief-section__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(214, 51, 255, 0.25);
  border-radius: 50%;
}

.brief-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.brief-fieldset legend {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.brief-hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.brief-form .check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}

.brief-form .check-grid--single {
  grid-template-columns: 1fr;
}

.brief-form .check-grid--inline {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.brief-form .check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.brief-form .check-option:hover {
  border-color: rgba(214, 51, 255, 0.3);
  background: var(--bg-card-hover);
}

.brief-form .check-option:has(input:checked) {
  border-color: rgba(214, 51, 255, 0.45);
  background: var(--accent-soft);
}

.brief-form .check-option input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.brief-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.25rem;
  margin-top: 0.25rem;
}

.brief-form-row--files {
  margin-top: 1rem;
}

.brief-example {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.brief-example .form-group:last-child {
  margin-bottom: 0;
}

.brief-form .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.brief-form .form-group input[type="file"] {
  width: 100%;
  padding: 0.65rem 0;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.brief-form .form-group input,
.brief-form .form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.brief-form .form-group input:focus,
.brief-form .form-group textarea:focus,
.brief-form .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 51, 255, 0.12);
}

.brief-reservation-fields.is-hidden {
  display: none;
}

.brief-section.is-hidden,
.brief-submit-area.is-hidden,
.brief-form .form-group.is-hidden,
.brief-form .budget-options.is-hidden,
.brief-form .termin-options.is-hidden,
.brief-form .budget-options-placeholder.is-hidden,
.brief-form .brief-wizytaok-brand-fields.is-hidden {
  display: none;
}

.brief-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brief-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.service-radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.service-radio-card:hover {
  border-color: rgba(214, 51, 255, 0.35);
  background: var(--bg-card-hover);
}

.service-radio-card:has(input:checked) {
  border-color: rgba(214, 51, 255, 0.55);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(214, 51, 255, 0.15);
}

.service-radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-radio-card__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding-left: 1.6rem;
  position: relative;
}

.service-radio-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-radio-card:has(input:checked) .service-radio-card__title::before {
  border-color: var(--accent);
  background: radial-gradient(circle at center, var(--accent) 0 35%, transparent 40%);
}

.service-radio-card__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 1.6rem;
}

@media (max-width: 640px) {
  .brief-service-grid {
    grid-template-columns: 1fr;
  }
}

.brief-reservation-fields {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.brief-consent .check-option {
  align-items: flex-start;
}

.brief-submit-area {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}

.brief-submit-note {
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .brief-section {
    padding: 1.25rem 1rem 1.5rem;
  }

  .brief-form .check-grid {
    grid-template-columns: 1fr;
  }

  .brief-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5.5rem 0 4rem;
    background:
      radial-gradient(circle at 70% 18%, rgba(214, 51, 255, 0.22), transparent 34%),
      radial-gradient(circle at 18% 76%, rgba(157, 78, 221, 0.18), transparent 34%),
      linear-gradient(135deg, #020202 0%, #090014 52%, #000000 100%);
  }

  .hero::after {
    opacity: 0.45;
  }

  .hero__content::before,
  .hero__content::after {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: heroGlow 9s ease-in-out infinite alternate;
  }

  @keyframes heroGlow {
    from {
      opacity: 0.75;
      transform: scale(1);
    }

    to {
      opacity: 1;
      transform: scale(1.03);
    }
  }
}

/* Hero - subtelne dark tech tło (nadpisuje wcześniejsze style) */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 -120px 120px rgba(0, 0, 0, 0.86);
  background:
    radial-gradient(circle at 78% 26%, rgba(214, 51, 255, 0.18), transparent 24%),
    radial-gradient(circle at 92% 64%, rgba(157, 78, 221, 0.12), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(214, 51, 255, 0.08), transparent 26%),
    linear-gradient(135deg, #020202 0%, #07030d 45%, #000000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  animation: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 44%, rgba(0, 0, 0, 0.82) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 75% 34%, rgba(214, 51, 255, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 42%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 31%, rgba(214, 51, 255, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 57%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    linear-gradient(35deg, transparent 0 58%, rgba(214, 51, 255, 0.08) 59%, transparent 60%),
    linear-gradient(145deg, transparent 0 62%, rgba(157, 78, 221, 0.08) 63%, transparent 64%),
    linear-gradient(90deg, transparent 0 68%, rgba(214, 51, 255, 0.07) 69%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content::before,
.hero__content::after {
  display: none !important;
}

.hero .wrap,
.hero__content {
  position: relative;
  z-index: 1;
}

.hero .wrap::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -80px;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(214, 51, 255, 0.12), transparent 68%);
  z-index: -1;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5.5rem 0 4rem;
    background:
      radial-gradient(circle at 72% 18%, rgba(214, 51, 255, 0.15), transparent 30%),
      radial-gradient(circle at 18% 78%, rgba(157, 78, 221, 0.09), transparent 30%),
      linear-gradient(135deg, #020202 0%, #07030d 50%, #000000 100%);
  }

  .hero::after {
    opacity: 0.32;
  }

  .hero .wrap::after {
    opacity: 0.5;
  }
}

/* Hero - web design / AI workflow (nadpisuje wcześniejsze style) */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 -120px 120px rgba(0, 0, 0, 0.9);
  background:
    radial-gradient(circle at 76% 24%, rgba(214, 51, 255, 0.18), transparent 26%),
    radial-gradient(circle at 22% 78%, rgba(157, 78, 221, 0.12), transparent 30%),
    linear-gradient(135deg, #020202 0%, #07030d 48%, #000000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  animation: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 42%, rgba(0, 0, 0, 0.84) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(214, 51, 255, 0.36) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 36%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 52%, rgba(214, 51, 255, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px);
  background-size:
    72px 72px,
    72px 72px,
    auto,
    auto,
    auto,
    auto;
  mask-image: linear-gradient(90deg, transparent 0%, black 38%, black 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content::before,
.hero__content::after {
  display: none !important;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero .wrap::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(460px, 38vw);
  height: 320px;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(214, 51, 255, 0.16);
  border-radius: 22px;
  box-shadow:
    0 0 80px rgba(214, 51, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero .wrap::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 14%;
  width: min(390px, 32vw);
  height: 250px;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(90deg, rgba(214, 51, 255, 0.22), rgba(214, 51, 255, 0.04)) 0 0 / 46% 12px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)) 0 42px / 72% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)) 0 68px / 54% 10px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) 0 96px / 82% 10px no-repeat,
    radial-gradient(circle at 12% 66%, rgba(214, 51, 255, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 78%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 62%, rgba(214, 51, 255, 0.55) 0 2px, transparent 3px),
    linear-gradient(135deg, transparent 58%, rgba(214, 51, 255, 0.22) 59%, transparent 61%);
  border-radius: 18px;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 5.5rem 0 4rem;
    background:
      radial-gradient(circle at 72% 18%, rgba(214, 51, 255, 0.14), transparent 32%),
      radial-gradient(circle at 18% 78%, rgba(157, 78, 221, 0.1), transparent 32%),
      linear-gradient(135deg, #020202 0%, #07030d 48%, #000000 100%);
  }

  .hero::after {
    opacity: 0.36;
    mask-image: linear-gradient(180deg, black 0%, transparent 100%);
  }

  .hero .wrap::before,
  .hero .wrap::after {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after {
    animation: heroGridPulse 10s ease-in-out infinite alternate;
  }

  @keyframes heroGridPulse {
    from {
      opacity: 0.48;
      transform: translate3d(0, 0, 0);
    }

    to {
      opacity: 0.68;
      transform: translate3d(-8px, 4px, 0);
    }
  }
}

/* Realizacje - karty i galerie */
.project-card__media {
  display: block;
  overflow: hidden;
  background: var(--bg-elevated, #0c0c12);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.project-card:hover .project-card__media {
  border-color: rgba(214, 51, 255, 0.25);
}

.project-card__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.project-card:hover .project-card__media img {
  transform: scale(1.03);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.project-filters .badge-pill {
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.project-filters .badge-pill:hover {
  border-color: rgba(214, 51, 255, 0.45);
  background: rgba(214, 51, 255, 0.08);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-scope .card {
  height: 100%;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.project-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-gallery img:hover {
  border-color: rgba(214, 51, 255, 0.35);
  transform: translateY(-2px);
}

.project-gallery--social img {
  aspect-ratio: 1 / 1;
}

@media (max-width: 640px) {
  .project-card__media img {
    height: 180px;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Realizacja - hero i galeria projektu */
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.project-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.project-hero__image img,
.project-card__media img,
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.project-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg-card);
}

.project-card__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card__media img {
  transform: scale(1.04);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.project-scope {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .project-hero {
    grid-template-columns: 1fr;
  }

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

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .project-scope {
    grid-template-columns: 1fr;
  }
}

.project-gallery img.project-gallery__contain {
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.project-gallery--featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery--featured .project-gallery__lead {
  grid-column: 1 / -1;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
}

.project-hero__image.project-hero__image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  min-height: 0;
}

.project-hero__image--logo img {
  width: min(100%, 34rem);
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.project-card__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 1.25rem 1.5rem;
}

.project-card__media--logo img {
  width: auto;
  max-width: 82%;
  max-height: 170px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.project-card:hover .project-card__media--logo img {
  transform: scale(1.02);
}

/* Projekty - nawigacja kategorii i galeria z podpisami */
.project-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(214, 51, 255, 0.45);
  background: rgba(214, 51, 255, 0.08);
}

.project-info-card {
  max-width: 40rem;
}

.project-gallery--prints {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-gallery--prints figure {
  margin: 0;
}

.project-gallery--prints img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-gallery--prints figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted, #a0a0b0);
}

#wszystkie,
#identyfikacja,
#strony-www,
#grafiki {
  scroll-margin-top: 6rem;
}

.project-gallery--portrait {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  max-width: none;
  align-items: stretch;
}

.project-gallery--portrait img:not(.project-gallery__wide) {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

.project-gallery--portrait .project-gallery__wide {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-gallery--flush {
  width: calc(100% + 3rem);
  margin-inline: -1.5rem;
}

@media (max-width: 900px) {
  .project-gallery--portrait {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .project-gallery--portrait {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: auto;
  }

  .project-gallery--portrait img:not(.project-gallery__wide) {
    max-width: none;
    margin-inline: 0;
  }

  .project-gallery--flush {
    width: calc(100% + 3rem);
    margin-inline: -1.5rem;
  }
}

.wizytaok-panel {
  padding: 1.75rem;
}

.wizytaok-panel__grid {
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .wizytaok-panel__grid {
    gap: 1.5rem;
  }
}

.project-gallery--single {
  display: block;
  width: 100%;
}

.project-gallery--single img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.price-card__subprice {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: -0.35rem 0 1rem;
}

.pricing-example__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-example__list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.pricing-example__list li:last-child {
  border-bottom: none;
}

.pricing-example__note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.wizytaok-solo-start__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wizytaok-solo-start__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.wizytaok-page {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  background: var(--bg);
}

.wizytaok-page__backdrop {
  display: none;
}

.wizytaok-page__notice {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg);
}

.wizytaok-coming-soon {
  width: min(100%, 40rem);
  border-color: rgba(214, 51, 255, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.device-showcase {
  position: relative;
  width: 100%;
}

.device-showcase--hero {
  position: relative;
  min-height: clamp(17rem, 32vw, 23rem);
  padding: 0.25rem 0 0.5rem;
  max-width: 38rem;
  margin-inline: auto;
}

.device-showcase--hero .device-frame--laptop {
  position: relative;
  width: min(100%, 92%);
  margin-inline: auto;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.device-showcase--hero .device-frame--tablet {
  position: absolute;
  left: -2%;
  bottom: 2%;
  width: clamp(5.5rem, 28%, 8.5rem);
  z-index: 2;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.42));
}

.device-showcase--hero .device-frame--phone {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: clamp(4.5rem, 22%, 6.75rem);
  z-index: 3;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.42));
}

.device-frame--tablet::before {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 2;
  pointer-events: none;
}

.project-hero__image--devices {
  overflow: visible;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .device-showcase--full {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }

  .device-showcase--hero {
    min-height: clamp(14rem, 52vw, 18rem);
    max-width: 100%;
  }

  .device-showcase--hero .device-frame--tablet {
    left: 0;
    width: clamp(4.75rem, 26vw, 6.5rem);
  }

  .device-showcase--hero .device-frame--phone {
    right: 0;
    width: clamp(3.75rem, 20vw, 5.25rem);
  }
}

.device-showcase--full {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.45fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: end;
}

.device-showcase__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.device-showcase__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.device-frame {
  position: relative;
  width: 100%;
}

.device-frame__screen {
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.device-frame__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.device-frame--laptop .device-frame__screen {
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 0 0;
}

.device-frame--laptop .device-frame__chin {
  height: 0.55rem;
  margin-inline: 12%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

.device-frame--tablet .device-frame__screen {
  aspect-ratio: 834 / 1194;
  border-radius: 18px;
  border-width: 3px;
}

.device-frame--phone .device-frame__screen {
  aspect-ratio: 390 / 844;
  border-radius: 22px;
  border-width: 3px;
}

.device-frame--phone::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 2;
  pointer-events: none;
}

.project-concept-notice {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 51, 255, 0.28);
  background: rgba(214, 51, 255, 0.08);
  max-width: 36rem;
}

.project-concept-notice p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.project-concept-notice strong {
  color: var(--text);
  font-weight: 600;
}

.patient-journey__intro {
  max-width: 44rem;
}

.patient-journey__lead {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.patient-journey__body {
  margin-top: 2rem;
}

.patient-journey__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.patient-journey__card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.patient-journey__card:hover {
  border-color: rgba(214, 51, 255, 0.28);
  transform: translateY(-2px);
}

.patient-journey__note {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .patient-journey__cards {
    grid-template-columns: 1fr;
  }
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  font-weight: inherit;
  letter-spacing: inherit;
}

.brand-word__digital {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brief-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#brief-sent-notice.is-hidden {
  display: none;
}
