/* Talent Tek: brand layer on top of Bootstrap 5.3 */

:root {
    --tt-red: #e5161b;
    --tt-red-dark: #b80f13;
    --tt-navy: #0b1220;
    --tt-navy-2: #131c2e;
    --tt-ink: #111827;
    --tt-muted: #5b6475;
    --tt-soft: #f5f7fb;
    --tt-line: #eaedf3;
    --tt-radius: 14px;
    --tt-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 14px 34px -12px rgba(16, 24, 40, .14);
    --tt-shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, .24);

    --bs-primary: var(--tt-red);
    --bs-primary-rgb: 229, 22, 27;
    --bs-link-color: var(--tt-red);
    --bs-link-color-rgb: 229, 22, 27;
    --bs-link-hover-color: var(--tt-red-dark);
    --bs-link-hover-color-rgb: 184, 15, 19;
    --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: var(--tt-muted);
    --bs-body-font-size: .975rem;
    --bs-body-line-height: 1.75;
    --bs-heading-color: var(--tt-ink);
    --bs-border-color: var(--tt-line);
    --bs-border-radius: .6rem;
    --bs-border-radius-lg: var(--tt-radius);
}

body { background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.015em; font-weight: 600; }
.fw-bold { font-weight: 600 !important; }
img { max-width: 100%; height: auto; }
::selection { background: var(--tt-red); color: #fff; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 16px; border-radius: 8px; }

/* ---------- buttons & form controls */
.btn { font-weight: 500; letter-spacing: .01em; }
.btn-primary {
    --bs-btn-bg: var(--tt-red); --bs-btn-border-color: var(--tt-red);
    --bs-btn-hover-bg: var(--tt-red-dark); --bs-btn-hover-border-color: var(--tt-red-dark);
    --bs-btn-active-bg: var(--tt-red-dark); --bs-btn-active-border-color: var(--tt-red-dark);
    --bs-btn-disabled-bg: var(--tt-red); --bs-btn-disabled-border-color: var(--tt-red);
    --bs-btn-focus-shadow-rgb: 229, 22, 27;
    box-shadow: 0 8px 20px -8px rgba(229, 22, 27, .55);
}
.btn-outline-primary {
    --bs-btn-color: var(--tt-red); --bs-btn-border-color: var(--tt-red);
    --bs-btn-hover-bg: var(--tt-red); --bs-btn-hover-border-color: var(--tt-red);
    --bs-btn-active-bg: var(--tt-red-dark); --bs-btn-active-border-color: var(--tt-red-dark);
    --bs-btn-focus-shadow-rgb: 229, 22, 27;
}
.form-control, .form-select { padding: .75rem 1rem; border-color: var(--tt-line); }
.form-control:focus, .form-select:focus { border-color: rgba(229, 22, 27, .5); box-shadow: 0 0 0 .25rem rgba(229, 22, 27, .12); }
.form-check-input:checked { background-color: var(--tt-red); border-color: var(--tt-red); }
.form-label { font-weight: 500; color: var(--tt-ink); font-size: .9rem; }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--tt-red); }

/* ---------- top bar */
.topbar { background: var(--tt-navy); color: #aab3c5; font-size: .8rem; padding: .55rem 0; }
.topbar a { color: #aab3c5; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .list-inline-item:not(:last-child) { margin-right: 1.5rem; }
.topbar i { color: var(--tt-red); margin-right: .4rem; }

/* ---------- navbar */
/* no backdrop-filter on phones: it would trap the fixed slide-out menu inside the navbar */
.site-nav { background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--tt-line); min-height: 80px; transition: box-shadow .25s, min-height .25s; }
.site-nav.scrolled { box-shadow: 0 10px 30px -12px rgba(16, 24, 40, .18); min-height: 68px; }
.site-nav .nav-link { color: var(--tt-ink); font-weight: 500; padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .nav-link.show { color: var(--tt-red); }
.site-nav .dropdown-menu { border: 0; border-radius: var(--tt-radius); box-shadow: var(--tt-shadow-lg); padding: .6rem; }
.site-nav .dropdown-item { border-radius: 8px; padding: .5rem .85rem; font-size: .92rem; color: var(--tt-muted); }
.site-nav .dropdown-item:hover { background: var(--tt-soft); color: var(--tt-red); }
.mega-title { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--tt-ink); text-decoration: none; padding: .5rem .85rem; font-size: .95rem; }
.mega-title i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--tt-red); color: #fff; flex-shrink: 0; transition: .2s; }
.mega-title:hover i, .mega-group:hover .mega-title i { background: rgba(229, 22, 27, .1); color: var(--tt-red); }
.mega-title:hover { color: var(--tt-red); }
.mega-footer { border-top: 1px solid var(--tt-line); margin-top: .75rem; padding: .85rem .85rem .25rem; font-size: .9rem; }
.mega-footer a { text-decoration: none; }
.mega-heading { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #98a1b3; margin: 0 0 .6rem .85rem; }
.mega-link { display: flex; align-items: flex-start; gap: .8rem; padding: .6rem .85rem; border-radius: 12px; text-decoration: none; color: var(--tt-ink); transition: background .2s; }
.mega-link:hover { background: var(--tt-soft); }
.mega-link .mi, .mega-office .mi { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--tt-red); color: #fff; transition: .2s; }
.mega-link:hover .mi { background: rgba(229, 22, 27, .1); color: var(--tt-red); }
.mega-link strong, .mega-office strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.mega-link small, .mega-office small { display: block; color: var(--tt-muted); font-size: .8rem; line-height: 1.45; }
.mega-link:hover strong { color: var(--tt-red); }
.mega-chip { display: flex; align-items: center; gap: .5rem; padding: .55rem .85rem; border-radius: 10px; color: var(--tt-ink); text-decoration: none; font-size: .86rem; font-weight: 500; transition: .2s; }
.mega-chip i { color: var(--tt-red); }
.mega-chip:hover { background: var(--tt-soft); color: var(--tt-red); }
.mega-job { display: block; padding: .6rem .85rem; border-radius: 12px; text-decoration: none; border-left: 2px solid transparent; transition: .2s; }
.mega-job strong { display: block; color: var(--tt-ink); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.mega-job small { color: var(--tt-muted); font-size: .78rem; }
.mega-job small i { color: var(--tt-red); margin-right: .25rem; }
.mega-job:hover { background: var(--tt-soft); border-left-color: var(--tt-red); }
.mega-job:hover strong { color: var(--tt-red); }
.mega-office { display: flex; gap: .8rem; padding: .6rem .85rem; }
.mega-office a { display: block; font-size: .82rem; text-decoration: none; color: var(--tt-ink); }
.mega-office a:hover { color: var(--tt-red); }
.mega-group { height: 100%; padding: .35rem 0 .5rem; border-radius: 12px; transition: background .2s; }
.mega-note { font-size: .82rem; color: var(--tt-muted); margin: 0 .85rem; line-height: 1.5; }
.mega-promo { position: relative; height: 100%; min-height: 220px; border-radius: var(--tt-radius); overflow: hidden; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background-size: cover; background-position: center; color: #fff; isolation: isolate; }
.mega-promo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, .15) 0%, rgba(11, 18, 32, .92) 75%); }
.mega-promo-title { color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin: .5rem 0 1rem; }
.mega-promo-tag { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--tt-red); padding: .25rem .65rem; border-radius: 50rem; }
section[id] { scroll-margin-top: 90px; }

@media (min-width: 992px) {
    .site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(12px); }
    .site-nav .nav-link.active::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: -2px; height: 2px; background: var(--tt-red); border-radius: 2px; }
    /* mega menu: 70% of the screen, centred under the navbar (never narrower than 900px or wider than the viewport) */
    .site-nav .mega-menu { width: max(70vw, 900px); max-width: calc(100vw - 2rem); left: 50%; right: auto; transform: translateX(-50%); margin-top: 0 !important; border-radius: 0 0 var(--tt-radius) var(--tt-radius); padding: 1.75rem 0 1rem; }
    .site-nav .mega-menu > .container { max-width: none; padding: 0 1.5rem; }
    .site-nav .mega-menu .dropdown-item { padding-left: 3.4rem; }
    .mega-group:hover { background: var(--tt-soft); }
    .mega-group .mega-note { margin-left: 3.4rem; }
    .site-nav .mega-menu .mega-group .dropdown-item:hover { background: #fff; }
    /* hover opening is handled in main.js (open/close delays let the cursor cross the gap into the panel);
       panels hang from the bottom edge of the navbar */
    .site-nav .dropdown-menu { top: 100%; }
    .site-nav .offcanvas { position: static; }
}
@media (max-width: 991.98px) {
    .site-nav .offcanvas { max-width: 86vw; }
    .site-nav .nav-link { padding: .8rem 0 !important; border-bottom: 1px solid var(--tt-line); }
    .site-nav .dropdown-menu { box-shadow: none; padding: 0 0 .5rem; }
    .mega-menu .container { padding: 0; }
    .mega-title { padding: .6rem 0; }
    .mega-menu .dropdown-item { padding-left: 2.8rem; }
}

/* ---------- section scaffolding */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-soft { background: var(--tt-soft); }
.bg-navy { background: var(--tt-navy); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--tt-red); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head .eyebrow::after { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.22; margin-bottom: 1rem; font-weight: 600; letter-spacing: -.02em; }
.lead-muted { font-size: 1.08rem; color: var(--tt-muted); }

/* ---------- hero */
.hero { position: relative; background: var(--tt-navy); }
.hero .carousel-item { height: clamp(520px, 82vh, 720px); background-size: cover; background-position: center; }
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 18, 32, .94) 0%, rgba(11, 18, 32, .78) 45%, rgba(11, 18, 32, .25) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; padding: .4rem 1rem; border-radius: 50rem; font-size: .82rem; font-weight: 500; margin-bottom: 1.5rem; }
.hero-tag i { color: var(--tt-red); }
.hero h1, .hero h2 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.75rem); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.hero h1 span, .hero h2 span { color: var(--tt-red); }
.hero p { color: #c3cad8; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 560px; }
.hero .carousel-indicators { justify-content: flex-start; margin-left: max(1rem, calc((100vw - 1296px) / 2 + .75rem)); margin-bottom: 6rem; }
/* thin bars, but a 24px-tall tap target (transparent borders) */
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 24px; border: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; background-clip: padding-box; opacity: .45; margin: 0 4px; }
.hero .carousel-indicators .active { opacity: 1; background: var(--tt-red); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 5%; }
.carousel-item .hero-anim { opacity: 0; transform: translateY(24px); transition: .8s cubic-bezier(.2, .7, .2, 1) .25s; }
.carousel-item.active .hero-anim { opacity: 1; transform: none; }

/* pillars bar under hero */
.pillars { position: relative; z-index: 3; margin-top: -4rem; }
.pillar { background: #fff; border-radius: var(--tt-radius); padding: 1.75rem; box-shadow: var(--tt-shadow-lg); height: 100%; display: flex; gap: 1rem; }
/* icons are full colour by default and soften on hover, everywhere on the site */
.icon-box { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--tt-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(229, 22, 27, .7); transition: .3s; }
.pillar:hover .icon-box, .tile:hover .icon-box, .service-card:hover .icon-box, .value:hover .icon-box, .info-item:hover .icon-box, .side-card:hover .icon-box { background: rgba(229, 22, 27, .1); color: var(--tt-red); box-shadow: none; }
.pillar h2, .pillar h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pillar p { margin: 0; font-size: .92rem; }

/* ---------- about */
.about-media { position: relative; }
.about-media .main-img { border-radius: var(--tt-radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-media .float-img { position: absolute; width: 52%; right: -6%; bottom: -8%; border-radius: var(--tt-radius); border: 8px solid #fff; box-shadow: var(--tt-shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.about-media .badge-card { position: absolute; left: -5%; top: 8%; background: var(--tt-red); color: #fff; border-radius: var(--tt-radius); padding: 1.1rem 1.3rem; box-shadow: 0 18px 40px -12px rgba(229, 22, 27, .6); max-width: 220px; }
.about-media .badge-card strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--tt-ink); font-weight: 500; }
.check-list li i { color: var(--tt-red); font-size: 1.15rem; line-height: 1.5; }

/* ---------- service cards */
.service-card { position: relative; background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s, border-color .35s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--tt-shadow-lg); border-color: transparent; }
.service-card .media { position: relative; }
.service-card .media-img { aspect-ratio: 16 / 11; overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .icon-box { position: absolute; left: 1.5rem; bottom: -28px; border: 4px solid #fff; z-index: 2; }
.service-card:hover .icon-box { background: #fde8e8; }
.service-card .body { padding: 2.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { font-size: .92rem; margin-bottom: 1.25rem; }
.link-arrow { margin-top: auto; font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i, .service-card:hover .link-arrow i { transform: translateX(4px); }

/* compact icon tiles (industries, sub-services) */
.tile { background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.6rem 1.25rem; height: 100%; text-align: center; transition: .3s; color: var(--tt-muted); text-decoration: none; display: block; }
.tile:hover { border-color: rgba(229, 22, 27, .35); box-shadow: var(--tt-shadow); transform: translateY(-4px); color: var(--tt-muted); }
.tile .icon-box { margin: 0 auto 1rem; }
.tile h3, .tile h4 { font-size: 1rem; margin: 0; }
.tile p { font-size: .88rem; margin: .5rem 0 0; }
.tile.text-start .icon-box { margin-left: 0; }

/* ---------- dark "why us" band */
.why { background: radial-gradient(1200px 500px at 85% 0%, rgba(229, 22, 27, .18), transparent 60%), var(--tt-navy); color: #b6bfd0; position: relative; overflow: hidden; }
.why h2, .why h3 { color: #fff; }
.value { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--tt-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); height: 100%; transition: .3s; }
.value:hover { background: rgba(255, 255, 255, .07); border-color: rgba(229, 22, 27, .45); }
.value .icon-box { width: 48px; height: 48px; font-size: 1.25rem; }
.value:hover .icon-box, .info-item:hover .icon-box { background: rgba(229, 22, 27, .18); color: #ff6b6f; }
.value h3 { font-size: 1rem; margin: 0 0 .2rem; }
.value p { font-size: .88rem; margin: 0; }
.why-img { border-radius: var(--tt-radius); width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

/* ---------- team */
.team-card { text-align: center; padding: 2rem 1rem; border-radius: var(--tt-radius); background: #fff; border: 1px solid var(--tt-line); height: 100%; transition: .3s; }
.team-card:hover { box-shadow: var(--tt-shadow); transform: translateY(-4px); }
.avatar { width: 88px; height: 88px; margin: 0 auto 1.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--tt-red), #ff6a3d); color: #fff; font-size: 1.6rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(229, 22, 27, .08); }
.team-card h3 { font-size: 1rem; margin-bottom: .15rem; }
.team-card p { margin: 0; color: var(--tt-red); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- logos */
.logo-tile { background: #fff; border: 1px solid var(--tt-line); border-radius: 12px; padding: .75rem; display: grid; place-items: center; height: 100%; transition: .3s; }
.logo-tile img { transition: .3s; max-height: 70px; width: auto; }
.logo-tile:hover { box-shadow: var(--tt-shadow); }
.logo-tile:hover img { filter: grayscale(1); opacity: .55; }
.cert-tile { background: #fff; border-radius: var(--tt-radius); padding: .75rem; box-shadow: var(--tt-shadow); width: calc((100% - 2rem) / 3); max-width: 130px; aspect-ratio: 1; display: grid; place-items: center; }
.cert-tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- page banner */
.page-banner { position: relative; padding: 5.5rem 0 4.5rem; color: #c3cad8; background: radial-gradient(900px 400px at 90% 10%, rgba(229, 22, 27, .25), transparent 60%), linear-gradient(rgba(11, 18, 32, .9), rgba(11, 18, 32, .94)), url('../img/service-inner-2.jpg') center / cover; }
.page-banner h1 { color: #fff; }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: #6b7487; --bs-breadcrumb-item-active-color: #c3cad8; font-size: .88rem; }
.page-banner .breadcrumb a { color: #fff; text-decoration: none; }
.page-banner .breadcrumb a:hover { color: var(--tt-red); }

/* ---------- content pages */
.prose { color: var(--tt-muted); }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.prose ul li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--tt-red); }
.feature-img { border-radius: var(--tt-radius); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.side-card { background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.75rem; }
.side-card.dark { background: var(--tt-navy); border-color: var(--tt-navy); color: #b6bfd0; }
.side-card.dark h3 { color: #fff; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: .65rem .9rem; border-radius: 10px; color: var(--tt-ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.side-nav a:hover, .side-nav a.active { background: rgba(229, 22, 27, .07); color: var(--tt-red-dark); }
.side-nav .sub a { padding-left: 1.9rem; font-weight: 400; color: var(--tt-muted); font-size: .88rem; }
@media (min-width: 992px) { .sticky-side { position: sticky; top: 100px; } }

.service-row { background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); overflow: hidden; transition: .3s; }
.service-row:hover { box-shadow: var(--tt-shadow-lg); }
.service-row img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--tt-soft); color: var(--tt-ink); padding: .35rem .85rem; border-radius: 50rem; font-size: .82rem; text-decoration: none; transition: .2s; }
.chip:hover { background: var(--tt-red); color: #fff; }

/* ---------- jobs */
.careers-hero { padding-bottom: 7rem; }
.job-search { margin-top: -3.5rem; position: relative; z-index: 3; }
.job-search .card { border: 0; border-radius: var(--tt-radius); box-shadow: var(--tt-shadow-lg); }
.job-card { background: #fff; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 1.6rem; transition: .3s; position: relative; }
.job-card:hover { border-color: rgba(229, 22, 27, .35); box-shadow: var(--tt-shadow); }
.job-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.job-card h3 a { color: var(--tt-ink); text-decoration: none; }
.job-card h3 a::after { content: ''; position: absolute; inset: 0; }
.job-card:hover h3 a { color: var(--tt-red); }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .84rem; color: var(--tt-muted); }
.job-meta i { color: var(--tt-red); margin-right: .3rem; }
.badge-soft { background: rgba(229, 22, 27, .08); color: var(--tt-red-dark); font-weight: 500; padding: .4em .8em; border-radius: 50rem; font-size: .76rem; }
.apply-card { border: 0; border-radius: var(--tt-radius); box-shadow: var(--tt-shadow-lg); overflow: hidden; }
.apply-card .card-header { background: var(--tt-navy); color: #fff; padding: 1.25rem 1.5rem; border: 0; }
.apply-card .card-header h2 { color: #fff; font-size: 1.2rem; margin: 0; }

/* ---------- contact */
.contact-card { background: #fff; border-radius: var(--tt-radius); box-shadow: var(--tt-shadow-lg); padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.info-card { background: var(--tt-navy); color: #b6bfd0; border-radius: var(--tt-radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); height: 100%; }
.info-card h2, .info-card h3 { color: #fff; }
.info-card a { color: #fff; text-decoration: none; }
.info-card a:hover { color: #ff5a5e; }
.info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.info-item:last-of-type { border-bottom: 0; }
.info-item .icon-box { width: 46px; height: 46px; font-size: 1.15rem; }
.info-item h3 { font-size: .95rem; margin: 0 0 .2rem; }
.info-item p { margin: 0; font-size: .92rem; }

/* ---------- tables, alerts, empty states */
.table { --bs-table-color: var(--tt-muted); }
.table thead th { background: var(--tt-soft); color: var(--tt-ink); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; background: var(--tt-soft); border-radius: var(--tt-radius); }
.empty-state i { font-size: 2.5rem; color: var(--tt-red); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- CTA & footer */
.cta-band { position: relative; overflow: hidden; padding: 4.5rem 0; background: linear-gradient(120deg, var(--tt-red-dark), var(--tt-red) 55%, #ff4b2b); }
.cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px; background: rgba(255, 255, 255, .08); }

.site-footer { background: var(--tt-navy); color: #8f99ad; padding-top: 5rem; font-size: .92rem; }
.site-footer a { color: #8f99ad; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; padding: .6rem .9rem; border-radius: 12px; height: 64px !important; width: auto; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1.4rem; letter-spacing: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .7rem; margin-right: .5rem; color: var(--tt-red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4rem; padding: 1.4rem 0; font-size: .84rem; }

.social-icons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tt-red); color: #fff; transition: .25s; }
.social-icons a:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-3px); }
.social-icons-sm { margin: 0; gap: .35rem; }
.social-icons-sm a { width: 26px; height: 26px; font-size: .78rem; }
.social-icons-sm i { color: inherit !important; margin: 0 !important; }
.social-icons-dark a { background: var(--tt-red); color: #fff; }
.social-icons-dark a:hover { background: rgba(229, 22, 27, .1); color: var(--tt-red); }

.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; background: var(--tt-red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(229, 22, 27, .7); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 1030; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: #fff; background: var(--tt-red-dark); }

/* reveal-on-scroll (added by main.js; content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .section { padding: 4.5rem 0; }
    .pillars { margin-top: -3rem; }
    .hero-content { padding-bottom: 6rem; }
    .hero .carousel-indicators { margin-bottom: 4.25rem; }
    .about-media { margin: 0 4% 3rem; }
}
@media (max-width: 575.98px) {
    .section { padding: 3.5rem 0; }
    .hero .carousel-item { height: 600px; }
    .about-media .badge-card { left: 0; top: 4%; max-width: 180px; padding: .9rem 1rem; }
    .about-media .badge-card strong { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- finishing touches */
.cta-band p { color: rgba(255, 255, 255, .88) !important; }
.site-nav .nav-link { font-size: .95rem; letter-spacing: .005em; }
.btn-lg { font-size: 1rem; padding: .8rem 1.75rem; }
.page-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--tt-red), rgba(229, 22, 27, 0) 70%); }
.service-card, .tile, .team-card, .job-card, .side-card, .logo-tile, .service-row { border-color: var(--tt-line); }
.team-card h3, .tile h3, .tile h4, .service-card h3, .job-card h3 { font-weight: 600; }
.lead-muted { line-height: 1.8; }

/* phones: wide g-5 gutters (3rem) would push rows past the 12px container padding */
@media (max-width: 767.98px) {
    .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
    .g-5, .gy-5 { --bs-gutter-y: 2rem; }
}
