/* ==========================================================================
   DigitechUS — Phase 2 additions
   Case studies, testimonials, video feedback, FAQ.
   Uses the same palette variables as digitechus-phase1.css.
   ========================================================================== */

.dt2-section {
    background: var(--dtq-navy, #060b1d);
    padding: 72px 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.dt2-eyebrow {
    color: var(--dtq-muted, #9fb0d8);
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 10px;
}

.dt2-title {
    color: var(--dtq-text, #eef1fb);
    font-size: clamp(28px, 4.5vw, 42px);
    line-height: 1.15;
    text-align: center;
    margin: 0 0 14px;
}
.dt2-title-left { text-align: left; }

.dt2-sub {
    color: var(--dtq-muted, #9fb0d8);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.dt2-sub-left { text-align: left; margin-left: 0; }

/* ---------- Cards (portfolio + video) ---------- */
.dt2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.dt2-card {
    background: var(--dtq-card, #0c1430);
    border: 1px solid var(--dtq-border, #24315f);
    border-radius: 18px;
    padding: 22px;
    margin: 0;
}

.dt2-card-img, .dt2-hero-img {
    width: 100%;
    border-radius: 12px;
    display: block;
}
.dt2-hero-img { margin: 10px 0 30px; }

.dt2-card-industry {
    color: var(--dtq-muted, #9fb0d8);
    font-size: 11.5px;
    letter-spacing: .14em;
    margin: 14px 0 6px;
}

.dt2-card-name { margin: 0 0 8px; font-size: 22px; }
.dt2-card-name a { color: var(--dtq-text, #eef1fb); text-decoration: none; }
.dt2-card-name a:hover { text-decoration: underline; }

.dt2-card-text { color: var(--dtq-muted, #9fb0d8); line-height: 1.6; margin: 0 0 12px; }

.dt2-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.dt2-tags-center { justify-content: center; }
.dt2-tag {
    border: 1px solid var(--dtq-border, #24315f);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12.5px;
    color: var(--dtq-text, #eef1fb);
    background: rgba(255,255,255,.04);
}

.dt2-card-links { display: flex; gap: 20px; flex-wrap: wrap; }
.dt2-home-project-links { margin-top: 16px; }
.dt2-link { color: #7aa8ff; font-weight: 600; text-decoration: none; }
.dt2-link:hover { text-decoration: underline; }

/* ---------- Case study body ---------- */
.dt2-body { max-width: 760px; margin: 0 auto; color: var(--dtq-text, #eef1fb); }
.dt2-body h2 { margin: 30px 0 10px; font-size: 24px; }
.dt2-body p, .dt2-body li { color: var(--dtq-muted, #9fb0d8); line-height: 1.7; }
.dt2-list { padding-left: 20px; }
.dt2-list li { margin-bottom: 8px; }
.dt2-visit { margin-top: 34px; }
.dt2-visit-btn { display: inline-block; width: auto; text-decoration: none; text-align: center; }

/* ---------- Testimonials ---------- */
.dt2-slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.dt2-slides { display: flex; transition: transform .45s ease; }
.dt2-slide { min-width: 100%; margin: 0; text-align: center; padding: 6px 10px; box-sizing: border-box; }
.dt2-stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 14px; }
.dt2-quote {
    color: var(--dtq-text, #eef1fb);
    font-size: clamp(18px, 2.6vw, 23px);
    line-height: 1.55;
    margin: 0 0 16px;
}
.dt2-author { color: var(--dtq-muted, #9fb0d8); }
.dt2-author strong { color: var(--dtq-text, #eef1fb); }

.dt2-slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.dt2-nav-btn {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--dtq-border, #24315f);
    background: rgba(255,255,255,.05); color: var(--dtq-text, #eef1fb);
    cursor: pointer; font-size: 17px;
}
.dt2-counter { color: var(--dtq-muted, #9fb0d8); font-size: 14px; }

.dt2-review-cta { text-align: center; color: var(--dtq-muted, #9fb0d8); margin-top: 26px; }
.dt2-review-cta-left { text-align: left; }
.dt2-inline-btn { display: inline-block; width: auto; text-decoration: none; }

/* ---------- Video testimonials ---------- */
.dt2-video-wrap {
    position: relative;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #000;
}
.dt2-video-wrap iframe,
.dt2-video-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.dt2-video-error { color: var(--dtq-muted, #9fb0d8); }
.dt2-video-error a { color: inherit; text-decoration: underline; }
.page-intro .container { max-width: 1040px; padding-block: clamp(48px, 8vw, 96px); }
.page-intro h1 { max-width: 900px; margin: 14px 0 22px; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-intro p:not(.eyebrow) { max-width: 720px; margin-bottom: 28px; color: #526078; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.page-intro .eyebrow { margin-bottom: 8px; }
.dtq-alert p { margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.dt2-faq-list { max-width: 760px; margin: 0 auto; }
.dt2-faq-item {
    border: 1px solid var(--dtq-border, #24315f);
    border-radius: 14px;
    background: var(--dtq-card, #0c1430);
    margin-bottom: 12px;
    overflow: hidden;
}
.dt2-faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    color: var(--dtq-text, #eef1fb);
    font-weight: 600;
    font-size: 16.5px;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.dt2-faq-item summary::-webkit-details-marker { display: none; }
.dt2-faq-item summary::after { content: "+"; font-size: 22px; color: #7aa8ff; }
.dt2-faq-item[open ] summary::after { content: "–"; }
.dt2-faq-answer { padding: 0 22px 18px; }
.dt2-faq-answer p { color: var(--dtq-muted, #9fb0d8); line-height: 1.65; margin: 0; }

@media (max-width: 360px) {
    .dt2-grid { grid-template-columns: minmax(0, 1fr); }
}
