/* ===========================================================
   Testimonials Carousel — Unified Section (Vista A)
   =========================================================== */

/* ── Section Container ──────────────────────────── */
.ntono-testimonials-carousel {
    position: relative;
    width: 100%;
    padding: var(--ss-section-padding-y, clamp(4rem, 8vw, 8rem)) 0;
    overflow: hidden;
}

.ntono-testimonials-carousel__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ────────────────────────────────────── */
.ntono-tc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ntono-tc-header__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--ntono-color-white, #fff);
}

.ntono-tc-header__desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--ntono-color-platinum, #E5E5E5);
    opacity: 0.8;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* ── Carousel Track ────────────────────────────── */
.ntono-tc-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0e1112;
}

/* Swiper handles the track via .swiper-wrapper */

.ntono-tc-slide {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ntono-tc-slide {
        padding: 2rem;
    }
}

/* ── Card Header (Avatar + Name + Badge) ───────── */
.ntono-tc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ntono-tc-client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ntono-tc-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid var(--ntono-color-primary, #FAA916);
    overflow: hidden;
    flex-shrink: 0;
}

.ntono-tc-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ntono-tc-avatar--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #374151, #111827);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.ntono-tc-client-info {
    display: flex;
    flex-direction: column;
}

.ntono-tc-client-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    line-height: 1.2;
}

.ntono-tc-client-credential {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.ntono-tc-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}

.ntono-tc-stars .material-symbols-rounded {
    font-size: 14px;
    color: var(--ntono-color-primary, #FAA916);
    font-variation-settings: 'FILL' 1;
}

.ntono-tc-verified {
    color: #00E676;
}

.ntono-tc-verified .material-symbols-outlined {
    font-size: 1.75rem;
    font-weight: 700;
    font-variation-settings: 'FILL' 1;
}

/* ── Card Body: Image Type ─────────────────────── */
.ntono-tc-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 768px) {

    .ntono-tc-body--image,
    .ntono-tc-body--video {
        flex-direction: row;
    }
}

.ntono-tc-media {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #161A1D;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

@media (min-width: 768px) {

    .ntono-tc-body--image .ntono-tc-media,
    .ntono-tc-body--video .ntono-tc-media {
        width: 50%;
        flex-shrink: 0;
    }
}

.ntono-tc-media img {
    width: 100%;
    height: 100%;
    min-height: 12rem;
    object-fit: cover;
    opacity: 0.9;
}

.ntono-tc-quote-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.ntono-tc-headline {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.ntono-tc-quote-box {
    background: rgba(22, 26, 29, 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ntono-tc-quote {
    color: var(--ntono-color-platinum, #E5E5E5);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ── Card Body: Video Overlay ──────────────────── */
.ntono-tc-media--video {
    cursor: pointer;
}

.ntono-tc-media--video img {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ntono-tc-media--video:hover img {
    opacity: 0.5;
}

.ntono-tc-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntono-tc-play-btn {
    width: 3rem;
    height: 3rem;
    background: var(--ntono-color-primary, #FAA916);
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 169, 22, 0.3);
}

.ntono-tc-play-btn:hover {
    transform: scale(1.1);
}

.ntono-tc-play-btn .material-symbols-rounded {
    font-size: 1.75rem;
    margin-left: 2px;
}

.ntono-tc-video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Card Body: Audio Player ───────────────────── */
.ntono-tc-body--audio {
    flex-direction: column;
}

.ntono-tc-audio-player {
    width: 100%;
    background: #1A1D1F;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ntono-tc-audio-play {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ntono-color-primary, #FAA916);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(250, 169, 22, 0.2);
}

.ntono-tc-audio-play:hover {
    transform: scale(1.05);
}

.ntono-tc-audio-play .material-symbols-rounded {
    font-size: 1.5rem;
    margin-left: 2px;
}

.ntono-tc-audio-bars {
    flex: 1;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.ntono-tc-audio-bar {
    width: 3px;
    background: var(--ntono-color-primary, #FAA916);
    border-radius: 9999px;
    animation: ntono-tc-wave 1.2s ease-in-out infinite;
}

.ntono-tc-audio-bar:nth-child(odd) {
    animation-duration: 0.8s;
}

.ntono-tc-audio-bar:nth-child(2n) {
    animation-duration: 1.1s;
}

.ntono-tc-audio-bar:nth-child(3n) {
    animation-duration: 1.3s;
}

.ntono-tc-audio-bar:nth-child(4n) {
    animation-duration: 0.9s;
}

.ntono-tc-audio-bar--inactive {
    background: rgba(255, 255, 255, 0.1);
    animation: none;
}

@keyframes ntono-tc-wave {

    0%,
    100% {
        height: 40%;
        opacity: 0.6;
    }

    50% {
        height: 100%;
        opacity: 1;
    }
}

.ntono-tc-audio-duration {
    font-size: 10px;
    font-family: monospace;
    color: #9ca3af;
}

/* ── Card Body: Text Only ──────────────────────── */
.ntono-tc-body--text {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.ntono-tc-quote-icon {
    color: rgba(250, 169, 22, 0.2);
}

.ntono-tc-quote-icon .material-symbols-rounded {
    font-size: 3rem;
    font-variation-settings: 'FILL' 1;
}

.ntono-tc-quote--editorial {
    font-family: 'Editorial New', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: #fff;
    text-align: center;
    line-height: 1.4;
    max-width: 90%;
}

/* ── Result Tags ───────────────────────────────── */
.ntono-tc-results {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.ntono-tc-result-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(250, 169, 22, 0.3);
    background: rgba(250, 169, 22, 0.1);
    color: var(--ntono-color-primary, #FAA916);
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ── Navigation: Arrows ────────────────────────── */
.ntono-tc-nav-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(250, 169, 22, 0.2);
    background: rgba(22, 26, 29, 0.5);
    color: var(--ntono-color-primary, #FAA916);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ntono-tc-nav-arrow:hover {
    background: #161A1D;
    transform: translateY(-50%) scale(1.1);
}

.ntono-tc-nav-arrow--prev {
    left: -1.25rem;
}

.ntono-tc-nav-arrow--next {
    right: -1.25rem;
}

@media (min-width: 768px) {
    .ntono-tc-nav-arrow {
        display: flex;
    }

    .ntono-tc-nav-arrow--prev {
        left: -4rem;
    }

    .ntono-tc-nav-arrow--next {
        right: -4rem;
    }
}

/* ── Navigation: Dots ──────────────────────────── */
.ntono-tc-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.ntono-tc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ntono-tc-dot:hover {
    background: #64748b;
}

.ntono-tc-dot.is-active {
    background: #e2e8f0;
}

/* ── CTA Button ────────────────────────────────── */
.ntono-tc-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.ntono-tc-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--ntono-color-primary, #FAA916);
    color: #000;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(250, 169, 22, 0.4);
    text-decoration: none;
}

.ntono-tc-cta:hover {
    background: #eab308;
    transform: scale(1.03);
}

.ntono-tc-cta:active {
    transform: scale(0.97);
}

.ntono-tc-cta .material-symbols-outlined {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.ntono-tc-cta:hover .material-symbols-outlined {
    transform: rotate(12deg);
}

.ntono-tc-cta-urgency {
    font-size: 10px;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--ntono-color-secondary, #9A031E);
    text-transform: uppercase;
    animation: ntono-pulse 2s ease-in-out infinite;
}

@keyframes ntono-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ── Video Modal ───────────────────────────────── */
.ntono-tc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ntono-tc-modal.is-open {
    display: flex;
}

.ntono-tc-modal__content {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}

.ntono-tc-modal__content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ntono-tc-modal__close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ntono-tc-modal__close:hover {
    transform: scale(1.2);
}

/* ── Service Filter Bar (shared component) ─────── */
.ntono-service-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.ntono-service-filter__btn {
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ntono-service-filter__btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    border-color: rgba(255, 255, 255, 0.2);
}

.ntono-service-filter__btn.is-active {
    background: var(--ntono-color-primary, #FAA916);
    color: #000;
    border-color: var(--ntono-color-primary, #FAA916);
    box-shadow: 0 0 12px rgba(250, 169, 22, 0.3);
}

/* ── Hidden by Service Filter ─────────────────── */
.is-hidden-service {
    display: none !important;
}