.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 1.25rem;
    max-width: 340px;
}

    .diamond-divider::before, .diamond-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--tpe-gold-2));
    }

    .diamond-divider::after {
        background: linear-gradient(to left, transparent, var(--tpe-gold-2));
    }

    .diamond-divider .diamond {
        width: 11px;
        height: 11px;
        transform: rotate(45deg);
        border: 1.5px solid var(--tpe-gold-2);
        flex-shrink: 0;
    }

.navbar-tpe {
    background: var(--tpe-nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tpe-border);
    transition: background-color .35s ease;
}

    .navbar-tpe .navbar-brand img {
        height: 40px;
        width: auto;
    }

    .navbar-tpe .brand-name {
        font-family: var(--tpe-font-display);
        font-size: 1.15rem;
    }

    .navbar-tpe .nav-link {
        color: var(--tpe-text);
        font-weight: 500;
        font-size: .95rem;
        position: relative;
        margin: 0 .15rem;
    }

        .navbar-tpe .nav-link::after {
            content: "";
            position: absolute;
            left: .5rem;
            right: .5rem;
            bottom: .25rem;
            height: 2px;
            background: var(--tpe-gold-grad);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .25s ease;
        }

        .navbar-tpe .nav-link:hover::after,
        .navbar-tpe .nav-link.active::after {
            transform: scaleX(1);
        }

        .navbar-tpe .nav-link.active {
            color: var(--tpe-gold-2);
        }

[data-bs-theme="light"] .navbar-tpe .nav-link.active {
    color: #8a6215;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 6rem;
    background: var(--tpe-hero-glow), var(--tpe-bg);
}

.hero-logo {
    max-width: min(320px, 62vw);
    height: auto;
    filter: drop-shadow(0 1rem 2rem rgba(217, 170, 78, .25));
    animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    line-height: 1.15;
}

.page-header {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 3rem;
    background: var(--tpe-hero-glow), var(--tpe-bg);
}

.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.section {
    padding: 5.5rem 0;
}

.section-soft {
    background: var(--tpe-bg-soft);
    transition: background-color .35s ease;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.max-w-620 {
    max-width: 620px;
}

.max-w-640 {
    max-width: 640px;
}

.max-w-720 {
    max-width: 720px;
}

.max-w-760 {
    max-width: 760px;
}

.card-tpe-highlight {
    background: var(--tpe-hero-glow), var(--tpe-surface);
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(217, 170, 78, .12);
    border: 1px solid var(--tpe-border);
    color: var(--tpe-gold-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

[data-bs-theme="light"] .icon-badge {
    background: rgba(217, 170, 78, .16);
    color: #8a6215;
}

.card-tpe:hover .icon-badge,
.training-item:hover .icon-badge {
    border-color: var(--tpe-gold-2);
}

.service-tile {
    position: relative;
    background: var(--tpe-hero-glow), var(--tpe-surface);
}

    .service-tile h3 {
        font-size: clamp(1.15rem, 1.6vw, 1.45rem);
        hyphens: auto;
        overflow-wrap: break-word;
    }

.service-tile-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(217, 170, 78, .12);
    border: 1px solid var(--tpe-border);
    color: var(--tpe-gold-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: border-color .25s ease, transform .25s ease;
}

[data-bs-theme="light"] .service-tile-icon {
    background: rgba(217, 170, 78, .16);
    color: #8a6215;
}

.service-tile:hover .service-tile-icon,
.service-tile:focus-within .service-tile-icon {
    border-color: var(--tpe-gold-2);
    transform: scale(1.06);
}

.service-tile:focus-within {
    border-color: var(--tpe-gold-2);
    box-shadow: var(--tpe-shadow);
}

.service-tile-link {
    color: var(--tpe-gold-2);
    font-weight: 600;
    text-decoration: none;
}

    .service-tile-link:focus-visible {
        outline: none;
    }

        .service-tile-link:focus-visible::after {
            outline: 2px solid var(--tpe-gold-2);
            outline-offset: -2px;
            border-radius: var(--tpe-radius);
        }

    .service-tile-link .bi {
        display: inline-block;
        margin-left: .35rem;
        transition: transform .25s ease;
    }

.service-tile:hover .service-tile-link .bi {
    transform: translateX(5px);
}

[data-bs-theme="light"] .service-tile-link {
    color: #8a6215;
}

.img-frame {
    border-radius: var(--tpe-radius);
    overflow: hidden;
    border: 1px solid var(--tpe-border);
    box-shadow: var(--tpe-shadow);
    position: relative;
}

    .img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .img-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to top, rgba(217, 170, 78, .18), transparent 55%);
    }

.training-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-radius: var(--tpe-radius);
    background: var(--tpe-surface);
    border: 1px solid var(--tpe-border);
    transition: border-color .25s ease, transform .25s ease;
}

    .training-item:hover {
        border-color: var(--tpe-gold-2);
        transform: translateX(6px);
    }

.contact-card .eyebrow {
    letter-spacing: .12em;
}

.contact-card a {
    color: var(--tpe-text);
    text-decoration: none;
    transition: color .2s ease;
}

    .contact-card a:hover {
        color: var(--tpe-gold-1);
    }

[data-bs-theme="light"] .contact-card a:hover {
    color: #8a6215;
}

#ContactByMailAgreed {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    background: rgba(217, 170, 78, .12);
    border: 1px solid var(--tpe-border);
    color: var(--tpe-gold-1);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

    .social-link:hover, .social-link:focus-visible {
        background: rgba(217, 170, 78, .24);
        border-color: var(--tpe-gold-2);
        color: var(--tpe-gold-1);
        transform: translateY(-2px);
    }

[data-bs-theme="light"] .social-link {
    color: #8a6215;
    background: rgba(217, 170, 78, .16);
}

    [data-bs-theme="light"] .social-link:hover,
    [data-bs-theme="light"] .social-link:focus-visible {
        color: #6f4c0e;
        border-color: #a8781f;
    }

.scroll-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1020;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(217, 170, 78, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--tpe-gold-2);
    color: var(--tpe-gold-1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease, bottom .15s linear;
}

    .scroll-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top:hover, .scroll-top:focus-visible {
        background: rgba(217, 170, 78, .28);
        border-color: var(--tpe-gold-1);
        color: var(--tpe-gold-1);
    }

[data-bs-theme="light"] .scroll-top {
    background: rgba(217, 170, 78, .2);
    border-color: #a8781f;
    color: #8a6215;
}

    [data-bs-theme="light"] .scroll-top:hover,
    [data-bs-theme="light"] .scroll-top:focus-visible {
        color: #6f4c0e;
        border-color: #8a6215;
    }

html:not(.js) .scroll-top {
    display: none;
}

.footer-tpe {
    background: var(--tpe-bg-soft);
    padding: 4rem 0 1.5rem;
    position: relative;
    transition: background-color .35s ease;
}
    .footer-tpe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--tpe-gold-2) 25%, var(--tpe-gold-2) 75%, transparent);
    }

.footer-logo {
    height: 52px;
}

.footer-tagline {
    max-width: 36ch;
    margin-inline: auto;
}

.footer-heading {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--tpe-muted);
    margin-bottom: 1rem;
}

.footer-tpe a {
    color: var(--tpe-muted);
    text-decoration: none;
    transition: color .2s ease;
}

    .footer-tpe a:hover, .footer-tpe a:focus-visible {
        color: var(--tpe-gold-1);
    }

[data-bs-theme="light"] .footer-tpe a:hover,
[data-bs-theme="light"] .footer-tpe a:focus-visible {
    color: #8a6215;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

    .footer-contact i {
        color: var(--tpe-gold-2);
        margin-right: .55rem;
    }

[data-bs-theme="light"] .footer-contact i {
    color: #8a6215;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--tpe-border);
    font-size: .85rem;
    color: var(--tpe-muted);
}

html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

    html.js .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

html:not(.js) .navbar-toggler {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: none;
    }

    .service-tile-icon,
    .service-tile-link .bi {
        transition: none;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-tpe .navbar-collapse {
        padding-bottom: .75rem;
    }

    .hero {
        padding: 8rem 0 4.5rem;
    }

    .section {
        padding: 4rem 0;
    }
}
