/* ============================================================================
 * Trilogy Mind Body Soul — fresh hand-built homepage
 * Palette: Primary #1C0E21 · Orange #FF4500 · Text #5E5E5E · Accent #F5FAFF
 * ========================================================================== */

.th {
    --o: #ff4500;
    --o-dark: #e63e00;
    --ink: #1c0e21;
    --muted: #5e5e5e;
    --accent: #f5faff;
    --line: rgba(28, 14, 33, 0.08);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --radius: 20px;
    color: var(--ink);
    font-family: "Inter", "DM Sans", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.th *, .th *::before, .th *::after { box-sizing: border-box; }
.th img { max-width: 100%; height: auto; display: block; }

.th-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.th-wrap--narrow { max-width: 820px; }
.th-sec { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.th-band { background: var(--accent); }
.th-center { text-align: center; margin-top: 36px; }

/* ---- Shared bits ---- */
.th-eyebrow {
    display: inline-block;
    position: relative;
    color: var(--o);
    font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    padding-bottom: 11px;
}
.th-eyebrow::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 3px; border-radius: 2px; background: var(--o);
}
.th-eyebrow--center { display: block; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.th-eyebrow--light { color: #fff; }
.th-eyebrow--light::after { background: #fff; }

.th-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.th-head .th-eyebrow { margin-bottom: 18px; }
.th-h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
/* Site-wide: render section headings / titles in Title Case (each word
   capitalized). text-transform only touches each word's first letter, so
   acronyms authored in caps — GLP-1, HIPAA, B12, NAD+, U.S., 503A — are kept
   intact. Decorative all-caps eyebrows/kickers keep their uppercase styling. */
.th-hero__title,
.th-h2,
.th-card__title,
.th-flowcard__sub { text-transform: capitalize; }
.th-lede { margin: 16px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 560px; }
.th-grad { background: linear-gradient(100deg, var(--o), #ff9a5c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- Buttons ---- */
.th-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
    padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.2s ease, color 0.2s ease;
}
.th-btn--primary { background: var(--o); color: #fff; box-shadow: 0 12px 28px -8px rgba(255, 69, 0, 0.55); }
.th-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(255, 69, 0, 0.65); color: #fff; }
.th-btn--ghost { background: transparent; color: var(--ink); border-color: rgba(28, 14, 33, 0.2); }
.th-btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.th-btn--soft { background: rgba(255, 69, 0, 0.1); color: var(--o); }
.th-btn--soft:hover { background: var(--o); color: #fff; transform: translateY(-2px); }
.th-btn--block { display: flex; width: 100%; }
.th-btn--lg { padding: 17px 38px; font-size: 16px; }

/* ============================ HERO ============================ */
.th-hero {
    position: relative; overflow: hidden;
    padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px);
    background: radial-gradient(60% 75% at 88% 6%, rgba(255, 69, 0, 0.12), transparent 60%),
                radial-gradient(52% 68% at 6% 94%, rgba(120, 160, 255, 0.16), transparent 60%),
                linear-gradient(180deg, #fff 0%, var(--accent) 100%);
}
/* Dark purple hero variant (Home banner) */
.th-hero--dark { background: radial-gradient(58% 72% at 88% 4%, rgba(255, 69, 0, 0.20), transparent 60%), radial-gradient(52% 68% at 4% 96%, rgba(150, 55, 185, 0.28), transparent 60%), linear-gradient(158deg, #2c0d34 0%, #1c0e21 100%); }
.th-hero--dark .th-hero__title { color: #fff; }
.th-hero--dark .th-hero__sub { color: rgba(255, 255, 255, 0.78); }
.th-hero--dark .th-hero__trust li { color: rgba(255, 255, 255, 0.88); }
.th-hero--dark .th-hero__trust li::before { background: rgba(255, 255, 255, 0.16); }
.th-hero--dark .th-hero__orb--a { background: radial-gradient(circle, rgba(255, 69, 0, 0.30), transparent 70%); }
.th-hero--dark .th-hero__orb--b { background: radial-gradient(circle, rgba(160, 60, 200, 0.32), transparent 70%); }

.th-hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.th-hero__orb--a { width: 460px; height: 460px; top: -150px; right: -120px; background: radial-gradient(circle, rgba(255, 69, 0, 0.22), transparent 70%); }
.th-hero__orb--b { width: 420px; height: 420px; bottom: -170px; left: -130px; background: radial-gradient(circle, rgba(120, 160, 255, 0.24), transparent 70%); }
.th-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.th-hero__title { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 0; }
.th-hero__sub { margin: 20px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; max-width: 520px; }
.th-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.th-hero__trust { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.th-hero__trust li { position: relative; padding-left: 24px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.th-hero__trust li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 69, 0, 0.12); }
.th-hero__trust li::after { content: ""; position: absolute; left: 5px; top: 50%; width: 5px; height: 8px; border: solid var(--o); border-width: 0 2px 2px 0; transform: translateY(-60%) rotate(45deg); }

.th-hero__media { position: relative; }
.th-hero__imgwrap { position: relative; z-index: 1; border-radius: 26px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 34px 70px -22px rgba(28, 14, 33, 0.4); aspect-ratio: 1 / 1; }
.th-hero__imgwrap img { width: 100%; height: 100%; object-fit: cover; animation: th-float 6s ease-in-out 1s infinite; }

/* ============================================================================
 * Home banner — fit the header + complete hero within the first viewport on
 * every laptop / desktop size. The section fills the height left below the
 * (~88px) sticky header and centres its content; on shorter screens the type,
 * spacing and image scale down so nothing is cut off. Content/branding unchanged.
 * ========================================================================== */
@media (min-width: 981px) {
    .th-hero--dark {
        display: flex;
        align-items: center;
        min-height: calc(100svh - 88px);
        padding-top: clamp(16px, 3.4vh, 56px);
        padding-bottom: clamp(16px, 3.4vh, 56px);
    }
    .th-hero--dark .th-hero__inner { width: 100%; align-items: center; }
    /* Image scales with viewport height instead of a fixed square. */
    .th-hero--dark .th-hero__imgwrap { aspect-ratio: auto; height: clamp(300px, 66vh, 520px); }
}
/* Shorter laptops (≤ 820px tall): trim type + vertical rhythm. */
@media (min-width: 981px) and (max-height: 820px) {
    .th-hero--dark .th-hero__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
    .th-hero--dark .th-hero__sub { font-size: 1rem; margin-top: 14px; }
    .th-hero--dark .th-hero__cta { margin-top: 20px; }
    .th-hero--dark .th-hero__trust { margin-top: 22px; }
    .th-hero--dark .th-hero__imgwrap { height: clamp(260px, 60vh, 440px); }
}
/* Very short laptops (≤ 700px tall): trim further so it still fits. */
@media (min-width: 981px) and (max-height: 700px) {
    .th-hero--dark { padding-top: 10px; padding-bottom: 10px; }
    .th-hero--dark .th-hero__title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; }
    .th-hero--dark .th-hero__sub { font-size: 0.94rem; margin-top: 10px; line-height: 1.5; }
    .th-hero--dark .th-hero__cta { margin-top: 16px; gap: 10px; }
    .th-hero--dark .th-hero__cta .th-btn { padding: 12px 22px; }
    .th-hero--dark .th-hero__trust { margin-top: 16px; gap: 7px 18px; }
    .th-hero--dark .th-hero__trust li { font-size: 12.5px; }
    .th-hero--dark .th-hero__imgwrap { height: clamp(220px, 54vh, 360px); }
}
.th-hero__chip { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 36px -14px rgba(28, 14, 33, 0.3); display: flex; flex-direction: column; }
.th-hero__chip strong { font-size: 18px; font-weight: 800; color: var(--ink); }
.th-hero__chip span { font-size: 12px; color: var(--muted); }
.th-hero__chip--1 { top: 18px; left: -22px; }
.th-hero__chip--2 { bottom: 22px; right: -18px; }
@keyframes th-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================ PROCESS ============================ */
.th-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.th-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 2px 14px rgba(28, 14, 33, 0.04); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.th-step:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(28, 14, 33, 0.2); }
.th-step__num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--o), #ff9a5c); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 10px 20px -8px rgba(255, 69, 0, 0.6); }
.th-step__title { font-size: 1.15rem; font-weight: 700; margin: 18px 0 8px; }
.th-step__desc { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

/* ============================ CARDS (services) ============================ */
.th-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.th-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: 0 4px 18px rgba(28, 14, 33, 0.05); transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease); }
.th-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #ff8a4c, var(--o)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.th-card:hover { transform: translateY(-8px); box-shadow: 0 30px 56px -22px rgba(28, 14, 33, 0.24); }
.th-card:hover::after { transform: scaleX(1); }
.th-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(255, 69, 0, 0.1); color: var(--o); transition: transform 0.35s var(--ease); }
.th-card__icon svg { width: 30px; height: 30px; }
/* Logo swapped into the existing light-orange icon container. */
.th-card__icon--logo img { width: 40px; height: 40px; object-fit: contain; }
.th-card:hover .th-card__icon { transform: scale(1.08) rotate(-5deg); }
.th-card__title { font-size: 1.25rem; font-weight: 700; margin: 22px 0 10px; }
.th-card__desc { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.th-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; text-decoration: none; transition: color 0.2s ease, gap 0.2s ease; }
.th-link span { transition: transform 0.25s var(--ease); }
.th-link:hover { color: var(--o); }
.th-link:hover span { transform: translateX(4px); }

/* ============================ PRICING ============================ */
.th-plans { align-items: start; }
.th-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 10px 30px -16px rgba(28, 14, 33, 0.14); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.th-plan:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -20px rgba(28, 14, 33, 0.22); }
.th-plan--popular { border: 2px solid var(--o); box-shadow: 0 30px 60px -20px rgba(255, 69, 0, 0.34); }
.th-plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--o); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -5px rgba(255, 69, 0, 0.55); }
/* ---- Sold Out state ---- */
.th-plan--soldout { overflow: hidden; }
.th-plan--soldout > * { filter: grayscale(1); opacity: 0.62; }
.th-plan--soldout .th-plan__ribbon { filter: none; opacity: 1; }
.th-plan--soldout:hover { transform: none; box-shadow: 0 10px 30px -16px rgba(28, 14, 33, 0.14); }
.th-plan__ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: #6b7280; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 44px; box-shadow: 0 6px 14px -4px rgba(28, 14, 33, 0.4); z-index: 2; }
.th-btn--disabled { background: #e5e7eb; color: #9ca3af; pointer-events: none; cursor: not-allowed; box-shadow: none; text-align: center; }

/* ---- Care flow cards (Sample-A) ---- */
.th-flow__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.th-flowcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(28, 14, 33, 0.28); display: flex; flex-direction: column; }
.th-flowcard__head { padding: 34px 34px 26px; }
.th-flowcard--tele .th-flowcard__head { background: linear-gradient(135deg, #f7e6f5, #ffe9dd); }
.th-flowcard--review .th-flowcard__head { background: linear-gradient(135deg, #ffe6d6, #f7e2f0); }
.th-flowcard__badge { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; margin-bottom: 16px; }
.th-flowcard--tele .th-flowcard__badge { background: #6d1b6d; }
.th-flowcard--review .th-flowcard__badge { background: var(--o); }
.th-flowcard__badge svg { width: 26px; height: 26px; }
.th-flowcard__title { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.th-flowcard__sub {
    margin: 6px 0 0;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    display: inline-block;
    background: linear-gradient(90deg, #6d1b6d 0%, #d61f8f 50%, #ff4500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.th-flowcard__pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 16px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(28, 14, 33, 0.1); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); }
.th-flowcard__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.th-flowcard--tele .th-flowcard__dot { background: #d61f8f; }
.th-flowcard--review .th-flowcard__dot { background: var(--o); }
.th-flowcard__steps { list-style: none; margin: 0; padding: 22px 34px 4px; display: flex; flex-direction: column; flex: 1 1 auto; }
.th-flowcard__step { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.th-flowcard__step:last-child { border-bottom: 0; }
.th-flowcard__num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.th-flowcard--tele .th-flowcard__num { background: #f4dcef; color: #6d1b6d; }
.th-flowcard--review .th-flowcard__num { background: #ffe1cd; color: var(--o); }
.th-flowcard__stepbody strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.th-flowcard__stepbody span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.th-flowcard__cta { display: block; margin: 20px 34px 0; padding: 17px; border-radius: 14px; text-align: center; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; color: #fff; text-decoration: none; transition: transform 0.25s var(--ease); }
.th-flowcard--tele .th-flowcard__cta { background: linear-gradient(90deg, #6d1b6d, #ff4500); box-shadow: 0 14px 30px -12px rgba(109, 27, 109, 0.5); }
.th-flowcard--review .th-flowcard__cta { background: linear-gradient(90deg, #ff4500, #d61f8f); box-shadow: 0 14px 30px -12px rgba(255, 69, 0, 0.5); }
.th-flowcard__cta:hover { transform: translateY(-2px); }
.th-flowcard__note { margin: 16px 34px 30px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .th-flow__grid { grid-template-columns: 1fr; } }

/* ---- Combined Mission + Vision — dark panel matching the Home vision band ---- */
.th-mv__panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(30px, 4.5vw, 66px);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 44px 100px -55px rgba(28, 14, 33, 0.75);
}
/* Orange orb glow — same treatment as .th-vision__orb on the Home page. */
.th-mv__panel::before {
    content: "";
    position: absolute;
    width: 540px; height: 540px;
    top: -220px; right: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.28), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.th-mv__panel > * { position: relative; z-index: 1; }
.th-mv__media { margin: 0 0 clamp(26px, 3vw, 42px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 30px 66px -32px rgba(0, 0, 0, 0.6); }
.th-mv__media img { width: 100%; height: auto; display: block; }
/* Two equal-height cards — same glassy pillars as the Home vision section. */
.th-mv .th-flow__grid { align-items: stretch; gap: clamp(20px, 2.4vw, 30px); }
.th-mv .th-card {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 3.2vw, 46px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: none;
    transition: transform 0.32s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}
.th-mv .th-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 69, 0, 0.45); box-shadow: none; }
/* Significantly larger, prominent white headings. */
.th-mv__title {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(1.7rem, 2.9vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
}
.th-mv .th-lede {
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.72;
    font-weight: 400;
}
@media (max-width: 720px) { .th-mv__panel { padding: 26px; } }
/* Optional plan image — centered, contained (never stretched/cropped), like product cards. */
.th-plan__img {display: flex;align-items: center;justify-content: center;height: 160px;background: #2c1531;border-radius: 14px;margin: 0 0 18px;overflow: hidden;}
.th-plan__img img {max-height: 166px;max-width: 100%;width: auto;height: auto;object-fit: contain;}
.th-plan__name { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin: 0; }
.th-plan__price { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; }
.th-plan__price span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.th-plan__feats { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 13px; }
.th-plan__feats li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 0.95rem; }
.th-plan__feats svg { width: 18px; height: 18px; color: var(--o); flex: none; }

/* ============================ MISSION ============================ */
.th-mission__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.th-mission__media { position: relative; }
.th-mission__media img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: 0 28px 56px -22px rgba(28, 14, 33, 0.32); }
.th-mission__shape { position: absolute; z-index: 0; right: -20px; bottom: -20px; width: 62%; height: 66%; border-radius: 26px; background: linear-gradient(135deg, rgba(255, 69, 0, 0.18), rgba(255, 154, 92, 0.12)); }
.th-mission__copy .th-h2 { margin-top: 16px; }
.th-values { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.th-values li { display: flex; gap: 16px; }
.th-values__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 69, 0, 0.1); color: var(--o); display: inline-flex; align-items: center; justify-content: center; }
.th-values__ic svg { width: 24px; height: 24px; }
.th-values h3 { margin: 2px 0 4px; font-size: 1.1rem; font-weight: 700; }
.th-values p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Stretched link: makes the whole parent card clickable while keeping the visible link */
.th-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ============================ OUR VISION ============================ */
.th-vision { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(44px, 6vw, 78px) 0; }
.th-vision__orb { position: absolute; width: 540px; height: 540px; border-radius: 50%; top: -220px; right: -140px; background: radial-gradient(circle, rgba(255, 69, 0, 0.28), transparent 65%); filter: blur(60px); pointer-events: none; z-index: 0; }
.th-vision > .th-wrap { position: relative; z-index: 1; }
.th-vision__title { color: #fff; }
.th-vision__lede { color: rgba(255, 255, 255, 0.72); }
.th-vision__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(38px, 4vw, 56px); }
.th-vision__pillar { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.32s var(--ease), background-color 0.3s ease, border-color 0.3s ease; }
.th-vision__pillar:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 69, 0, 0.45); }
.th-vision__ic { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 69, 0, 0.16); color: var(--o); margin-bottom: 18px; }
.th-vision__ic svg { width: 26px; height: 26px; }
.th-vision__ic--logo { background: rgba(255, 255, 255, 0.12); }
.th-vision__ic--logo img { width: 40px; height: 40px; object-fit: contain; }
.th-vision__pillar h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; color: #fff; line-height: 1.3; }
.th-vision__pillar p { margin: 0; color: rgba(255, 255, 255, 0.66); line-height: 1.58; font-size: 0.95rem; }
@media (max-width: 960px) { .th-vision__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .th-vision__grid { grid-template-columns: 1fr; } }

/* ============================ SINGLE ARTICLE ============================ */
.th-post { background: #fff; }
.th-post__wrap { max-width: 1200px; }
.th-head--left { text-align: left; margin-left: 0; max-width: none; }
.th-head--left .th-eyebrow { margin-bottom: 14px; }
.th-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* Breadcrumb */
.th-bc { padding: 22px 0 0; }
.th-bc ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.th-bc li { display: flex; align-items: center; gap: 8px; }
.th-bc li:not(:last-child)::after { content: "/"; color: rgba(28, 14, 33, 0.3); }
.th-bc a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.th-bc a:hover { color: var(--o); }
.th-bc li[aria-current] { color: var(--ink); font-weight: 600; }

/* Hero */
.th-post__hero { padding: 18px 0 0; }
.th-post__hero .th-post__wrap { max-width: 820px; text-align: center; }
.th-post__cat { display: inline-block; margin: 22px 0 16px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 69, 0, 0.1); color: var(--o); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.th-post__cat:hover { background: var(--o); color: #fff; }
.th-post__title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 22px; color: var(--ink); }
.th-post__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.th-post__author { display: inline-flex; align-items: center; gap: 9px; }
.th-post__avatar { border-radius: 50%; width: 36px; height: 36px; }
.th-post__author strong { color: var(--ink); font-weight: 700; }
.th-post__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(28, 14, 33, 0.25); }
.th-post__share-inline { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; }
.th-post__share-label { font-weight: 600; color: var(--ink); }
.th-post__share-list, .th-post__rail-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.th-post__share-list a, .th-post__rail-list a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: 1px solid var(--line); color: var(--ink); transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.th-post__share-list a:hover, .th-post__rail-list a:hover { background: var(--o); color: #fff; border-color: var(--o); transform: translateY(-2px); }
.th-post__share-list svg, .th-post__rail-list svg { width: 17px; height: 17px; }

/* Banner */
.th-post__banner { margin: 36px 0 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(28, 14, 33, 0.35); }
.th-post__banner img { width: 100%; height: auto; display: block; }
.th-post__banner--ph { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255, 69, 0, 0.12), rgba(120, 160, 255, 0.16)); color: var(--o); }
.th-post__banner--ph svg { width: 70px; height: 70px; }

/* Body layout: sticky rail | content | sidebar */
.th-post__layout { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: 44px; padding: clamp(40px, 5vw, 64px) 0 0; align-items: start; }
.th-post__rail { position: sticky; top: 100px; }
.th-post__rail-list { flex-direction: column; gap: 10px; }
.th-post__main { min-width: 0; }

/* Content typography */
.th-post__content { color: #353036; font-size: 1.08rem; line-height: 1.8; }
.th-post__content > * { margin: 0 0 1.4em; }
.th-post__content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin: 1.8em 0 0.6em; }
.th-post__content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; color: var(--ink); margin: 1.6em 0 0.5em; }
.th-post__content h4 { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin: 1.4em 0 0.5em; }
.th-post__content a { color: var(--o); text-decoration: underline; text-underline-offset: 2px; }
.th-post__content a:hover { color: var(--o-dark); }
.th-post__content strong { color: var(--ink); }
.th-post__content ul, .th-post__content ol { padding-left: 1.4em; }
.th-post__content li { margin: 0 0 0.5em; }
.th-post__content img { border-radius: 12px; height: auto; }
.th-post__content figure { margin: 1.8em 0; }
.th-post__content figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); text-align: center; font-style: italic; }
.th-post__content blockquote { margin: 1.8em 0; padding: 22px 28px; border-left: 4px solid var(--o); background: var(--accent); border-radius: 0 14px 14px 0; font-size: 1.18rem; line-height: 1.6; color: var(--ink); font-style: italic; }
.th-post__content blockquote p:last-child { margin-bottom: 0; }
.th-post__content pre { background: var(--ink); color: #fff; padding: 20px 22px; border-radius: 12px; overflow-x: auto; font-size: 0.92rem; }
.th-post__content code { background: rgba(28, 14, 33, 0.06); padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }
.th-post__content pre code { background: none; padding: 0; }
.th-post__content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 0.98rem; }
.th-post__content th, .th-post__content td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.th-post__content th { background: var(--accent); font-weight: 700; color: var(--ink); }
.th-post__content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.th-post__tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.th-post__tags a { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--accent); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.th-post__tags a:hover { background: var(--o); color: #fff; border-color: var(--o); }

/* Sidebar widgets */
.th-post__side { display: flex; flex-direction: column; gap: 26px; }
.th-widget { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; box-shadow: 0 4px 18px rgba(28, 14, 33, 0.04); }
.th-widget__title { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.th-widget__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.th-widget__item { display: flex; gap: 13px; align-items: flex-start; }
.th-widget__thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; display: block; background: var(--accent); }
.th-widget__thumb img { width: 100%; height: 100%; object-fit: cover; }
.th-widget__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 69, 0, 0.12), rgba(120, 160, 255, 0.16)); }
.th-widget__meta a { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.35; color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.th-widget__meta a:hover { color: var(--o); }
.th-widget__meta time { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: block; }
.th-widget__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.th-widget__cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s ease, color 0.2s ease; }
.th-widget__cats a:hover { background: var(--accent); color: var(--o); }
.th-widget__cats em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--accent); border-radius: 999px; padding: 2px 9px; }
.th-widget--cta { text-align: center; }
.th-widget--cta p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; }
.th-widget__ic { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 69, 0, 0.1); color: var(--o); margin-bottom: 14px; }
.th-widget__ic svg { width: 26px; height: 26px; }
.th-widget--contact { background: var(--ink); border-color: var(--ink); }
.th-widget--contact .th-widget__title, .th-widget--contact p { color: #fff; }
.th-widget--contact p { color: rgba(255, 255, 255, 0.75); }
.th-widget--contact .th-widget__title { border-bottom-color: rgba(255, 255, 255, 0.14); }
.th-widget--contact .th-widget__ic { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Responsive */
@media (max-width: 1040px) {
    .th-post__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
    .th-post__rail { display: none; }
}
@media (max-width: 820px) {
    .th-post__layout { grid-template-columns: 1fr; }
    .th-post__side { flex-direction: row; flex-wrap: wrap; }
    .th-post__side .th-widget { flex: 1 1 260px; }
}
@media (max-width: 560px) {
    .th-post__share-inline { width: 100%; justify-content: center; margin: 6px 0 0; }
    .th-post__side { flex-direction: column; }
}

/* ============================ SERVICE DETAIL ============================ */
.th-svc__hero { position: relative; overflow: hidden; padding: 24px 0 clamp(36px, 5vw, 60px); background: radial-gradient(60% 80% at 90% 0%, rgba(255, 69, 0, 0.08), transparent 60%), linear-gradient(180deg, #fff, var(--accent)); }
.th-svc__hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.th-svc__hero-copy .th-eyebrow { margin-bottom: 18px; }
.th-svc__title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 18px; color: var(--ink); }
.th-svc__lede { margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; max-width: 540px; }
.th-svc__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.th-svc__hero-media { position: relative; }
.th-svc__hero-imgwrap { border-radius: 22px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 34px 70px -24px rgba(28, 14, 33, 0.4); aspect-ratio: 4 / 3; }
.th-svc__hero-imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.th-svc__hero-imgwrap--ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255, 69, 0, 0.14), rgba(120, 160, 255, 0.16)); color: var(--o); }
.th-svc__hero-imgwrap--ph svg { width: 80px; height: 80px; }

.th-svc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; padding: clamp(40px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); align-items: start; }
.th-svc__sticky { position: sticky; top: 100px; }
.th-svc .th-post__content { font-size: 1.05rem; }
.th-svc .th-post__content ul { list-style: none; padding-left: 0; }
.th-svc .th-post__content ul li { position: relative; padding-left: 30px; margin-bottom: 0.7em; }
.th-svc .th-post__content ul li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 69, 0, 0.12); }
.th-svc .th-post__content ul li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 9px; border: solid var(--o); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.th-card__thumb { display: block; margin: -34px -28px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent); }
.th-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.th-card:hover .th-card__thumb img { transform: scale(1.05); }
@media (max-width: 980px) {
    .th-svc__hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .th-svc__layout { grid-template-columns: 1fr; gap: 32px; }
    .th-svc__sticky { position: static; }
    .th-svc .th-post__side { flex-direction: row; flex-wrap: wrap; }
    .th-svc .th-post__side .th-widget { flex: 1 1 260px; }
}
@media (max-width: 560px) { .th-svc .th-post__side { flex-direction: column; } }

/* ============================ ARTICLES ============================ */
.th-articles__grid { gap: 28px; }
.th-article { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 18px rgba(28, 14, 33, 0.05); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.th-article:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -24px rgba(28, 14, 33, 0.22); }
.th-article__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent); }
.th-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.th-article:hover .th-article__media img { transform: scale(1.05); }
.th-article__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 69, 0, 0.12), rgba(120, 160, 255, 0.14)); color: var(--o); }
.th-article__ph svg { width: 46px; height: 46px; }
.th-article__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.th-article__date { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.th-article__title { margin: 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.th-article__title a { color: var(--ink); text-decoration: none; }
.th-article__title a:hover { color: var(--o); }
.th-article__excerpt { margin: 0; color: var(--muted); line-height: 1.6; flex: 1; }
.th-article__body .th-link { margin-top: 4px; }
.th-articles__empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 24px; color: var(--muted); background: #fff; border: 1px dashed rgba(28, 14, 33, 0.18); border-radius: var(--radius); }
.th-articles__empty p { margin: 0; }

/* ============================ TESTIMONIALS ============================ */
.th-testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.th-testi__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 4px 18px rgba(28, 14, 33, 0.05); display: flex; flex-direction: column; gap: 16px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.th-testi__card:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -24px rgba(28, 14, 33, 0.22); }
.th-testi__stars { display: flex; gap: 3px; color: var(--o); }
.th-testi__stars svg { width: 18px; height: 18px; }
.th-testi__quote { margin: 0; color: var(--ink); line-height: 1.65; font-size: 1.02rem; flex: 1; }
.th-testi__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.th-testi__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.th-testi__name { font-weight: 700; }
@media (max-width: 880px) { .th-testi__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .th-testi__grid { grid-template-columns: 1fr; } }

/* ============================ SCHEDULE APPOINTMENT ============================ */
.th-appt { background: radial-gradient(60% 80% at 0% 0%, rgba(120, 160, 255, 0.08), transparent 60%), radial-gradient(56% 70% at 100% 100%, rgba(255, 69, 0, 0.07), transparent 60%), #fff; }
.th-appt__inner { display: grid; grid-template-columns: 1fr 1.02fr; gap: 50px; align-items: center; }
.th-appt__copy .th-eyebrow { margin-bottom: 18px; }
.th-appt__copy .th-h2 { margin-top: 0; }
.th-appt__copy .th-lede { margin-left: 0; }
.th-appt__points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.th-appt__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.th-appt__points svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 69, 0, 0.12); color: var(--o); }
.th-appt__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); box-shadow: 0 30px 60px -28px rgba(28, 14, 33, 0.28); }
.th-appt__title { margin: 0 0 22px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.th-appt__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.th-appt__form .th-btn { margin-top: 6px; }
/* Appointment CTA card (replaces the request form) */
.th-appt__cta { text-align: center; padding: clamp(34px, 4vw, 52px) clamp(26px, 3vw, 44px); }
.th-appt__cta-ic { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 20px; background: rgba(255, 69, 0, 0.1); color: var(--o); }
.th-appt__cta-ic svg { width: 36px; height: 36px; }
.th-appt__cta .th-appt__title { margin: 0 0 12px; }
.th-appt__cta-text { margin: 0 auto 26px; max-width: 34ch; color: var(--muted); line-height: 1.6; }
.th-appt__cta .th-btn { margin: 0; }
.th-appt__cta-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.th-appt__status { margin: 14px 0 0; font-size: 14px; font-weight: 600; min-height: 1px; }
.th-appt__status.is-ok { color: #1a7f48; }
.th-appt__status.is-err { color: #c0392b; }
@media (max-width: 900px) { .th-appt__inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .th-appt__row { grid-template-columns: 1fr; } }

/* ============================ PRODUCTS ============================ */
.th-prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: 0 4px 18px rgba(28, 14, 33, 0.05); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.th-prod:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(28, 14, 33, 0.22); }
.th-prod__img {position: relative;height: 235px;display: flex;align-items: center;justify-content: center;background: #542152;border-radius: 14px;margin-bottom: 16px;}
.th-prod__img img {max-height: 235px;width: auto;}
.th-prod__typeicon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 16px; background: #fff; color: var(--o); box-shadow: 0 6px 16px -8px rgba(28, 14, 33, 0.2); }
.th-prod__typeicon svg { width: 34px; height: 34px; }
.th-prod__type { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--o); background: rgba(255, 69, 0, 0.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.th-prod__soldout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); border-radius: 14px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #b91c1c; }
.th-prod--soldout .th-prod__name, .th-prod--soldout .th-prod__desc, .th-prod--soldout .th-prod__price, .th-prod--soldout .th-prod__type { opacity: 0.55; filter: grayscale(0.4); }
.th-prod--soldout:hover { transform: none; box-shadow: 0 4px 18px rgba(28, 14, 33, 0.05); }
.th-prod__name { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.th-prod__desc { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.th-prod__price { margin: 0 0 18px; font-weight: 800; color: var(--ink); }

/* ============================ FAQ ============================ */
.th-acc { display: flex; flex-direction: column; gap: 12px; }
.th-acc__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 12px rgba(28, 14, 33, 0.04); overflow: hidden; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.th-acc__item[open] { border-color: rgba(255, 69, 0, 0.3); box-shadow: 0 12px 30px -14px rgba(28, 14, 33, 0.18); }
.th-acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.th-acc__item summary::-webkit-details-marker { display: none; }
.th-acc__ic { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 69, 0, 0.12); transition: background-color 0.25s ease; }
.th-acc__ic::before, .th-acc__ic::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--o); border-radius: 2px; transition: transform 0.25s var(--ease); }
.th-acc__ic::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.th-acc__ic::after { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.th-acc__item[open] .th-acc__ic { background: var(--o); }
.th-acc__item[open] .th-acc__ic::before, .th-acc__item[open] .th-acc__ic::after { background: #fff; }
.th-acc__item[open] .th-acc__ic::after { transform: translate(-50%, -50%) scaleY(0); }
.th-acc__body { padding: 0 22px 22px; color: var(--muted); line-height: 1.65; }
.th-acc__body p { margin: 0; }

/* Collapsible FAQ category toggles (Home) — outer accordion of categories. */
.th-faqcat { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 12px rgba(28, 14, 33, 0.04); overflow: hidden; margin-bottom: 14px; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.th-faqcat[open] { border-color: rgba(255, 69, 0, 0.3); box-shadow: 0 16px 38px -18px rgba(28, 14, 33, 0.2); }
.th-faqcat__head { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-weight: 800; color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.th-faqcat__head::-webkit-details-marker { display: none; }
.th-faqcat[open] > .th-faqcat__head .th-acc__ic { background: var(--o); }
.th-faqcat[open] > .th-faqcat__head .th-acc__ic::before,
.th-faqcat[open] > .th-faqcat__head .th-acc__ic::after { background: #fff; }
.th-faqcat[open] > .th-faqcat__head .th-acc__ic::after { transform: translate(-50%, -50%) scaleY(0); }
.th-faqcat__body { padding: 0 20px 20px; }
.th-faqcat__body .th-acc { gap: 10px; }
/* Nest the question cards visually inside the open category. */
.th-faqcat__body .th-acc__item { background: var(--accent); border-color: transparent; box-shadow: none; }
.th-faqcat__body .th-acc__item[open] { background: #fff; border-color: rgba(255, 69, 0, 0.3); }
.th-faqcat__body .th-acc__item summary { font-size: 0.98rem; padding: 16px 18px; }

/* ============================ FINAL CTA ============================ */
.th-cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(60px, 8vw, 100px) 0; text-align: center; }
.th-cta__orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 69, 0, 0.3), transparent 65%); filter: blur(50px); pointer-events: none; }
.th-cta__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.th-cta__inner .th-eyebrow { margin-bottom: 18px; }
.th-cta__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.th-cta__sub { margin: 18px auto 30px; color: rgba(255, 255, 255, 0.75); line-height: 1.65; max-width: 540px; }

/* ============================ Page extras (Services/About) ============================ */
/* Centered hero variant */
.th-hero--center .th-hero__inner { grid-template-columns: 1fr; text-align: center; }
.th-hero--center .th-hero__copy { max-width: 760px; margin: 0 auto; }
.th-hero--center .th-hero__sub { margin-left: auto; margin-right: auto; }
.th-hero--center .th-hero__cta { justify-content: center; }
.th-hero--center .th-hero__title { margin-top: 18px; }

/* Service card "what's included" list */
.th-card__list { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.th-card__list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.92rem; }
.th-card__list svg { width: 17px; height: 17px; color: var(--o); flex: none; }
/* Services cards (Home + Services page): equal height with the "Get started"
   CTA pinned to the bottom so all three buttons align on one baseline. */
.th-services .th-card,
.th-services-page .th-card { display: flex; flex-direction: column; height: 100%; }
.th-services-page .th-card .th-card__list { margin-bottom: 24px; }
.th-services .th-card .th-btn,
.th-services-page .th-card .th-btn { margin-top: auto; }
/* Soft, very light purplish tint — Home services band, Services "What we offer",
   About values, Products catalog, and the Contact articles (consistent site-wide). */
.th-services.th-band,
.th-services--bg,
.th-vsec,
.th-catalog,
.th-articles.th-band {
    background:
        radial-gradient(56% 66% at 50% 0%, rgba(150, 55, 185, 0.07), transparent 62%),
        #f6f3fb;
}

/* Ghost button on a dark background (CTA) */
.th-btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.th-btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---- Contact page ---- */
.th-contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.th-contact__info .th-h2 { margin: 16px 0 0; }
.th-cinfo { list-style: none; margin: 28px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.th-cinfo li { display: flex; gap: 16px; align-items: flex-start; }
.th-cinfo__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 69, 0, 0.1); color: var(--o); display: inline-flex; align-items: center; justify-content: center; }
.th-cinfo__ic svg { width: 22px; height: 22px; }
.th-cinfo__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.th-cinfo li a, .th-cinfo li span:not(.th-cinfo__label):not(.th-cinfo__ic) { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.5; }
.th-cinfo li a:hover { color: var(--o); }
.th-contact__social { display: flex; gap: 10px; }
.th-contact__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--accent); border: 1px solid var(--line); transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease; }
.th-contact__social a:hover { background: var(--o); color: #fff; border-color: var(--o); transform: translateY(-3px); }
.th-contact__social svg { width: 18px; height: 18px; }

.th-cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 56px -28px rgba(28, 14, 33, 0.26); }
.th-cform__title { margin: 0 0 20px; font-size: 1.3rem; font-weight: 800; }
.th-field { margin-bottom: 16px; }
.th-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.th-field label span { color: var(--muted); font-weight: 500; }
.th-field input, .th-field textarea { width: 100%; padding: 13px 16px; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.th-field textarea { resize: vertical; min-height: 120px; }
.th-field input:focus, .th-field textarea:focus { outline: none; border-color: var(--o); box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.15); }
.th-cform .th-btn { margin-top: 6px; }
.th-cform__msg { margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.th-cform__msg.is-ok { color: #16a34a; }
.th-cform__msg.is-err { color: var(--o); }

.th-mapsec { padding: 0 0 clamp(60px, 8vw, 100px); }
.th-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px -22px rgba(28, 14, 33, 0.2); line-height: 0; }
.th-map iframe { display: block; filter: grayscale(0.1); }

@media (max-width: 860px) {
    .th-contact__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---- Legal / policy pages ---- */
.th-legal__hero {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(48px, 6vw, 84px) 0 clamp(34px, 4vw, 52px);
    background: radial-gradient(60% 80% at 85% 0%, rgba(255, 69, 0, 0.10), transparent 60%),
                linear-gradient(180deg, #fff 0%, var(--accent) 100%);
    border-bottom: 1px solid var(--line);
}
.th-legal__head { position: relative; z-index: 1; }
.th-legal__title { margin: 16px 0 0; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.th-legal__updated { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.th-legal__main { padding-top: clamp(40px, 5vw, 64px); }

.th-prose { max-width: 800px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.78; }
.th-prose > :first-child { margin-top: 0; }
.th-prose p { margin: 0 0 16px; }
.th-prose h1, .th-prose h2, .th-prose h3, .th-prose h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; margin: 36px 0 12px; }
.th-prose h3 { font-size: 1.35rem; }
.th-prose h4 { font-size: 1.1rem; }
.th-prose strong { color: var(--ink); font-weight: 700; }
.th-prose ul, .th-prose ol { margin: 0 0 18px; padding-left: 22px; }
.th-prose li { margin: 0 0 9px; }
.th-prose a { color: var(--o); text-decoration: underline; text-underline-offset: 2px; }
.th-prose a:hover { text-decoration: none; }
/* Bold-only paragraphs act as section subheadings */
.th-prose p:has(> strong:only-child) { margin: 34px 0 6px; }
.th-prose p:has(> strong:only-child) strong { display: inline-block; font-size: 1.2rem; color: var(--ink); }
.th-legal__foot { max-width: 800px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.th-legal__foot a { color: var(--o); font-weight: 700; text-decoration: none; }
.th-legal__foot a:hover { text-decoration: underline; }

/* ---- Media: press inquiry callout ---- */
.th-press { display: flex; align-items: center; gap: 26px; background: radial-gradient(70% 90% at 100% 0%, rgba(150, 55, 185, 0.09), transparent 60%), #f6f3fb; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 0 16px 44px -24px rgba(28, 14, 33, 0.22); }
.th-press__ic { flex: none; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 69, 0, 0.1); color: var(--o); display: inline-flex; align-items: center; justify-content: center; }
.th-press__ic svg { width: 30px; height: 30px; }
.th-press__copy { flex: 1; }
.th-press__copy .th-h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 0; }
.th-press__copy .th-lede { margin-top: 10px; }
.th-press .th-btn { flex: none; }
@media (max-width: 680px) { .th-press { flex-direction: column; align-items: flex-start; } }

/* Product catalog: category heading + auto-fit product grid */
.th-cat { margin: 40px 0 22px; }
.th-cat:first-child { margin-top: 0; }
.th-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.th-catalog__note { margin: 40px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ============================ ABOUT: stats marquee ============================ */
/* Scrolling highlights band — items size to their own content, so longer
   points (e.g. "HIPAA Compliant") never wrap or break the alignment. */
/* Matches the homepage trust marquee (.th-marquee): dark ink band, white 15px
   bold text, orange accent. About page only. */
.th-statsec { padding: 16px 0; background: var(--ink); overflow: hidden; }
.th-statm { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.th-statm__track { display: flex; align-items: center; width: max-content; animation: th-marquee 34s linear infinite; }
.th-statm:hover .th-statm__track { animation-play-state: paused; }
.th-statm__item { position: relative; display: inline-flex; align-items: baseline; gap: 10px; margin: 0 30px; padding-right: 30px; white-space: nowrap; }
.th-statm__item::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--o); }
.th-statm__item strong { font-size: 15px; font-weight: 800; letter-spacing: 0; line-height: 1; background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #fff; color: #fff; }
.th-statm__item span { font-size: 15px; color: rgba(255, 255, 255, 0.92); font-weight: 600; }

/* ============================ SCROLL REVEAL ============================ */
.th-reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.th-reveal.th-in { opacity: 1; transform: none; }
.th-reveal[data-th-delay="1"] { transition-delay: 0.09s; }
.th-reveal[data-th-delay="2"] { transition-delay: 0.18s; }
.th-reveal[data-th-delay="3"] { transition-delay: 0.27s; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
    .th-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .th-hero__media { max-width: 460px; margin: 0 auto; width: 100%; }
    .th-mission__inner { grid-template-columns: 1fr; gap: 36px; }
    .th-steps { grid-template-columns: repeat(2, 1fr); }
    .th-grid-3 { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
    .th-steps { grid-template-columns: 1fr; }
    .th-hero__chip--1 { left: 8px; }
    .th-hero__chip--2 { right: 8px; }
    .th-hero__cta .th-btn { flex: 1; }
}

/* ---- About: Our Vision section ---- */
.th-about-vision .th-head { margin-bottom: 0; }
/* About: Our Vision — split layout with image */
.th-vision-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.th-vision-split__copy .th-eyebrow { margin-bottom: 16px; }
.th-vision-split__copy .th-h2 { margin-top: 0; }
.th-vision-split__copy .th-lede { margin-left: 0; }
.th-vision-split__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 28px 56px -22px rgba(28, 14, 33, 0.32); }
@media (max-width: 860px) {
    .th-vision-split { grid-template-columns: 1fr; gap: 30px; }
    .th-vision-split__media { order: -1; }
}

/* About: categorized FAQ */
.th-faq--cats .th-acc { margin-bottom: 6px; }
.th-faq__cat {
    margin: 42px 0 16px;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
    padding-left: 14px;
    border-left: 3px solid var(--o);
}
.th-faq__cat:first-of-type { margin-top: 6px; }

/* ---- About: Leadership profiles (premium split cards) ---- */
.th-lead__list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 1120px;
    margin: 0 auto;
}
.th-lead {
    display: grid;
    grid-template-columns: minmax(0, 40%) 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 54px -30px rgba(28, 14, 33, 0.30);
    transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease);
}
.th-lead:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 72px -34px rgba(28, 14, 33, 0.34);
}
.th-lead__photo {
    position: relative;
    min-height: 360px;
    background: var(--accent);
}
.th-lead__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 60%, rgba(28, 14, 33, 0.10));
    pointer-events: none;
}
.th-lead__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.th-lead__content {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 3.4vw, 52px);
}
.th-lead__role {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 10px;
}
.th-lead__name {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.1;
}
.th-lead__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin: 18px 0 22px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 69, 0, 0.09);
    color: var(--o);
    font-size: 13px;
    font-weight: 700;
}
.th-lead__badge svg { width: 15px; height: 15px; flex: none; }
.th-lead__bio {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.th-lead__bio p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}
.th-lead__bio p:last-child { margin-bottom: 0; }
.th-lead__social { display: flex; gap: 10px; margin-top: 20px; }
.th-lead__social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease); }
.th-lead__social a:hover { color: var(--o); border-color: var(--o); transform: translateY(-2px); }
.th-lead__social svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
    .th-lead { grid-template-columns: 1fr; }
    .th-lead__photo { min-height: 0; height: 360px; }
    .th-lead__photo img { object-position: center 20%; }
}
@media (max-width: 560px) {
    .th-lead { border-radius: 20px; }
    .th-lead__photo { height: 300px; }
    .th-lead__content { padding: 26px 22px; }
    .th-lead__bio { padding-top: 18px; }
}

/* ===== Trust marquee (4-item scrolling banner) ===== */
.th-marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; }
.th-marquee__track { display: flex; align-items: center; width: max-content; animation: th-marquee 30s linear infinite; }
.th-marquee:hover .th-marquee__track { animation-play-state: paused; }
.th-marquee__item { display: inline-flex; align-items: center; gap: 12px; margin-right: 60px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.th-marquee__item svg { width: 22px; height: 22px; color: var(--o); flex: none; }
@keyframes th-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Patient testimonials marquee (moves left to right) ===== */
.th-testi-sec { overflow: hidden; }
.th-testi-marquee { overflow: hidden; margin-top: clamp(34px, 4vw, 48px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.th-testi-marquee__track { display: flex; width: max-content; animation: th-marquee 60s linear infinite reverse; }
.th-testi-marquee:hover .th-testi-marquee__track { animation-play-state: paused; }
.th-testi-card { flex: none; width: 360px; margin-right: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 24px; box-shadow: 0 12px 32px -20px rgba(28, 14, 33, 0.28); }
.th-testi-card__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.th-testi-card__stars svg { width: 17px; height: 17px; color: #ffb020; }
.th-testi-card__quote { margin: 0 0 20px; color: var(--ink); line-height: 1.6; font-size: 1rem; }
.th-testi-card__author { display: flex; align-items: center; gap: 12px; }
.th-testi-card__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.th-testi-card__meta { display: flex; flex-direction: column; line-height: 1.25; }
.th-testi-card__name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.th-testi-card__role { color: var(--muted); font-size: 0.8rem; font-weight: 500; margin-top: 2px; }
@media (max-width: 560px) { .th-testi-card { width: 290px; padding: 24px 22px 20px; } }

/* ===== Vision: three cards (Mind / Body / Soul) ===== */
.th-vision__grid.th-vision__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .th-vision__grid.th-vision__grid--3 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .th-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .th-hero__imgwrap img { animation: none !important; }
    .th-btn, .th-card, .th-step, .th-plan, .th-prod { transition: none !important; }
    .th-marquee__track, .th-testi-marquee__track, .th-statm__track { animation: none !important; }
}
