/* Benefit cards: cap width (matches Tailwind max-w-64) */
.hero-v6-benefit-item {
    box-sizing: border-box;
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

/* Icon “badge”: fixed circle — Bootstrap had no w/h so the purple area stretched full width */
.hero-v6-benefit-icon {
    box-sizing: border-box;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    overflow: hidden;
}

.hero-v6-benefit-icon i {
    line-height: 1;
}

/* Pill shape + shared dimensions (colors stay in Blade / Tailwind / Bootstrap) */
.hero-v6-cta-pill {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-align: center;
}

/* Long secondary label: wrap inside the pill, keep max width */
.hero-v6-cta-secondary {
    max-width: min(100%, 28rem);
}

/* Bootstrap .btn/.btn-sm padding would otherwise shrink the pill */
a.hero-v6-cta-pill.btn.btn-sm {
    padding: 0.5rem 1.5rem;
    min-height: 2.75rem;
    min-width: 7rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
/* Декор, z-index, анімації затримок карток, таб-bar, keyframes, hover */
.services__wrap-stack {
  z-index: 10;
}

.services__stack-10 {
  position: relative;
  z-index: 10;
}

.services__deco--shape-a {
  position: absolute;
  top: 5rem;
  left: 4rem;
  width: 4rem;
  height: 4rem;
  animation-delay: 0.5s;
}

.services__deco--shape-b {
  position: absolute;
  top: 8rem;
  right: 5rem;
  width: 3rem;
  height: 3rem;
  animation-delay: 1s;
}

.services__deco--shape-c {
  position: absolute;
  bottom: 6rem;
  left: 5rem;
  width: 5rem;
  height: 5rem;
  animation-delay: 1.5s;
}

.services__deco--shape-d {
  position: absolute;
  bottom: 8rem;
  right: 4rem;
  width: 3.5rem;
  height: 3.5rem;
  animation-delay: 2s;
}

.services__deco--line-a {
  position: absolute;
  top: 33%;
  left: 0;
  width: 8rem;
  height: 1px;
}

.services__deco--line-b {
  position: absolute;
  bottom: 25%;
  right: 0;
  width: 7rem;
  height: 1px;
}

.services__deco--svg-a {
  position: absolute;
  top: 6rem;
  left: 33%;
  width: 0.75rem;
  height: 0.75rem;
}

.services__deco--svg-b {
  position: absolute;
  top: 10rem;
  right: 33%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 0.8s;
}

.services__deco--svg-c {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin-left: -0.5rem;
  animation-delay: 1.5s;
}

.services__panel-grid > div:nth-child(1) .services__panel-card {
  animation-delay: 0s;
}

.services__panel-grid > div:nth-child(2) .services__panel-card {
  animation-delay: 0.1s;
}

.services__panel-grid > div:nth-child(3) .services__panel-card {
  animation-delay: 0.2s;
}

.services__panel-grid > div:nth-child(4) .services__panel-card {
  animation-delay: 0.3s;
}

.services__panel-grid > div:nth-child(5) .services__panel-card {
  animation-delay: 0.4s;
}

.services__panel-grid > div:nth-child(6) .services__panel-card {
  animation-delay: 0.5s;
}

.services__panel-grid > div:nth-child(7) .services__panel-card {
  animation-delay: 0.6s;
}

.services__panel-grid > div:nth-child(8) .services__panel-card {
  animation-delay: 0.7s;
}

.services__panel-grid > div:nth-child(9) .services__panel-card {
  animation-delay: 0.8s;
}

.services__panel-grid > div:nth-child(10) .services__panel-card {
  animation-delay: 0.9s;
}

.services__panel-grid > div:nth-child(11) .services__panel-card {
  animation-delay: 1s;
}

.services__panel-grid > div:nth-child(12) .services__panel-card {
  animation-delay: 1.1s;
}

.services__tab-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 576px) {
  .services__tab-bar {
    gap: 0.75rem;
  }
}

@keyframes services-shape-pulse-kf {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes services-shape-bounce-kf {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25%);
  }
}

@keyframes services-shape-ping-kf {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.services__shape--pulse {
  animation: services-shape-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.services__shape--bounce {
  animation: services-shape-bounce-kf 1s infinite;
}

.services__shape--ping {
  animation: services-shape-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.02);
  }
}

.services__cta--lift {
  transition: transform 0.3s ease, filter 0.3s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.95);
}

.services__tab--lift {
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .services__tab--lift:hover {
    transform: scale(1.05);
  }
}

.services__blob {
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.services__tile:hover .services__blob--a {
  transform: scale(1.25);
}

.services__tile:hover .services__blob--b {
  transform: scale(1.1);
}

.services__sheen {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.services__tile:hover .services__sheen {
  opacity: 1;
}

.services__underline-glow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__tile:hover .services__underline-glow {
  opacity: 0.6;
}

.services__float-layer {
  opacity: 0.05;
  transition: opacity 0.5s ease;
}

.services__tile:hover .services__float-layer {
  opacity: 0.1;
}

.services__icon--tilt {
  transition: transform 0.3s ease;
}

.services__tile:hover .services__icon--tilt {
  transform: rotate(12deg);
}

.services__card-heading {
  transition: color 0.3s ease;
}

.services__tile:hover .services__card-heading {
  color: #60a5fa;
}

.dark .services__tile:hover .services__card-heading {
  color: #93c5fd;
}

[data-bs-theme="dark"] .services__tile:hover .services__card-heading {
  color: var(--bs-primary, #6ea8fe);
}

.cta-smoke-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-smoke-hero__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-smoke-hero__line-track {
  letter-spacing: 0.08em;
  line-height: 1;
}

.cta-smoke-hero__line--center {
  align-self: center;
  text-align: center;
}

.cta-smoke-hero__line--end {
  align-self: flex-end;
  text-align: end;
  margin-inline-end: 4%;
}

.cta-smoke-hero__line--start {
  align-self: flex-start;
  text-align: start;
  margin-inline-start: 4%;
}

.cta-smoke-hero__rule {
  height: 0;
}

.cta-smoke-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-smoke-hero__cta:hover,
.cta-smoke-hero__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
.cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
  transform: translate(2px, -2px);
}

.cta-smoke-hero__cta-icon {
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .cta-smoke-hero__lines {
    gap: 0.75rem;
  }

  .cta-smoke-hero__line--end {
    margin-inline-end: 10%;
  }

  .cta-smoke-hero__line--start {
    margin-inline-start: 10%;
  }
}

@media (max-width: 767px) {
  .cta-smoke-hero__line--end,
  .cta-smoke-hero__line--start {
    margin-inline: 0;
    align-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-smoke-hero__cta:hover,
  .cta-smoke-hero__cta:focus-visible {
    transform: none;
  }

  .cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
  .cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
    transform: none;
  }
}

