/* Layout / motion — colors stay in Blade / @sem */
/* Grid + gap here only: @sem output may obfuscate class names, so Tailwind gap/grid on the wrapper is unreliable */

.philosophy-cards-row {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .philosophy-cards-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.philosophy-decor {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.philosophy-numbered-badge {
    width: 4rem;
    height: 4rem;
}

.philosophy-card {
    transition: transform 0.5s ease;
}

.philosophy-card:hover {
    transform: scale(1.05);
}

.philosophy-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-card:hover .philosophy-card-accent {
    opacity: 1;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* integrations — unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-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: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Orbit hub: same tokens as .integrations__icon-tile */
.integrations__orbit-hub {
    color: #fff;
    --_oh-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_oh-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_oh-from), var(--_oh-to));
}

.integrations__orbit-hub svg {
    width: 3.25rem;
    height: 3.25rem;
    max-width: 85%;
    max-height: 85%;
    flex-shrink: 0;
}

.integrations__orbit-hub svg path {
    fill: currentColor !important;
}

/* Orbit layout */
.integrations__orbit-container {
    width: 480px;
    height: 480px;
}

.integrations__orbit-ring {
    width: 380px;
    height: 380px;
    top: 50px;
    left: 50px;
}

.integrations__orbit-hub--centered {
    width: 96px;
    height: 96px;
    top: calc(50% - 48px);
    left: calc(50% - 48px);
}

.integrations__orbit-tooltip {
    z-index: 20;
}

/* v9: widths/heights (no colors) so BS mode has real dimensions without TW w-*/h-* */
.integrations-v9__mobile-card {
    width: 6rem;
}
.integrations-v9__mobile-icon {
    width: 2.5rem;
    height: 2.5rem;
}
.integrations-v9__orbit-tile {
    width: 4rem;
    height: 4rem;
}
.integrations-v9__pill-icon {
    width: 1.75rem;
    height: 1.75rem;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v9__orbit-item .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-v9__orbit-item:hover .integrations__icon-tile { transform: scale(1.1); }
.integrations-v9__orbit-item .integrations__orbit-tooltip { transition: opacity 0.2s ease; }
.integrations-v9__orbit-item:hover .integrations__orbit-tooltip { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .integrations-v9__orbit-item:hover .integrations__icon-tile { transform: none; }
}

/* faq v27 — dark quote wall (static grid) */
.faq-quote-wall__grid {
  align-items: stretch;
}

.faq-quote-wall__col {
  min-width: 0;
}

.faq-quote-wall__card {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.faq-quote-wall__card:hover {
  transform: translateY(-0.25rem);
}

.faq-quote-wall__mark--open {
  z-index: 1;
}

.faq-quote-wall__cite {
  min-height: 3rem;
}

