/* ══════════════════════════════════════════════════════════════
   DC Treatment Page widget family
   (facts, steps, good-to-know, specialists, price list)
   Media + reveal base: css/dc-tp-media.css. Themed through custom properties; Elementor Style tab sets them.
   ══════════════════════════════════════════════════════════════ */

.dc-tp {
    --dc-tp-accent: #A78278;
    --dc-tp-accent-text: #8B6B62;
    --dc-tp-dark: #1a1a2e;
    --dc-tp-text: #505059;
    --dc-tp-muted: #6b6b75;
    --dc-tp-soft: #faf6f4;
    --dc-tp-line: rgba(167, 130, 120, 0.22);
    --dc-tp-card: #fff;
    --dc-tp-radius: 20px;
    --dc-tp-max: 1200px;
    padding: 72px 24px;
    font-family: 'Inter', sans-serif;
    color: var(--dc-tp-text);
    box-sizing: border-box;
}
.dc-tp *,
.dc-tp *::before,
.dc-tp *::after { box-sizing: border-box; }
.dc-tp__inner { max-width: var(--dc-tp-max); margin: 0 auto; }

.dc-tp .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ── Section header ── */
.dc-tp__header { margin: 0 auto 40px; max-width: 720px; }
.dc-tp__header--center { text-align: center; }
.dc-tp__header--left { margin-left: 0; text-align: left; }
.dc-tp__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 12px;
    font-family: 'Trajan Pro', 'Cinzel', serif;
    font-size: 11px; font-weight: 400; line-height: 1.4;
    letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--dc-tp-accent-text);
}
.dc-tp__eyebrow-line {
    width: 32px; height: 1px; flex-shrink: 0;
    background: linear-gradient(90deg, transparent, var(--dc-tp-accent));
}
.dc-tp__title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 300; line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--dc-tp-dark);
}
.dc-tp__intro { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: var(--dc-tp-text); }
.dc-tp__footnote { margin: 20px 0 0; font-size: 13px; line-height: 1.6; color: var(--dc-tp-muted); }
.dc-tp__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.dc-tp__actions--center { justify-content: center; }
.dc-tp__cta { min-width: 240px; }

/* Shared focus ring */
.dc-tp a:focus-visible,
.dc-tp button:focus-visible {
    outline: 2px solid var(--dc-tp-dark);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Editor-only empty-state hint */
.dc-tp-notice {
    padding: 16px 20px; margin: 12px;
    border: 1px dashed var(--dc-tp-accent, #A78278); border-radius: 12px;
    font: 13px/1.5 'Inter', sans-serif; color: #8B6B62; background: #faf6f4;
}

/* Small inline text link with arrow */
.dc-tp-price__more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600;
    color: var(--dc-tp-accent-text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .25s, gap .25s;
}
.dc-tp-price__more svg { width: 15px; height: 15px; display: block; }
.dc-tp-price__more:hover { border-bottom-color: currentColor; gap: 9px; }

/* ══════════ C. Treatment facts ══════════ */
.dc-tp-facts { background: #fff; }
.dc-tp-facts__grid {
    --dc-tp-cols: 5;
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--dc-tp-cols), minmax(0, 1fr));
    gap: 16px;
}
.dc-tp-facts__card {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 24px 22px;
    background: var(--dc-tp-card);
    border: 1px solid rgba(167, 130, 120, 0.16);
    border-radius: var(--dc-tp-radius);
    box-shadow: 0 2px 14px rgba(26, 26, 46, 0.04);
}
.dc-tp-facts__icon {
    width: 44px; height: 44px; margin-bottom: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(167, 130, 120, 0.1);
    color: var(--dc-tp-accent-text);
}
.dc-tp-facts__icon svg { width: 22px; height: 22px; }
.dc-tp-facts__label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--dc-tp-muted);
}
.dc-tp-facts__value { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--dc-tp-dark); }
.dc-tp-facts__note { font-size: 13.5px; line-height: 1.55; color: var(--dc-tp-text); }
.dc-tp-facts__scale { display: inline-flex; align-items: center; gap: 10px; margin-top: 2px; }
.dc-tp-facts__dots { display: inline-flex; gap: 4px; }
.dc-tp-facts__dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1.5px solid var(--dc-tp-accent);
    background: transparent;
}
.dc-tp-facts__dot.is-on { background: var(--dc-tp-accent); }
.dc-tp-facts__scale-text { font-size: 13px; font-weight: 600; color: var(--dc-tp-dark); }

/* ══════════ D. Steps / media story ══════════
   Desktop: sticky framed media stage + step list on a progress rail.
   ≤1024px: stage hidden, every card carries its own media.
   JS (dc-treatment-steps.js) adds .is-ready and toggles .is-active. */
.dc-tp-steps {
    --dc-tp-steps-ratio: 1 / 1;
    --dc-tp-steps-sticky: 112px;
    --dc-tp-steps-marker: var(--dc-tp-accent);
    --dc-tp-steps-marker-text: #fff;
    --dc-tp-steps-ease: cubic-bezier(.22, .7, .18, 1);
    background: var(--dc-tp-soft);
    overflow: clip;
}
.dc-tp-steps__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

/* ── Stage: passe-partout card, media never cropped in "contain" mode ── */
.dc-tp-steps__stage {
    position: sticky; top: var(--dc-tp-steps-sticky);
    padding: 12px;
    background: var(--dc-tp-card);
    border: 1px solid rgba(167, 130, 120, 0.16);
    border-radius: calc(var(--dc-tp-radius) + 6px);
    box-shadow: 0 30px 70px -44px rgba(26, 26, 46, 0.3);
}
.dc-tp-steps__frame {
    position: relative; isolation: isolate;
    aspect-ratio: var(--dc-tp-steps-ratio);
    max-height: calc(100vh - var(--dc-tp-steps-sticky) - 150px);
    width: 100%;
    overflow: hidden;
    border-radius: var(--dc-tp-radius);
    background: #f6f0ed;
}
.dc-tp-steps__layer {
    position: absolute; inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s ease, transform 1.2s var(--dc-tp-steps-ease);
}
.dc-tp-steps__layer.is-active { opacity: 1; transform: scale(1); z-index: 1; }

/* contain: the frame takes the active image's own ratio (JS sizes it in px
   and animates between steps), so the image is never cropped */
.dc-tp-steps--contain .dc-tp-steps__frame {
    aspect-ratio: var(--dc-tp-steps-r, var(--dc-tp-steps-ratio));
    margin-inline: auto;
    transition: width .65s var(--dc-tp-steps-ease), height .65s var(--dc-tp-steps-ease);
}
.dc-tp-steps--contain.is-ready .dc-tp-steps__frame { max-height: none; }
.dc-tp-steps--contain.is-ready .dc-tp-steps__stage { justify-self: center; max-width: 100%; }
.dc-tp-steps--contain .dc-tp-steps__frame { background: #fff; }

/* doubled class beats Elementor's `.elementor img { height: auto }` */
.dc-tp-steps .dc-tp-steps__img,
.dc-tp-steps .dc-tp-steps__video {
    display: block; width: 100%; height: 100%; max-width: none;
    object-fit: cover;
    border-radius: 0;
}
.dc-tp-steps--contain .dc-tp-steps__img,
.dc-tp-steps--contain .dc-tp-steps__video { object-fit: contain; background: #fff; }
.dc-tp-steps__placeholder {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: var(--dc-tp-accent-text);
    background: radial-gradient(circle at 50% 40%, #fff 0%, #f3e9e5 55%, #e8d8d2 100%);
}
.dc-tp-steps__placeholder svg { width: 64px; height: 64px; opacity: .7; }

.dc-tp-steps__caption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: 14px 16px;
    padding: 18px 10px 8px;
}
.dc-tp-steps__caption-row { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.dc-tp-steps__count {
    flex-shrink: 0;
    font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2.5px;
    color: var(--dc-tp-muted);
}
.dc-tp-steps__count b { font-weight: 600; color: var(--dc-tp-accent-text); }
.dc-tp-steps__caption-title {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 18px; font-weight: 400; line-height: 1.3;
    color: var(--dc-tp-dark);
}
.dc-tp-steps__bars { grid-column: 1 / -1; display: flex; gap: 6px; }
.dc-tp-steps__bar {
    position: relative; flex: 1; height: 2px; overflow: hidden;
    border-radius: 2px;
    background: var(--dc-tp-line);
}
.dc-tp-steps__bar::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--dc-tp-steps-marker);
    transform: scaleX(0); transform-origin: left;
    transition: transform .7s var(--dc-tp-steps-ease);
}
.dc-tp-steps__bar.is-on::after { transform: scaleX(1); }

.dc-tp-steps__toggle {
    width: 40px; height: 40px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--dc-tp-line); border-radius: 50%;
    background: var(--dc-tp-card);
    color: var(--dc-tp-dark); cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.dc-tp-steps__toggle[hidden] { display: none; }
.dc-tp-steps__toggle:hover { background: var(--dc-tp-soft); border-color: var(--dc-tp-accent); }
.dc-tp-steps__toggle svg { width: 16px; height: 16px; }
.dc-tp-steps__ico-play,
.dc-tp-steps__toggle[aria-pressed="true"] .dc-tp-steps__ico-pause { display: none; }
.dc-tp-steps__toggle[aria-pressed="true"] .dc-tp-steps__ico-play { display: block; }
.dc-tp .dc-tp-steps__toggle:focus-visible { border-radius: 50%; }

/* ── Step list on a progress rail ── */
.dc-tp-steps__list {
    --dc-tp-rail-top: 26px;
    --dc-tp-rail-len: calc(100% - 52px);
    position: relative;
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.dc-tp-steps__list::before,
.dc-tp-steps__list::after {
    content: '';
    position: absolute; left: 25px; top: var(--dc-tp-rail-top);
    width: 2px; border-radius: 2px;
}
.dc-tp-steps__list::before { height: var(--dc-tp-rail-len); background: var(--dc-tp-line); }
.dc-tp-steps__list::after {
    height: var(--dc-tp-rail-fill, 0px);
    background: var(--dc-tp-steps-marker);
    transition: height .7s var(--dc-tp-steps-ease);
}
.dc-tp-steps__item {
    position: relative; z-index: 1; margin: 0;
    display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px;
    align-items: start;
}
.dc-tp-steps__marker {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--dc-tp-steps-marker);
    border: 1px solid var(--dc-tp-steps-marker);
    color: var(--dc-tp-steps-marker-text);
    font-family: 'Cinzel', serif; font-size: 16px; font-weight: 600; letter-spacing: 1px;
    box-shadow: 0 0 0 6px var(--dc-tp-soft);
    transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--dc-tp-steps-ease);
}
.dc-tp-steps__marker svg { width: 22px; height: 22px; }
.dc-tp-steps__card {
    overflow: hidden;
    background: var(--dc-tp-card);
    border: 1px solid rgba(167, 130, 120, 0.16);
    border-radius: var(--dc-tp-radius);
    transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease, transform .55s var(--dc-tp-steps-ease);
}
.dc-tp-steps__body { padding: 26px 28px 28px; }
.dc-tp-steps__media { display: none; }
.dc-tp-steps__meta {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 12px; padding: 5px 12px;
    border-radius: 999px;
    background: rgba(167, 130, 120, 0.12);
    font-size: 12px; font-weight: 600; letter-spacing: .4px;
    color: var(--dc-tp-accent-text);
}
.dc-tp-steps__meta::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--dc-tp-accent);
}
.dc-tp-steps__title {
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif; font-size: 21px; font-weight: 500; line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--dc-tp-dark);
    transition: color .4s ease;
}
.dc-tp-steps__text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--dc-tp-text); transition: color .4s ease; }
.dc-tp-steps .dc-tp__actions { justify-content: center; }

/* Desktop interaction states (only once JS is running) */
@media (min-width: 1025px) {
    /* extra room after the last step keeps the sticky stage fully in view */
    .dc-tp-steps__list { padding: 6vh 0 26vh; --dc-tp-rail-top: calc(6vh + 26px); }
    .dc-tp-steps__item { min-height: clamp(200px, 30vh, 300px); cursor: default; }
    .dc-tp-steps.is-ready .dc-tp-steps__item { cursor: pointer; }
    .dc-tp-steps.is-ready .dc-tp-steps__item:not(.is-active) .dc-tp-steps__card {
        background: transparent;
        border-color: transparent;
    }
    .dc-tp-steps.is-ready .dc-tp-steps__item:not(.is-active) .dc-tp-steps__marker {
        background: var(--dc-tp-soft);
        color: var(--dc-tp-accent-text);
        border-color: var(--dc-tp-line);
    }
    .dc-tp-steps.is-ready .dc-tp-steps__item:not(.is-active) .dc-tp-steps__title,
    .dc-tp-steps.is-ready .dc-tp-steps__item:not(.is-active) .dc-tp-steps__text { color: var(--dc-tp-muted); }
    .dc-tp-steps.is-ready .dc-tp-steps__item.is-active .dc-tp-steps__card {
        box-shadow: 0 30px 60px -36px rgba(26, 26, 46, 0.28);
        transform: translateX(6px);
    }
    .dc-tp-steps.is-ready .dc-tp-steps__item.is-active .dc-tp-steps__marker { transform: scale(1.08); }
}

/* E. Good to know → css/dc-good-to-know.css */

/* ══════════ F. Specialists ══════════
   Arched portraits unveil bottom-up and settle from a slow zoom;
   one or two people get large cards, three or more a grid. */
.dc-tp-team {
    --dc-tp-team-ratio: 0.8;      /* width / height */
    --dc-tp-team-arch: 40%;       /* = ratio × 50%: a true semicircle on top */
    --dc-tp-ease: cubic-bezier(.22, .7, .18, 1);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(55% 45% at 88% 0%, rgba(167, 130, 120, 0.16), transparent 70%),
        radial-gradient(45% 40% at 0% 100%, rgba(167, 130, 120, 0.10), transparent 70%),
        var(--dc-tp-soft);
}
.dc-tp-team__grid {
    --dc-tp-cols: 3;
    list-style: none; margin: 0 auto; padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--dc-tp-cols), minmax(0, 1fr));
    gap: 28px;
}
.dc-tp-team__grid--n1 { max-width: 460px; grid-template-columns: minmax(0, 1fr); }
.dc-tp-team__grid--n2 { max-width: 900px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
    .dc-tp-team__grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 900px) {
    .dc-tp-team__grid--n1 { max-width: 960px; }
    .dc-tp-team__grid--n1 .dc-tp-team__card {
        display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        align-items: center; column-gap: 40px;
    }
}

.dc-tp-team__card {
    --dc-tp-d: calc(var(--dc-tp-i, 0) * 160ms);
    position: relative;
    margin: 0; padding: 14px;
    display: flex; flex-direction: column;
    background: var(--dc-tp-card);
    border: 1px solid rgba(167, 130, 120, 0.14);
    border-radius: calc(var(--dc-tp-radius) + 10px);
    box-shadow: 0 34px 70px -48px rgba(26, 26, 46, 0.45);
    transition:
        opacity .9s var(--dc-tp-ease) var(--dc-tp-d),
        translate 1.1s var(--dc-tp-ease) var(--dc-tp-d),
        transform .6s var(--dc-tp-ease),
        box-shadow .6s ease;
}
.dc-tp-team__card:hover { transform: translateY(-6px); box-shadow: 0 44px 80px -46px rgba(26, 26, 46, 0.55); }

/* Portrait */
.dc-tp-team__visual { position: relative; }
.dc-tp-team__photo {
    position: relative;
    aspect-ratio: var(--dc-tp-team-ratio);
    overflow: hidden;
    border-radius: var(--dc-tp-radius);
    background: #efe9e6;
    isolation: isolate;
    transition: clip-path 1.4s var(--dc-tp-ease) calc(var(--dc-tp-d) + 120ms);
}
.dc-tp-team--arch .dc-tp-team__photo,
.dc-tp-team--arch .dc-tp-team__frame {
    border-radius: 50% 50% var(--dc-tp-radius) var(--dc-tp-radius) / var(--dc-tp-team-arch) var(--dc-tp-team-arch) var(--dc-tp-radius) var(--dc-tp-radius);
}
.dc-tp-team__photo .dc-tp-media { position: absolute; inset: 0; background: transparent; }
.dc-tp-team__photo .dc-tp-media__el.dc-tp-media__el { object-position: center top; }
.dc-tp-team__photo::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.42) 0%, rgba(26, 26, 46, 0) 38%);
}
.dc-tp-team__card:hover .dc-tp-media__el { transform: scale(1.05); }
/* inner hairline frame, like a passe-partout */
.dc-tp-team__frame {
    position: absolute; inset: 10px; z-index: 2; pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: calc(var(--dc-tp-radius) - 6px);
    transition: inset .7s var(--dc-tp-ease), opacity 1s ease calc(var(--dc-tp-d) + 700ms), border-color .5s ease;
}
.dc-tp-team__card:hover .dc-tp-team__frame { inset: 16px; border-color: rgba(255, 255, 255, 0.85); }
.dc-tp-team__photo-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--dc-tp-accent); }
.dc-tp-team__photo-fallback svg { width: 64px; height: 64px; }

.dc-tp-team__badge {
    position: absolute; left: 22px; bottom: 22px; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
    font-size: 12px; font-weight: 600; letter-spacing: .2px;
    color: var(--dc-tp-dark);
    box-shadow: 0 10px 24px -14px rgba(26, 26, 46, 0.5);
    transition: opacity .8s ease calc(var(--dc-tp-d) + 900ms), translate .8s var(--dc-tp-ease) calc(var(--dc-tp-d) + 900ms);
}
.dc-tp-team__badge-ico {
    width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dc-tp-accent); color: #fff;
}
.dc-tp-team__badge-ico svg { width: 12px; height: 12px; }

/* Text */
.dc-tp-team__body { padding: 26px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.dc-tp-team__role {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 10px;
    font-size: 11.5px; font-weight: 600; line-height: 1.5;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--dc-tp-accent-text);
}
.dc-tp-team__role::before { content: ''; width: 22px; height: 1px; flex-shrink: 0; background: var(--dc-tp-accent); }
.dc-tp-team__name {
    margin: 0;
    font-family: 'Inter', sans-serif; font-size: clamp(22px, 2.2vw, 27px); font-weight: 400;
    line-height: 1.2; letter-spacing: -0.015em;
    color: var(--dc-tp-dark);
}
.dc-tp-team__intro { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--dc-tp-text); }
.dc-tp-team__chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-tp-team__chip {
    margin: 0; padding: 6px 12px;
    border-radius: 999px;
    background: rgba(167, 130, 120, 0.11);
    font-size: 12.5px; font-weight: 500; line-height: 1.3;
    color: var(--dc-tp-accent-text);
    transition: opacity .6s ease, translate .6s var(--dc-tp-ease);
    transition-delay: calc(var(--dc-tp-d) + 650ms + var(--dc-tp-c, 0) * 80ms);
}
.dc-tp-team__link {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 14px;
    padding: 5px 5px 5px 18px;
    border: 1px solid rgba(167, 130, 120, 0.3); border-radius: 999px;
    font-size: 14px; font-weight: 600;
    color: var(--dc-tp-dark); text-decoration: none;
    transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
/* keep links bottom-aligned across cards, with a minimum gap above */
.dc-tp-team__body > :has(+ .dc-tp-team__link) { margin-bottom: 24px; }
.dc-tp-team__link-ico {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dc-tp-accent); color: #fff;
    transition: transform .4s var(--dc-tp-ease), background-color .35s ease;
}
.dc-tp-team__link-ico svg { width: 15px; height: 15px; }
.dc-tp-team__link:hover { background: var(--dc-tp-dark); border-color: var(--dc-tp-dark); color: #fff; }
.dc-tp-team__link:hover .dc-tp-team__link-ico { transform: translateX(3px) rotate(-45deg); }

/* Motion (JS adds .is-motion; reveal per card) */
.dc-tp-team.is-motion .dc-tp-team__card:not(.is-in) { opacity: 0; translate: 0 40px; }
.dc-tp-team.is-motion .dc-tp-team__card:not(.is-in) .dc-tp-team__photo { clip-path: inset(100% 0 0 0); }
.dc-tp-team.is-motion .dc-tp-team__card .dc-tp-team__photo { clip-path: inset(0 0 0 0); }
.dc-tp-team.is-motion .dc-tp-team__card:not(.is-in) .dc-tp-team__frame { opacity: 0; }
.dc-tp-team.is-motion .dc-tp-team__card:not(.is-in) .dc-tp-team__badge { opacity: 0; translate: 0 12px; }
.dc-tp-team.is-motion .dc-tp-team__card:not(.is-in) .dc-tp-team__chip { opacity: 0; translate: 0 8px; }
.dc-tp-team .dc-tp-team__card.is-in .dc-tp-media__el { scale: 1; }

/* Slider: JS moves the track with a transform inside a clipping viewport
   that never scrolls itself, so wheel/trackpad scrolling always reaches the
   page. Without JS (.is-ready missing) the track is a plain scroll strip.
   One per view → photo beside text on wide cards. */
.dc-tp-team__slider { --dc-tp-gap: 28px; position: relative; }
.dc-tp-team__viewport {
    /* room for hover lift + card shadow inside the clipped area */
    margin: -14px 0 -34px; padding: 14px 0 34px;
    overflow-x: auto; scrollbar-width: none;
}
.dc-tp-team__viewport::-webkit-scrollbar { display: none; }
.dc-tp-team__slider.is-ready .dc-tp-team__viewport { overflow: hidden; overflow: clip; }
.dc-tp-team__track {
    --dc-tp-per-view: 1;
    --dc-tp-peek: 0px;
    list-style: none;
    margin: 0; padding: 0;
    display: flex; gap: var(--dc-tp-gap);
}
.dc-tp-team__slider.is-ready .dc-tp-team__track {
    touch-action: pan-y;          /* vertical swipes stay native page scrolls */
    transition: transform .7s var(--dc-tp-ease);
    will-change: transform;
}
.dc-tp-team__slider.is-dragging .dc-tp-team__track { transition: none; cursor: grabbing; }
.dc-tp-team__slider.is-dragging .dc-tp-team__card { pointer-events: none; }
.dc-tp-team__slide {
    flex: 0 0 calc((100% - (var(--dc-tp-per-view) - 1) * var(--dc-tp-gap)) / var(--dc-tp-per-view) - var(--dc-tp-peek));
    min-width: 0; margin: 0;
    display: flex;
    container-type: inline-size;
}
.dc-tp-team--slider .dc-tp-team__card {
    --dc-tp-d: 0ms;
    flex: 1;
    /* shadow stays inside the scroller, so its sides are never clipped */
    box-shadow: 0 24px 40px -30px rgba(26, 26, 46, 0.4);
}
.dc-tp-team--slider .dc-tp-team__card:hover { box-shadow: 0 28px 44px -30px rgba(26, 26, 46, 0.5); }
@container (min-width: 760px) {
    .dc-tp-team__slide .dc-tp-team__card {
        display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        align-items: center; column-gap: 48px;
        padding: 16px;
    }
    .dc-tp-team__slide .dc-tp-team__body { padding: 24px 32px 24px 0; }
    .dc-tp-team__slide .dc-tp-team__name { font-size: clamp(26px, 2.6vw, 34px); }
    .dc-tp-team__slide .dc-tp-team__intro { font-size: 16px; max-width: 52ch; }
}

.dc-tp-team__nav {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 32px;
}
.dc-tp-team__slider.is-static .dc-tp-team__nav { display: none; }
.dc-tp-team__dots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dc-tp-team__dot {
    width: 8px; height: 8px; padding: 0;
    border: 0; border-radius: 999px;
    background: rgba(167, 130, 120, 0.35);
    cursor: pointer;
    transition: width .5s var(--dc-tp-ease), background-color .3s ease;
}
.dc-tp-team__dot[aria-current="true"] { width: 32px; background: var(--dc-tp-accent); }
.dc-tp-team__dot:focus-visible,
.dc-tp-team__arrow:focus-visible { outline: 2px solid var(--dc-tp-accent); outline-offset: 3px; }
.dc-tp-team__count {
    margin: 0 0 0 auto;
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    font-variant-numeric: tabular-nums;
    color: var(--dc-tp-muted);
}
.dc-tp-team__count [data-dc-tp-current] { color: var(--dc-tp-dark); }
.dc-tp-team__arrows { display: flex; gap: 10px; }
.dc-tp-team__arrow {
    width: 48px; height: 48px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(167, 130, 120, 0.35); border-radius: 50%;
    background: var(--dc-tp-card); color: var(--dc-tp-dark);
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, opacity .3s ease;
}
.dc-tp-team__arrow svg { width: 18px; height: 18px; }
.dc-tp-team__arrow--prev svg { transform: rotate(180deg); }
.dc-tp-team__arrow:hover:not(:disabled) { background: var(--dc-tp-dark); border-color: var(--dc-tp-dark); color: #fff; }
.dc-tp-team__arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
    .dc-tp-team__slider { --dc-tp-gap: 14px; }
    /* show a sliver of the next card so swiping is obvious */
    .dc-tp-team__slider:not(.is-static) .dc-tp-team__track { --dc-tp-peek: 28px; }
    .dc-tp-team__nav { margin-top: 24px; }
    .dc-tp-team__count { display: none; }
    .dc-tp-team__arrow { width: 44px; height: 44px; }
}

/* ══════════ H. Price list ══════════
   Tariff cards (prices count up) beside an image/video panel with an
   "included" glass card; without media a centred single column. */
.dc-tp-price {
    --dc-tp-price-hl: var(--dc-tp-dark);
    --dc-tp-ease: cubic-bezier(.22, .7, .18, 1);
    position: relative;
    background: linear-gradient(180deg, var(--dc-tp-soft) 0%, #fff 38%);
}
.dc-tp-price__layout { max-width: 820px; margin: 0 auto; }
.dc-tp-price--split .dc-tp-price__layout {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: stretch;
}
.dc-tp-price--split .dc-tp__header { margin-bottom: 30px; }

/* Visual panel */
.dc-tp-price__visual {
    position: relative;
    min-height: 540px;
    border-radius: calc(var(--dc-tp-radius) + 10px);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 50px 90px -60px rgba(26, 26, 46, 0.6);
    transition: opacity 1s var(--dc-tp-ease), clip-path 1.4s var(--dc-tp-ease);
}
.dc-tp-price__visual .dc-tp-media { position: absolute; inset: 0; }
.dc-tp-price__visual::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.5) 0%, rgba(26, 26, 46, 0) 45%);
}
.dc-tp-price__includes {
    position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
    padding: 20px 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--dc-tp-radius);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 20px 40px -24px rgba(26, 26, 46, 0.5);
    transition: opacity .9s ease .45s, translate 1s var(--dc-tp-ease) .45s;
}
.dc-tp-price__includes-title {
    margin: 0 0 12px;
    font-family: 'Trajan Pro', 'Cinzel', serif;
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--dc-tp-accent-text);
}
.dc-tp-price__includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dc-tp-price__includes li {
    margin: 0;
    display: flex; align-items: center; gap: 10px;
    font-size: 14.5px; font-weight: 500; line-height: 1.4;
    color: var(--dc-tp-dark);
    transition: opacity .6s ease, translate .6s var(--dc-tp-ease);
    transition-delay: calc(.75s + var(--dc-tp-c, 0) * 110ms);
}
.dc-tp-price__check {
    width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dc-tp-accent); color: #fff;
}
.dc-tp-price__check svg { width: 12px; height: 12px; }

/* Tariff cards */
.dc-tp-price__content { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.dc-tp-price__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dc-tp-price__row {
    --dc-tp-d: calc(var(--dc-tp-i, 0) * 120ms);
    position: relative;
    margin: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 26px;
    overflow: hidden;
    background: var(--dc-tp-card);
    border: 1px solid rgba(167, 130, 120, 0.2);
    border-radius: var(--dc-tp-radius);
    transition:
        opacity .8s var(--dc-tp-ease) var(--dc-tp-d),
        translate .9s var(--dc-tp-ease) var(--dc-tp-d),
        transform .45s var(--dc-tp-ease),
        border-color .35s ease, box-shadow .45s ease;
}
.dc-tp-price__row:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 130, 120, 0.5);
    box-shadow: 0 26px 50px -34px rgba(26, 26, 46, 0.4);
}
/* one-off sheen when the card scrolls in */
.dc-tp-price__row::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
    translate: -110% 0;
}
.dc-tp-price.is-motion .dc-tp-price__row.is-in::after { animation: dc-tp-sheen 1.5s var(--dc-tp-ease) calc(var(--dc-tp-d) + .35s) both; }
@keyframes dc-tp-sheen { from { translate: -110% 0; } to { translate: 110% 0; } }

.dc-tp-price__desc { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dc-tp-price__variant {
    font-size: 11px; font-weight: 600; line-height: 1.4;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--dc-tp-muted);
}
.dc-tp-price__name { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--dc-tp-dark); }
.dc-tp-price__note { font-size: 13px; line-height: 1.5; color: var(--dc-tp-muted); }
.dc-tp-price__value { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dc-tp-price__amount {
    display: inline-block; text-align: right;
    font-family: 'Cinzel', serif; font-size: 30px; font-weight: 600; line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--dc-tp-accent-text);
    white-space: nowrap;
}
.dc-tp-price__flag {
    padding: 4px 10px; border-radius: 999px;
    background: var(--dc-tp-accent); color: #fff;
    font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}

/* Highlighted tariff: dark card */
.dc-tp-price__row.is-highlight {
    background: var(--dc-tp-price-hl);
    border-color: transparent;
    box-shadow: 0 30px 60px -36px rgba(26, 26, 46, 0.65);
}
.dc-tp-price__row.is-highlight::before {
    content: ''; position: absolute; left: 0; top: 18px; bottom: 18px;
    width: 3px; border-radius: 0 3px 3px 0; background: var(--dc-tp-accent);
}
.dc-tp-price__row.is-highlight::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.14) 50%, transparent 62%); }
.dc-tp-price__row.is-highlight .dc-tp-price__name { color: #fff; }
.dc-tp-price__row.is-highlight .dc-tp-price__variant,
.dc-tp-price__row.is-highlight .dc-tp-price__note { color: rgba(255, 255, 255, 0.62); }
.dc-tp-price__row.is-highlight .dc-tp-price__amount { color: #e6c9bf; --dc-tp-count-color: #e6c9bf; }

.dc-tp-price__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
    padding-top: 20px;
}
.dc-tp-price__foot .dc-tp__footnote { margin: 0; flex: 1 1 280px; }
.dc-tp-price--split .dc-tp__actions { margin-top: 28px; }

/* Motion */
.dc-tp-price.is-motion .dc-tp-price__visual:not(.is-in) { opacity: 0; clip-path: inset(8% 8% 8% 8% round 40px); }
.dc-tp-price.is-motion .dc-tp-price__visual { clip-path: inset(0 0 0 0 round 0); }
.dc-tp-price.is-motion .dc-tp-price__visual:not(.is-in) .dc-tp-price__includes { opacity: 0; translate: 0 26px; }
.dc-tp-price.is-motion .dc-tp-price__visual:not(.is-in) .dc-tp-price__includes li { opacity: 0; translate: -10px 0; }
.dc-tp-price.is-motion .dc-tp-price__row:not(.is-in) { opacity: 0; translate: 32px 0; }

/* ══════════ Responsive ══════════ */
@media (max-width: 1024px) {
    .dc-tp { padding: 56px 24px; }
    .dc-tp-steps__layout { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
    .dc-tp-steps__stage { display: none; }
    .dc-tp-steps__list { gap: 22px; }
    .dc-tp-steps__media {
        display: block; position: relative;
        overflow: hidden;
        background: #fff;
    }
    /* contain: media keeps its own aspect ratio, nothing is cropped */
    .dc-tp-steps--contain .dc-tp-steps__media .dc-tp-steps__img,
    .dc-tp-steps--contain .dc-tp-steps__media .dc-tp-steps__video { height: auto; max-height: 70vh; margin: 0 auto; }
    .dc-tp-steps--cover .dc-tp-steps__media { aspect-ratio: 16 / 10; }
    .dc-tp-steps__media .dc-tp-steps__placeholder { aspect-ratio: 16 / 10; height: auto; }
    .dc-tp-steps__media .dc-tp-steps__placeholder svg { width: 44px; height: 44px; }

    .dc-tp-price--split .dc-tp-price__layout { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
    .dc-tp-price__visual { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 767px) {
    .dc-tp { padding: 44px 16px; }
    .dc-tp__header { margin-bottom: 28px; }
    .dc-tp__title { font-size: 26px; }
    .dc-tp__intro { font-size: 15px; }


    .dc-tp-facts__grid { gap: 10px; }
    .dc-tp-facts__card { padding: 18px 16px; }
    .dc-tp-facts__icon { width: 38px; height: 38px; margin-bottom: 6px; }
    .dc-tp-facts__value { font-size: 17px; }
    .dc-tp-facts__label { font-size: 11px; letter-spacing: 1px; }
    /* odd last card spans the full row when using 2 columns */
    .dc-tp-facts__card:last-child:nth-child(odd) { grid-column: 1 / -1; }

    .dc-tp-steps__list { --dc-tp-rail-top: 21px; --dc-tp-rail-len: calc(100% - 42px); gap: 18px; }
    .dc-tp-steps__list::before,
    .dc-tp-steps__list::after { left: 20px; }
    .dc-tp-steps__item { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
    .dc-tp-steps__marker { width: 42px; height: 42px; font-size: 14px; box-shadow: 0 0 0 4px var(--dc-tp-soft); }
    .dc-tp-steps--cover .dc-tp-steps__media { aspect-ratio: 4 / 3; }
    .dc-tp-steps__body { padding: 20px 18px 22px; }
    .dc-tp-steps__title { font-size: 18px; }


    .dc-tp-team__grid { gap: 20px; }
    .dc-tp-team__card { padding: 10px; }
    .dc-tp-team__body { padding: 22px 10px 10px; }

    .dc-tp-price__visual { min-height: 0; aspect-ratio: 4 / 3.4; }
    .dc-tp-price__includes { left: 12px; right: 12px; bottom: 12px; padding: 16px 16px 18px; }
    .dc-tp-price__includes li { font-size: 13.5px; }
    .dc-tp-price__row { padding: 18px 18px; gap: 14px; }
    .dc-tp-price__name { font-size: 16px; }
    .dc-tp-price__amount { font-size: 24px; }

    .dc-tp__actions { margin-top: 28px; }
    .dc-tp__actions .dc-cta-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-tp *, .dc-tp *::before, .dc-tp *::after { transition: none !important; }
    .dc-tp-steps__layer { transform: none; }
    .dc-tp-team__slider.is-ready .dc-tp-team__track { transition: none; }
    .dc-tp-price__row::after { display: none; }
}
