/* Hero v3 Animation Styles */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(6deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(0.9); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

.hero-v3-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v3-btn-ghost:hover,
.hero-v3-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- 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);
}
/* Bootstrap: розміри без інлайну; імена stats__* без номера варіанту */
.stats__icon-dim--md {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
}

.stats__dot-dim {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  min-height: 0.5rem;
}

.stats__icon-dim--sm {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
}

.stats__pattern-diagonal {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(59, 130, 246, 0.1) 10px,
    rgba(59, 130, 246, 0.1) 20px
  );
}

.stats__pattern-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(59, 130, 246, 0.15) 1px,
    transparent 0
  );
  background-size: 20px 20px;
}

.stats__progress-fill rect {
  transition: width 0.3s ease;
}

.stats-metric-card-hover {
  transition:
    box-shadow 0.5s ease,
    transform 0.5s ease;
}

.stats-metric-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}

.stats-pattern-dim-hover {
  opacity: 0.05;
  transition: opacity 0.5s ease;
}

.stats-metric-card-hover:hover .stats-pattern-dim-hover {
  opacity: 0.1;
}

.stats-metric-icon-hover {
  transition: transform 0.3s ease;
}

.stats-metric-card-hover:hover .stats-metric-icon-hover {
  transform: scale(1.1);
}

.stats-progress-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-progress-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}

.stats-progress-icon-hover {
  transition: transform 0.3s ease;
}

.stats-progress-card-hover:hover .stats-progress-icon-hover {
  transform: scale(1.1);
}

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

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

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

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

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

.values-simple__thumb {
    width: 5rem;
    height: 5rem;
}


.narrative-chapter__title-trail { margin-bottom: 2rem; }

.narrative-chapter__shell-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.digest-pair-fan__tile {
    max-width: 45%;
}


.writeup-document__accent-trail {
    margin-bottom: 2rem;
    width: 4rem;
    height: 0.25rem;
}

.writeup-document__title-trail { margin-bottom: 2rem; }

.writeup-document__hull-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}


.editorial-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    right: 0;
    transform: translate(4rem, -4rem) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 6rem;
    bottom: 0;
    left: 0;
    transform: translate(-6rem, 3rem) rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-3 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    top: 50%;
    left: 0;
    transform: translate(-2rem, -50%) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-4 {
    position: absolute;
    width: 5rem;
    height: 5rem;
    bottom: 25%;
    right: 33.333333%;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-5 {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 25%;
    left: 50%;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__decor-6 {
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 50%;
    right: 0;
    transform: translate(1rem, 0) rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.editorial-document__divider-bar {
    height: 0.25rem;
}

.editorial-document__rule-trail { margin-bottom: 3rem; }

.editorial-document__shell-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Layout-only hover; theme colors stay in Tailwind/Bootstrap via Blade */
.pricing-card-hover {
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
  }

  .dark .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
  }
}

@media (hover: hover) and (min-width: 640px) {
  .pricing-card-hover:hover {
    transform: translateY(-3px) scale(1.02);
  }
}

.pricing-card-hover:hover .pricing__btn {
  transform: scale(1.02);
}

.pricing__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* v19 accordion — button UA reset (no BS btn class) */
.perks-linear-accord__trigger {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    line-height: inherit;
}

/* body indent (BS has no ps-10 analog at this size) */
.perks-linear-accord__body {
    padding-left: 2.5rem;
}

/* chevron rotation when expanded */
.perks-linear-accord__item[data-open] .perks-linear-accord__chevron i {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
}

.perks-linear-accord__chevron i {
    transition: transform 0.25s ease;
}

/* glossary invert — hover lift supplied via Tailwind on @sem('block'). */

/* v17 — SVG Ring: slide-in steps, dark mode support */

.dial-progress-flow__pane {
    animation: dial-progress-flow-pane-enter-kf 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes dial-progress-flow-pane-enter-kf {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Percentage label */
.dial-progress-flow__orbit-label {
    pointer-events: none;
    user-select: none;
}

/* Responsive: ring section wraps on very small screens */
@media (max-width: 400px) {
    .dial-progress-flow .flex.items-start.justify-between {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    .dial-progress-flow .flex.items-start.justify-between > div:first-child {
        width: 100%;
    }
}

.contact-us-flex__min {
    min-width: 0;
}

.contact-us-media__cover {
    object-fit: cover;
}

