/* Бейдж по ширине контента (в BS не было w-fit) */
.hero-v16-badge-wrap {
    width: fit-content;
    max-width: 100%;
}

/* Фото: квадрат 1:1 по схеме orientation: square, без «лески» от h-full во flex */
.hero-v16-media {
    width: 100%;
    max-width: 28rem;
    min-width: min(100%, 17.5rem);
    box-sizing: border-box;
}

/* Карточка вокруг фото — одна ширина в TW и BS (BS .card иначе может сжимать контент) */
.hero-v16-card-box {
    width: 100%;
    box-sizing: border-box;
}

.hero-v16-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
}

.hero-v16-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-v16-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.hero-v16-offset-tr {
    margin-top: -0.5rem;
    margin-right: -0.5rem;
    width: 4rem;
    height: 4rem;
}

.hero-v16-offset-bl {
    margin-bottom: -0.5rem;
    margin-left: -0.5rem;
    width: 3rem;
    height: 3rem;
}

.hero-v16-orb-lg {
    width: 5rem;
    height: 5rem;
    animation-duration: 2s;
}

.hero-v16-orb-md {
    width: 4rem;
    height: 4rem;
    animation-duration: 8s;
}

.hero-v16-orb-sm {
    width: 3rem;
    height: 3rem;
    animation-duration: 2.5s;
}

.hero-v16-connector {
    width: 5rem;
    height: 0.25rem;
}

.hero-v16-anim-a {
    animation-duration: 1.5s;
    animation-delay: 0.3s;
}

.hero-v16-anim-b {
    animation-duration: 1.5s;
    animation-delay: 0.6s;
}

.hero-v16-float-a {
    animation-duration: 3s;
    left: 25%;
    width: 2rem;
    height: 2rem;
}

.hero-v16-float-b {
    animation-duration: 2s;
    right: 25%;
    width: 1.5rem;
    height: 1.5rem;
}

/* -- 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);
}
.stats__icon-dim {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  min-height: 4rem;
}

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

.stats-group:hover .stats-icon-wrap-hover {
  transform: scale(1.05);
}


/* 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;
}

.stats__icon-dim {
  width: 4rem;
  height: 4rem;
}

.stats__decor-corner-ring {
  bottom: 1rem;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

.stats__decor-corner-dot {
  bottom: 1rem;
  left: 1rem;
  width: 0.75rem;
  height: 0.75rem;
}

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

.stats-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-gradient-overlay-hover {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.stats-card-hover:hover .stats-gradient-overlay-hover {
  opacity: 1;
}

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

.stats-card-hover:hover .stats-icon-box-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.1) rotate(3deg);
}

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

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

.stats-decor-ring-hover {
  opacity: 0.2;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-ring-hover {
  opacity: 0.4;
  transform: scale(1.5);
}

.stats-decor-dot-hover {
  opacity: 0.3;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stats-card-hover:hover .stats-decor-dot-hover {
  opacity: 0.6;
  transform: scale(1.25);
}

/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

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

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

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

.leaflet-document__wrapper-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;
}

.timeline-dot-rail__bead {
    width: 0.75rem;
    height: 0.75rem;
}

.timeline-dot-rail__spine {
    width: 1px;
}


.manuscript-bodycopy__decor-1 {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-2 {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-3 {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__decor-4 {
    position: absolute;
    bottom: 1.5rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.manuscript-bodycopy__title-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__rule-trail { margin-bottom: 2rem; }

.manuscript-bodycopy__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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


.copy-document__decor-1 {
    position: absolute;
    top: 1rem;
    left: 2rem;
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-2 {
    position: absolute;
    top: 2rem;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__decor-4 {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.copy-document__heading-row-trail { margin-bottom: 2rem; }

.copy-document__frame-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

/* pricing-offset — second card shifted right (staircase effect) */
.pricing-offset__card--shifted {
    margin-left: 2rem;
}

@media (max-width: 639px) {
    .pricing-offset__card--shifted {
        margin-left: 0;
    }
}

/* pricing-offset — UA reset ul */
.pricing-offset__feat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* pricing-offset — card hover */
.pricing-card-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
    .pricing-card-hover:hover {
        box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.16);
        transform: translateY(-3px);
    }
}

/* pricing-offset — CTA */
.pricing-offset__cta {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
    .pricing-offset__cta:hover {
        opacity: 0.9;
    }
}

/* features spec-sheet — square icon tile size + horizontal row dividers (layout only, no colors) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-spec__body {
    min-width: 0;
}

.features-spec__tile {
    width: 3rem;
    height: 3rem;
}

.features-spec__row:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

.glossary-grid__card {
    width: 100%;
}

@media (min-width: 768px) {
    .glossary-grid__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

/* v29 — terminal cursor blink on inputs (animation, no color) */
.contact-terminal__input:focus {
    caret-color: auto;
    animation: terminal-caret 1s step-end infinite;
}

@keyframes terminal-caret {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* v29 — monospace body font override inside terminal (no color) */
.contact-terminal__body {
    font-family: 'Courier New', Courier, monospace;
}

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

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

