.tp-copyright-right a + a {
    margin-left: 1rem;
}

@media (max-width: 767.98px) {
    .tp-copyright-right a + a {
        margin-left: 0.75rem;
    }
}

/* --- Product detail: layout + scoped estimate wizard --- */
.pd-product-hero-img {
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.pd-video-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

/* Product detail: isolate layout from theme scroll / distortion / service-pin */
.product-detail-page .tp-hero-area {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.product-detail-page .tp-hero-area.tp-image-distortion,
.product-detail-page .tp-image-distortion {
    height: auto;
    min-height: 0;
}

.product-detail-page .tp-hero-content-wrap {
    height: auto;
    min-height: 0;
}

.product-detail-page .pbmit-breadcrumb .pbmit-breadcrumb-inner a,
.product-detail-page .pbmit-breadcrumb .pbmit-breadcrumb-inner span:not(.sep) {
    color: rgba(255, 255, 255, 0.92) !important;
}

.product-detail-page .pbmit-breadcrumb .sep,
.product-detail-page .pbmit-breadcrumb .sep i {
    color: rgba(255, 255, 255, 0.45) !important;
}

.product-detail-page .pd-features-area {
    background-color: #fff;
}

.product-detail-page .pd-tech-grid .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.product-detail-page .pd-tech-card {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.product-detail-page .pd-tech-card__num {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.product-detail-page .pd-tech-card__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
}

.product-detail-page .pd-tech-card__media {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.35);
}

.product-detail-page .pd-tech-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.product-detail-page .pd-tech-card__body {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.product-detail-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.pd-video-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform: none !important;
}

.product-detail-estimate .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .product-detail-estimate .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-detail-estimate .grid {
        grid-template-columns: 1fr;
    }

    .product-detail-estimate .card__body-cover-checkbox {
        right: 5px;
        top: 5px;
    }
}

.product-detail-estimate .card {
    --background: #fff;
    --background-checkbox: #afd616;
    --background-image: #fff, rgba(0, 107, 175, 0.2);
    --text-color: #666;
    --text-headline: #000;
    --card-radius: 12px;
    --header-height: 47px;
    --blend-mode: overlay;
    --transition: 0.15s;
    user-select: none;
    border-radius: 10px;
}

.product-detail-estimate .card__input {
    position: absolute;
    display: block;
    outline: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    appearance: none;
}

.product-detail-estimate .card__input:checked ~ .card__body .card__body-cover-checkbox {
    --check-bg: var(--background-checkbox);
    --check-border: #fff;
    --check-scale: 1;
    --check-opacity: 1;
}

.product-detail-estimate .card__input:checked ~ .card__body .card__body-cover-checkbox--svg {
    --stroke-color: #fff;
    --stroke-dashoffset: 0;
}

.product-detail-estimate .card__input:checked ~ .card__body .card__body-cover:after {
    --opacity-bg: 0;
}

.product-detail-estimate .card__input:checked ~ .card__body .card__body-cover-image {
    --filter-bg: grayscale(0);
}

.product-detail-estimate .card__input:disabled ~ .card__body {
    cursor: not-allowed;
    opacity: 0.5;
}

.product-detail-estimate .card__body {
    display: grid;
    grid-auto-rows: calc(var(--card-height, 140px) - var(--header-height)) auto;
    background: var(--background);
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow, 0 4px 4px 0 rgba(0, 0, 0, 0.02));
    transition: transform var(--transition), box-shadow var(--transition);
    transform: scale(var(--scale, 1)) translateZ(0);
}

.product-detail-estimate .card__body:active {
    --scale: 0.96;
}

.product-detail-estimate .card__body-cover {
    --c-border: var(--card-radius) var(--card-radius) 0 0;
    --c-width: 100%;
    --c-height: 100%;
    position: relative;
    overflow: hidden;
}

.product-detail-estimate .card__body-cover:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--c-width);
    height: var(--c-height);
    border-radius: var(--c-border);
    background: linear-gradient(to bottom right, var(--background-image));
    mix-blend-mode: var(--blend-mode);
    opacity: var(--opacity-bg, 1);
    transition: opacity var(--transition) linear;
}

.product-detail-estimate .card__body-cover-image {
    width: var(--c-width);
    height: var(--c-height);
    object-fit: cover;
    border-radius: var(--c-border);
    filter: var(--filter-bg, grayscale(1));
    clip-path: polygon(0% 0%, 100% 0%, var(--x-y1, 100% 90%), var(--x-y2, 67% 83%), var(--x-y3, 33% 90%), var(--x-y4, 0% 85%));
}

.product-detail-estimate .card__body-cover-checkbox {
    background: var(--check-bg, var(--background-checkbox));
    border: 2px solid var(--check-border, #fff);
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    opacity: var(--check-opacity, 0);
    transition: transform var(--transition), opacity calc(var(--transition) * 1.2) linear;
    transform: scale(var(--check-scale, 0));
}

.product-detail-estimate .card__body-cover-checkbox--svg {
    width: 13px;
    height: 11px;
    display: inline-block;
    vertical-align: top;
    fill: none;
    margin: 7px 0 0 5px;
    stroke: var(--stroke-color, #fff);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: var(--stroke-dashoffset, 16px);
    transition: stroke-dashoffset 0.4s ease var(--transition);
}

.product-detail-estimate .card__body-header-title {
    color: var(--text-headline);
    font-weight: 700;
    margin-bottom: 8px;
    padding: 10px;
}

.product-detail-estimate .step {
    display: none;
    transition: transform 0.5s ease-in-out;
    transform: translateX(100%);
}

.product-detail-estimate .step.active {
    display: block;
    transform: translateX(0);
}

.product-detail-estimate .pd-estimate-step-pane {
    min-height: 1px;
}

/* Stepper + sticky summary */
.product-detail-estimate .pd-estimate-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 575.98px) {
    .product-detail-estimate .pd-estimate-stepper {
        grid-template-columns: 1fr;
    }
}

.product-detail-estimate .pd-estimate-step {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-estimate .pd-estimate-step--active {
    background: rgba(204, 255, 0, 0.12);
    border-color: rgba(204, 255, 0, 0.45);
    box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.2);
}

.product-detail-estimate .pd-estimate-step__num {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.25rem;
}

.product-detail-estimate .pd-estimate-step--active .pd-estimate-step__num {
    color: rgba(0, 0, 0, 0.55);
}

.product-detail-estimate .pd-estimate-step__label {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.product-detail-estimate .pd-estimate-step--active .pd-estimate-step__label {
    color: #111;
}

.product-detail-estimate .pd-estimate-step__hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.15rem;
}

.product-detail-estimate .pd-estimate-step--active .pd-estimate-step__hint {
    color: rgba(0, 0, 0, 0.55);
}

.product-detail-estimate .pd-estimate-aside {
    position: sticky;
    top: 1.25rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-detail-estimate .pd-estimate-aside__eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.35rem;
}

.product-detail-estimate .pd-estimate-aside__title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.product-detail-estimate .pd-estimate-aside__list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
}

.product-detail-estimate .pd-estimate-aside__list .label {
    color: rgba(255, 255, 255, 0.55);
}

.product-detail-estimate .pd-estimate-aside__list .value {
    font-weight: 600;
    text-align: right;
}

.product-detail-estimate .pd-estimate-aside__total {
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-detail-estimate .pd-estimate-aside__trust {
    list-style: disc;
    padding-left: 1.1rem;
    opacity: 0.9;
}

.product-detail-estimate .pd-estimate-aside__trust li {
    margin-bottom: 0.35rem;
}

/* --- AI solution detail (scoped) --- */
.ai-solution-detail-page.ais-page {
    background: #f4f4f2;
    overflow-x: hidden;
    /* JS sets --ais-header-offset from #header-sticky for anchor scroll-margin */
    --ais-header-offset: 96px;
}

@media (max-width: 991.98px) {
    .ai-solution-detail-page.ais-page {
        --ais-header-offset: 72px;
    }
}

.ai-solution-detail-page .ais-section--light {
    background: #f4f4f2;
}

.ai-solution-detail-page .ais-section--dark {
    background: #0a0a0a;
}

/* AI solution — reference-style hero (blue gradient, no RevSlider / no secondary nav) */
.ai-solution-detail-page .ais-hero-pro {
    position: relative;
    z-index: 1;
    min-height: clamp(520px, 82vh, 920px);
    display: flex;
    align-items: center;
    padding: clamp(5.5rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.ai-solution-detail-page .ais-hero-pro__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(118deg, #021a33 0%, #062d4f 30%, #0d4a78 55%, #166bab 78%, #0a3a5c 100%);
}

.ai-solution-detail-page .ais-hero-pro__waves {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    background:
        radial-gradient(ellipse 58% 48% at 82% 12%, rgba(255, 255, 255, 0.24), transparent 62%),
        radial-gradient(ellipse 48% 42% at 8% 90%, rgba(120, 200, 255, 0.2), transparent 58%),
        radial-gradient(ellipse 38% 34% at 52% 68%, rgba(255, 255, 255, 0.1), transparent 55%);
}

.ai-solution-detail-page .ais-hero-pro__inner {
    z-index: 1;
}

.ai-solution-detail-page .ais-hero-pro__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    opacity: 0.78;
}

.ai-solution-detail-page .ais-hero-pro__inset {
    border-radius: 50%;
    overflow: hidden;
    width: clamp(132px, 20vw, 200px);
    height: clamp(172px, 26vw, 260px);
    border: 4px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    flex-shrink: 0;
}

.ai-solution-detail-page .ais-hero-pro__inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-solution-detail-page .ais-hero-pro__title {
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.02em;
    font-size: clamp(2.25rem, 6.2vw, 5.25rem);
    text-shadow: 0 14px 48px rgba(0, 0, 0, 0.22);
}

.ai-solution-detail-page .ais-hero-pro__title-line--indent {
    padding-left: clamp(0.35rem, 3.8vw, 3.25rem);
}

.ai-solution-detail-page .ais-hero-pro__breadcrumb {
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.ai-solution-detail-page .ais-hero-pro__breadcrumb .pbmit-breadcrumb-inner {
    font-size: 0.8125rem;
}

.ai-solution-detail-page .ais-hero-pro__breadcrumb .pbmit-breadcrumb-inner a,
.ai-solution-detail-page .ais-hero-pro__breadcrumb .pbmit-breadcrumb-inner span:not(.sep) {
    color: rgba(255, 255, 255, 0.62) !important;
}

.ai-solution-detail-page .ais-hero-pro__breadcrumb .sep,
.ai-solution-detail-page .ais-hero-pro__breadcrumb .sep i {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* --- Automation service detail (Agntix-light redesign, scoped) --- */
.automation-service-detail-page {
    background: #fff;
}

.automation-service-detail-page .tp-career-title {
    letter-spacing: -0.02em;
}

.automation-service-detail-page .ais-agntix-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.automation-service-detail-page .tp-btn-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 16, 19, 0.18);
    color: #111013;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.automation-service-detail-page .tp-btn-border:hover {
    transform: translateY(-1px);
    background: rgba(17, 16, 19, 0.04);
    border-color: rgba(17, 16, 19, 0.26);
}

.automation-service-detail-page .ais-agntix-rich :is(h1,h2,h3,h4) {
    margin-top: 1.25rem;
}

.automation-service-detail-page .ais-agntix-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.automation-service-detail-page .ais-agntix-aside-card {
    border-radius: 18px;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.automation-service-detail-page .ais-agntix-aside-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.automation-service-detail-page .ais-agntix-aside-text {
    margin: 0 0 1rem;
    color: rgba(17, 16, 19, 0.75);
}

.automation-service-detail-page .ais-agntix-aside-meta {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(17, 16, 19, 0.72);
}

.automation-service-detail-page .ais-agntix-feature-card,
.automation-service-detail-page .ais-agntix-stack-card,
.automation-service-detail-page .ais-agntix-gallery-card {
    height: 100%;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.automation-service-detail-page .ais-agntix-feature-card {
    padding: 1.25rem 1.25rem 1.35rem;
}

.automation-service-detail-page .ais-agntix-feature-icon img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(17, 16, 19, 0.10);
    background: #fafafa;
}

.automation-service-detail-page .ais-agntix-feature-title {
    margin: 0.9rem 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.automation-service-detail-page .ais-agntix-feature-text {
    margin: 0;
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.6;
}

.automation-service-detail-page .ais-agntix-stack-card {
    padding: 1.15rem 1.15rem 1.25rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.automation-service-detail-page .ais-agntix-stack-logo img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: contain;
    background: #fafafa;
    border: 1px solid rgba(17, 16, 19, 0.10);
    padding: 0.4rem;
}

.automation-service-detail-page .ais-agntix-stack-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.automation-service-detail-page .ais-agntix-stack-text {
    margin: 0;
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.6;
}

.automation-service-detail-page .ais-agntix-gallery-img {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.automation-service-detail-page .ais-agntix-gallery-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.automation-service-detail-page .ais-agntix-gallery-cap {
    padding: 1rem 1.15rem 1.2rem;
}

.automation-service-detail-page .ais-agntix-gallery-cap h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.automation-service-detail-page .ais-agntix-gallery-cap p {
    margin: 0;
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.6;
}

.automation-service-detail-page .ais-agntix-video-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.08);
}

.automation-service-detail-page .ais-agntix-video-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 16px;
    background: #000;
}

@media (max-width: 991.98px) {
    .automation-service-detail-page .ais-agntix-video-card {
        grid-template-columns: 1fr;
    }
}

.automation-service-detail-page .ais-agntix-faq-aside img {
    width: 100%;
    border-radius: 18px;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border: 1px solid rgba(17, 16, 19, 0.10);
}

.automation-service-detail-page .ais-agntix-testimonials-img {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(17, 16, 19, 0.10);
    background: #fafafa;
    margin-bottom: 1rem;
}

.automation-service-detail-page .ais-agntix-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 24px;
    background: linear-gradient(120deg, rgba(17, 16, 19, 0.06), rgba(17, 16, 19, 0.02));
    border: 1px solid rgba(17, 16, 19, 0.10);
}

.automation-service-detail-page .ais-agntix-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .automation-service-detail-page .ais-agntix-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Project detail (case study redesign, scoped) --- */
.project-detail-page {
    background: #fff;
    overflow-x: hidden;
}

.project-detail-page .pd-hero {
    background-size: cover;
    background-position: center;
}

.project-detail-page .pd-hero__eyebrow {
    gap: 0.75rem;
    color: rgba(17, 16, 19, 0.75);
}

.project-detail-page .pd-hero__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(17, 16, 19, 0.35);
    display: inline-block;
}

.project-detail-page .pd-hero__title {
    margin: 0.5rem 0 0.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(2.1rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    color: #111013;
}

.project-detail-page .pd-hero__lede {
    margin: 0;
    max-width: 55rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(17, 16, 19, 0.78);
}

.project-detail-page .pd-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-detail-page .pd-hero__card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(8px);
}

.project-detail-page .pd-hero__media {
    border-radius: 18px;
    overflow: hidden;
    background: #f3f3f5;
}

.project-detail-page .pd-hero__media img {
    width: 100%;
    height: clamp(260px, 36vw, 420px);
    object-fit: cover;
    display: block;
}

.project-detail-page .pd-hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-content: start;
    padding: 0.25rem;
}

.project-detail-page .pd-fact {
    border-radius: 16px;
    padding: 0.9rem 0.95rem;
    background: rgba(17, 16, 19, 0.03);
    border: 1px solid rgba(17, 16, 19, 0.06);
}

.project-detail-page .pd-fact__k {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(17, 16, 19, 0.55);
    margin-bottom: 0.25rem;
}

.project-detail-page .pd-fact__v,
.project-detail-page .pd-fact__v a {
    color: rgba(17, 16, 19, 0.92);
    text-decoration: none;
    font-weight: 600;
}

.project-detail-page .pd-section__head {
    margin-bottom: 1.25rem;
}

.project-detail-page .pd-section__title {
    margin: 0.35rem 0 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    color: #111013;
}

.project-detail-page .pd-prose {
    color: rgba(17, 16, 19, 0.78);
    line-height: 1.8;
}

.project-detail-page .pd-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.project-detail-page .pd-aside__card {
    border-radius: 18px;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.06);
}

.project-detail-page .pd-aside__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.project-detail-page .pd-aside__text {
    margin: 0 0 1rem;
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.7;
}

.project-detail-page .pd-video {
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.project-detail-page .pd-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.project-detail-page .pd-section--soft {
    background: #f7f7fd;
}

.project-detail-page .pd-stage {
    height: 100%;
    padding: 1.25rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 16, 19, 0.10);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
}

.project-detail-page .pd-stage__num {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(17, 16, 19, 0.55);
}

.project-detail-page .pd-stage__img {
    margin-top: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f3f5;
}

.project-detail-page .pd-stage__img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.project-detail-page .pd-stage__title {
    margin: 0.9rem 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.project-detail-page .pd-stage__text {
    margin: 0;
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.7;
}

.project-detail-page .pd-step {
    border-radius: 18px;
    padding: 1.25rem;
    background: rgba(17, 16, 19, 0.02);
    border: 1px solid rgba(17, 16, 19, 0.08);
    text-align: center;
    height: 100%;
}

.project-detail-page .pd-step__num {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: rgba(17, 16, 19, 0.06);
    color: rgba(17, 16, 19, 0.85);
    font-weight: 800;
}

.project-detail-page .pd-step__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.project-detail-page .pd-section--dark {
    background: #0b0b0f;
}

.project-detail-page .pd-section__title--invert {
    color: #fff;
}

.project-detail-page .pd-btn-invert {
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.project-detail-page .pd-shot {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.project-detail-page .pd-shot img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.project-detail-page .pd-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 24px;
    background: linear-gradient(120deg, rgba(17, 16, 19, 0.06), rgba(17, 16, 19, 0.02));
    border: 1px solid rgba(17, 16, 19, 0.10);
}

.project-detail-page .pd-cta__title {
    margin: 0 0 0.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 3.2vw, 2.35rem);
}

.project-detail-page .pd-cta__text {
    color: rgba(17, 16, 19, 0.75);
    line-height: 1.7;
}

.project-detail-page .pd-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .project-detail-page .pd-hero__card {
        grid-template-columns: 1fr;
    }
    .project-detail-page .pd-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ai-solution-detail-page .ais-hero-pro__lede {
    max-width: 22rem;
    line-height: 1.62;
    font-size: 0.98rem;
    opacity: 0.92;
}

.ai-solution-detail-page .ais-hero-pro__arrow {
    opacity: 0.88;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ai-solution-detail-page .ais-hero-pro__arrow:hover {
    opacity: 1;
    transform: translate(2px, -2px);
}

.ai-solution-detail-page .ais-hero-pro__card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-solution-detail-page .ais-hero-pro__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7aa8ff, #1f3d7a);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ai-solution-detail-page .ais-hero-pro__avatar + .ais-hero-pro__avatar {
    margin-left: -12px;
}

.ai-solution-detail-page .ais-hero-pro__avatar--b {
    background: linear-gradient(135deg, #d4ff66, #5a7a00);
}

.ai-solution-detail-page .ais-hero-pro__avatar--c {
    background: linear-gradient(135deg, #ffb088, #b84a12);
}

.ai-solution-detail-page .ais-overview {
    background: #f4f4f2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-solution-detail-page .ais-overview__long {
    max-width: 42rem;
}

.ai-solution-detail-page .ais-overview__figure {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.ai-solution-detail-page .ais-overview__img {
    display: block;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ai-solution-detail-page .ais-overview__stats .tp-about-funcact-item span {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111;
}

.ai-solution-detail-page .ais-overview__stats .tp-about-funcact-item p {
    color: rgba(0, 0, 0, 0.55);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ai-solution-detail-page .ais-stack-panel {
    padding: clamp(1rem, 2.5vw, 2rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-solution-detail-page .ais-capabilities {
    background: #f4f4f2 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-solution-detail-page .ais-capabilities .pbminfotech-titlebox .pbmit-portfolio-title a {
    text-decoration: none;
    cursor: default;
    color: #111 !important;
}

.ai-solution-detail-page .ais-capabilities .pbmit-service-content p {
    max-width: 34rem;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.72) !important;
}

.ai-solution-detail-page .ais-video-frame iframe {
    transform: none !important;
    width: min(100%, 920px) !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-height: none !important;
    border-radius: 12px;
}

.ai-solution-detail-page .ais-faq-portrait {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
    .ai-solution-detail-page .ais-faq-portrait {
        top: 6rem;
    }
}

.ai-solution-detail-page .ais-faq-portrait__img {
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ai-solution-detail-page .ais-faq-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.ai-solution-detail-page .ais-intro-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.78);
}

.ai-solution-detail-page .ais-category-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #ccff00;
    color: #111;
    border: 0;
}

.ai-solution-detail-page .ais-category-pill--muted {
    background: rgba(0, 0, 0, 0.06);
    color: #333;
}

.ai-solution-detail-page .ais-why-capnis__card {
    background: #fafafa;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.ai-solution-detail-page .ais-price-section .container {
    border-radius: 16px;
    padding: 2rem 1.5rem;
}

.ai-solution-detail-page .ais-price-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-solution-detail-page .ais-gallery-content {
    color: rgba(255, 255, 255, 0.88);
    max-width: 42rem;
}

.ai-solution-detail-page .ais-estimate-section .pd-estimate-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 575.98px) {
    .ai-solution-detail-page .ais-estimate-section .pd-estimate-stepper {
        grid-template-columns: 1fr;
    }
}

.ai-solution-detail-page [id^="ais-"] {
    scroll-margin-top: calc(var(--ais-header-offset, 96px) + 1rem);
}

.ai-solution-detail-page .ais-related-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.ai-solution-detail-page .ais-related-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.ai-solution-detail-page .ais-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ai-solution-detail-page .ais-related-card:hover .ais-related-card__media img {
    transform: scale(1.04);
}

.ai-solution-detail-page .ais-related-card__excerpt {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.ai-solution-detail-page .ais-related-browse {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ai-solution-detail-page .ais-related-browse:hover {
    color: #ccff00 !important;
}

.ai-solution-detail-page .ais-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 991.98px) {
    .ai-solution-detail-page .ais-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .ai-solution-detail-page .ais-process__steps {
        grid-template-columns: 1fr;
    }
}

.ai-solution-detail-page .ais-process__step {
    padding: 1.25rem 1.15rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-solution-detail-page .ais-process__num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ccff00;
    margin-bottom: 0.65rem;
}

.ai-solution-detail-page .ais-process__desc {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.ai-solution-detail-page .ais-cta-ribbon {
    background: linear-gradient(90deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-solution-detail-page .pbmit-reel-title-wrap .ais-video-brand {
    margin: 0;
}

.ai-solution-detail-page .ais-faq-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ai-solution-detail-page .ais-intro .product-detail-prose {
    color: rgba(0, 0, 0, 0.82);
}

/* AI solution detail — estimate wizard (Capnis catalogue + related solutions) */
.ai-solution-detail-page .ais-estimate-redesign {
    background-color: #050505;
    background-image:
        radial-gradient(ellipse 90% 60% at 50% -30%, rgba(204, 255, 0, 0.09), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 12px,
            rgba(255, 255, 255, 0.02) 12px,
            rgba(255, 255, 255, 0.02) 13px
        );
}

.ai-solution-detail-page .ais-estimate-hero__lead {
    max-width: 40rem;
    line-height: 1.65;
    opacity: 0.9;
}

.ai-solution-detail-page .ais-estimate-related__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.72;
}

.ai-solution-detail-page .ais-estimate-related__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

@media (max-width: 575.98px) {
    .ai-solution-detail-page .ais-estimate-related__track {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

.ai-solution-detail-page .ais-estimate-related__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    flex: 0 0 auto;
}

.ai-solution-detail-page .ais-estimate-related__chip:hover {
    border-color: rgba(204, 255, 0, 0.55);
    background: rgba(204, 255, 0, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.ai-solution-detail-page .ais-estimate-related__chip-media {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-solution-detail-page .ais-estimate-related__chip-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-solution-detail-page .ais-estimate-related__chip-text {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    max-width: 14rem;
}

.ai-solution-detail-page .ais-estimate-board {
    border-radius: 20px;
    padding: clamp(1rem, 2vw, 1.75rem);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.ai-solution-detail-page .ais-estimate-step-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    background: #ccff00;
}

.ai-solution-detail-page .ais-estimate-pane-intro {
    opacity: 0.82;
    max-width: 42rem;
}

.ai-solution-detail-page .ais-estimate-form-card {
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

.ai-solution-detail-page .ais-estimate-chip-btn {
    border-radius: 999px !important;
    padding: 0.35rem 1rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.ai-solution-detail-page .ais-estimate-chip-btn:hover {
    border-color: #ccff00 !important;
    color: #ccff00 !important;
    background: rgba(204, 255, 0, 0.08) !important;
}

.ai-solution-detail-page .ais-estimate-total {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(204, 255, 0, 0.2) !important;
    box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.06);
}

.ai-solution-detail-page .ais-estimate-aside {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    top: 5.5rem;
}

.ai-solution-detail-page .ais-estimate-aside__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
}

.ai-solution-detail-page .ais-estimate-aside__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.95;
}

.ai-solution-detail-page .ais-estimate-aside .pd-estimate-aside__head {
    padding: 1.15rem 1.25rem 0;
}

.ai-solution-detail-page .ais-estimate-aside .pd-estimate-aside__list,
.ai-solution-detail-page .ais-estimate-aside .pd-estimate-aside__total,
.ai-solution-detail-page .ais-estimate-aside .pd-estimate-aside__trust,
.ai-solution-detail-page .ais-estimate-aside .ais-estimate-aside__blurb {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.ai-solution-detail-page .ais-estimate-aside .pd-estimate-aside__trust {
    padding-bottom: 1.25rem;
}

.ai-solution-detail-page .ais-estimate-aside__blurb {
    opacity: 0.82;
    line-height: 1.55;
}

.ai-solution-detail-page .ais-estimate-aside__link {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    color: #ccff00 !important;
}

.ai-solution-detail-page .ais-estimate-aside__link:hover {
    color: #e8ff66 !important;
}

.ai-solution-detail-page .ais-estimate-stepper.pd-estimate-stepper {
    gap: 1rem;
}

.ai-solution-detail-page .ais-estimate-placeholder__copy {
    max-width: 36rem;
    line-height: 1.6;
    opacity: 0.88;
}
