/* ============================================================
   TS Beauty Center – Custom Stylesheet
   Palette: #111 (near-black) | #c0c0c0 (silver) | #e8e8e8 (light silver)
            #b8960c (gold accent) | #fff
   ============================================================ */

:root {
    --ts-black:        #111111;
    --ts-dark:         #1e1e1e;
    --ts-silver-dark:  #888888;
    --ts-silver:       #c0c0c0;
    --ts-silver-light: #e8e8e8;
    --ts-white:        #ffffff;
    --ts-gold:         #6a6a6a;
    --ts-gold-light:   #999999;
    --ts-font-serif:   'Cormorant Garamond', Georgia, serif;
    --ts-font-sans:    'Open Sans', Arial, sans-serif;
    --ts-transition:   0.35s ease;
    --ts-radius:       12px;
}

/* ── Reset / Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--ts-font-sans);
    font-size: 16px;
    color: var(--ts-black);
    background: var(--ts-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--ts-font-serif); font-weight: 600; }

a { color: inherit; text-decoration: none; transition: color var(--ts-transition); }
a:hover { color: var(--ts-silver-dark); }

.fw-600 { font-weight: 600; }

/* ── Spinner ───────────────────────────────────────────────── */
#spinner { opacity: 0; visibility: hidden; transition: opacity .8s ease-out, visibility 0s linear .5s; z-index: 99999; }
#spinner.show { transition: opacity .8s ease-out, visibility 0s linear 0s; visibility: visible; opacity: 1; }
.spinner-grow { background-color: var(--ts-gold); }

/* ── Navbar ────────────────────────────────────────────────── */
.ts-navbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background var(--ts-transition), padding var(--ts-transition), box-shadow var(--ts-transition);
}

.ts-navbar .navbar-brand img { filter: brightness(0) invert(1); transition: filter var(--ts-transition); }
.ts-navbar .nav-link {
    color: rgba(255,255,255,.9) !important;
    font-size: 14px; letter-spacing: .5px;
    text-transform: uppercase; font-weight: 600;
    padding: 8px 14px !important;
    position: relative;
}
.ts-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2px;
    background: var(--ts-gold);
    transform: scaleX(0);
    transition: transform var(--ts-transition);
}
.ts-navbar .nav-link:hover::after,
.ts-navbar .nav-link.active::after { transform: scaleX(1); }
.ts-navbar .nav-link:hover,
.ts-navbar .nav-link.active { color: var(--ts-white) !important; }

/* scrolled */
.ts-navbar.scrolled {
    position: fixed;
    background: var(--ts-white) !important;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.ts-navbar.scrolled .navbar-brand img { filter: none; }
.ts-navbar.scrolled .nav-link { color: var(--ts-black) !important; }
.ts-navbar.scrolled .nav-link::after { background: var(--ts-gold); }
.ts-navbar.scrolled .ts-toggler { border-color: rgba(0,0,0,.3); }
.ts-navbar.scrolled .ts-toggler .fa-bars { color: var(--ts-black); }

/* mobile – always transparent, logo hidden, dark bg set instantly via JS .menu-open class */
@media (max-width: 1199px) {
    .ts-navbar,
    .ts-navbar.scrolled {
        position: fixed !important;
        top: 0; left: 0; right: 0;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        transition: none !important;   /* no fade – background changes must be instant */
    }
    .ts-navbar .navbar-brand { display: none !important; }
    .ts-navbar .ts-toggler { border-color: rgba(255,255,255,.6); }
    .ts-navbar .ts-toggler .fa-bars { color: var(--ts-white); }
    /* Override the higher-specificity .scrolled rules so they don't apply on mobile */
    .ts-navbar .nav-link,
    .ts-navbar.scrolled .nav-link { color: var(--ts-white) !important; }
    .ts-navbar .nav-link::after,
    .ts-navbar.scrolled .nav-link::after { display: none; }
    .ts-navbar.scrolled .ts-toggler { border-color: rgba(255,255,255,.6) !important; }
    .ts-navbar.scrolled .ts-toggler .fa-bars { color: var(--ts-white) !important; }
    .ts-navbar.scrolled .navbar-brand img { filter: brightness(0) invert(1) !important; }
    /* JS adds .menu-open the moment the toggler is clicked — zero delay */
    .ts-navbar.menu-open { background: rgba(8,8,8,.97) !important; }
    .ts-navbar .navbar-collapse.show { padding: 8px 4px 16px; }
}

/* Prevent horizontal white line / scroll gap */
html { overflow-x: hidden; }

.ts-toggler { background: transparent; border: 1px solid rgba(255,255,255,.5); padding: 6px 10px; }
.ts-toggler .fa-bars { color: var(--ts-white); font-size: 18px; }

/* Dropdown */
.ts-dropdown {
    border: none; border-top: 2px solid var(--ts-gold);
    border-radius: 0 0 var(--ts-radius) var(--ts-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    min-width: 220px; background: var(--ts-white);
}
.ts-dropdown .dropdown-item { font-size: 14px; padding: 10px 20px; transition: background var(--ts-transition), color var(--ts-transition); }
.ts-dropdown .dropdown-item:hover { background: var(--ts-black); color: var(--ts-white); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS – split fill: left + right → center on hover
   ═══════════════════════════════════════════════════════════ */

/* Base button reset */
.btn {
    font-family: var(--ts-font-sans);
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color var(--ts-transition);
}

/* Shared pseudo-element fill (left half) */
.btn::before,
.btn::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 0;
    z-index: -1;
    transition: width var(--ts-transition);
}
.btn::before { left: 0; }
.btn::after  { right: 0; }

/* ── Dark buttons (on light / white backgrounds) ── */
/* These fill with black */
.ts-btn-outline-dark,
.ts-btn-sm-primary {
    background: transparent;
    color: var(--ts-black);
    border: 2px solid var(--ts-black);
}
.ts-btn-outline-dark { padding: 12px 32px; }
.ts-btn-sm-primary   { padding: 8px 20px; font-size: 14px; }

.ts-btn-outline-dark::before,
.ts-btn-outline-dark::after,
.ts-btn-sm-primary::before,
.ts-btn-sm-primary::after  { background: var(--ts-black); }

.ts-btn-outline-dark:hover,
.ts-btn-sm-primary:hover   { color: var(--ts-white); }

.ts-btn-outline-dark:hover::before,
.ts-btn-outline-dark:hover::after,
.ts-btn-sm-primary:hover::before,
.ts-btn-sm-primary:hover::after  { width: calc(50% + 1px); }

/* ── Light buttons (on dark / image backgrounds) ── */
/* These fill with white */
.ts-btn-primary {
    background: transparent;
    color: var(--ts-white);
    border: 2px solid var(--ts-white);
    padding: 12px 32px;
}
.ts-btn-primary::before,
.ts-btn-primary::after { background: var(--ts-white); }
.ts-btn-primary:hover  { color: var(--ts-black); }
.ts-btn-primary:hover::before,
.ts-btn-primary:hover::after { width: calc(50% + 1px); }

/* ── Carousel secondary outline button ── */
.ts-btn-outline {
    background: transparent;
    color: var(--ts-white);
    border: 2px solid rgba(255,255,255,.65);
    padding: 12px 32px;
}
.ts-btn-outline::before,
.ts-btn-outline::after { background: var(--ts-white); }
.ts-btn-outline:hover  { color: var(--ts-black); border-color: var(--ts-white); }
.ts-btn-outline:hover::before,
.ts-btn-outline:hover::after { width: calc(50% + 1px); }

/* ── CTA section (black bg) ── */
.ts-btn-cta-white {
    background: var(--ts-white);
    color: var(--ts-black);
    border: 2px solid var(--ts-white);
    padding: 14px 40px;
    font-weight: 700;
}
.ts-btn-cta-white::before,
.ts-btn-cta-white::after { background: var(--ts-gold); }
.ts-btn-cta-white:hover  { color: var(--ts-white); background: var(--ts-white); border-color: var(--ts-gold); }
.ts-btn-cta-white:hover::before,
.ts-btn-cta-white:hover::after { width: calc(50% + 1px); }

.ts-btn-cta-outline {
    background: transparent;
    color: var(--ts-white);
    border: 2px solid var(--ts-white);
    padding: 14px 40px;
}
.ts-btn-cta-outline::before,
.ts-btn-cta-outline::after { background: var(--ts-white); }
.ts-btn-cta-outline:hover  { color: var(--ts-black); }
.ts-btn-cta-outline:hover::before,
.ts-btn-cta-outline:hover::after { width: calc(50% + 1px); }

/* ── Gold accent button (for courses / highlights) ── */
.ts-btn-gold {
    background: transparent;
    color: var(--ts-gold);
    border: 2px solid var(--ts-gold);
    padding: 12px 32px;
}
.ts-btn-gold::before,
.ts-btn-gold::after { background: var(--ts-gold); }
.ts-btn-gold:hover  { color: var(--ts-white); }
.ts-btn-gold:hover::before,
.ts-btn-gold:hover::after { width: calc(50% + 1px); }

/* ── Carousel ──────────────────────────────────────────────── */
.ts-carousel-wrap { position: relative; width: 100%; }

.carousel-item { min-height: 100vh; }

.ts-carousel-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.ts-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 100%);
    z-index: 1;
}

.ts-carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0 20px;
}

.ts-carousel-sub {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ts-gold-light);
    margin-bottom: 16px;
}

.ts-carousel-title {
    font-family: var(--ts-font-serif);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--ts-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.ts-carousel-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 0;
    max-width: 560px;
}

.ts-carousel-ctrl {
    opacity: 0;
    transition: opacity var(--ts-transition);
    z-index: 3;
    width: 50px; height: 50px;
    background: rgba(255,255,255,.15) !important;
    border-radius: 50%;
    border: none;
    color: var(--ts-white);
    display: flex; align-items: center; justify-content: center;
}
.ts-carousel-wrap:hover .ts-carousel-ctrl { opacity: 1; }

/* Gold carousel indicators */
.carousel-indicators [data-bs-target] { background-color: var(--ts-silver); }
.carousel-indicators .active { background-color: var(--ts-gold) !important; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.ts-page-hero {
    position: relative;
    min-height: 380px;
    background-image: url('../img/carousel/carousel-1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.ts-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.62);
}

.ts-page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 100px;
}

.ts-page-hero-title {
    font-family: var(--ts-font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ts-white);
    font-weight: 700;
    margin-bottom: 16px;
}

/* Gold rule under page title */
.ts-page-hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--ts-gold);
    margin: 12px auto 0;
}

.ts-breadcrumb { background: none; margin: 0; padding: 0; }
.ts-breadcrumb .breadcrumb-item { font-size: 14px; color: var(--ts-silver); }
.ts-breadcrumb .breadcrumb-item a { color: var(--ts-silver); }
.ts-breadcrumb .breadcrumb-item a:hover { color: var(--ts-gold-light); }
.ts-breadcrumb .breadcrumb-item.active { color: var(--ts-white); }
.ts-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--ts-gold); }

/* ── Section Headings ──────────────────────────────────────── */
.ts-section-sub {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ts-gold);
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.ts-section-title {
    font-family: var(--ts-font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ts-black);
    line-height: 1.2;
}

/* Gold underline on section titles */
.ts-section-title-lined::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--ts-gold);
    margin: 14px auto 0;
}

.ts-body-text { color: #444; line-height: 1.8; font-size: 15px; }
.ts-muted { color: var(--ts-silver-dark); font-size: 13px; }

/* ── Info Bar ──────────────────────────────────────────────── */
.ts-info-bar { background: var(--ts-silver-light); border-bottom: 1px solid #ddd; }
.ts-info-bar p { font-weight: 600; font-size: 15px; }
.ts-icon-accent { color: var(--ts-gold); }
.ts-link { color: var(--ts-black); font-weight: 600; }
.ts-link:hover { color: var(--ts-gold); }

/* ── Service Cards ─────────────────────────────────────────── */
.ts-section { background: var(--ts-white); }

.ts-service-card {
    border: 1px solid var(--ts-silver-light);
    border-radius: var(--ts-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--ts-transition), box-shadow var(--ts-transition), border-color var(--ts-transition);
}
.ts-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-color: var(--ts-gold);
}

.ts-service-img-wrap { height: 230px; overflow: hidden; }
.ts-service-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ts-transition); }
.ts-service-card:hover .ts-service-img { transform: scale(1.05); }

.ts-service-body { flex: 1; display: flex; flex-direction: column; }
.ts-service-name { font-family: var(--ts-font-serif); font-size: 1.3rem; margin-bottom: 8px; }
.ts-service-desc { font-size: 14px; color: #555; flex: 1; }

/* ── Why Us ────────────────────────────────────────────────── */
.ts-why-us { background: var(--ts-silver-light); }

.ts-why-img-grid { position: relative; }
.ts-why-img-main { width: 100%; height: 440px; object-fit: cover; border-radius: var(--ts-radius); }
.ts-why-img-sm {
    position: absolute;
    bottom: -30px; right: -20px;
    width: 200px; height: 200px;
    object-fit: cover;
    border-radius: var(--ts-radius);
    border: 5px solid var(--ts-white);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
@media (max-width: 768px) { .ts-why-img-sm { display: none; } }

.ts-feature-item {
    display: flex; align-items: center;
    font-size: 14px; font-weight: 600;
    padding: 4px 0;
}

/* ── Location Cards ────────────────────────────────────────── */
.ts-locations-strip { background: var(--ts-white); }

.ts-loc-card {
    border: 2px solid var(--ts-silver-light);
    border-radius: var(--ts-radius);
    transition: border-color var(--ts-transition), box-shadow var(--ts-transition);
}
.ts-loc-card:hover { border-color: var(--ts-gold); box-shadow: 0 8px 30px rgba(0,0,0,.08); }

.ts-loc-icon { font-size: 2rem; color: var(--ts-gold); }
.ts-loc-name { font-family: var(--ts-font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.ts-loc-address { font-size: 14px; color: #555; margin-bottom: 4px; }
.ts-loc-phone { font-size: 14px; font-weight: 600; }
.ts-loc-phone a { color: var(--ts-black); }
.ts-loc-phone a:hover { color: var(--ts-gold); }
.ts-loc-hours { font-size: 13px; color: var(--ts-silver-dark); }

/* ── Team Cards (home preview) ─────────────────────────────── */
.ts-team-photo-wrap-founder {
    height: 420px; /* Taller than the standard 360px */
}
.ts-team-card { border-radius: var(--ts-radius); overflow: hidden; border: 1px solid var(--ts-silver-light); }
.ts-team-photo { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.ts-team-name { font-family: var(--ts-font-serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.ts-team-role { font-size: 13px; color: var(--ts-gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.ts-team-socials a { color: var(--ts-silver-dark); margin: 0 6px; font-size: 16px; transition: color var(--ts-transition); }
.ts-team-socials a:hover { color: var(--ts-gold); }

/* ── Team Page – Large cards with overlay flip ─────────────── */
.ts-team-card-lg {
    border: 1px solid var(--ts-silver-light);
    border-radius: var(--ts-radius);
    overflow: hidden;
    transition: box-shadow var(--ts-transition), border-color var(--ts-transition);
}
.ts-team-card-lg:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,.14);
    border-color: var(--ts-gold);
}

.ts-team-photo-wrap {
    overflow: hidden;
    height: 360px;
    position: relative;
}

.ts-team-photo-lg {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    transition: transform 0.5s ease;
}
.ts-team-card-lg:hover .ts-team-photo-lg { transform: scale(1.06); }

/* Social overlay appears on card hover */
.ts-team-social-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ts-team-card-lg:hover .ts-team-social-overlay { opacity: 1; }

/* Individual social icon – flips on hover */
.ts-social-flip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 2px solid var(--ts-gold);
    border-radius: 50%;
    color: var(--ts-gold);
    font-size: 16px;
    transition: transform 0.55s ease, background var(--ts-transition), color var(--ts-transition);
    backface-visibility: hidden;
}
.ts-social-flip:hover {
    transform: rotateY(360deg);
    background: var(--ts-white);
    color: var(--ts-black);
    border-color: var(--ts-white);
}

.ts-team-name-lg { font-family: var(--ts-font-serif); font-size: 1.5rem; font-weight: 700; }
.ts-team-role-lg {
    font-size: 12px;
    color: var(--ts-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.ts-team-bio { font-size: 14px; color: #555; line-height: 1.7; }

/* Social links below card (non-overlay contexts) */
.ts-social-sm {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid var(--ts-silver);
    border-radius: 50%;
    color: var(--ts-black); font-size: 14px;
    transition: all var(--ts-transition);
}
.ts-social-sm:hover { background: var(--ts-gold); color: var(--ts-white); border-color: var(--ts-gold); }

/* ── Reviews ───────────────────────────────────────────────── */
.ts-reviews-section { background: var(--ts-silver-light); }
.ts-review-card { background: var(--ts-white); border-radius: var(--ts-radius); box-shadow: 0 4px 20px rgba(0,0,0,.06); border-top: 3px solid var(--ts-gold); }
.ts-star-filled { color: var(--ts-gold); }
.ts-star-empty  { color: var(--ts-silver); }
.ts-review-text { font-size: 15px; color: #444; font-style: italic; line-height: 1.7; }
.ts-review-author { font-size: 14px; }

/* ── Blog ──────────────────────────────────────────────────── */
.ts-blog-card { border: 1px solid var(--ts-silver-light); border-radius: var(--ts-radius); overflow: hidden; transition: box-shadow var(--ts-transition), border-color var(--ts-transition); }
.ts-blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); border-color: var(--ts-gold); }
.ts-blog-img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--ts-transition); }
.ts-blog-card:hover .ts-blog-img { transform: scale(1.04); }
.ts-blog-date { font-size: 13px; color: var(--ts-gold); margin-bottom: 8px; font-weight: 600; }
.ts-blog-title { font-family: var(--ts-font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.ts-blog-title a { color: var(--ts-black); }
.ts-blog-title a:hover { color: var(--ts-gold); }
.ts-blog-excerpt { font-size: 14px; color: #555; }
.ts-read-more { font-size: 13px; font-weight: 700; color: var(--ts-gold); text-transform: uppercase; letter-spacing: 1px; }
.ts-read-more:hover { color: var(--ts-black); }
.ts-blog-detail-img { border-radius: var(--ts-radius); width: 100%; display: block; cursor: zoom-in; }
.ts-blog-badge {
    background: var(--ts-gold);
    color: var(--ts-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 30px;
}
.ts-blog-content { font-size: 16px; line-height: 1.9; color: #333; }
.ts-blog-content p { margin-bottom: 1.4rem; }

/* ── Awards Section ────────────────────────────────────────── */
.ts-awards-section { background: var(--ts-white); }
.ts-award-card {
    background: var(--ts-white);
    border-radius: var(--ts-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border-top: 3px solid var(--ts-gold);
    transition: box-shadow var(--ts-transition), transform var(--ts-transition);
}
.ts-award-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-3px); }
.ts-award-img { max-height: 80px; width: auto; object-fit: contain; }
.ts-award-icon { font-size: 2.5rem; color: var(--ts-gold); }
.ts-award-year {
    display: inline-block;
    background: var(--ts-gold);
    color: var(--ts-white);
    font-family: var(--ts-font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 3px 10px;
    border-radius: 30px;
}
.ts-award-title { font-family: var(--ts-font-serif); font-size: 1.05rem; font-weight: 700; color: var(--ts-black); margin-bottom: 6px; }
.ts-award-desc { font-size: 13px; color: var(--ts-silver-dark); margin: 0; }

/* ── CTA Section ───────────────────────────────────────────── */
.ts-cta-section { background: var(--ts-black); }
.ts-cta-section .ts-section-sub { color: var(--ts-gold-light); }
.ts-cta-section .ts-section-title { color: var(--ts-white); }
.ts-cta-sub { color: var(--ts-silver); font-size: 15px; }

/* Inline CTA box */
.ts-cta-box { background: var(--ts-silver-light); border-radius: var(--ts-radius); border-left: 4px solid var(--ts-gold); }

/* ── Price Tables ──────────────────────────────────────────── */
.ts-price-cat-title {
    font-family: var(--ts-font-serif);
    font-size: 2rem; font-weight: 700;
    border-bottom: 2px solid var(--ts-black);
    padding-bottom: 10px;
    position: relative;
}
.ts-price-cat-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 50px; height: 2px;
    background: var(--ts-gold);
}

.ts-price-sub-title {
    font-family: var(--ts-font-sans);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--ts-gold);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--ts-silver-light);
}

.ts-price-table { border: 1px solid var(--ts-silver-light); border-radius: 8px; overflow: hidden; }
.ts-price-row {
    padding: 11px 16px;
    border-bottom: 1px solid var(--ts-silver-light);
    font-size: 14px;
    transition: background var(--ts-transition);
}
.ts-price-row:last-child { border-bottom: none; }
.ts-price-row:hover { background: var(--ts-silver-light); }
.ts-price-row-highlight {
    background: #fffbe6;
    font-weight: 700;
    border-left: 3px solid var(--ts-gold);
}
.ts-price-row > span:first-child { flex: 1 1 auto; min-width: 0; padding-right: 12px; }
.ts-price-row > span:last-child  { flex: 0 0 auto; white-space: nowrap; text-align: right; }
.ts-price-value { font-weight: 700; white-space: nowrap; color: var(--ts-black); }
.ts-price-eur { font-size: 12px; color: var(--ts-silver-dark); margin-left: 6px; font-weight: 400; }

/* Course cards */
.ts-course-card {
    border: 2px solid var(--ts-silver-light);
    border-radius: var(--ts-radius);
    transition: border-color var(--ts-transition), box-shadow var(--ts-transition), transform var(--ts-transition);
}
.ts-course-card:hover { border-color: var(--ts-gold); box-shadow: 0 8px 25px rgba(0,0,0,.1); transform: translateY(-4px); }
.ts-course-card.ts-course-featured { border-color: var(--ts-gold); background: #fffbe6; }
.ts-course-icon { font-size: 2.5rem; color: var(--ts-gold); }
.ts-course-name { font-family: var(--ts-font-serif); font-size: 1.2rem; font-weight: 700; }
.ts-course-price { font-size: 1.8rem; font-weight: 700; color: var(--ts-gold); font-family: var(--ts-font-serif); }
.ts-course-desc { font-size: 13px; color: var(--ts-silver-dark); }

/* ── Locations detail page ─────────────────────────────────── */
.ts-loc-detail-name { font-family: var(--ts-font-serif); font-size: 2.2rem; font-weight: 700; }
.ts-loc-info-row { display: flex; align-items: flex-start; padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--ts-silver-light); }
.ts-loc-info-row:last-child { border-bottom: none; }
.ts-loc-detail-info { border: 1px solid var(--ts-silver-light); border-radius: var(--ts-radius); padding: 16px; border-top: 3px solid var(--ts-gold); }
.ts-loc-divider { border-bottom: 1px solid var(--ts-silver-light); }
.ts-map-wrap { border-radius: var(--ts-radius); overflow: hidden; box-shadow: 0 6px 25px rgba(0,0,0,.1); }
.ts-map-iframe { display: block; }
.ts-map-placeholder { height: 350px; background: var(--ts-silver-light); border-radius: var(--ts-radius); }
.ts-loc-img { border-radius: var(--ts-radius); width: 100%; max-height: 400px; object-fit: cover; }

/* ── Contact ───────────────────────────────────────────────── */
.ts-contact-info-block { border-left: 3px solid var(--ts-gold); padding-left: 16px; }
.ts-contact-loc-name { font-family: var(--ts-font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.ts-contact-form-wrap { background: var(--ts-silver-light); border-radius: var(--ts-radius); }
.ts-form-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; color: var(--ts-black); }
.ts-form-input { border: 1px solid var(--ts-silver); border-radius: 8px; padding: 12px 16px; font-size: 15px; transition: border-color var(--ts-transition); background: var(--ts-white); }
.ts-form-input:focus { border-color: var(--ts-gold); box-shadow: 0 0 0 3px rgba(184,150,12,.1); outline: none; }
.ts-form-success { background: var(--ts-silver-light); border-radius: var(--ts-radius); }

/* ── SEO pages ─────────────────────────────────────────────── */
.ts-seo-img { border-radius: var(--ts-radius); width: 100%; max-height: 450px; object-fit: cover; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.ts-seo-img-sm { border-radius: var(--ts-radius); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Equipment / technology section on Proceduri page */
.ts-equipment-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}
@media (max-width: 991px) {
    .ts-equipment-img { max-height: 360px; }
    .ts-equipment-row .order-lg-2 { order: 0 !important; margin-bottom: 1rem; }
}
.ts-check-list { list-style: none; padding: 0; }
.ts-check-list li { padding: 6px 0; font-size: 15px; }
.ts-section-divider { border-bottom: 1px solid var(--ts-silver-light); }

/* ── Footer ────────────────────────────────────────────────── */
.ts-footer { background: var(--ts-dark); color: var(--ts-silver-light); }
.ts-footer-heading {
    font-family: var(--ts-font-serif);
    font-size: 1.1rem; font-weight: 700;
    color: var(--ts-white);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ts-gold);
    display: inline-block;
    width: 100%;
}
.ts-footer-text { font-size: 14px; color: var(--ts-silver); line-height: 1.7; }
.ts-footer-loc-name { font-weight: 700; font-size: 14px; color: var(--ts-white); }
.ts-footer-link { color: var(--ts-silver); transition: color var(--ts-transition); }
.ts-footer-link:hover { color: var(--ts-gold-light); }
.ts-accent { color: var(--ts-gold); }
.ts-footer-links { padding: 0; }
.ts-footer-links li { margin-bottom: 8px; }
.ts-footer-links a { font-size: 14px; color: var(--ts-silver); transition: color var(--ts-transition), padding-left var(--ts-transition); display: inline-block; }
.ts-footer-links a:hover { color: var(--ts-gold-light); padding-left: 6px; }
.ts-social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--ts-silver); font-size: 14px;
    transition: all var(--ts-transition);
}
.ts-social-btn:hover { background: var(--ts-gold); color: var(--ts-white); border-color: var(--ts-gold); }
.ts-social-btn-sm { width: 28px; height: 28px; font-size: 11px; }
.ts-footer-divider { border-color: rgba(255,255,255,.1); }
.ts-footer-copy { font-size: 13px; color: var(--ts-silver-dark); }

/* ── Back to top ───────────────────────────────────────────── */
.ts-back-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--ts-black);
    color: var(--ts-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    opacity: 0; visibility: hidden;
    transition: all var(--ts-transition);
    z-index: 9999;
    border: 2px solid transparent;
}
.ts-back-top:hover { background: var(--ts-gold); color: var(--ts-white); border-color: var(--ts-gold); }
.ts-back-top.visible { opacity: 1; visibility: visible; }

/* ── Legal Pages ────────────────────────────────────────────── */
.ts-legal-content { color: var(--ts-black); }
.ts-legal-section { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ts-silver-light); }
.ts-legal-section:last-of-type { border-bottom: none; }
.ts-legal-heading {
    font-family: var(--ts-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ts-black);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-left: 3px solid var(--ts-gold);
    padding-left: 12px;
}
.ts-legal-content p { line-height: 1.85; margin-bottom: .85rem; }
.ts-legal-content ul { padding-left: 1.4rem; }
.ts-legal-content ul li { line-height: 1.8; margin-bottom: .4rem; }
.ts-legal-alert {
    background: #fffbe6;
    border: 1px solid var(--ts-gold);
    border-left: 4px solid var(--ts-gold);
    border-radius: var(--ts-radius);
    padding: 1.5rem;
}
.ts-legal-alert-title { font-family: var(--ts-font-serif); font-size: 1.1rem; font-weight: 700; color: var(--ts-black); margin-bottom: .75rem; }
.ts-legal-info-box {
    background: var(--ts-silver-light);
    border-radius: var(--ts-radius);
    padding: 1rem 1.25rem;
    margin-bottom: .5rem;
    font-size: 14px;
}
.ts-legal-note { background: var(--ts-silver-light); border-radius: var(--ts-radius); padding: 1.25rem 1.5rem; }
.ts-legal-footer-note { background: var(--ts-silver-light); border-radius: var(--ts-radius); }
.ts-footer-link { color: var(--ts-silver-dark); transition: color var(--ts-transition); }
.ts-footer-link:hover { color: var(--ts-gold); }

/* ── GDPR Checkbox ──────────────────────────────────────────── */
.ts-gdpr-label { font-size: 13px; color: var(--ts-silver-dark); line-height: 1.5; }
.form-check-input:checked { background-color: var(--ts-gold); border-color: var(--ts-gold); }
