.intro-instructor__media {
    width: 20rem;
    height: 24rem;
}

.intro-instructor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


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

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

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

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

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

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

/* process tron — grid bg pattern, card glow line, hover + active state */
.process-tron__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 3rem 3rem;
}

.process-tron__card {
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-tron__card-hov:hover,
.process-tron__card-hov:focus-within,
.process-tron__card.is-active {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-primary);
}

.process-tron__glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.process-tron__card-hov:hover .process-tron__glow-line,
.process-tron__card-hov:focus-within .process-tron__glow-line,
.process-tron__card.is-active .process-tron__glow-line {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .process-tron__card {
        transition: none;
    }

    .process-tron__card-hov:hover,
    .process-tron__card-hov:focus-within,
    .process-tron__card.is-active {
        transform: none;
    }
}

/* Block: advantages-icon-grid-numbers — custom BS/TW parity (hover scale) */
.advantages-icon-grid-numbers__card--hover {
    transition: transform 0.2s ease;
}

.advantages-icon-grid-numbers__card--hover:hover {
    transform: scale(1.05);
}

/* cta v41 — nest calculator card: floating motion, stacked bars (no colors) */
.cta-nest__float { animation: cta-nest-float 7s ease-in-out infinite; }
.cta-nest__card { opacity: 0; transform: translateY(2rem) scale(.98); transition: opacity 700ms ease, transform 800ms cubic-bezier(.2, .8, .2, 1); }
.cta-nest__card.is-visible { opacity: 1; transform: none; }
.cta-nest__icon { width: 3rem; height: 3rem; }
.cta-nest__micro { font-size: .75rem; line-height: 1.15rem; }
.cta-nest__info { margin-top: .2rem; }
.cta-nest__range { cursor: pointer; }
.cta-nest__dot { display: inline-block; width: .625rem; height: .625rem; }

.cta-nest__chart { height: 10rem; }
.cta-nest__stack { height: 4%; min-height: .375rem; transition: height 600ms cubic-bezier(.2, .8, .2, 1); }
.cta-nest__seg { flex: 0 0 auto; height: 0; transition: height 600ms cubic-bezier(.2, .8, .2, 1); }

@keyframes cta-nest-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.5rem; } }

@media (prefers-reduced-motion: reduce) {
    .cta-nest__float { animation: none; }
    .cta-nest__card { opacity: 1; transform: none; transition: none; }
    .cta-nest__stack, .cta-nest__seg { transition: none; }
}

.cta-nest__chart > * { min-width: 0; flex-basis: 0; }
/* phones: only every other period label fits under the columns */
@media (max-width: 767.98px) {
    .cta-nest__chart > :nth-child(even) [data-year] { visibility: hidden; }
}
/* card captions stay small in both frameworks; period labels never wrap under narrow columns, the badge never pushes the total out */
.cta-nest__card .cta-nest__micro { font-size: .75rem !important; line-height: 1.15rem !important; }
.cta-nest__chart [data-year] { white-space: nowrap; font-size: .6875rem !important; text-align: center; }
.cta-nest__card .cta-nest__micro:not([data-year]) { min-width: 0; overflow-wrap: anywhere; }
.cta-nest :has(> [data-total]) + .cta-nest__micro { max-width: 50%; }
.cta-nest :has(> [data-total]) { min-width: 0; }

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.cta-nest[hidden], .cta-nest [hidden], .cta-nest .hidden.d-none { display: none !important; }
.cta-nest output[data-total] { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem) !important; overflow-wrap: anywhere; }
.cta-nest :has(> output[data-total]) > :first-child { overflow-wrap: anywhere; }

