/*
 * 3SAFE – Accueil Pro
 * Styles intentionally scoped to .ts-home to avoid conflicts with Elementor and the active theme.
 */
.ts-home,
.ts-home * {
    box-sizing: border-box;
}

.ts-home [hidden] {
    display: none !important;
}

.ts-home {
    --ts-primary: #0b1f3a;
    --ts-primary-2: #173f68;
    --ts-secondary: #8c1d40;
    --ts-accent: #2267a5;
    --ts-page-bg: #f4f7fa;
    --ts-white: #ffffff;
    --ts-ink: #122238;
    --ts-muted: #5d6d7e;
    --ts-line: #dbe4ed;
    --ts-soft-blue: #eaf3fb;
    --ts-soft-red: #f9edf1;
    --ts-success: #247a56;
    --ts-radius-sm: 12px;
    --ts-radius-md: 18px;
    --ts-radius-lg: 28px;
    --ts-shadow-sm: 0 8px 26px rgba(11, 31, 58, 0.08);
    --ts-shadow-md: 0 18px 50px rgba(11, 31, 58, 0.12);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: clip;
    color: var(--ts-ink);
    background: var(--ts-white);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.ts-home--full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.ts-home img,
.ts-home svg {
    display: block;
}

.ts-home img {
    max-width: 100%;
    height: auto;
}

.ts-home svg {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

.ts-home a {
    color: inherit;
    text-decoration: none;
}

.ts-home p,
.ts-home h1,
.ts-home h2,
.ts-home h3,
.ts-home ul,
.ts-home ol {
    margin-top: 0;
}

.ts-home h1,
.ts-home h2,
.ts-home h3,
.ts-home strong {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ts-home h1,
.ts-home h2,
.ts-home h3 {
    color: var(--ts-ink);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.ts-home h2 {
    font-size: clamp(2rem, 3.7vw, 3.35rem);
    margin-bottom: 18px;
}

.ts-home h3 {
    font-size: 1.24rem;
    margin-bottom: 10px;
}

.ts-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ts-section {
    position: relative;
    padding: clamp(76px, 8vw, 118px) 0;
}

.ts-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--ts-white) !important;
    background: var(--ts-primary);
    font-weight: 700;
}

.ts-skip-link:focus {
    transform: translateY(0);
}

.ts-home a:focus-visible,
.ts-home button:focus-visible,
.ts-home input:focus-visible,
.ts-home summary:focus-visible {
    outline: 3px solid rgba(34, 103, 165, 0.42);
    outline-offset: 3px;
}

/* Hero */
.ts-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(60px, 7vw, 104px) 0 clamp(70px, 8vw, 116px);
    color: var(--ts-white);
    background:
        radial-gradient(circle at 15% 20%, rgba(72, 143, 205, 0.28), transparent 34%),
        radial-gradient(circle at 85% 70%, rgba(140, 29, 64, 0.38), transparent 36%),
        linear-gradient(135deg, var(--ts-primary) 0%, #102d50 56%, #0b1f3a 100%);
}

.ts-hero::after {
    position: absolute;
    right: -12%;
    bottom: -38%;
    z-index: -1;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 65px rgba(255, 255, 255, 0.025),
        0 0 0 130px rgba(255, 255, 255, 0.018),
        0 0 0 195px rgba(255, 255, 255, 0.012);
    content: "";
}

.ts-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.ts-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
    gap: clamp(38px, 6vw, 82px);
    align-items: center;
}

.ts-brand-line {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.ts-logo {
    width: 78px;
    height: 78px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: var(--ts-white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.ts-brand-name,
.ts-brand-subtitle {
    display: block;
}

.ts-brand-name {
    color: var(--ts-white);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ts-brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-eyebrow,
.ts-kicker,
.ts-mini-kicker {
    color: var(--ts-accent);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ts-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

.ts-hero__title {
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--ts-white) !important;
    font-size: clamp(2.5rem, 5.4vw, 5.15rem);
    font-weight: 880;
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.ts-hero__lead {
    max-width: 770px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.72;
}

.ts-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ts-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ts-button:hover {
    transform: translateY(-2px);
}

.ts-button--primary {
    color: var(--ts-white) !important;
    background: var(--ts-secondary);
    box-shadow: 0 12px 26px rgba(140, 29, 64, 0.26);
}

.ts-button--primary:hover {
    background: color-mix(in srgb, var(--ts-secondary) 88%, black);
    box-shadow: 0 16px 34px rgba(140, 29, 64, 0.34);
}

.ts-button--light {
    color: var(--ts-primary) !important;
    background: var(--ts-white);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.ts-button--light:hover {
    background: #f7fbff;
}

.ts-button--outline {
    border-color: var(--ts-line);
    color: var(--ts-primary) !important;
    background: var(--ts-white);
}

.ts-button--outline:hover {
    border-color: rgba(34, 103, 165, 0.4);
    box-shadow: var(--ts-shadow-sm);
}

.ts-button--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--ts-white) !important;
    background: rgba(255, 255, 255, 0.08);
}

.ts-button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ts-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ts-primary) !important;
    font-weight: 800;
}

.ts-text-link svg {
    transition: transform 180ms ease;
}

.ts-text-link:hover svg {
    transform: translateX(3px);
}

.ts-text-link--hero {
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.84) !important;
}

.ts-text-link--hero:hover {
    color: var(--ts-white) !important;
}

.ts-hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.ts-hero__checks li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 650;
}

.ts-hero__checks svg {
    color: #82d9b7;
}

.ts-hero-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--ts-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(22px);
}

.ts-hero-panel::before {
    position: absolute;
    top: -85px;
    right: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    content: "";
}

.ts-hero-panel__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.ts-hero-panel__kicker {
    color: #ffdbe5;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ts-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 700;
}

.ts-live-dot i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #78d9ae;
    box-shadow: 0 0 0 5px rgba(120, 217, 174, 0.13);
}

.ts-hero-panel h2 {
    position: relative;
    margin-bottom: 16px;
    color: var(--ts-white) !important;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.ts-hero-panel > p {
    position: relative;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
}

.ts-hero-panel__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ts-hero-panel__stats > div {
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.ts-hero-panel__stats strong,
.ts-hero-panel__stats span {
    display: block;
}

.ts-hero-panel__stats strong {
    color: var(--ts-white);
    font-size: 2rem;
    line-height: 1;
}

.ts-hero-panel__stats span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.ts-format-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ts-format-list span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 750;
}

.ts-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--ts-white) !important;
    font-weight: 800;
}

.ts-panel-link svg {
    transition: transform 180ms ease;
}

.ts-panel-link:hover svg {
    transform: translateX(4px);
}

/* Trust strip */
.ts-trust {
    padding: 42px 0 48px;
    border-bottom: 1px solid var(--ts-line);
    background: var(--ts-white);
}

.ts-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-end;
    margin-bottom: 38px;
}

.ts-section-heading > div {
    max-width: 790px;
}

.ts-section-heading p:not(.ts-kicker) {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ts-muted);
    font-size: 1.03rem;
}

.ts-section-heading--compact {
    align-items: center;
    margin-bottom: 24px;
}

.ts-section-heading--compact h2 {
    margin-bottom: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.ts-kicker {
    margin-bottom: 10px;
}

.ts-kicker--light {
    color: #a9d2f4;
}

.ts-credentials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ts-credential {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--ts-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ts-credential:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 103, 165, 0.35);
    box-shadow: var(--ts-shadow-sm);
}

.ts-credential strong,
.ts-credential small {
    display: block;
}

.ts-credential strong {
    margin-bottom: 2px;
    color: var(--ts-ink);
    font-size: 0.88rem;
    line-height: 1.25;
}

.ts-credential small {
    color: var(--ts-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.ts-icon-box {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--ts-accent);
    background: var(--ts-soft-blue);
}

.ts-icon-box--large {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 14px;
    font-size: 1.15rem;
}

/* Training */
.ts-training {
    background: var(--ts-page-bg);
}

.ts-training-search {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    margin-bottom: 26px;
    background: var(--ts-white);
    box-shadow: var(--ts-shadow-sm);
}

.ts-training-search > label {
    color: var(--ts-ink);
    font-size: 0.84rem;
    font-weight: 800;
}

.ts-search-field {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--ts-line);
    border-radius: 11px;
    background: #f9fbfd;
}

.ts-search-field svg {
    color: var(--ts-muted);
}

.ts-search-field input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    border: 0 !important;
    outline: 0;
    color: var(--ts-ink);
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
}

.ts-search-field input::placeholder {
    color: #8a98a7;
}

.ts-search-count {
    min-width: max-content;
    color: var(--ts-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.ts-training-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ts-training-card {
    position: relative;
    display: flex;
    min-height: 158px;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    background: var(--ts-white);
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ts-training-card:hover {
    z-index: 1;
    transform: translateY(-4px);
    border-color: rgba(34, 103, 165, 0.36);
    box-shadow: var(--ts-shadow-md);
}

.ts-training-card--featured {
    min-height: 205px;
    background:
        linear-gradient(180deg, rgba(234, 243, 251, 0.75), rgba(255, 255, 255, 0) 75%),
        var(--ts-white);
}

.ts-training-card__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--ts-accent);
    background: var(--ts-soft-blue);
    font-size: 1.12rem;
}

.ts-training-card:nth-child(3n) .ts-training-card__icon,
.ts-training-card:nth-child(5n) .ts-training-card__icon {
    color: var(--ts-secondary);
    background: var(--ts-soft-red);
}

.ts-training-card__body {
    display: block;
    padding-right: 16px;
}

.ts-training-card__body strong,
.ts-training-card__body small {
    display: block;
}

.ts-training-card__body strong {
    margin-bottom: 7px;
    color: var(--ts-ink);
    font-size: 1.02rem;
    line-height: 1.25;
}

.ts-training-card__body small {
    color: var(--ts-muted);
    font-size: 0.79rem;
    line-height: 1.52;
}

.ts-training-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    color: #91a0af;
    transition: color 180ms ease, transform 180ms ease;
}

.ts-training-card:hover .ts-training-card__arrow {
    transform: translateX(3px);
    color: var(--ts-accent);
}

.ts-no-results {
    padding: 24px;
    border: 1px dashed var(--ts-line);
    border-radius: 16px;
    color: var(--ts-muted);
    background: var(--ts-white);
    text-align: center;
}

/* Method */
.ts-method {
    overflow: hidden;
    background: var(--ts-white);
}

.ts-method::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: linear-gradient(180deg, var(--ts-soft-blue), rgba(234, 243, 251, 0.15));
    content: "";
}

.ts-method__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: start;
}

.ts-method__intro {
    position: sticky;
    top: 34px;
}

.ts-method__intro > p:not(.ts-kicker) {
    color: var(--ts-muted);
}

.ts-steps {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ts-steps li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--ts-shadow-sm);
}

.ts-steps li > span {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--ts-white);
    background: var(--ts-primary);
    font-weight: 900;
}

.ts-steps strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ts-ink);
    font-size: 1.06rem;
}

.ts-steps p {
    margin-bottom: 0;
    color: var(--ts-muted);
    font-size: 0.9rem;
}

/* Modalities */
.ts-modalities {
    background: var(--ts-page-bg);
}

.ts-modalities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ts-modalities-grid article {
    padding: 28px;
    border: 1px solid var(--ts-line);
    border-radius: 20px;
    background: var(--ts-white);
}

.ts-modalities-grid h3 {
    margin-top: 22px;
}

.ts-modalities-grid p {
    margin-bottom: 0;
    color: var(--ts-muted);
    font-size: 0.88rem;
}

/* Quality */
.ts-quality {
    color: var(--ts-white);
    background:
        radial-gradient(circle at 80% 20%, rgba(140, 29, 64, 0.36), transparent 33%),
        linear-gradient(135deg, var(--ts-primary), #123a61);
}

.ts-quality h2,
.ts-quality .ts-quality__header > div > p:not(.ts-kicker),
.ts-quality summary,
.ts-quality-details p {
    color: var(--ts-white);
}

.ts-quality__header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-end;
    margin-bottom: 36px;
}

.ts-quality__header > div {
    max-width: 760px;
}

.ts-quality__header > div > p:not(.ts-kicker) {
    margin-bottom: 0;
    opacity: 0.72;
}

.ts-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ts-stat {
    min-height: 154px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.ts-stat strong,
.ts-stat span {
    display: block;
}

.ts-stat strong {
    margin-bottom: 10px;
    color: var(--ts-white);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.ts-stat span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.45;
}

.ts-quality-details {
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.ts-quality-details summary {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.ts-quality-details summary::-webkit-details-marker {
    display: none;
}

.ts-quality-details summary::after {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    transition: transform 180ms ease;
    content: "";
}

.ts-quality-details[open] summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.ts-quality-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    padding: 4px 20px 24px;
}

.ts-quality-bar > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.ts-quality-bar > div strong {
    color: var(--ts-white);
}

.ts-quality-bar__track {
    display: block;
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.ts-quality-bar__track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #69b5f2, #8be0b8);
}

.ts-quality-footnote {
    padding: 0 20px 20px;
    margin-bottom: 0;
    opacity: 0.68;
    font-size: 0.78rem;
}

/* Audiences */
.ts-audiences {
    background: var(--ts-white);
}

.ts-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.ts-audience-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    background: var(--ts-white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ts-audience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 103, 165, 0.35);
    box-shadow: var(--ts-shadow-md);
}

.ts-audience-card > strong {
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--ts-ink);
    font-size: 1.02rem;
}

.ts-audience-card > small {
    color: var(--ts-muted);
    font-size: 0.79rem;
    line-height: 1.55;
}

.ts-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--ts-accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.ts-card-link svg {
    width: 0.9em;
    height: 0.9em;
}

/* Secondary services */
.ts-secondary-services {
    background: var(--ts-page-bg);
}

.ts-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ts-service-card {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--ts-line);
    border-radius: 24px;
    background: var(--ts-white);
    box-shadow: var(--ts-shadow-sm);
}

.ts-service-card--consulting {
    border-top: 5px solid var(--ts-primary);
}

.ts-service-card--digital {
    border-top: 5px solid var(--ts-secondary);
}

.ts-service-card__heading {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.ts-service-card__heading h3,
.ts-service-card__heading p {
    margin-bottom: 0;
}

.ts-service-card__heading h3 {
    font-size: 1.65rem;
}

.ts-service-card > p {
    color: var(--ts-muted);
}

.ts-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding: 0;
    margin: 24px 0 28px;
    list-style: none;
}

.ts-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ts-line);
    color: var(--ts-ink);
    font-size: 0.8rem;
    font-weight: 720;
}

.ts-link-list a:hover {
    color: var(--ts-accent);
}

.ts-link-list svg {
    width: 0.85em;
    height: 0.85em;
}

.ts-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.ts-resource-grid > a {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--ts-line);
    border-radius: 14px;
    background: #fbfcfe;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.ts-resource-grid > a:hover {
    transform: translateY(-2px);
    border-color: rgba(140, 29, 64, 0.3);
    background: var(--ts-soft-red);
}

.ts-resource-grid > a > svg {
    color: var(--ts-secondary);
    font-size: 1.15rem;
}

.ts-resource-grid strong,
.ts-resource-grid small {
    display: block;
}

.ts-resource-grid strong {
    color: var(--ts-ink);
    font-size: 0.86rem;
}

.ts-resource-grid small {
    color: var(--ts-muted);
    font-size: 0.69rem;
}

/* About */
.ts-about {
    background: var(--ts-white);
}

.ts-about__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
}

.ts-about__mark {
    position: relative;
    display: grid;
    min-height: 390px;
    place-items: center;
    overflow: hidden;
    border-radius: var(--ts-radius-lg);
    color: var(--ts-white);
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(145deg, var(--ts-primary), var(--ts-secondary));
    box-shadow: var(--ts-shadow-md);
}

.ts-about__mark::before,
.ts-about__mark::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.ts-about__mark::before {
    width: 330px;
    height: 330px;
}

.ts-about__mark::after {
    width: 470px;
    height: 470px;
}

.ts-about__mark img {
    position: relative;
    z-index: 1;
    width: 145px;
    height: 145px;
    border: 8px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: var(--ts-white);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
    object-fit: cover;
}

.ts-about__mark span {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-align: center;
    text-transform: uppercase;
}

.ts-about__content > p:not(.ts-kicker) {
    color: var(--ts-muted);
    font-size: 1.02rem;
}

.ts-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

/* FAQ */
.ts-faq {
    background: var(--ts-page-bg);
}

.ts-faq__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(40px, 7vw, 88px);
    align-items: start;
}

.ts-faq__intro {
    position: sticky;
    top: 34px;
}

.ts-faq__intro > p:not(.ts-kicker) {
    color: var(--ts-muted);
}

.ts-faq-list {
    display: grid;
    gap: 10px;
}

.ts-faq-list details {
    border: 1px solid var(--ts-line);
    border-radius: 15px;
    background: var(--ts-white);
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.02);
}

.ts-faq-list summary {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 20px;
    cursor: pointer;
    color: var(--ts-ink);
    font-weight: 800;
    list-style: none;
}

.ts-faq-list summary::-webkit-details-marker {
    display: none;
}

.ts-faq-list summary::after {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid var(--ts-accent);
    border-bottom: 2px solid var(--ts-accent);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 180ms ease;
    content: "";
}

.ts-faq-list details[open] summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.ts-faq-list details p {
    padding: 0 20px 20px;
    margin-bottom: 0;
    color: var(--ts-muted);
    font-size: 0.9rem;
}

/* Contact */
.ts-contact {
    padding: 0 0 clamp(76px, 8vw, 112px);
    background: var(--ts-page-bg);
}

.ts-contact__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 32px;
    padding: clamp(32px, 5vw, 60px);
    border-radius: var(--ts-radius-lg);
    color: var(--ts-white);
    background:
        radial-gradient(circle at 86% 25%, rgba(140, 29, 64, 0.5), transparent 32%),
        linear-gradient(135deg, var(--ts-primary), #143f68);
    box-shadow: var(--ts-shadow-md);
}

.ts-contact__panel--with-form {
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr) minmax(320px, 1fr);
}

.ts-contact h2 {
    color: var(--ts-white) !important;
}

.ts-contact__content > p:not(.ts-kicker) {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
}

.ts-contact__details {
    display: grid;
    align-content: center;
    gap: 12px;
}

.ts-contact__details > a,
.ts-contact__details > div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
}

.ts-contact__details .ts-icon-box {
    color: var(--ts-white);
    background: rgba(255, 255, 255, 0.12);
}

.ts-contact__details small,
.ts-contact__details strong {
    display: block;
}

.ts-contact__details small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ts-contact__details strong {
    color: var(--ts-white);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.ts-contact__form {
    padding: 22px;
    border-radius: 18px;
    color: var(--ts-ink);
    background: var(--ts-white);
}

.ts-contact__form input,
.ts-contact__form textarea,
.ts-contact__form select {
    width: 100%;
    border: 1px solid var(--ts-line);
    border-radius: 10px;
}

/* Mobile fixed CTA */
.ts-mobile-cta {
    display: none;
}

/* Elementor/theme conflict prevention */
.elementor-widget-shortcode .ts-home .elementor-shortcode,
.ts-home .elementor-shortcode {
    width: 100%;
}

/* Responsive */
@media (max-width: 1080px) {
    .ts-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
        gap: 42px;
    }

    .ts-credentials,
    .ts-training-grid,
    .ts-modalities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ts-contact__panel--with-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-contact__panel--with-form .ts-contact__form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .ts-home--full-bleed {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .ts-hero__grid,
    .ts-method__layout,
    .ts-about__grid,
    .ts-faq__layout,
    .ts-contact__panel {
        grid-template-columns: 1fr;
    }

    .ts-hero__content {
        max-width: 760px;
    }

    .ts-method::before {
        display: none;
    }

    .ts-method__intro,
    .ts-faq__intro {
        position: static;
    }

    .ts-section-heading,
    .ts-quality__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ts-credentials,
    .ts-training-grid,
    .ts-modalities-grid,
    .ts-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-secondary-grid {
        grid-template-columns: 1fr;
    }

    .ts-contact__panel--with-form {
        grid-template-columns: 1fr;
    }

    .ts-contact__panel--with-form .ts-contact__form {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .ts-container {
        width: min(100% - 28px, 1180px);
    }

    .ts-section {
        padding: 72px 0;
    }

    .ts-hero {
        padding-top: 42px;
    }

    .ts-brand-line {
        margin-bottom: 22px;
    }

    .ts-logo {
        width: 64px;
        height: 64px;
    }

    .ts-hero__title {
        font-size: clamp(2.35rem, 12vw, 3.65rem);
    }

    .ts-actions,
    .ts-actions .ts-button {
        width: 100%;
    }

    .ts-text-link--hero {
        width: auto;
        margin-top: 4px;
    }

    .ts-hero__checks {
        display: grid;
    }

    .ts-hero-panel {
        padding: 26px;
    }

    .ts-credentials,
    .ts-training-grid,
    .ts-modalities-grid,
    .ts-stat-grid,
    .ts-audience-grid,
    .ts-quality-bars,
    .ts-resource-grid {
        grid-template-columns: 1fr;
    }

    .ts-training-search {
        grid-template-columns: 1fr;
    }

    .ts-search-count {
        min-width: 0;
    }

    .ts-training-card,
    .ts-training-card--featured {
        min-height: 170px;
    }

    .ts-steps li {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 20px;
    }

    .ts-steps li > span {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 0.82rem;
    }

    .ts-audience-card {
        min-height: 210px;
    }

    .ts-link-list {
        grid-template-columns: 1fr;
    }

    .ts-about__mark {
        min-height: 310px;
    }

    .ts-contact__panel {
        padding: 28px 22px;
    }

    .ts-mobile-cta.is-enabled {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 99990;
        display: grid;
        grid-template-columns: 1.35fr 0.65fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 16px;
        background: rgba(11, 31, 58, 0.95);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(16px);
    }

    .ts-mobile-cta a {
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 10px;
        color: var(--ts-white) !important;
        background: var(--ts-secondary);
        font-size: 0.78rem;
        font-weight: 850;
    }

    .ts-mobile-cta a:last-child {
        background: rgba(255, 255, 255, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-home *,
    .ts-home *::before,
    .ts-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .ts-home--full-bleed {
        width: 100%;
        margin: 0;
    }

    .ts-hero,
    .ts-quality,
    .ts-contact__panel {
        color: #000;
        background: #fff !important;
        box-shadow: none;
    }

    .ts-mobile-cta,
    .ts-training-search {
        display: none !important;
    }
}
