/* ── Container ── */
.dc-txp {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* ── Layout ── */
.dc-txp .dc-txp__layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 28px;
    align-items: start;
}

/* ═══ LEFT ═══ */
.dc-txp .dc-txp__cats { display: flex; flex-direction: column; gap: 8px; }
.dc-txp .dc-txp__cat {
    border-radius: 16px; background: #fff;
    border: 1px solid rgba(167,130,120,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(26,26,46,0.03);
}
.dc-txp .dc-txp__cat:hover,
.dc-txp .dc-txp__cat.dc-txp--active {
    border-color: rgba(167,130,120,0.15);
    box-shadow: 0 8px 32px rgba(26,26,46,0.06);
}
.dc-txp .dc-txp__cat.dc-txp--hl {
    border-color: rgba(167,130,120,0.3);
    box-shadow: 0 8px 32px rgba(167,130,120,0.12);
}
.dc-txp .dc-txp__cat-head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; cursor: pointer;
    transition: background 0.3s; position: relative;
}
.dc-txp .dc-txp__cat.dc-txp--active .dc-txp__cat-head { padding-bottom: 10px; }
.dc-txp .dc-txp__cat-head:hover { background: rgba(167,130,120,0.02); }
.dc-txp .dc-txp__cat-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.3s;
}
.dc-txp .dc-txp__cat-icon svg { width: 18px; height: 18px; color: inherit; }
.dc-txp .dc-txp__cat-name {
    font-family: 'Inter', sans-serif; font-size: 14px;
    font-weight: 600; color: #1a1a2e; flex: 1;
}
.dc-txp .dc-txp__cat-chev {
    width: 20px; height: 20px;
    transition: transform 0.35s ease; color: #bbb;
}
.dc-txp .dc-txp__cat.dc-txp--active .dc-txp__cat-chev {
    transform: rotate(180deg); color: #A78278;
}
.dc-txp .dc-txp__cat-count {
    font-family: 'Inter', sans-serif; font-size: 10px;
    font-weight: 600; color: #fff; background: #A78278;
    border-radius: 50px; padding: 2px 8px; line-height: 1.3;
}
.dc-txp .dc-txp__treats {
    max-height: 0; overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    opacity: 0;
}
.dc-txp .dc-txp__cat.dc-txp--active .dc-txp__treats { max-height: 400px; opacity: 1; }
.dc-txp .dc-txp__treats-inner { padding: 0 18px 14px; display: flex; flex-direction: column; gap: 2px; }
.dc-txp .dc-txp__treat {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px;
    text-decoration: none; transition: all 0.25s;
}
.dc-txp .dc-txp__treat:hover { background: rgba(167,130,120,0.05); }
.dc-txp .dc-txp__treat-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; transition: transform 0.25s; }
.dc-txp .dc-txp__treat:hover .dc-txp__treat-dot { transform: scale(1.4); }
.dc-txp .dc-txp__treat-name {
    font-family: 'Inter', sans-serif; font-size: 13px;
    font-weight: 500; color: #505059; flex: 1; transition: color 0.25s;
}
.dc-txp .dc-txp__treat:hover .dc-txp__treat-name { color: #1a1a2e; }
.dc-txp .dc-txp__treat-arrow { width: 16px; height: 16px; color: transparent; transition: all 0.25s; }
.dc-txp .dc-txp__treat:hover .dc-txp__treat-arrow { color: #A78278; transform: translateX(2px); }

/* ═══ CENTER – Face with hotspots ═══ */
.dc-txp .dc-txp__center {
    display: flex; flex-direction: column; align-items: center;
}
.dc-txp .dc-txp__face-wrap {
    width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 2px 12px rgba(26,26,46,0.04),
        0 12px 40px rgba(167,130,120,0.06);
    margin-bottom: 16px;
}

/* Face image */
.dc-txp .dc-txp__face-img {
    position: relative; z-index: 0;
    line-height: 0;
}
.dc-txp .dc-txp__face-img img {
    width: 100%; height: auto; display: block;
}
.dc-txp .dc-txp__face-img svg {
    width: 100%; height: auto; display: block;
}
.dc-txp .dc-txp__face-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: #b89882;
    font-family: 'Inter', sans-serif; font-size: 13px;
    opacity: 0.5;
}

/* ── Hotspots ── */
.dc-txp .dc-txp__hotspots {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    pointer-events: none;
}
.dc-txp .dc-txp__hs {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: default;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.dc-txp .dc-txp__hs.dc-txp--hs-visible {
    opacity: 1;
}

/* ── Circle dot ── */
.dc-txp .dc-txp__hs-dot {
    display: block;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.85);
    border: 3px solid #A78278;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(167,130,120,0.15), 0 2px 8px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
}

/* ── Pulse ring ── */
.dc-txp .dc-txp__hs-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    margin: -20px 0 0 -20px;
    border: 2px solid #A78278;
    border-radius: 50%;
    animation: dcTxpPulse 2s ease-in-out infinite;
    z-index: 1;
}
@keyframes dcTxpPulse {
    0%, 100% { transform: scale(0.7); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 0; }
}

/* ── Label ── */
.dc-txp .dc-txp__hs-label {
    position: absolute;
    left: 30px; top: 50%;
    transform: translateY(-50%);
    padding: 6px 14px;
    background: #fff;
    border: 1px solid rgba(167,130,120,0.15);
    color: #1a1a2e;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ── Treatment image preview ── */
.dc-txp .dc-txp__preview {
    position: absolute; inset: 0; z-index: 4;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
    border-radius: 24px;
}
.dc-txp .dc-txp__preview.dc-txp--preview-active {
    opacity: 1;
}
.dc-txp .dc-txp__preview-img {
    max-width: 80%; max-height: 72%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(26,26,46,0.1);
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(0.95); opacity: 0;
}
.dc-txp .dc-txp__preview.dc-txp--preview-active .dc-txp__preview-img {
    transform: scale(1); opacity: 1;
}
.dc-txp .dc-txp__preview-label {
    margin-top: 12px;
    font-family: 'Cinzel', serif; font-size: 14px;
    font-weight: 600; color: #1a1a2e;
    letter-spacing: 0.5px;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.dc-txp .dc-txp__preview.dc-txp--preview-active .dc-txp__preview-label {
    opacity: 1; transform: translateY(0);
}

/* USP badges */
.dc-txp .dc-txp__badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.dc-txp .dc-txp__badge {
    display: flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    background: rgba(167,130,120,0.04);
    border: 1px solid rgba(167,130,120,0.1);
    border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: 11px;
    font-weight: 500; color: #505059; transition: all 0.3s;
}
.dc-txp .dc-txp__badge:hover {
    background: rgba(167,130,120,0.08);
    border-color: rgba(167,130,120,0.2);
    transform: translateY(-1px);
}
.dc-txp .dc-txp__badge svg { width: 12px; height: 12px; color: #A78278; }

/* ═══ RIGHT ═══ */
.dc-txp .dc-txp__right { display: flex; flex-direction: column; gap: 12px; }
.dc-txp .dc-txp__section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.dc-txp .dc-txp__section-label span {
    font-family: 'Cinzel', serif; font-size: 10px;
    font-weight: 400; letter-spacing: 2.5px;
    text-transform: uppercase; color: #8B6B62;
}
.dc-txp .dc-txp__section-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(167,130,120,0.2), transparent);
}
.dc-txp .dc-txp__doc {
    background: #fff; border: 1px solid rgba(167,130,120,0.08);
    border-radius: 20px; padding: 24px;
    box-shadow: 0 4px 24px rgba(26,26,46,0.04); transition: all 0.4s;
}
.dc-txp .dc-txp__doc:hover {
    box-shadow: 0 12px 40px rgba(26,26,46,0.07); transform: translateY(-2px);
}
.dc-txp .dc-txp__doc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dc-txp .dc-txp__doc-avatar {
    width: 60px; height: 60px; border-radius: 16px;
    object-fit: cover; flex-shrink: 0;
    background: linear-gradient(135deg, #f5f0ee, #e8e0dd);
}
.dc-txp .dc-txp__doc-avatar-ph {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, #f5f0ee, #e8e0dd);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dc-txp .dc-txp__doc-avatar-ph svg { width: 24px; height: 24px; color: #A78278; opacity: 0.4; }
.dc-txp .dc-txp__doc-info { display: flex; flex-direction: column; gap: 2px; }
.dc-txp .dc-txp__doc-name {
    font-family: 'Cinzel', serif; font-size: 16px;
    font-weight: 600; color: #1a1a2e; line-height: 1.2;
}
.dc-txp .dc-txp__doc-role {
    font-family: 'Inter', sans-serif; font-size: 12px; color: #8B6B62; font-weight: 500;
}
.dc-txp .dc-txp__doc-usps { display: flex; flex-direction: column; gap: 8px; }
.dc-txp .dc-txp__doc-usp {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: #505059;
}
.dc-txp .dc-txp__doc-usp-icon {
    width: 28px; height: 28px; border-radius: 8px;
    background: rgba(167,130,120,0.06);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dc-txp .dc-txp__doc-usp-icon svg { width: 13px; height: 13px; color: #A78278; }
.dc-txp .dc-txp__cta { margin-top: 4px; }

/* ── Entrance ── */
.dc-txp.dc-txp--js .dc-txp__cat,
.dc-txp.dc-txp--js .dc-txp__center,
.dc-txp.dc-txp--js .dc-txp__doc,
.dc-txp.dc-txp--js .dc-txp__badge {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.dc-txp.dc-txp--visible .dc-txp__cat,
.dc-txp.dc-txp--visible .dc-txp__center,
.dc-txp.dc-txp--visible .dc-txp__doc,
.dc-txp.dc-txp--visible .dc-txp__badge {
    opacity: 1 !important; transform: translateY(0) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .dc-txp .dc-txp__layout { grid-template-columns: 1fr 1fr; gap: 24px; }
    .dc-txp .dc-txp__center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
    .dc-txp { padding: 40px 16px; }
    .dc-txp .dc-txp__layout { grid-template-columns: 1fr; gap: 20px; }
    .dc-txp .dc-txp__face-wrap { border-radius: 16px; }
    .dc-txp .dc-txp__hs-label { display: none; }
}
