/* Page-owned styles for Usługi */

.services-hero {
  padding-block: var(--space-4xl) var(--space-3xl);
  background-image: radial-gradient(circle at 75% 20%, rgba(0, 255, 136, 0.06), transparent 40%),
                    linear-gradient(180deg, rgba(30, 41, 59, 0.35) 0%, rgba(10, 10, 10, 0) 100%);
}

.services-hero__container {
  position: relative;
}

.services-hero__content {
  max-width: 600px;
  text-align: left;
}

.services-hero__title {
  font-size: clamp(32px, 5vw, var(--text-display));
  line-height: var(--leading-display);
  font-weight: var(--weight-display);
  margin-block-end: var(--space-lg);
}

.services-hero__accent {
  color: var(--color-neon-emerald);
}

.services-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--color-platinum);
  margin-block-end: var(--space-lg);
}

.services-hero__facts {
  margin-block-end: var(--space-xl);
}

.services-hero__cta {
  width: auto;
}

.services-section-title {
  text-align: center;
  margin-block-end: var(--space-2xl);
}

.services-main-services,
.services-elements,
.services-process,
.services-why,
.services-examples,
.services-standards,
.services-pricing,
.services-testimonials,
.services-faq,
.services-cta {
  padding-block: var(--space-4xl);
}

.services-main-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.services-service-card {
  background-color: var(--surface-dark-slate-transparent);
  background-image: var(--surface-gradient);
  border: 1px solid var(--border-platinum);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  padding: var(--space-xl);
  transition: var(--transition-smooth);
  min-width: 0;
}

.services-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-neon-emerald);
}

.services-service-card__icon {
  width: 48px;
  height: 48px;
  margin-block-end: var(--space-md);
  background-color: var(--color-neon-emerald);
  border-radius: var(--radius-sm);
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.services-service-card:hover .services-service-card__icon {
  transform: scale(1.05);
}

.services-service-card__icon--gala {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-service-card__icon--casino {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cpath d='M6 10h.01M10 10h.01M14 10h.01M18 10h.01M6 14h.01M10 14h.01M14 14h.01M18 14h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-service-card__icon--team {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-service-card__title {
  font-size: var(--text-h3);
  margin-block-end: var(--space-sm);
}

.services-service-card__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-service-card__list {
  margin-block-end: 0;
}

.services-elements__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-2xl);
}

.services-element-item {
  min-width: 0;
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--border-platinum);
}

.services-element-item__icon {
  width: 40px;
  height: 40px;
  margin-block-end: var(--space-md);
  background-color: var(--color-neon-emerald);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.services-element-item__icon:hover {
  transform: scale(1.08);
}

.services-element-item__icon--table {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M8 4v16M16 4v16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-element-item__icon--croupier {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-element-item__icon--chips {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-element-item__icon--trophy {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 0 0 12 0V3H6v6z'/%3E%3Cpath d='M6 5H3v2a3 3 0 0 0 3 3M18 5h3v2a3 3 0 0 1-3 3M12 15v6M8 21h8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-element-item__title {
  font-size: var(--text-h4);
  margin-block-end: var(--space-sm);
}

.services-element-item__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-element-item__list {
  margin-block-end: 0;
}

.services-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  counter-reset: process-step;
  position: relative;
}

.services-process__steps::before {
  content: "";
  position: absolute;
  inset-block-start: 24px;
  inset-inline-start: 12.5%;
  inset-inline-end: 12.5%;
  height: 1px;
  background-color: var(--border-platinum);
  z-index: 0;
}

.services-process-step {
  min-width: 0;
  position: relative;
  z-index: 1;
  counter-increment: process-step;
}

.services-process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-neon-emerald);
  color: var(--color-abyssal-charcoal);
  font-family: var(--font-heading);
  font-weight: var(--weight-h2);
  font-size: var(--text-h4);
  margin-block-end: var(--space-md);
}

.services-process-step__title {
  font-size: var(--text-h4);
  margin-block-end: var(--space-sm);
}

.services-process-step__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-process-step__list {
  margin-block-end: 0;
}

.services-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.services-why-item {
  min-width: 0;
  padding: var(--space-lg);
  border-inline-start: 1px solid var(--border-platinum);
}

.services-why-item__icon {
  width: 40px;
  height: 40px;
  margin-block-end: var(--space-md);
  background-color: var(--color-neon-emerald);
  border-radius: var(--radius-sm);
}

.services-why-item__icon--experience {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3 6 6 .8-4.5 4.3L18 20l-6-3.5L6 20l1.5-6.9L3 8.8 9 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-why-item__icon--personal {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-why-item__icon--safe {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-why-item__title {
  font-size: var(--text-h4);
  margin-block-end: var(--space-sm);
}

.services-why-item__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-why-item__list {
  margin-block-end: 0;
}

.services-examples__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.services-example-card {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: var(--space-xl);
  background-color: var(--surface-dark-slate-transparent);
  background-image: var(--surface-gradient);
  border: 1px solid var(--border-platinum);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  transition: var(--transition-smooth);
  min-width: 0;
}

.services-example-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-neon-emerald);
}

.services-example-card__media {
  min-width: 0;
  overflow: hidden;
}

.services-example-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

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

.services-example-card__content {
  padding: var(--space-xl);
  min-width: 0;
}

.services-example-card__title {
  font-size: var(--text-h3);
  margin-block-end: var(--space-sm);
}

.services-example-card__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-example-card__list {
  margin-block-end: 0;
}

.services-standards__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.services-standard-item {
  max-width: 600px;
  margin-inline: auto;
  text-align: left;
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--border-platinum);
}

.services-standard-item__icon {
  width: 40px;
  height: 40px;
  margin-block-end: var(--space-md);
  background-color: var(--color-neon-emerald);
  border-radius: var(--radius-sm);
}

.services-standard-item__icon--quality {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3 6 6 .8-4.5 4.3L18 20l-6-3.5L6 20l1.5-6.9L3 8.8 9 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-standard-item__icon--safety {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-standard-item__icon--logistics {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.services-standard-item__title {
  font-size: var(--text-h4);
  margin-block-end: var(--space-sm);
}

.services-standard-item__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-md);
}

.services-standard-item__list {
  margin-block-end: 0;
}

.services-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.services-pricing-card {
  background-color: var(--surface-dark-slate-transparent);
  background-image: var(--surface-gradient);
  border: 1px solid var(--border-platinum);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  padding: var(--space-xl);
  transition: var(--transition-smooth);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.services-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-neon-emerald);
}

.services-pricing-card--featured {
  border-color: var(--color-neon-emerald);
  box-shadow: var(--shadow-deep), 0 0 20px rgba(0, 255, 136, 0.1);
}

.services-pricing-card__name {
  font-size: var(--text-h3);
  margin-block-end: 0;
}

.services-pricing-card__description {
  color: var(--color-platinum);
  margin-block-end: 0;
}

.services-pricing-card__list {
  margin-block-end: 0;
}

.services-pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-h2);
  color: var(--color-neon-emerald);
  margin-block-start: auto;
  margin-block-end: 0;
}

.services-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.services-testimonial {
  min-width: 0;
  background-color: var(--surface-dark-slate-transparent);
  border: 1px solid var(--border-platinum);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-block-end: 0;
}

.services-testimonial__quote {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-crisp-white);
  margin-block-end: var(--space-md);
  border-inline-start: 3px solid var(--color-neon-emerald);
  padding-inline-start: var(--space-lg);
}

.services-testimonial__author {
  font-size: var(--text-caption);
  color: var(--color-platinum);
  margin-block-start: var(--space-sm);
}

.services-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin-inline: auto;
}

.services-faq-item {
  border-block-end: 1px solid rgba(192, 192, 192, 0.3);
}

.services-faq-item__question {
  margin-block-end: 0;
}

.services-faq-item__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md);
  background: none;
  border: none;
  color: var(--color-platinum);
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: var(--weight-h3);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 44px;
}

.services-faq-item__button:hover {
  color: var(--color-neon-emerald);
}

.services-faq-item__button:focus-visible {
  outline: 2px solid var(--color-neon-emerald);
  outline-offset: 2px;
}

.services-faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.services-faq-item__icon::before,
.services-faq-item__icon::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 14px;
  height: 2px;
  background-color: var(--color-neon-emerald);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.services-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.services-faq-item.active .services-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

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

.services-faq-item.active .services-faq-item__answer {
  max-height: 200px;
}

.services-faq-item__answer p {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-crisp-white);
  margin-block-end: 0;
}

.services-cta {
  background-color: var(--surface-dark-slate);
  background-image: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.services-cta__content {
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
}

.services-cta__title {
  margin-block-end: var(--space-md);
}

.services-cta__text {
  color: var(--color-platinum);
  margin-block-end: var(--space-lg);
}

.services-cta__contacts {
  text-align: left;
  max-width: 400px;
  margin-inline: auto;
  margin-block-end: var(--space-xl);
}

.services-cta__contacts a {
  color: var(--color-neon-emerald);
  transition: var(--transition-smooth);
}

.services-cta__contacts a:hover {
  color: var(--color-crisp-white);
}

.services-cta__button {
  width: auto;
}

@media (max-width: 1024px) {
  .services-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  .services-process__steps::before {
    display: none;
  }

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

  .services-example-card__media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding-block: var(--space-2xl) var(--space-3xl);
  }

  .services-hero__content {
    max-width: 100%;
  }

  .services-hero__cta {
    width: 100%;
  }

  .services-main-services,
  .services-elements,
  .services-process,
  .services-why,
  .services-examples,
  .services-standards,
  .services-pricing,
  .services-testimonials,
  .services-faq,
  .services-cta {
    padding-block: var(--space-2xl);
  }

  .services-main-services__grid,
  .services-why__grid,
  .services-pricing__grid,
  .services-testimonials__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .services-elements__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .services-process__steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .services-process-step__number {
    margin-inline: auto;
  }

  .services-process-step__title,
  .services-process-step__text {
    text-align: center;
  }

  .services-process-step__list {
    text-align: left;
    max-width: 400px;
    margin-inline: auto;
  }

  .services-example-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-example-card__content {
    padding: var(--space-lg);
  }

  .services-standard-item {
    max-width: 100%;
  }

  .services-faq__list {
    max-width: 100%;
  }

  .services-cta__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services-hero__title {
    font-size: clamp(28px, 8vw, 32px);
  }

  .services-section-title {
    font-size: clamp(24px, 6vw, 28px);
  }

  .services-service-card,
  .services-pricing-card,
  .services-testimonial {
    padding: var(--space-lg);
  }

  .services-example-card__media img {
    aspect-ratio: 4 / 3;
  }

  .services-faq-item__button {
    padding: var(--space-sm);
  }
}
