/* ===========================
   Panel – THI CÔNG CÔNG NGHỆ (services-tech)
   Layout: image left | text right (REVERSED)
   Background: surface white (same as design panel)
=========================== */

.panel--services-tech {
    padding: 0;
    align-items: stretch;
    background: var(--color-bg-soft);
    overflow: hidden;
}

/* Ảnh trái, nội dung phải */
.svc-split--tech {
    flex-direction: row;
}

/* ── Content – light variant (right) ── */
.svc-content--tech {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(96px, 11vh, 136px) clamp(var(--gutter-x), 6vw, 80px) clamp(56px, 7vh, 96px) clamp(28px, 4.5vw, 68px);
    position: relative;
    z-index: 2;
}

/* Eyebrow – primary green for consistency */
.eyebrow--tech {
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

/* Title */
.svc-title--tech {
    font-family: var(--font-heading);
    font-size: var(--section-title-size);
    font-weight: var(--fw-bold);
    color: var(--color-ink);
    line-height: var(--lh-tight);
    text-wrap: balance;
    margin: 0 0 var(--space-4);
}

/* Lead */
.svc-lead--tech {
    color: var(--color-ink-60);
    font-size: var(--section-lead-size);
    line-height: var(--lh-base);
    max-width: 46ch;
    margin: 0 0 var(--space-8);
}

/* ── Service items – tech variant ── */
.svc-item--tech {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

.svc-item--tech:first-child {
    border-top: 1px solid var(--color-border);
}

.svc-icon-wrap--tech {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(var(--color-accent-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    margin-top: 2px;
}

.svc-item--tech:hover .svc-icon-wrap--tech {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: transparent;
}

.svc-body-title--tech {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: var(--fw-bold);
    color: var(--color-ink);
    margin: 0 0 0.26rem;
    line-height: var(--lh-snug);
    transition: color 0.2s;
}

.svc-item--tech:hover .svc-body-title--tech {
    color: var(--color-accent);
}

.svc-body-text--tech {
    font-size: var(--text-sm);
    color: var(--color-ink-80, rgba(18, 50, 36, 0.8));
    line-height: var(--lh-base);
    margin: 0 0 var(--space-3);
}

/* ── Tech spec tags ── */
.svc-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.spec-tag {
    font-size: var(--text-2xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--color-accent-rgb), 0.35);
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.06);
}

.svc-trust--tech {
    background: rgba(var(--color-accent-rgb), 0.04);
    border: 1px solid rgba(var(--color-accent-rgb), 0.16);
    border-radius: var(--radius-md);
    margin-top: var(--space-7);
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.svc-trust--tech .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 4px;
}

.trust-value--tech {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    color: var(--color-accent);
    line-height: 1;
    display: block;
}

.trust-label--tech {
    font-size: var(--text-2xs);
    color: var(--color-ink-60);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: var(--fw-medium);
    display: block;
}

.trust-divider--tech {
    width: 1px;
    height: 36px;
    background: rgba(var(--color-accent-rgb), 0.2);
    flex-shrink: 0;
}

/* ── CTA ── */
.btn--outline-accent {
    border-color: rgba(var(--color-accent-rgb), 0.35);
    color: var(--color-accent);
    background: var(--color-surface);
}

.btn--outline-accent:hover {
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.06);
}

/* ── Visual – LEFT side ── */
.svc-visual--tech {
    flex: 1;
    position: relative;
    background-color: #0d1f0e;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.svc-visual--tech::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 5;
}

/* ── Swiper overrides ── */
.swiper-tech {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.svc-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.swiper-pagination-tech {
    bottom: var(--space-6) !important;
    text-align: left;
    padding-left: var(--space-6);
    z-index: 10;
}

.swiper-pagination-tech .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.2;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-tech .swiper-pagination-bullet-active {
    opacity: 0.8;
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.svc-visual--tech .svc-visual__overlay {
    background:
        linear-gradient(to left, rgba(244, 247, 242, 0.12) 0%, transparent 32%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.22) 100%);
}

/* Panel number label on visual (top-left for left-side visual) */
.svc-visual--tech .svc-panel-label {
    top: clamp(20px, 3.5vw, 36px);
    left: clamp(20px, 3vw, 36px);
    right: auto;
    align-items: flex-start;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .svc-content--tech {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 840px) {
    .panel--services-tech {
        align-items: flex-start;
    }

    .svc-split--tech {
        flex-direction: column;
        min-height: auto;
    }

    .svc-visual--tech {
        order: -1;
        flex: none;
        height: clamp(190px, 44vw, 290px);
        min-height: 180px;
    }

    .svc-content--tech {
        flex: none;
        max-width: none;
        padding: 28px var(--gutter-x-mobile) 48px;
    }

    .svc-lead--tech {
        max-width: none;
    }

    .svc-trust--tech {
        gap: var(--space-4);
    }

    .trust-divider--tech {
        display: none;
    }
}