:root {
    /* colors */
    --text-color: #000000CC;
    --text-color-gray: #575757;
    --accent-color-light: #bf83c2;
    --accent-color: #832E88;
    --accent-hover-color: #832E88CC;
    --accent-pressed-color: #5B165F;
    --pure-white-color: #FFFFFF;
    --surface-color: #EDEDED;

    /* border radius */
    --radius-none: 0rem;
    --radius-xs: 0.5rem;
    --radius-sm: 1rem;
    --radius-md: 2rem;
    --radius-round: 7rem;

    /* font size */
    --heading1-size: 4rem;
    --heading2-size: 3rem;
    --heading3-size: 2rem;
    --heading4-size: 1.5rem;
    --heading5-size: 1rem;
   
    --text-xs: 0.8rem;
    --text-sm: 1rem;
    --text-md: 1.2rem;
    --text-lg: 1.4rem;
}

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

html {
    scroll-behavior: smooth;
    background-color: #fbfbfb;
}

.center {
    text-align: center;
}

body {
    font-family: "Nunito Sans", sans-serif;
    font-size: var(--text-md);
    font-weight: 200;
    line-height: 1.6;
    color: var(--text-color)
}

main {
    padding-top: 148px;
}

header {
    position: fixed;
    width: 100%;
    background-color: white;
        padding: 10px 0 4px 0;
    box-shadow: 0 4px 8px rgba(131, 46, 136, 0.041);
    z-index: 9999;
}

footer {
  background-color: #111;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: solid 1px var(--surface-color);
}

footer,
footer * {
  color: #EDEDED;
}

/* ==============================
FOOTER BOTTOM
================================= */

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0;
}

@media only screen and (min-width: 768px) {
.footer-bottom {
    grid-template-columns: 1fr 1fr 1fr;
}
}

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

.footer-col .text-xs {
  color: rgba(237, 237, 237, 0.6);
  margin-bottom: 4px;
}

.footer-link-lg {
  font-size: 18px;
  font-weight: 700;
  color: #EDEDED;
  text-decoration: none;
}

.footer-link-lg:hover {
  color: var(--accent-color-light);
  text-decoration: none;
}

.footer-link-sm {
  font-size: 12px;
  font-weight: 500;
  color: #EDEDED;
  text-decoration: none;
}

.footer-link-sm:hover {
  color: var(--accent-color-light);
  text-decoration: none;
}

.footer-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EDEDED;
}

.social-small {
  width: 18px;
  height: 18px;
}

.footer-col-copyright {
  justify-content: flex-end;
}

@media only screen and (min-width: 768px) {
.footer-col-copyright {
    align-items: flex-end;
    text-align: right;
}
}

.footer-rotator {
  font-size: clamp(32px, 8vw, 56px);
}

.rotator-word-wrap {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.2em;
}

.rotator-word {
  display: inline-block;
  font-weight: 900;
  color: var(--accent-color-light);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

footer .section-divider {
  border-top: 1px solid rgb(28, 28, 28);
}

.footer-brand-name {
  font-size: clamp(60px, 14vw, 200px);
  font-weight: 700;
  line-height: 0.7;
  color: #242424;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto -20px;
  padding: 32px 32px 0;
  letter-spacing: -0.07em;
  white-space: nowrap;
  overflow: hidden;
}

h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1 {
    font-size: var(--heading1-size);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: var(--heading2-size);
    font-weight: 700;
    margin-top: 0;
}

h3 {
    font-size: var(--heading3-size);
    font-weight: 700;
    margin: 0 0 16px 0;
}

h4 {
    font-size: var(--heading4-size);
    font-weight: 700;
    margin: 0 0 16px 0;
}

h5 {
    font-size: var(--heading5-size);
    font-weight: 700;
    margin: 0 0 16px 0;
}

.h1-project {
    margin-bottom: 8px;
    line-height: 1;
}

.grid-container-2 h1 {
    margin: 0;
}

.subtitle {
  color: hsl(0 0% 0% / 0.7);
  font-size: var(--text-md);
  font-weight: 400;
  opacity: 0;
  transform: translateY(3rem);
  animation: fadeInUp 1s ease forwards;
}

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

p {
    margin: 0;
    padding-bottom: 32px;
    font-weight: 400;
    font-size: var(--text-sm);
}

strong {
    font-weight:bold;
}

.text-xs {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-color-gray);
    padding: 0;
    text-transform: uppercase;
}

.text-sm {
    font-size: var(--text-sm);
    color: var(--text-color);
    font-weight: 600;
}

.img-other {
    width: 100%;
    border-radius: var(--radius-xs, 1rem);
    /* border: 2px solid var(--accent-color); */
    height: auto;
    margin: 0 auto;
}

.img-style {
    width: 100%;
    border-radius: var(--radius-xs, 2rem);
    /* border: 2px solid var(--accent-color); */
    transition: width 1s, height 1s, transform 1s;
}

.img-style:hover {
    width: 100%;
    border-radius: var(--radius-xs, 2rem);
    border: none;
    transform: scale(1.1);
    transition-timing-function: ease 1s;
}

.logo {
    display: inline-block;
    max-width: 200px;
    height: auto;
    border: none;
}

.img-arrow {
    width: 44px;
    height: auto;
    transform: rotate(180deg);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

a:hover,
a:focus {
    color: var(--accent-hover-color);
    text-decoration: underline;
    font-weight: 700;
}

a:active {
    color: #994c30;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary-normal {
    display: inline-block;
    background: rgb(0,0,0);
background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(91,22,95,1) 60%, rgba(131,46,136,1) 100%);
    /* background-color: var(--accent-color); */
    color: var(--pure-white-color);
    text-align: center;
    padding: 1rem 2rem;
    
    border-radius: var(--radius-round);
    transition: 0.2s opacity;
    font-weight: 400;
    font-size: var(--text-sm);
}

.btn-primary-normal:hover {
    opacity: 0.8;
    color: var(--pure-white-color);
    text-decoration: none;
    box-shadow: 0px 4px 8px 0px #832e8886;
}

.btn-primary-normal:active {
    background-color: var(--accent-pressed-color);
    color: var(--pure-white-color);
    text-decoration: none;
}

.btn-secondary-normal {
    display: inline-flex;
    align-items: center;       /* wyśrodkowanie pionowe */
    justify-content: center;
    background-color: var(--pure-white-color);
    color: var(--accent-color);
        text-align: center;
    padding: 1em 2em;
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-round);
    transition: 0.2s opacity;
    font-size: var(--text-sm);
}

.btn-secondary-normal:hover {
    opacity: 0.8;
    color: var(--accent-color);
    text-decoration: none;
    box-shadow: 0px 4px 8px 0px #832e8886;
}

.btn-group {
    display: flex;
    gap: 16px;        /* odstęp między przyciskami */
    flex-wrap: wrap;  /* na małych ekranach przejdą do nowej linii */
    justify-content: center;
}

#contact-me {
    margin-right: 0;
}

@media only screen and (min-width: 768px) {
  #contact-me {
    margin-right: 8rem;
  }
}

.box-shadow {
    box-shadow: 0 4px 13px rgba(0,0,0,.1);
}

.navtoggle li:not(:last-child) {
    display: none;
}

.navtoggle, .navtoggle.responsive {
    position: relative;
}

.navtoggle.responsive li {
    display: block;
    text-align: right;
    padding: 10px 0;
}

.navtoggle li .icon {
    position: absolute;
    right: 0;
    top: -7px;
    font-size: 22px;
    padding-right: 0;
}

.navtoggle.responsive nav {
    padding: 24px 0 0;
}

.navtoggle.responsive li:last-child {
    padding: 0 0 30px;
}

.hero_gradientText {
    background-image: linear-gradient(90deg,#5B165F 0,#832E88);
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

/* Layput styling */

.container {
    padding: 64px 32px;
    max-width: 1080px;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
.container {
  padding: 40px 20px;
}
}

.container-nav {
    padding: 0 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.card-container {
        margin: 0 0 32px 0;
        /*border-bottom: 1px solid var(--surface-color);*/
}

.card-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-meta-row p {
  font-size: var(--text-md);
}

.card-content {
    padding: 16px 8px 0 8px;
}

.grid-container-2 {
    --column-count: 1;
    display: grid;
    gap: 3rem 3rem;
    grid-template-columns: repeat(var(--column-count), 1fr);
    padding: 64px 0;
    align-items: start;
}

.space-sm-verical {
    margin: 32px 0 0px 0;
}

.grid-container-2 > h2 {
    margin-top: 0;
}

nav > ul {
    list-style-type: none;
    margin: 0;
}

div > ul {
    list-style-type: none;
    padding: 0;
}

nav > ul > li > a {
    padding: 0 1rem;
    font-size: var(--text-sm);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-color)
}

nav > ul > li > a:hover {
    font-size: var(--text-sm);
    color: var(--accent-hover-color);
    text-decoration: none;
}

nav > ul > li > a:active {
    color: var(--accent-pressed-color);
    text-decoration: none;
}

.grid-container-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 32px;
}

@media only screen and (min-width: 640px) {
.grid-container-2col {
    grid-template-columns: 1fr 1fr;
}
}

/* ==============================
Small devices (360px and larger)
================================= */

@media only screen and (min-width: 360px) {
.grid-container-2 {
        --column-count: 1;
}
}

/* ==============================
Medium devices (640px and larger)
================================= */

@media only screen and (min-width: 640px) {
header {
        text-align: left;
        padding: 20px 0 13px;
        background-color:  #fbfbfb;
}

nav {
        width: auto;
        float: right;
        margin-top: 0;
}

.grid-container-2 {
        --column-count: 1;
}

.logo {
    /* min-width: 200px; */
    position: absolute;
    top: 20px;
}

nav > ul > li {
    display: inline-block;
}

.navtoggle li:not(:last-child) {
    display: inline-block;
}

.navtoggle li:last-child {
    display: none;
}

nav > ul {
    margin: 1em 0;
}
}

/* ==============================
Large devices (1024px or larger)
================================= */

@media only screen and (min-width: 1024px) {
.grid-container-2 {
        --column-count: 2;
}
}

/* ==============================
X-large devices (1440px or larger)
================================= */

@media only screen and (min-width: 1440px) {
.navtoggle.responsive nav {
        padding: 0px 0 0;
}

.navtoggle.responsive li {
        padding: 0px 0;
}
}


.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}



/* ==============================
LANG SWITCH
================================= */

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;     /* dopasowuje się do fontu nawigacji */
    color: inherit;           /* dopasowuje się do koloru linków */
    padding: 0;
    opacity: 0.45;
    transition: opacity 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    font-weight: bold;
    color: var(--accent-color)        /* opcjonalnie — wyróżnia aktywny język */
}

.lang-sep {
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}

/* ==============================
LOGA
================================= */

.logos-bar {
    padding: 24px 0;
    overflow: hidden;
    width: 100%;
    margin-top: 60px;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.logos-track img.logo-featured {
  height: 50px !important;
}

.logos-track img {
    height: 32px;
    width: auto;
    /*filter: brightness(0) invert(1);  białe logo na czarnym tle */
    opacity: 0.8;
}

.logos-track img:hover {
    opacity: 1;
}

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

/* ==============================
badge
================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==============================
produkt
================================= */

.srv-list { width: 100%;
}

.srv-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: padding-left 0.3s ease;
}

.srv-item:first-child { border-top: 1px solid #e5e7eb;
}

.srv-item:hover { padding-left: 8px;
}

.srv-left { display: flex; align-items: center; gap: 20px;
}

.srv-arrow {
  font-size: 33px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  flex-shrink: 0;
}

.srv-item:hover .srv-arrow {
  color: var(--accent-color);
  transform: rotate(45deg);
}

.srv-title {
  font-size: clamp(18px, 5vw, 28px);
  font-weight: 700;
  transition: color 0.3s ease;
}

.srv-item:hover .srv-title { color: var(--accent-color);
}

.srv-right {
  display: flex;
  align-items: center;
}

.srv-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.srv-tag {
  font-size: 13px;
  color: var(--text-color-gray);
  font-weight: 600;
}

@media only screen and (max-width: 480px) {
  .srv-arrow svg {
    width: 28px;
    height: 28px;
  }
}

.srv-title-link {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

.srv-title-link:hover {
  text-decoration: none;
  color: inherit;
}

/* ==============================
TESTIMONIALS
================================= */
.testimonials-section {
  width: 100%;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid #832E88;
  border-bottom: 1px solid #832E88;
  position: relative;
}

.testimonials-wrapper {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  position: relative;
}

.testimonials-wrapper:active { 
  cursor: grabbing; 
}

.testimonials-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  padding: 48px 10%;
  box-sizing: border-box;
}

.testimonial-quote {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin: 0 0 40px;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.author-role {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 48px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #111;
  transform: scale(1.2);
}

/* ==============================
TESTIMONIALS NAVIGATION ARROWS
================================= */
.testimonials-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--pure-white-color);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.2s ease;
}

@media only screen and (min-width: 768px) {
  .testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.testimonials-nav-prev {
  left: 16px;
}

.testimonials-nav-next {
  right: 16px;
}

.testimonials-nav:hover {
  background: var(--accent-color);
  color: var(--pure-white-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(131, 46, 136, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.testimonials-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* ==============================
TECH STACK
================================= */

.techstack-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.techstack-section .text-xs {
  margin-bottom: 24px;
}

.techstack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.techstack-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--pure-white-color);
  border-radius: var(--radius-xs);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.techstack-item::before {
  content: attr(data-label);
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.techstack-item:hover {
  box-shadow: 0 4px 12px rgba(131, 46, 136, 0.12);
  transform: translateY(-2px);
}

.techstack-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.techstack-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ==============================
ABOUT SECTION
================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 64px 0;
}

@media only screen and (min-width: 768px) {
.about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.about-photo {
  width: 75%;
  height: auto;
  display: block;
  border-radius: var(--radius-xs);
}

.about-photo-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-followers {
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.about-socials {
  display: flex;
  gap: 8px;
}

.about-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.about-socials a:hover {
  background: rgba(0,0,0,0.85);
}

.about-socials img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.about-name {
  margin: 16px 0 4px;
  font-size: var(--heading4-size);
  font-weight: 700;
}

.about-role {
  font-size: var(--text-xs);
  color: var(--text-color-gray);
  font-weight: 200;
  padding-bottom: 0;
  margin-bottom: 32px;
}

.about-team-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-color-gray);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
}

.about-team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pure-white-color);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xs);
  padding: 14px 16px;
}

.about-team-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-team-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-color);
}

.about-team-role {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-color-gray);
  font-weight: 200;
}

.about-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 40px;
  color: var(--text-color);
}

.about-headline strong {
  font-weight: 900;
}

.about-point {
  margin-bottom: 28px;
}

.about-point h4 {
  font-size: var(--heading4-size);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-color);
}

.about-point p {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-color-gray);
  padding-bottom: 0;
  line-height: 1.6;
}

/* ==============================
PROJECT LINK
================================= */

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
  font-size: var(--text-xs);
  color: var(--text-color-gray)
}

.project-link .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.project-link:hover .arrow {
  transform: rotate(45deg);
}

.project-link:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.project-link-lg {
  font-size: var(--heading3-size);
}

.project-link-md {
  font-size: var(--text-sm);
}

.arrow svg {
  vertical-align: middle;
}

/* ==============================
SERVICES GRID
================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media only screen and (min-width: 768px) {
.services-grid {
    grid-template-columns: 1fr 1fr;
}
}

.services-headline-cell,
.services-cell {
  padding: 40px 32px;
  border-bottom: 1px solid #e5e7eb;
}

@media only screen and (min-width: 768px) {
.services-headline-cell,
  .services-cell {
    border-right: 1px solid #e5e7eb;
}

.services-grid > div:nth-child(even) {
    border-right: none;
}
}

.services-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--text-color);
}

.services-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #111;
  color: #fff;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
}

.services-cell h4 {
  font-size: var(--heading4-size);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-color);
}

.services-cell p {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-color-gray);
  padding-bottom: 0;
  line-height: 1.6;
}

/* ==============================
PROJECTS MARQUEE
================================= */

.projects-marquee-bar {
  overflow: hidden;
  width: 100%;
}

.projects-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: projectsMarquee 40s linear infinite;
}

.projects-marquee-track img {
  height: 329px;
  width: auto;
  border-radius: var(--radius-xs);
  box-shadow: -2px 2px 16px -8px #00000035;
}

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

/* ==============================
FAQ SECTION
================================= */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media only screen and (min-width: 1024px) {
.faq-grid {
    grid-template-columns: 1.6fr 1fr;
}
}

.faq-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin: 0 0 40px;
}

.faq-headline-light {
  font-weight: 400;
  color: var(--text-color);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-sizing: border-box;
}

.faq-question {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-color);
  text-align: left;
}

.faq-toggle {
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-color-gray);
}

.faq-card {
  background: var(--pure-white-color);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: -2px 2px 16px -8px #00000020;
}

.faq-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.faq-card-pretitle {
  font-size: var(--heading4-size);
  color: var(--text-color-gray);
  font-weight: 700;
  margin: 0;
}

.faq-card-title {
  font-size: var(--heading3-size);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--text-color);
}

.faq-card-text {
  font-size: var(--text-sm);
  color: var(--text-color-gray);
  padding-bottom: 24px;
}

.faq-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.4rem 0.6rem 0.6rem;
}

.faq-card-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.faq-right {
  position: relative;
  min-height: 100%;
}

/* ==============================
COLLAB SECTION
================================= */

.collab-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  margin: 0 0 48px;
  color: var(--text-color-gray);
}

.collab-headline strong {
  font-weight: 900;
  color: var(--text-color);
}

.collab-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media only screen and (min-width: 640px) {
.collab-steps {
    grid-template-columns: repeat(4, 1fr);
}
}

.collab-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #f5f5f5;
  border-radius: var(--radius-xs);
  color: var(--text-color);
  margin-bottom: 8px;
}

.collab-step h5 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.collab-step p {
  font-size: var(--text-xs);
  color: var(--text-color-gray);
  padding-bottom: 0;
  line-height: 1.5;
}

.collab-card {
  border-radius: var(--radius-sm);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collab-card-dark {
  background: #111;
  color: #EDEDED;
}

.collab-card-dark h3,
.collab-card-dark p,
.collab-card-dark span {
  color: #EDEDED;
}

.collab-card h3 {
  font-size: var(--heading3-size);
  font-weight: 700;
  margin: 0;
}

.collab-card p {
  font-size: var(--text-sm);
  color: var(--text-color-gray);
  padding-bottom: 0;
  line-height: 1.6;
}

.collab-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.collab-features span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.collab-features-dark span {
  color: #EDEDED;
}

.collab-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media only screen and (max-width: 768px) {
.collab-card-inner {
    grid-template-columns: 1fr;
}
}

.collab-card-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==============================
DISCOVERY CALL CARD
================================= */

.discovery-card {
  background: var(--pure-white-color);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 56px 32px;
  text-align: center;
  box-shadow: -2px 2px 16px -8px #00000020;
}

.discovery-counters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media only screen and (min-width: 640px) {
.discovery-counters {
    grid-template-columns: repeat(3, 1fr);
}
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.counter-value {
  font-size: clamp(22px, 4.2vw, 34px);
  font-weight: 900;
  color: var(--accent-color);
}

.counter-label {
  font-size: var(--text-xs);
  color: var(--text-color-gray);
  font-weight: 700;
 
  letter-spacing: 0.05em;
}

.discovery-subtitle {
  font-size: var(--text-md);
  color: var(--text-color-gray);
  font-weight: 400;
  padding-bottom: 8px;
  margin: 0;
}

.discovery-title {
  font-size: clamp(22px, 4.2vw, 34px);
  font-weight: 700;
  margin: 0 0 32px;
  color: var(--text-color);
  line-height: 1.2;
}

.discovery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.4rem 0.6rem 0.6rem;
}

.discovery-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==============================
CASE GALLERY (galeria projektu — stały element na podstronach projektów)
================================= */

.case-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-gallery-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media only screen and (min-width: 768px) {
  .case-gallery-row {
    grid-template-columns: 1.7fr 1fr;
  }
}

.case-gallery-item {
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.case-gallery-item img,
.case-gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery-feature {
  position: relative;
  aspect-ratio: 1080 / 600;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.case-gallery-feature-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==============================
COOKIES POPUP MODAL
================================= */
.cookies-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookies-popup-backdrop.active {
  display: flex;
  opacity: 1;
}

.cookies-popup-modal {
  background-color: var(--pure-white-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cookies-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color-gray);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.cookies-popup-close:hover {
  color: var(--text-color);
}

.cookies-popup-text {
  font-size: var(--text-sm);
  color: var(--text-color);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.cookies-popup-text a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookies-popup-text a:hover {
  color: var(--accent-hover-color);
}

.cookies-popup-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.cookies-popup-btn-secondary {
  padding: 0.8rem 1.6rem;
  background: var(--surface-color);
  border: none;
  border-radius: var(--radius-round);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

.cookies-popup-btn-secondary:hover {
  background-color: #d0d0d0;
}

.cookies-popup-btn-accept {
  padding: 0.8rem 1.6rem;
  background: var(--accent-color);
  border: none;
  border-radius: var(--radius-round);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--pure-white-color);
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: inherit;
}

.cookies-popup-btn-accept:hover {
  opacity: 0.8;
}

/* ==============================
PROJECT LIST
================================= */
.project-list {
  list-style-type: disc;
  margin: 0 0 16px 0;  /* zmiana: usuń margin-top, zostaw tylko margin-bottom */
  padding-left: 24px;
}

.project-list li {
  font-size: var(--text-sm);
  color: var(--text-color-gray);
  margin-bottom: 8px;
  font-weight: 400;
}